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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase()
getRowStatusCase
in interface ReadRowsResponse.CellChunkOrBuilder
public 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.CellChunkOrBuilder
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;
hasFamilyName
in interface ReadRowsResponse.CellChunkOrBuilder
public 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.CellChunkOrBuilder
public 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.CellChunkOrBuilder
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;
hasQualifier
in interface ReadRowsResponse.CellChunkOrBuilder
public 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.CellChunkOrBuilder
public 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.CellChunkOrBuilder
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;
getTimestampMicros
in interface ReadRowsResponse.CellChunkOrBuilder
public 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.CellChunkOrBuilder
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;
getLabelsCount
in interface ReadRowsResponse.CellChunkOrBuilder
public 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.CellChunkOrBuilder
public 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.CellChunkOrBuilder
public 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.CellChunkOrBuilder
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;
getValueSize
in interface ReadRowsResponse.CellChunkOrBuilder
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;
getResetRow
in interface ReadRowsResponse.CellChunkOrBuilder
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;
getCommitRow
in interface ReadRowsResponse.CellChunkOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ReadRowsResponse.CellChunk parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ReadRowsResponse.CellChunk parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ReadRowsResponse.CellChunk parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ReadRowsResponse.CellChunk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ReadRowsResponse.CellChunk parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ReadRowsResponse.CellChunk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ReadRowsResponse.CellChunk parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ReadRowsResponse.CellChunk parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ReadRowsResponse.CellChunk parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ReadRowsResponse.CellChunk parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ReadRowsResponse.CellChunk parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ReadRowsResponse.CellChunk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ReadRowsResponse.CellChunk.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ReadRowsResponse.CellChunk.Builder newBuilder()
public static ReadRowsResponse.CellChunk.Builder newBuilder(ReadRowsResponse.CellChunk prototype)
public ReadRowsResponse.CellChunk.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ReadRowsResponse.CellChunk.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ReadRowsResponse.CellChunk getDefaultInstance()
public static Parser<ReadRowsResponse.CellChunk> parser()
public Parser<ReadRowsResponse.CellChunk> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ReadRowsResponse.CellChunk getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder