public final class ReadRowsResponse extends GeneratedMessageV3 implements ReadRowsResponseOrBuilder
Response message for Bigtable.ReadRows.
Protobuf type google.bigtable.v2.ReadRowsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReadRowsResponseImplements
ReadRowsResponseOrBuilderStatic Fields
CHUNKS_FIELD_NUMBER
public static final int CHUNKS_FIELD_NUMBER
Type | Description |
int |
LAST_SCANNED_ROW_KEY_FIELD_NUMBER
public static final int LAST_SCANNED_ROW_KEY_FIELD_NUMBER
Type | Description |
int |
REQUEST_STATS_FIELD_NUMBER
public static final int REQUEST_STATS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ReadRowsResponse getDefaultInstance()
Type | Description |
ReadRowsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ReadRowsResponse.Builder newBuilder()
Type | Description |
ReadRowsResponse.Builder |
newBuilder(ReadRowsResponse prototype)
public static ReadRowsResponse.Builder newBuilder(ReadRowsResponse prototype)
Name | Description |
prototype | ReadRowsResponse |
Type | Description |
ReadRowsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ReadRowsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReadRowsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ReadRowsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ReadRowsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ReadRowsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ReadRowsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ReadRowsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ReadRowsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ReadRowsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReadRowsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ReadRowsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ReadRowsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReadRowsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ReadRowsResponse> parser()
Type | Description |
Parser<ReadRowsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getChunks(int index)
public ReadRowsResponse.CellChunk getChunks(int index)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Name | Description |
index | int |
Type | Description |
ReadRowsResponse.CellChunk |
getChunksCount()
public int getChunksCount()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Type | Description |
int |
getChunksList()
public List<ReadRowsResponse.CellChunk> getChunksList()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Type | Description |
List<CellChunk> |
getChunksOrBuilder(int index)
public ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Name | Description |
index | int |
Type | Description |
ReadRowsResponse.CellChunkOrBuilder |
getChunksOrBuilderList()
public List<? extends ReadRowsResponse.CellChunkOrBuilder> getChunksOrBuilderList()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Type | Description |
List<? extends com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> |
getDefaultInstanceForType()
public ReadRowsResponse getDefaultInstanceForType()
Type | Description |
ReadRowsResponse |
getLastScannedRowKey()
public ByteString getLastScannedRowKey()
Optionally the server might return the row key of the last row it has scanned. The client can use this to construct a more efficient retry request if needed: any row keys or portions of ranges less than this row key can be dropped from the request. This is primarily useful for cases where the server has read a lot of data that was filtered out since the last committed row key, allowing the client to skip that work on a retry.
bytes last_scanned_row_key = 2;
Type | Description |
ByteString | The lastScannedRowKey. |
getParserForType()
public Parser<ReadRowsResponse> getParserForType()
Type | Description |
Parser<ReadRowsResponse> |
getRequestStats()
public RequestStats getRequestStats()
If requested, provide enhanced query performance statistics. The semantics dictate:
- request_stats is empty on every (streamed) response, except
- request_stats has non-empty information after all chunks have been
streamed, where the ReadRowsResponse message only contains
request_stats.
- For example, if a read request would have returned an empty response instead a single ReadRowsResponse is streamed with empty chunks and request_stats filled. Visually, response messages will stream as follows: ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}} \__/ \__/ Primary response Trailer of RequestStats info Or if the read did not return any values: {chunks: [], request_stats: {...}} \__/ Trailer of RequestStats info
.google.bigtable.v2.RequestStats request_stats = 3;
Type | Description |
RequestStats | The requestStats. |
getRequestStatsOrBuilder()
public RequestStatsOrBuilder getRequestStatsOrBuilder()
If requested, provide enhanced query performance statistics. The semantics dictate:
- request_stats is empty on every (streamed) response, except
- request_stats has non-empty information after all chunks have been
streamed, where the ReadRowsResponse message only contains
request_stats.
- For example, if a read request would have returned an empty response instead a single ReadRowsResponse is streamed with empty chunks and request_stats filled. Visually, response messages will stream as follows: ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}} \__/ \__/ Primary response Trailer of RequestStats info Or if the read did not return any values: {chunks: [], request_stats: {...}} \__/ Trailer of RequestStats info
.google.bigtable.v2.RequestStats request_stats = 3;
Type | Description |
RequestStatsOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasRequestStats()
public boolean hasRequestStats()
If requested, provide enhanced query performance statistics. The semantics dictate:
- request_stats is empty on every (streamed) response, except
- request_stats has non-empty information after all chunks have been
streamed, where the ReadRowsResponse message only contains
request_stats.
- For example, if a read request would have returned an empty response instead a single ReadRowsResponse is streamed with empty chunks and request_stats filled. Visually, response messages will stream as follows: ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}} \__/ \__/ Primary response Trailer of RequestStats info Or if the read did not return any values: {chunks: [], request_stats: {...}} \__/ Trailer of RequestStats info
.google.bigtable.v2.RequestStats request_stats = 3;
Type | Description |
boolean | Whether the requestStats field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ReadRowsResponse.Builder newBuilderForType()
Type | Description |
ReadRowsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReadRowsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ReadRowsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ReadRowsResponse.Builder toBuilder()
Type | Description |
ReadRowsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |