public static final class ReadRowsResponse.CellChunk.Builder extends GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadRowsResponse.CellChunk.BuilderImplements
ReadRowsResponse.CellChunkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllLabels(Iterable<String> values)
public ReadRowsResponse.CellChunk.Builder addAllLabels(Iterable<String> values)
Labels applied to the cell by a RowFilter. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;
Name | Description |
values | Iterable<String> The labels to add. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
addLabels(String value)
public ReadRowsResponse.CellChunk.Builder addLabels(String value)
Labels applied to the cell by a RowFilter. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;
Name | Description |
value | String The labels to add. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
addLabelsBytes(ByteString value)
public ReadRowsResponse.CellChunk.Builder addLabelsBytes(ByteString value)
Labels applied to the cell by a RowFilter. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;
Name | Description |
value | ByteString The bytes of the labels to add. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsResponse.CellChunk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
build()
public ReadRowsResponse.CellChunk build()
Type | Description |
ReadRowsResponse.CellChunk |
buildPartial()
public ReadRowsResponse.CellChunk buildPartial()
Type | Description |
ReadRowsResponse.CellChunk |
clear()
public ReadRowsResponse.CellChunk.Builder clear()
Type | Description |
ReadRowsResponse.CellChunk.Builder |
clearCommitRow()
public ReadRowsResponse.CellChunk.Builder clearCommitRow()
Indicates that the client can safely process all previous chunks for
row_key
, as its data has been fully read.
bool commit_row = 9;
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
clearFamilyName()
public ReadRowsResponse.CellChunk.Builder clearFamilyName()
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;
Type | Description |
ReadRowsResponse.CellChunk.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReadRowsResponse.CellChunk.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
clearLabels()
public ReadRowsResponse.CellChunk.Builder clearLabels()
Labels applied to the cell by a RowFilter. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadRowsResponse.CellChunk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
clearQualifier()
public ReadRowsResponse.CellChunk.Builder clearQualifier()
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;
Type | Description |
ReadRowsResponse.CellChunk.Builder |
clearResetRow()
public ReadRowsResponse.CellChunk.Builder clearResetRow()
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;
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
clearRowKey()
public ReadRowsResponse.CellChunk.Builder clearRowKey()
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;
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
clearRowStatus()
public ReadRowsResponse.CellChunk.Builder clearRowStatus()
Type | Description |
ReadRowsResponse.CellChunk.Builder |
clearTimestampMicros()
public ReadRowsResponse.CellChunk.Builder clearTimestampMicros()
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;
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
clearValue()
public ReadRowsResponse.CellChunk.Builder clearValue()
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;
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
clearValueSize()
public ReadRowsResponse.CellChunk.Builder clearValueSize()
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;
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
clone()
public ReadRowsResponse.CellChunk.Builder clone()
Type | Description |
ReadRowsResponse.CellChunk.Builder |
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;
Type | Description |
boolean | The commitRow. |
getDefaultInstanceForType()
public ReadRowsResponse.CellChunk getDefaultInstanceForType()
Type | Description |
ReadRowsResponse.CellChunk |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
StringValue | The familyName. |
getFamilyNameBuilder()
public StringValue.Builder getFamilyNameBuilder()
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;
Type | Description |
Builder |
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;
Type | Description |
StringValueOrBuilder |
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the labels. |
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;
Type | Description |
BytesValue | The qualifier. |
getQualifierBuilder()
public BytesValue.Builder getQualifierBuilder()
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;
Type | Description |
Builder |
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;
Type | Description |
BytesValueOrBuilder |
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;
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;
Type | Description |
ByteString | The rowKey. |
getRowStatusCase()
public ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase()
Type | Description |
ReadRowsResponse.CellChunk.RowStatusCase |
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;
Type | Description |
long | The timestampMicros. |
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;
Type | Description |
ByteString | The value. |
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;
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;
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;
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;
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;
Type | Description |
boolean | Whether the resetRow field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFamilyName(StringValue value)
public ReadRowsResponse.CellChunk.Builder mergeFamilyName(StringValue value)
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;
Name | Description |
value | StringValue |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
mergeFrom(ReadRowsResponse.CellChunk other)
public ReadRowsResponse.CellChunk.Builder mergeFrom(ReadRowsResponse.CellChunk other)
Name | Description |
other | ReadRowsResponse.CellChunk |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadRowsResponse.CellChunk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReadRowsResponse.CellChunk.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
mergeQualifier(BytesValue value)
public ReadRowsResponse.CellChunk.Builder mergeQualifier(BytesValue value)
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;
Name | Description |
value | BytesValue |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsResponse.CellChunk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setCommitRow(boolean value)
public ReadRowsResponse.CellChunk.Builder setCommitRow(boolean value)
Indicates that the client can safely process all previous chunks for
row_key
, as its data has been fully read.
bool commit_row = 9;
Name | Description |
value | boolean The commitRow to set. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
setFamilyName(StringValue value)
public ReadRowsResponse.CellChunk.Builder setFamilyName(StringValue value)
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;
Name | Description |
value | StringValue |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setFamilyName(StringValue.Builder builderForValue)
public ReadRowsResponse.CellChunk.Builder setFamilyName(StringValue.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsResponse.CellChunk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setLabels(int index, String value)
public ReadRowsResponse.CellChunk.Builder setLabels(int index, String value)
Labels applied to the cell by a RowFilter. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;
Name | Description |
index | int The index to set the value at. |
value | String The labels to set. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
setQualifier(BytesValue value)
public ReadRowsResponse.CellChunk.Builder setQualifier(BytesValue value)
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;
Name | Description |
value | BytesValue |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setQualifier(BytesValue.Builder builderForValue)
public ReadRowsResponse.CellChunk.Builder setQualifier(BytesValue.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadRowsResponse.CellChunk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setResetRow(boolean value)
public ReadRowsResponse.CellChunk.Builder setResetRow(boolean value)
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;
Name | Description |
value | boolean The resetRow to set. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
setRowKey(ByteString value)
public ReadRowsResponse.CellChunk.Builder setRowKey(ByteString value)
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;
Name | Description |
value | ByteString The rowKey to set. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
setTimestampMicros(long value)
public ReadRowsResponse.CellChunk.Builder setTimestampMicros(long value)
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;
Name | Description |
value | long The timestampMicros to set. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsResponse.CellChunk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadRowsResponse.CellChunk.Builder |
setValue(ByteString value)
public ReadRowsResponse.CellChunk.Builder setValue(ByteString value)
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;
Name | Description |
value | ByteString The value to set. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |
setValueSize(int value)
public ReadRowsResponse.CellChunk.Builder setValueSize(int value)
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;
Name | Description |
value | int The valueSize to set. |
Type | Description |
ReadRowsResponse.CellChunk.Builder | This builder for chaining. |