public static final class ReadRowsResponse.CellChunk extends 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| Modifier and Type | Class and Description |
|---|---|
static class |
ReadRowsResponse.CellChunk.Builder
Specifies a piece of a row's contents returned as part of the read
response stream.
|
static class |
ReadRowsResponse.CellChunk.RowStatusCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COMMIT_ROW_FIELD_NUMBER |
static int |
FAMILY_NAME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
QUALIFIER_FIELD_NUMBER |
static int |
RESET_ROW_FIELD_NUMBER |
static int |
ROW_KEY_FIELD_NUMBER |
static int |
TIMESTAMP_MICROS_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
static int |
VALUE_SIZE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getCommitRow()
Indicates that the client can safely process all previous chunks for
`row_key`, as its data has been fully read.
|
static ReadRowsResponse.CellChunk |
getDefaultInstance() |
ReadRowsResponse.CellChunk |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
StringValue |
getFamilyName()
The column family name for this chunk of data.
|
StringValueOrBuilder |
getFamilyNameOrBuilder()
The column family name for this chunk of data.
|
java.lang.String |
getLabels(int index)
Labels applied to the cell by a
[RowFilter][google.bigtable.v2.RowFilter].
|
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].
|
ProtocolStringList |
getLabelsList()
Labels applied to the cell by a
[RowFilter][google.bigtable.v2.RowFilter].
|
Parser<ReadRowsResponse.CellChunk> |
getParserForType() |
BytesValue |
getQualifier()
The column qualifier for this chunk of data.
|
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.
|
ByteString |
getRowKey()
The row key for this chunk of data.
|
ReadRowsResponse.CellChunk.RowStatusCase |
getRowStatusCase() |
int |
getSerializedSize() |
long |
getTimestampMicros()
The cell's stored timestamp, which also uniquely identifies it
within its column.
|
UnknownFieldSet |
getUnknownFields() |
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 |
hasFamilyName()
The column family name for this chunk of data.
|
int |
hashCode() |
boolean |
hasQualifier()
The column qualifier for this chunk of data.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadRowsResponse.CellChunk.Builder |
newBuilder() |
static ReadRowsResponse.CellChunk.Builder |
newBuilder(ReadRowsResponse.CellChunk prototype) |
ReadRowsResponse.CellChunk.Builder |
newBuilderForType() |
protected ReadRowsResponse.CellChunk.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ReadRowsResponse.CellChunk |
parseDelimitedFrom(java.io.InputStream input) |
static ReadRowsResponse.CellChunk |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse.CellChunk |
parseFrom(byte[] data) |
static ReadRowsResponse.CellChunk |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse.CellChunk |
parseFrom(java.nio.ByteBuffer data) |
static ReadRowsResponse.CellChunk |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse.CellChunk |
parseFrom(ByteString data) |
static ReadRowsResponse.CellChunk |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse.CellChunk |
parseFrom(CodedInputStream input) |
static ReadRowsResponse.CellChunk |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ReadRowsResponse.CellChunk |
parseFrom(java.io.InputStream input) |
static ReadRowsResponse.CellChunk |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ReadRowsResponse.CellChunk> |
parser() |
ReadRowsResponse.CellChunk.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ROW_KEY_FIELD_NUMBER
public static final int FAMILY_NAME_FIELD_NUMBER
public static final int QUALIFIER_FIELD_NUMBER
public static final int TIMESTAMP_MICROS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int VALUE_SIZE_FIELD_NUMBER
public static final int RESET_ROW_FIELD_NUMBER
public static final int COMMIT_ROW_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase()
getRowStatusCase in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getRowKey in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;hasFamilyName in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getFamilyName in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getFamilyNameOrBuilder in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;hasQualifier in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getQualifier in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getQualifierOrBuilder in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getTimestampMicros in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getLabelsList in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getLabelsCount in interface ReadRowsResponse.CellChunkOrBuilderpublic java.lang.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;getLabels in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getLabelsBytes in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getValue in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getValueSize in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getResetRow in interface ReadRowsResponse.CellChunkOrBuilderpublic 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;getCommitRow in interface ReadRowsResponse.CellChunkOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ReadRowsResponse.CellChunk parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ReadRowsResponse.CellChunk parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ReadRowsResponse.CellChunk parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ReadRowsResponse.CellChunk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ReadRowsResponse.CellChunk parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ReadRowsResponse.CellChunk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ReadRowsResponse.CellChunk parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReadRowsResponse.CellChunk parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ReadRowsResponse.CellChunk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReadRowsResponse.CellChunk parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ReadRowsResponse.CellChunk parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReadRowsResponse.CellChunk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ReadRowsResponse.CellChunk.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ReadRowsResponse.CellChunk.Builder newBuilder()
public static ReadRowsResponse.CellChunk.Builder newBuilder(ReadRowsResponse.CellChunk prototype)
public ReadRowsResponse.CellChunk.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ReadRowsResponse.CellChunk.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ReadRowsResponse.CellChunk getDefaultInstance()
public static Parser<ReadRowsResponse.CellChunk> parser()
public Parser<ReadRowsResponse.CellChunk> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ReadRowsResponse.CellChunk getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder