Package com.google.bigtable.v2
Class ReadRowsResponse.CellChunk
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.ReadRowsResponse.CellChunk
- All Implemented Interfaces:
ReadRowsResponse.CellChunkOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ReadRowsResponse
public static final class ReadRowsResponse.CellChunk
extends com.google.protobuf.GeneratedMessageV3
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSpecifies a piece of a row's contents returned as part of the read response stream.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanIndicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.static ReadRowsResponse.CellChunkstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StringValueThe column family name for this chunk of data.com.google.protobuf.StringValueOrBuilderThe column family name for this chunk of data.getLabels(int index) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.ByteStringgetLabelsBytes(int index) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].intLabels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.ProtocolStringListLabels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].com.google.protobuf.Parser<ReadRowsResponse.CellChunk>com.google.protobuf.BytesValueThe column qualifier for this chunk of data.com.google.protobuf.BytesValueOrBuilderThe column qualifier for this chunk of data.booleanIndicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.com.google.protobuf.ByteStringThe row key for this chunk of data.intlongThe cell's stored timestamp, which also uniquely identifies it within its column.com.google.protobuf.ByteStringgetValue()The value stored in the cell.intIf this CellChunk is part of a chunked cell value and this is not the final chunk of that cell, value_size will be set to the total length of the cell value.booleanIndicates that the client can safely process all previous chunks for `row_key`, as its data has been fully read.booleanThe column family name for this chunk of data.inthashCode()booleanThe column qualifier for this chunk of data.booleanIndicates that the client should drop all previous chunks for `row_key`, as it will be re-read from the beginning.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ReadRowsResponse.CellChunk prototype) protected ReadRowsResponse.CellChunk.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ReadRowsResponse.CellChunkparseDelimitedFrom(InputStream input) static ReadRowsResponse.CellChunkparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponse.CellChunkparseFrom(byte[] data) static ReadRowsResponse.CellChunkparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponse.CellChunkparseFrom(com.google.protobuf.ByteString data) static ReadRowsResponse.CellChunkparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponse.CellChunkparseFrom(com.google.protobuf.CodedInputStream input) static ReadRowsResponse.CellChunkparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponse.CellChunkparseFrom(InputStream input) static ReadRowsResponse.CellChunkparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ReadRowsResponse.CellChunkparseFrom(ByteBuffer data) static ReadRowsResponse.CellChunkparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ReadRowsResponse.CellChunk>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ROW_KEY_FIELD_NUMBER
public static final int ROW_KEY_FIELD_NUMBER- See Also:
-
FAMILY_NAME_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER- See Also:
-
QUALIFIER_FIELD_NUMBER
public static final int QUALIFIER_FIELD_NUMBER- See Also:
-
TIMESTAMP_MICROS_FIELD_NUMBER
public static final int TIMESTAMP_MICROS_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER- See Also:
-
VALUE_SIZE_FIELD_NUMBER
public static final int VALUE_SIZE_FIELD_NUMBER- See Also:
-
RESET_ROW_FIELD_NUMBER
public static final int RESET_ROW_FIELD_NUMBER- See Also:
-
COMMIT_ROW_FIELD_NUMBER
public static final int COMMIT_ROW_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getRowStatusCase
- Specified by:
getRowStatusCasein interfaceReadRowsResponse.CellChunkOrBuilder
-
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.
-
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.
-
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.
-
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.
-
getLabelsList
public com.google.protobuf.ProtocolStringList getLabelsList()Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Specified by:
getLabelsListin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- A list containing the labels.
-
getLabelsCount
public int getLabelsCount()Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Specified by:
getLabelsCountin interfaceReadRowsResponse.CellChunkOrBuilder- Returns:
- The count of labels.
-
getLabels
Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Specified by:
getLabelsin interfaceReadRowsResponse.CellChunkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The labels at the given index.
-
getLabelsBytes
public com.google.protobuf.ByteString getLabelsBytes(int index) Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set on the first CellChunk per cell.
repeated string labels = 5;- Specified by:
getLabelsBytesin interfaceReadRowsResponse.CellChunkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the labels at the given index.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ReadRowsResponse.CellChunk parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ReadRowsResponse.CellChunk parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReadRowsResponse.CellChunk.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-