Package com.google.bigtable.v2
Class ReadRowsResponse.CellChunk.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder
- All Implemented Interfaces:
ReadRowsResponse.CellChunkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReadRowsResponse.CellChunk
public static final class ReadRowsResponse.CellChunk.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllLabels(Iterable<String> values) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].addLabelsBytes(com.google.protobuf.ByteString value) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.The column family name for this chunk of data.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The column qualifier for this chunk of data.Indicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.The row key for this chunk of data.The cell's stored timestamp, which also uniquely identifies it within its column.The value stored in the cell.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.clone()booleanIndicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StringValueThe column family name for this chunk of data.com.google.protobuf.StringValue.BuilderThe 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].com.google.protobuf.ProtocolStringListLabels 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.BytesValue.BuilderThe 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFamilyName(com.google.protobuf.StringValue value) The column family name for this chunk of data.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeQualifier(com.google.protobuf.BytesValue value) The column qualifier for this chunk of data.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCommitRow(boolean value) Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.setFamilyName(com.google.protobuf.StringValue value) The column family name for this chunk of data.setFamilyName(com.google.protobuf.StringValue.Builder builderForValue) The column family name for this chunk of data.Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].setQualifier(com.google.protobuf.BytesValue value) The column qualifier for this chunk of data.setQualifier(com.google.protobuf.BytesValue.Builder builderForValue) The column qualifier for this chunk of data.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResetRow(boolean value) Indicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.setRowKey(com.google.protobuf.ByteString value) The row key for this chunk of data.setTimestampMicros(long value) The cell's stored timestamp, which also uniquely identifies it within its column.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setValue(com.google.protobuf.ByteString value) The value stored in the cell.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.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
setField
public ReadRowsResponse.CellChunk.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
clearField
public ReadRowsResponse.CellChunk.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
clearOneof
public ReadRowsResponse.CellChunk.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
setRepeatedField
public ReadRowsResponse.CellChunk.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
addRepeatedField
public ReadRowsResponse.CellChunk.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeFrom
public ReadRowsResponse.CellChunk.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.CellChunk.Builder>- Throws:
IOException
-
getRowStatusCase
- Specified by:
getRowStatusCasein interfaceReadRowsResponse.CellChunkOrBuilder
-
clearRowStatus
-
getRowKey
public 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;- Specified by:
getRowKeyin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The rowKey.
-
setRowKey
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;- Parameters:
value- The rowKey to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasFamilyNamein interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- Whether the familyName field is set.
-
getFamilyName
public 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;- Specified by:
getFamilyNamein interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The familyName.
-
setFamilyName
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; -
setFamilyName
public ReadRowsResponse.CellChunk.Builder setFamilyName(com.google.protobuf.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; -
mergeFamilyName
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; -
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; -
getFamilyNameBuilder
public com.google.protobuf.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; -
getFamilyNameOrBuilder
public 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;- Specified by:
getFamilyNameOrBuilderin interfaceReadRowsResponse.CellChunkOrBuilder
-
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;- Specified by:
hasQualifierin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- Whether the qualifier field is set.
-
getQualifier
public 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;- Specified by:
getQualifierin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The qualifier.
-
setQualifier
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; -
setQualifier
public ReadRowsResponse.CellChunk.Builder setQualifier(com.google.protobuf.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; -
mergeQualifier
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; -
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; -
getQualifierBuilder
public com.google.protobuf.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; -
getQualifierOrBuilder
public 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;- Specified by:
getQualifierOrBuilderin interfaceReadRowsResponse.CellChunkOrBuilder
-
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 1000. Timestamps are only set in the first CellChunk per cell (for cells split into multiple chunks).
int64 timestamp_micros = 4;- Specified by:
getTimestampMicrosin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The timestampMicros.
-
setTimestampMicros
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;- Parameters:
value- The timestampMicros to set.- Returns:
- This builder for chaining.
-
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 1000. Timestamps are only set in the first CellChunk per cell (for cells split into multiple chunks).
int64 timestamp_micros = 4;- Returns:
- This builder for chaining.
-
getLabelsList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getLabelsListin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public 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;- Specified by:
getLabelsCountin interfaceReadRowsResponse.CellChunkOrBuilder- 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;- Specified by:
getLabelsin interfaceReadRowsResponse.CellChunkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public 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;- Specified by:
getLabelsBytesin interfaceReadRowsResponse.CellChunkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
setLabels
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 to set the value at.value- The labels to set.- Returns:
- This builder for chaining.
-
addLabels
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:
value- The labels to add.- Returns:
- This builder for chaining.
-
addAllLabels
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:
values- The labels to add.- Returns:
- This builder for chaining.
-
clearLabels
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:
- This builder for chaining.
-
addLabelsBytes
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:
value- The bytes of the labels to add.- Returns:
- This builder for chaining.
-
getValue
public 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;- Specified by:
getValuein interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The value.
-
setValue
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;- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
getValueSizein interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The valueSize.
-
setValueSize
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;- Parameters:
value- The valueSize to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasResetRowin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- Whether the resetRow field is set.
-
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;- Specified by:
getResetRowin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The resetRow.
-
setResetRow
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;- Parameters:
value- The resetRow to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
hasCommitRowin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- Whether the commitRow field is set.
-
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;- Specified by:
getCommitRowin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The commitRow.
-
setCommitRow
Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.
bool commit_row = 9;- Parameters:
value- The commitRow to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadRowsResponse.CellChunk.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeUnknownFields
public final ReadRowsResponse.CellChunk.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-