Cloud Bigtable V2 Client - Class ChunkInfo (1.32.1)

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
Name Description
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
Type Description
int

setChunkedValueSize

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

Parameter
Name Description
var int
Returns
Type Description
$this

getChunkedValueOffset

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

Returns
Type Description
int

setChunkedValueOffset

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

Parameter
Name Description
var int
Returns
Type Description
$this

getLastChunk

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

Returns
Type Description
bool

setLastChunk

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

Parameter
Name Description
var bool
Returns
Type Description
$this