Documentation

Int32Value extends Message
in package

Wrapper message for `int32`.

The JSON representation for Int32Value is JSON number.

Generated from protobuf message google.protobuf.Int32Value

Table of Contents

Properties

$value  : mixed
The int32 value.

Methods

__construct()  : mixed
Constructor.
getValue()  : int
The int32 value.
setValue()  : $this
The int32 value.

Properties

$value

The int32 value.

protected mixed $value = 0

Generated from protobuf field int32 value = 1;

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 $value
      The int32 value.

}

getValue()

The int32 value.

public getValue() : int

Generated from protobuf field int32 value = 1;

Return values
int

setValue()

The int32 value.

public setValue(int $var) : $this

Generated from protobuf field int32 value = 1;

Parameters
$var : int
Return values
$this

        
On this page

Search results