Cloud Bigtable V2 Client - Class Value (1.31.1)

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

Value represents a dynamically typed value.

The typed fields in Value are used as a transport encoding for the actual value (which may be of a more complex type). See the documentation of the Type message for more details.

Generated from protobuf message google.bigtable.v2.Value

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ raw_value string

Represents a raw byte sequence with no type information. The type field must be omitted.

↳ raw_timestamp_micros int|string

Represents a raw cell timestamp with no type information. The type field must be omitted.

↳ int_value int|string

Represents a typed value transported as an integer. Default type for writes: Int64

getRawValue

Represents a raw byte sequence with no type information.

The type field must be omitted.

Returns
Type Description
string

hasRawValue

setRawValue

Represents a raw byte sequence with no type information.

The type field must be omitted.

Parameter
Name Description
var string
Returns
Type Description
$this

getRawTimestampMicros

Represents a raw cell timestamp with no type information.

The type field must be omitted.

Returns
Type Description
int|string

hasRawTimestampMicros

setRawTimestampMicros

Represents a raw cell timestamp with no type information.

The type field must be omitted.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getIntValue

Represents a typed value transported as an integer.

Default type for writes: Int64

Returns
Type Description
int|string

hasIntValue

setIntValue

Represents a typed value transported as an integer.

Default type for writes: Int64

Parameter
Name Description
var int|string
Returns
Type Description
$this

getKind

Returns
Type Description
string