Cloud Bigtable V2 Client - Class PBArray (2.2.1)

Reference documentation and code samples for the Cloud Bigtable V2 Client class PBArray.

An ordered list of elements of a given type.

Values of type Array are stored in Value.array_value.

Generated from protobuf message google.bigtable.v2.Type.Array

Namespace

Google \ Cloud \ Bigtable \ V2 \ Type

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ element_type Google\Cloud\Bigtable\V2\Type

The type of the elements in the array. This must not be Array.

getElementType

The type of the elements in the array. This must not be Array.

Returns
Type Description
Google\Cloud\Bigtable\V2\Type|null

hasElementType

clearElementType

setElementType

The type of the elements in the array. This must not be Array.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\Type
Returns
Type Description
$this