public static final class ReadRowsResponse.Builder extends GeneratedMessageV3.Builder<ReadRowsResponse.Builder> implements ReadRowsResponseOrBuilder
Response message for Bigtable.ReadRows.
Protobuf type google.bigtable.v2.ReadRowsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllChunks(Iterable<? extends ReadRowsResponse.CellChunk> values)
public ReadRowsResponse.Builder addAllChunks(Iterable<? extends ReadRowsResponse.CellChunk> values)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.bigtable.v2.ReadRowsResponse.CellChunk>
|
Returns
addChunks(ReadRowsResponse.CellChunk value)
public ReadRowsResponse.Builder addChunks(ReadRowsResponse.CellChunk value)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameter
Returns
addChunks(ReadRowsResponse.CellChunk.Builder builderForValue)
public ReadRowsResponse.Builder addChunks(ReadRowsResponse.CellChunk.Builder builderForValue)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameter
Returns
addChunks(int index, ReadRowsResponse.CellChunk value)
public ReadRowsResponse.Builder addChunks(int index, ReadRowsResponse.CellChunk value)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameters
Returns
addChunks(int index, ReadRowsResponse.CellChunk.Builder builderForValue)
public ReadRowsResponse.Builder addChunks(int index, ReadRowsResponse.CellChunk.Builder builderForValue)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameters
Returns
addChunksBuilder()
public ReadRowsResponse.CellChunk.Builder addChunksBuilder()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Returns
addChunksBuilder(int index)
public ReadRowsResponse.CellChunk.Builder addChunksBuilder(int index)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReadRowsResponse build()
Returns
buildPartial()
public ReadRowsResponse buildPartial()
Returns
clear()
public ReadRowsResponse.Builder clear()
Returns
Overrides
clearChunks()
public ReadRowsResponse.Builder clearChunks()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ReadRowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLastScannedRowKey()
public ReadRowsResponse.Builder clearLastScannedRowKey()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadRowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRequestStats()
public ReadRowsResponse.Builder clearRequestStats()
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
clone()
public ReadRowsResponse.Builder clone()
Returns
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
Returns
getChunksBuilder(int index)
public ReadRowsResponse.CellChunk.Builder getChunksBuilder(int index)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameter
Returns
getChunksBuilderList()
public List<ReadRowsResponse.CellChunk.Builder> getChunksBuilderList()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Returns
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
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
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
Returns
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
Type | Description |
List<? extends com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> | |
getDefaultInstanceForType()
public ReadRowsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
getRequestStatsBuilder()
public RequestStats.Builder getRequestStatsBuilder()
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
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
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
Type | Description |
boolean | Whether the requestStats field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReadRowsResponse other)
public ReadRowsResponse.Builder mergeFrom(ReadRowsResponse other)
Parameter
Returns
public ReadRowsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReadRowsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRequestStats(RequestStats value)
public ReadRowsResponse.Builder mergeRequestStats(RequestStats value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeChunks(int index)
public ReadRowsResponse.Builder removeChunks(int index)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameter
Returns
setChunks(int index, ReadRowsResponse.CellChunk value)
public ReadRowsResponse.Builder setChunks(int index, ReadRowsResponse.CellChunk value)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameters
Returns
setChunks(int index, ReadRowsResponse.CellChunk.Builder builderForValue)
public ReadRowsResponse.Builder setChunks(int index, ReadRowsResponse.CellChunk.Builder builderForValue)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLastScannedRowKey(ByteString value)
public ReadRowsResponse.Builder setLastScannedRowKey(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The lastScannedRowKey to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadRowsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRequestStats(RequestStats value)
public ReadRowsResponse.Builder setRequestStats(RequestStats value)
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;
Parameter
Returns
setRequestStats(RequestStats.Builder builderForValue)
public ReadRowsResponse.Builder setRequestStats(RequestStats.Builder builderForValue)
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;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides