proto library Client - Class ListValue (v5.36.2)

Reference documentation and code samples for the proto library Client class ListValue.

Represents a JSON array.

Generated from protobuf message google.protobuf.ListValue

Namespace

Google \ Protobuf

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ values array<Value>

Repeated field of dynamically typed values.

getValues

Repeated field of dynamically typed values.

Returns
Type Description
RepeatedField<Value>

setValues

Repeated field of dynamically typed values.

Parameter
Name Description
var array<Value>
Returns
Type Description
$this