Cloud Bigtable V2 Client - Class ChunkInfo (1.28.3)

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

Information about the chunking of this mutation.

Only SetCell mutations can be chunked, and all chunks for a SetCell will be delivered contiguously with no other mutation types interleaved.

Generated from protobuf message google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo

Namespace

Google \ Cloud \ Bigtable \ V2 \ ReadChangeStreamResponse \ MutationChunk

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ chunked_value_size int

The total value size of all the chunks that make up the SetCell.

↳ chunked_value_offset int

The byte offset of this chunk into the total value size of the mutation.

↳ last_chunk bool

When true, this is the last chunk of a chunked SetCell.

getChunkedValueSize

The total value size of all the chunks that make up the SetCell.

Returns
TypeDescription
int

setChunkedValueSize

The total value size of all the chunks that make up the SetCell.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getChunkedValueOffset

The byte offset of this chunk into the total value size of the mutation.

Returns
TypeDescription
int

setChunkedValueOffset

The byte offset of this chunk into the total value size of the mutation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLastChunk

When true, this is the last chunk of a chunked SetCell.

Returns
TypeDescription
bool

setLastChunk

When true, this is the last chunk of a chunked SetCell.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this