Class ReadRowsResponse (2.16.0)

public final class ReadRowsResponse extends GeneratedMessageV3 implements ReadRowsResponseOrBuilder

Response message for Bigtable.ReadRows.

Protobuf type google.bigtable.v2.ReadRowsResponse

Static Fields

CHUNKS_FIELD_NUMBER

public static final int CHUNKS_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_SCANNED_ROW_KEY_FIELD_NUMBER

public static final int LAST_SCANNED_ROW_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_STATS_FIELD_NUMBER

public static final int REQUEST_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReadRowsResponse getDefaultInstance()
Returns
TypeDescription
ReadRowsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReadRowsResponse.Builder newBuilder()
Returns
TypeDescription
ReadRowsResponse.Builder

newBuilder(ReadRowsResponse prototype)

public static ReadRowsResponse.Builder newBuilder(ReadRowsResponse prototype)
Parameter
NameDescription
prototypeReadRowsResponse
Returns
TypeDescription
ReadRowsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ReadRowsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadRowsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReadRowsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReadRowsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReadRowsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReadRowsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReadRowsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadRowsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReadRowsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReadRowsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReadRowsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReadRowsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadRowsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReadRowsResponse> parser()
Returns
TypeDescription
Parser<ReadRowsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameter
NameDescription
indexint
Returns
TypeDescription
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;

Returns
TypeDescription
List<? extends com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>

getDefaultInstanceForType()

public ReadRowsResponse getDefaultInstanceForType()
Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The lastScannedRowKey.

getParserForType()

public Parser<ReadRowsResponse> getParserForType()
Returns
TypeDescription
Parser<ReadRowsResponse>
Overrides

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;

Returns
TypeDescription
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;

Returns
TypeDescription
RequestStatsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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;

Returns
TypeDescription
boolean

Whether the requestStats field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReadRowsResponse.Builder newBuilderForType()
Returns
TypeDescription
ReadRowsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReadRowsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReadRowsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReadRowsResponse.Builder toBuilder()
Returns
TypeDescription
ReadRowsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException