ListValue
extends Message
in package
A list.
Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.
Generated from protobuf message google.api.expr.v1beta1.ListValue
Table of Contents
Properties
- $values : mixed
- The ordered values in the list.
Methods
- __construct() : mixed
- Constructor.
- getValues() : RepeatedField
- The ordered values in the list.
- setValues() : $this
- The ordered values in the list.
Properties
$values
The ordered values in the list.
private
mixed
$values
Generated from protobuf field repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
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 array<\Google\Api\Expr\V1beta1\Value>|\Google\Protobuf\Internal\RepeatedField $values The ordered values in the list.}
getValues()
The ordered values in the list.
public
getValues() : RepeatedField
Generated from protobuf field repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
Return values
RepeatedFieldsetValues()
The ordered values in the list.
public
setValues(array<string|int, Value>|RepeatedField $var) : $this
Generated from protobuf field repeated .google.api.expr.v1beta1.Value values = 1 [json_name = "values"];
Parameters
- $var : array<string|int, Value>|RepeatedField