Documentation

Result extends Message
in package

A single evaluation result.

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

Table of Contents

Properties

$expr  : mixed
The expression this result is for.
$value  : mixed
The index in `values` of the resulting value.

Methods

__construct()  : mixed
Constructor.
clearExpr()  : mixed
getExpr()  : IdRef|null
The expression this result is for.
getValue()  : int
The index in `values` of the resulting value.
hasExpr()  : mixed
setExpr()  : $this
The expression this result is for.
setValue()  : $this
The index in `values` of the resulting value.

Properties

$expr

The expression this result is for.

protected mixed $expr = null

Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1 [json_name = "expr"];

$value

The index in `values` of the resulting value.

protected mixed $value = 0

Generated from protobuf field int32 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 \Google\Api\Expr\V1beta1\IdRef $expr
      The expression this result is for.
@type int $value
      The index in `values` of the resulting value.

}

clearExpr()

public clearExpr() : mixed

getExpr()

The expression this result is for.

public getExpr() : IdRef|null

Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1 [json_name = "expr"];

Return values
IdRef|null

getValue()

The index in `values` of the resulting value.

public getValue() : int

Generated from protobuf field int32 value = 2 [json_name = "value"];

Return values
int

hasExpr()

public hasExpr() : mixed

setExpr()

The expression this result is for.

public setExpr(IdRef $var) : $this

Generated from protobuf field .google.api.expr.v1beta1.IdRef expr = 1 [json_name = "expr"];

Parameters
$var : IdRef
Return values
$this

setValue()

The index in `values` of the resulting value.

public setValue(int $var) : $this

Generated from protobuf field int32 value = 2 [json_name = "value"];

Parameters
$var : int
Return values
$this

        
On this page

Search results