proto library Client - Class Int32Value (v5.36.2)

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

Wrapper message for int32.

The JSON representation for Int32Value is JSON number. Not recommended for use in new APIs, but still useful for legacy APIs and has no plan to be removed.

Generated from protobuf message google.protobuf.Int32Value

Namespace

Google \ Protobuf

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value int

The int32 value.

getValue

The int32 value.

Returns
Type Description
int

setValue

The int32 value.

Parameter
Name Description
var int
Returns
Type Description
$this