class IssueDetails extends Message

Warnings or errors in service execution are represented by [google.rpc.Status][google.rpc.Status] messages, with the following message in the details field.

Generated from protobuf message google.api.expr.v1alpha1.IssueDetails

Methods

__construct(array $data = NULL)

Constructor.

int
getSeverity()

The severity of the issue.

$this
setSeverity(int $var)

The severity of the issue.

getPosition()

Position in the source, if known.

$this
setPosition(SourcePosition $var)

Position in the source, if known.

int|string
getId()

Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.

$this
setId(int|string $var)

Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.

Details

at line 53
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type int $severity
      The severity of the issue.
@type \Google\Api\Expr\V1alpha1\SourcePosition $position
      Position in the source, if known.
@type int|string $id
      Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.

}

at line 64
int getSeverity()

The severity of the issue.

Generated from protobuf field .google.api.expr.v1alpha1.IssueDetails.Severity severity = 1;

Return Value

int

at line 76
$this setSeverity(int $var)

The severity of the issue.

Generated from protobuf field .google.api.expr.v1alpha1.IssueDetails.Severity severity = 1;

Parameters

int $var

Return Value

$this

at line 90
SourcePosition getPosition()

Position in the source, if known.

Generated from protobuf field .google.api.expr.v1alpha1.SourcePosition position = 2;

Return Value

SourcePosition

at line 102
$this setPosition(SourcePosition $var)

Position in the source, if known.

Generated from protobuf field .google.api.expr.v1alpha1.SourcePosition position = 2;

Parameters

SourcePosition $var

Return Value

$this

at line 116
int|string getId()

Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.

Generated from protobuf field int64 id = 3;

Return Value

int|string

at line 128
$this setId(int|string $var)

Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.

Generated from protobuf field int64 id = 3;

Parameters

int|string $var

Return Value

$this