class Result extends Message

A single evalution result.

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

Methods

__construct(array $data = NULL)

Constructor.

int|string
getExpr()

The id of the expression this result if for.

$this
setExpr(int|string $var)

The id of the expression this result if for.

int|string
getValue()

The index in values of the resulting value.

$this
setValue(int|string $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 int|string $expr
      The id of the expression this result if for.
@type int|string $value
      The index in `values` of the resulting value.

}

at line 54
int|string getExpr()

The id of the expression this result if for.

Generated from protobuf field int64 expr = 1;

Return Value

int|string

at line 66
$this setExpr(int|string $var)

The id of the expression this result if for.

Generated from protobuf field int64 expr = 1;

Parameters

int|string $var

Return Value

$this

at line 80
int|string getValue()

The index in values of the resulting value.

Generated from protobuf field int64 value = 2;

Return Value

int|string

at line 92
$this setValue(int|string $var)

The index in values of the resulting value.

Generated from protobuf field int64 value = 2;

Parameters

int|string $var

Return Value

$this