Result
extends Message
in package
A single evalution result.
Generated from protobuf message google.api.expr.v1alpha1.EvalState.Result
Table of Contents
Properties
- $expr : mixed
- The id of the expression this result if for.
- $value : mixed
- The index in `values` of the resulting value.
Methods
- __construct() : mixed
- Constructor.
- getExpr() : int|string
- The id of the expression this result if for.
- getValue() : int|string
- The index in `values` of the resulting value.
- setExpr() : $this
- The id of the expression this result if for.
- setValue() : $this
- The index in `values` of the resulting value.
Properties
$expr
The id of the expression this result if for.
protected
mixed
$expr
= 0
Generated from protobuf field int64 expr = 1 [json_name = "expr"];
$value
The index in `values` of the resulting value.
protected
mixed
$value
= 0
Generated from protobuf field int64 value = 2 [json_name = "value"];
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ 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.}
getExpr()
The id of the expression this result if for.
public
getExpr() : int|string
Generated from protobuf field int64 expr = 1 [json_name = "expr"];
Return values
int|stringgetValue()
The index in `values` of the resulting value.
public
getValue() : int|string
Generated from protobuf field int64 value = 2 [json_name = "value"];
Return values
int|stringsetExpr()
The id of the expression this result if for.
public
setExpr(int|string $var) : $this
Generated from protobuf field int64 expr = 1 [json_name = "expr"];
Parameters
- $var : int|string
Return values
$thissetValue()
The index in `values` of the resulting value.
public
setValue(int|string $var) : $this
Generated from protobuf field int64 value = 2 [json_name = "value"];
Parameters
- $var : int|string