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()
boolean
Indicates 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.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.StringValue
The column family name for this chunk of data.com.google.protobuf.StringValue.Builder
The column family name for this chunk of data.com.google.protobuf.StringValueOrBuilder
The 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.ByteString
getLabelsBytes
(int index) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].int
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.ProtocolStringList
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.BytesValue
The column qualifier for this chunk of data.com.google.protobuf.BytesValue.Builder
The column qualifier for this chunk of data.com.google.protobuf.BytesValueOrBuilder
The column qualifier for this chunk of data.boolean
Indicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.com.google.protobuf.ByteString
The row key for this chunk of data.long
The cell's stored timestamp, which also uniquely identifies it within its column.com.google.protobuf.ByteString
getValue()
The value stored in the cell.int
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.boolean
Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.boolean
The column family name for this chunk of data.boolean
The column qualifier for this chunk of data.boolean
Indicates 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.FieldAccessorTable
final boolean
mergeFamilyName
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
setField
public ReadRowsResponse.CellChunk.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
clearField
public ReadRowsResponse.CellChunk.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
clearOneof
public ReadRowsResponse.CellChunk.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
addRepeatedField
public ReadRowsResponse.CellChunk.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.CellChunk.Builder>
- Throws:
IOException
-
getRowStatusCase
- Specified by:
getRowStatusCase
in 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:
getRowKey
in 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:
hasFamilyName
in 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:
getFamilyName
in 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:
getFamilyNameOrBuilder
in 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:
hasQualifier
in 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:
getQualifier
in 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:
getQualifierOrBuilder
in 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:
getTimestampMicros
in 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:
getLabelsList
in 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:
getLabelsCount
in 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:
getLabels
in 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:
getLabelsBytes
in 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:
getValue
in 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:
getValueSize
in 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:
hasResetRow
in 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:
getResetRow
in 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:
hasCommitRow
in 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:
getCommitRow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeUnknownFields
public final ReadRowsResponse.CellChunk.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-