Package com.google.bigtable.v2
Interface ReadRowsResponse.CellChunkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadRowsResponse.CellChunk,ReadRowsResponse.CellChunk.Builder
- Enclosing class:
- ReadRowsResponse
public static interface ReadRowsResponse.CellChunkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.com.google.protobuf.StringValueThe column family name for this chunk of data.com.google.protobuf.StringValueOrBuilderThe column family name for this chunk of data.getLabels(int index) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.ByteStringgetLabelsBytes(int index) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].intLabels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.BytesValueThe column qualifier for this chunk of data.com.google.protobuf.BytesValueOrBuilderThe column qualifier for this chunk of data.booleanIndicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.com.google.protobuf.ByteStringThe row key for this chunk of data.longThe cell's stored timestamp, which also uniquely identifies it within its column.com.google.protobuf.ByteStringgetValue()The value stored in the cell.intIf 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.booleanIndicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.booleanThe column family name for this chunk of data.booleanThe column qualifier for this chunk of data.booleanIndicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRowKey
com.google.protobuf.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:
- The rowKey.
-
hasFamilyName
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:
- Whether the familyName field is set.
-
getFamilyName
com.google.protobuf.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:
- The familyName.
-
getFamilyNameOrBuilder
com.google.protobuf.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; -
hasQualifier
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:
- Whether the qualifier field is set.
-
getQualifier
com.google.protobuf.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:
- The qualifier.
-
getQualifierOrBuilder
com.google.protobuf.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; -
getTimestampMicros
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 1000. Timestamps are only set in the first CellChunk per cell (for cells split into multiple chunks).
int64 timestamp_micros = 4;- Returns:
- The timestampMicros.
-
getLabelsList
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Returns:
- A list containing the labels.
-
getLabelsCount
int getLabelsCount()Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Returns:
- The count of labels.
-
getLabels
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
com.google.protobuf.ByteString getLabelsBytes(int index) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
getValue
com.google.protobuf.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:
- The value.
-
getValueSize
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:
- The valueSize.
-
hasResetRow
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:
- Whether the resetRow field is set.
-
getResetRow
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:
- The resetRow.
-
hasCommitRow
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:
- Whether the commitRow field is set.
-
getCommitRow
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:
- The commitRow.
-
getRowStatusCase
ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase()
-