class Result extends Message

A single evaluation result.

Generated from protobuf message google.api.expr.v1beta1.EvalState.Result

Methods

__construct(array $data = NULL)

Constructor.

getExpr()

The expression this result is for.

$this
setExpr(IdRef $var)

The expression this result is for.

int
getValue()

The index in values of the resulting value.

$this
setValue(int $var)

The index in values of the resulting value.

Details

at line 43
__construct(array $data = NULL)

Constructor.

Parameters

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

@type \Google\Api\Expr\V1beta1\IdRef $expr
      The expression this result is for.
@type int $value
      The index in `values` of the resulting value.

}

at line 54
IdRef getExpr()

The expression this result is for.

Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1;

Return Value

IdRef

at line 66
$this setExpr(IdRef $var)

The expression this result is for.

Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1;

Parameters

IdRef $var

Return Value

$this

at line 80
int getValue()

The index in values of the resulting value.

Generated from protobuf field int32 value = 2;

Return Value

int

at line 92
$this setValue(int $var)

The index in values of the resulting value.

Generated from protobuf field int32 value = 2;

Parameters

int $var

Return Value

$this