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.Builder
addAllLabels(Iterable<String> values)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.Builder
addLabels(String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.Builder
addLabelsBytes(com.google.protobuf.ByteString value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReadRowsResponse.CellChunk
build()
ReadRowsResponse.CellChunk
buildPartial()
ReadRowsResponse.CellChunk.Builder
clear()
ReadRowsResponse.CellChunk.Builder
clearCommitRow()
Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.ReadRowsResponse.CellChunk.Builder
clearFamilyName()
The column family name for this chunk of data.ReadRowsResponse.CellChunk.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ReadRowsResponse.CellChunk.Builder
clearLabels()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ReadRowsResponse.CellChunk.Builder
clearQualifier()
The column qualifier for this chunk of data.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.ReadRowsResponse.CellChunk.Builder
clearRowKey()
The row key for this chunk of data.ReadRowsResponse.CellChunk.Builder
clearRowStatus()
ReadRowsResponse.CellChunk.Builder
clearTimestampMicros()
The cell's stored timestamp, which also uniquely identifies it within its column.ReadRowsResponse.CellChunk.Builder
clearValue()
The value stored in the cell.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.ReadRowsResponse.CellChunk.Builder
clone()
boolean
getCommitRow()
Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.ReadRowsResponse.CellChunk
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.StringValue
getFamilyName()
The column family name for this chunk of data.com.google.protobuf.StringValue.Builder
getFamilyNameBuilder()
The column family name for this chunk of data.com.google.protobuf.StringValueOrBuilder
getFamilyNameOrBuilder()
The column family name for this chunk of data.String
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
getLabelsCount()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.ProtocolStringList
getLabelsList()
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.BytesValue
getQualifier()
The column qualifier for this chunk of data.com.google.protobuf.BytesValue.Builder
getQualifierBuilder()
The column qualifier for this chunk of data.com.google.protobuf.BytesValueOrBuilder
getQualifierOrBuilder()
The column qualifier for this chunk of data.boolean
getResetRow()
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
getRowKey()
The row key for this chunk of data.ReadRowsResponse.CellChunk.RowStatusCase
getRowStatusCase()
long
getTimestampMicros()
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
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.boolean
hasCommitRow()
Indicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.boolean
hasFamilyName()
The column family name for this chunk of data.boolean
hasQualifier()
The column qualifier for this chunk of data.boolean
hasResetRow()
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
internalGetFieldAccessorTable()
boolean
isInitialized()
ReadRowsResponse.CellChunk.Builder
mergeFamilyName(com.google.protobuf.StringValue value)
The column family name for this chunk of data.ReadRowsResponse.CellChunk.Builder
mergeFrom(ReadRowsResponse.CellChunk other)
ReadRowsResponse.CellChunk.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ReadRowsResponse.CellChunk.Builder
mergeFrom(com.google.protobuf.Message other)
ReadRowsResponse.CellChunk.Builder
mergeQualifier(com.google.protobuf.BytesValue value)
The column qualifier for this chunk of data.ReadRowsResponse.CellChunk.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.ReadRowsResponse.CellChunk.Builder
setFamilyName(com.google.protobuf.StringValue value)
The column family name for this chunk of data.ReadRowsResponse.CellChunk.Builder
setFamilyName(com.google.protobuf.StringValue.Builder builderForValue)
The column family name for this chunk of data.ReadRowsResponse.CellChunk.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ReadRowsResponse.CellChunk.Builder
setLabels(int index, String value)
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].ReadRowsResponse.CellChunk.Builder
setQualifier(com.google.protobuf.BytesValue value)
The column qualifier for this chunk of data.ReadRowsResponse.CellChunk.Builder
setQualifier(com.google.protobuf.BytesValue.Builder builderForValue)
The column qualifier for this chunk of data.ReadRowsResponse.CellChunk.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.ReadRowsResponse.CellChunk.Builder
setRowKey(com.google.protobuf.ByteString value)
The row key for this chunk of data.ReadRowsResponse.CellChunk.Builder
setTimestampMicros(long value)
The cell's stored timestamp, which also uniquely identifies it within its column.ReadRowsResponse.CellChunk.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ReadRowsResponse.CellChunk.Builder
setValue(com.google.protobuf.ByteString value)
The value stored in the cell.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.-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.CellChunk.Builder>
-
clear
public 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
public ReadRowsResponse.CellChunk getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ReadRowsResponse.CellChunk build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ReadRowsResponse.CellChunk buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ReadRowsResponse.CellChunk.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
public ReadRowsResponse.CellChunk.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.CellChunk.Builder>
-
mergeFrom
public ReadRowsResponse.CellChunk.Builder mergeFrom(ReadRowsResponse.CellChunk other)
-
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
public ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase()
- Specified by:
getRowStatusCase
in 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:
getRowKey
in 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:
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
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:
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
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:
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
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:
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
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:
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
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:
getValue
in 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:
getValueSize
in 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:
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
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:
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
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:
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>
-
-