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 typegoogle.bigtable.v2.ReadRowsResponse.CellChunk
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadRowsResponse.CellChunk.BuilderaddAllLabels(Iterable<String> values)Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.BuilderaddLabels(String value)Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.BuilderaddLabelsBytes(com.google.protobuf.ByteString value)Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReadRowsResponse.CellChunkbuild()ReadRowsResponse.CellChunkbuildPartial()ReadRowsResponse.CellChunk.Builderclear()ReadRowsResponse.CellChunk.BuilderclearCommitRow()Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.ReadRowsResponse.CellChunk.BuilderclearFamilyName()The column family name for this chunk of data.ReadRowsResponse.CellChunk.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ReadRowsResponse.CellChunk.BuilderclearLabels()Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ReadRowsResponse.CellChunk.BuilderclearQualifier()The column qualifier for this chunk of data.ReadRowsResponse.CellChunk.BuilderclearResetRow()Indicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.ReadRowsResponse.CellChunk.BuilderclearRowKey()The row key for this chunk of data.ReadRowsResponse.CellChunk.BuilderclearRowStatus()ReadRowsResponse.CellChunk.BuilderclearTimestampMicros()The cell's stored timestamp, which also uniquely identifies it within its column.ReadRowsResponse.CellChunk.BuilderclearValue()The value stored in the cell.ReadRowsResponse.CellChunk.BuilderclearValueSize()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.ReadRowsResponse.CellChunk.Builderclone()booleangetCommitRow()Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.ReadRowsResponse.CellChunkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.StringValuegetFamilyName()The column family name for this chunk of data.com.google.protobuf.StringValue.BuildergetFamilyNameBuilder()The column family name for this chunk of data.com.google.protobuf.StringValueOrBuildergetFamilyNameOrBuilder()The column family name for this chunk of data.StringgetLabels(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].intgetLabelsCount()Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.ProtocolStringListgetLabelsList()Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.BytesValuegetQualifier()The column qualifier for this chunk of data.com.google.protobuf.BytesValue.BuildergetQualifierBuilder()The column qualifier for this chunk of data.com.google.protobuf.BytesValueOrBuildergetQualifierOrBuilder()The column qualifier for this chunk of data.booleangetResetRow()Indicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.com.google.protobuf.ByteStringgetRowKey()The row key for this chunk of data.ReadRowsResponse.CellChunk.RowStatusCasegetRowStatusCase()longgetTimestampMicros()The cell's stored timestamp, which also uniquely identifies it within its column.com.google.protobuf.ByteStringgetValue()The value stored in the cell.intgetValueSize()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.booleanhasCommitRow()Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.booleanhasFamilyName()The column family name for this chunk of data.booleanhasQualifier()The column qualifier for this chunk of data.booleanhasResetRow()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ReadRowsResponse.CellChunk.BuildermergeFamilyName(com.google.protobuf.StringValue value)The column family name for this chunk of data.ReadRowsResponse.CellChunk.BuildermergeFrom(ReadRowsResponse.CellChunk other)ReadRowsResponse.CellChunk.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ReadRowsResponse.CellChunk.BuildermergeFrom(com.google.protobuf.Message other)ReadRowsResponse.CellChunk.BuildermergeQualifier(com.google.protobuf.BytesValue value)The column qualifier for this chunk of data.ReadRowsResponse.CellChunk.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ReadRowsResponse.CellChunk.BuildersetCommitRow(boolean value)Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.ReadRowsResponse.CellChunk.BuildersetFamilyName(com.google.protobuf.StringValue value)The column family name for this chunk of data.ReadRowsResponse.CellChunk.BuildersetFamilyName(com.google.protobuf.StringValue.Builder builderForValue)The column family name for this chunk of data.ReadRowsResponse.CellChunk.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ReadRowsResponse.CellChunk.BuildersetLabels(int index, String value)Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.BuildersetQualifier(com.google.protobuf.BytesValue value)The column qualifier for this chunk of data.ReadRowsResponse.CellChunk.BuildersetQualifier(com.google.protobuf.BytesValue.Builder builderForValue)The column qualifier for this chunk of data.ReadRowsResponse.CellChunk.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ReadRowsResponse.CellChunk.BuildersetResetRow(boolean value)Indicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.ReadRowsResponse.CellChunk.BuildersetRowKey(com.google.protobuf.ByteString value)The row key for this chunk of data.ReadRowsResponse.CellChunk.BuildersetTimestampMicros(long value)The cell's stored timestamp, which also uniquely identifies it within its column.ReadRowsResponse.CellChunk.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ReadRowsResponse.CellChunk.BuildersetValue(com.google.protobuf.ByteString value)The value stored in the cell.ReadRowsResponse.CellChunk.BuildersetValueSize(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, internalGetMutableMapField, 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
-
-
-
-
Method Detail
-
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
public 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
public ReadRowsResponse.CellChunk getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadRowsResponse.CellChunk build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadRowsResponse.CellChunk buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReadRowsResponse.CellChunk.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
public ReadRowsResponse.CellChunk.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeFrom
public ReadRowsResponse.CellChunk.Builder mergeFrom(ReadRowsResponse.CellChunk other)
-
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
public ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase()
- Specified by:
getRowStatusCasein interfaceReadRowsResponse.CellChunkOrBuilder
-
clearRowStatus
public ReadRowsResponse.CellChunk.Builder 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
public ReadRowsResponse.CellChunk.Builder setRowKey(com.google.protobuf.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;- Parameters:
value- The rowKey to set.- Returns:
- 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;- 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
public ReadRowsResponse.CellChunk.Builder setFamilyName(com.google.protobuf.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;
-
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
public ReadRowsResponse.CellChunk.Builder mergeFamilyName(com.google.protobuf.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;
-
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;
-
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
public ReadRowsResponse.CellChunk.Builder setQualifier(com.google.protobuf.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;
-
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
public ReadRowsResponse.CellChunk.Builder mergeQualifier(com.google.protobuf.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;
-
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;
-
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
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 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
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 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
public String getLabels(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:
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
public ReadRowsResponse.CellChunk.Builder setLabels(int index, String value)
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
public ReadRowsResponse.CellChunk.Builder addLabels(String value)
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
public ReadRowsResponse.CellChunk.Builder addAllLabels(Iterable<String> values)
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
public ReadRowsResponse.CellChunk.Builder 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
public ReadRowsResponse.CellChunk.Builder addLabelsBytes(com.google.protobuf.ByteString value)
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
public ReadRowsResponse.CellChunk.Builder setValue(com.google.protobuf.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;- Parameters:
value- The value to set.- Returns:
- 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;- 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
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;- Parameters:
value- The valueSize to set.- Returns:
- 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;- 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
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;- Parameters:
value- The resetRow to set.- Returns:
- This builder for chaining.
-
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;- 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
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;- Parameters:
value- The commitRow to set.- Returns:
- This builder for chaining.
-
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;- 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>
-
-