public static final class ReadRowsResponse.CellChunk extends GeneratedMessageV3 implements ReadRowsResponse.CellChunkOrBuilder
Specifies a piece of a row's contents returned as part of the read
response stream.
Protobuf type google.bigtable.v2.ReadRowsResponse.CellChunk
Static Fields
COMMIT_ROW_FIELD_NUMBER
public static final int COMMIT_ROW_FIELD_NUMBER
Field Value
FAMILY_NAME_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
QUALIFIER_FIELD_NUMBER
public static final int QUALIFIER_FIELD_NUMBER
Field Value
RESET_ROW_FIELD_NUMBER
public static final int RESET_ROW_FIELD_NUMBER
Field Value
ROW_KEY_FIELD_NUMBER
public static final int ROW_KEY_FIELD_NUMBER
Field Value
TIMESTAMP_MICROS_FIELD_NUMBER
public static final int TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
VALUE_SIZE_FIELD_NUMBER
public static final int VALUE_SIZE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ReadRowsResponse.CellChunk getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ReadRowsResponse.CellChunk.Builder newBuilder()
Returns
newBuilder(ReadRowsResponse.CellChunk prototype)
public static ReadRowsResponse.CellChunk.Builder newBuilder(ReadRowsResponse.CellChunk prototype)
Parameter
Returns
public static ReadRowsResponse.CellChunk parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReadRowsResponse.CellChunk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReadRowsResponse.CellChunk parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse.CellChunk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReadRowsResponse.CellChunk parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse.CellChunk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadRowsResponse.CellChunk parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReadRowsResponse.CellChunk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReadRowsResponse.CellChunk parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReadRowsResponse.CellChunk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReadRowsResponse.CellChunk parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse.CellChunk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReadRowsResponse.CellChunk> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCommitRow()
public boolean getCommitRow()
Indicates that the client can safely process all previous chunks for
row_key
, as its data has been fully read.
bool commit_row = 9;
Returns
Type | Description |
boolean | The commitRow.
|
getDefaultInstanceForType()
public ReadRowsResponse.CellChunk getDefaultInstanceForType()
Returns
getFamilyName()
public StringValue getFamilyName()
The column family name for this chunk of data. If this message
is not present this CellChunk is a continuation of the same column
family as the previous CellChunk. The empty string can occur as a
column family name in a response so clients must check
explicitly for the presence of this message, not just for
family_name.value
being non-empty.
.google.protobuf.StringValue family_name = 2;
Returns
getFamilyNameOrBuilder()
public StringValueOrBuilder getFamilyNameOrBuilder()
The column family name for this chunk of data. If this message
is not present this CellChunk is a continuation of the same column
family as the previous CellChunk. The empty string can occur as a
column family name in a response so clients must check
explicitly for the presence of this message, not just for
family_name.value
being non-empty.
.google.protobuf.StringValue family_name = 2;
Returns
getLabels(int index)
public String getLabels(int index)
Labels applied to the cell by a
RowFilter. Labels are only set
on the first CellChunk per cell.
repeated string labels = 5;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The labels at the given index.
|
getLabelsBytes(int index)
public ByteString getLabelsBytes(int index)
Labels applied to the cell by a
RowFilter. Labels are only set
on the first CellChunk per cell.
repeated string labels = 5;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the labels at the given index.
|
getLabelsCount()
public int getLabelsCount()
Labels applied to the cell by a
RowFilter. Labels are only set
on the first CellChunk per cell.
repeated string labels = 5;
Returns
Type | Description |
int | The count of labels.
|
getLabelsList()
public ProtocolStringList getLabelsList()
Labels applied to the cell by a
RowFilter. Labels are only set
on the first CellChunk per cell.
repeated string labels = 5;
Returns
getParserForType()
public Parser<ReadRowsResponse.CellChunk> getParserForType()
Returns
Overrides
getQualifier()
public BytesValue getQualifier()
The column qualifier for this chunk of data. If this message
is not present, this CellChunk is a continuation of the same column
as the previous CellChunk. Column qualifiers may be empty so
clients must check for the presence of this message, not just
for qualifier.value
being non-empty.
.google.protobuf.BytesValue qualifier = 3;
Returns
getQualifierOrBuilder()
public BytesValueOrBuilder getQualifierOrBuilder()
The column qualifier for this chunk of data. If this message
is not present, this CellChunk is a continuation of the same column
as the previous CellChunk. Column qualifiers may be empty so
clients must check for the presence of this message, not just
for qualifier.value
being non-empty.
.google.protobuf.BytesValue qualifier = 3;
Returns
getResetRow()
public boolean getResetRow()
Indicates that the client should drop all previous chunks for
row_key
, as it will be re-read from the beginning.
bool reset_row = 8;
Returns
Type | Description |
boolean | The resetRow.
|
getRowKey()
public ByteString getRowKey()
The row key for this chunk of data. If the row key is empty,
this CellChunk is a continuation of the same row as the previous
CellChunk in the response stream, even if that CellChunk was in a
previous ReadRowsResponse message.
bytes row_key = 1;
Returns
getRowStatusCase()
public ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTimestampMicros()
public long getTimestampMicros()
The cell's stored timestamp, which also uniquely identifies it
within its column. Values are always expressed in
microseconds, but individual tables may set a coarser
granularity to further restrict the allowed values. For
example, a table which specifies millisecond granularity will
only allow values of timestamp_micros
which are multiples of
- Timestamps are only set in the first CellChunk per cell
(for cells split into multiple chunks).
int64 timestamp_micros = 4;
Returns
Type | Description |
long | The timestampMicros.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getValue()
public ByteString getValue()
The value stored in the cell. Cell values can be split across
multiple CellChunks. In that case only the value field will be
set in CellChunks after the first: the timestamp and labels
will only be present in the first CellChunk, even if the first
CellChunk came in a previous ReadRowsResponse.
bytes value = 6;
Returns
getValueSize()
public int getValueSize()
If this CellChunk is part of a chunked cell value and this is
not the final chunk of that cell, value_size will be set to the
total length of the cell value. The client can use this size
to pre-allocate memory to hold the full cell value.
int32 value_size = 7;
Returns
Type | Description |
int | The valueSize.
|
hasCommitRow()
public boolean hasCommitRow()
Indicates that the client can safely process all previous chunks for
row_key
, as its data has been fully read.
bool commit_row = 9;
Returns
Type | Description |
boolean | Whether the commitRow field is set.
|
hasFamilyName()
public boolean hasFamilyName()
The column family name for this chunk of data. If this message
is not present this CellChunk is a continuation of the same column
family as the previous CellChunk. The empty string can occur as a
column family name in a response so clients must check
explicitly for the presence of this message, not just for
family_name.value
being non-empty.
.google.protobuf.StringValue family_name = 2;
Returns
Type | Description |
boolean | Whether the familyName field is set.
|
hasQualifier()
public boolean hasQualifier()
The column qualifier for this chunk of data. If this message
is not present, this CellChunk is a continuation of the same column
as the previous CellChunk. Column qualifiers may be empty so
clients must check for the presence of this message, not just
for qualifier.value
being non-empty.
.google.protobuf.BytesValue qualifier = 3;
Returns
Type | Description |
boolean | Whether the qualifier field is set.
|
hasResetRow()
public boolean hasResetRow()
Indicates that the client should drop all previous chunks for
row_key
, as it will be re-read from the beginning.
bool reset_row = 8;
Returns
Type | Description |
boolean | Whether the resetRow field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ReadRowsResponse.CellChunk.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReadRowsResponse.CellChunk.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ReadRowsResponse.CellChunk.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions