Class ReadRowsResponse.Builder (2.17.1)

public static final class ReadRowsResponse.Builder extends GeneratedMessageV3.Builder<ReadRowsResponse.Builder> implements ReadRowsResponseOrBuilder

Response message for Bigtable.ReadRows.

Protobuf type google.bigtable.v2.ReadRowsResponse

Static Methods

getDescriptor()

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

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
NameDescription
valuesIterable<? extends com.google.bigtable.v2.ReadRowsResponse.CellChunk>
Returns
TypeDescription
ReadRowsResponse.Builder

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
NameDescription
valueReadRowsResponse.CellChunk
Returns
TypeDescription
ReadRowsResponse.Builder

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
NameDescription
builderForValueReadRowsResponse.CellChunk.Builder
Returns
TypeDescription
ReadRowsResponse.Builder

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
NameDescription
indexint
valueReadRowsResponse.CellChunk
Returns
TypeDescription
ReadRowsResponse.Builder

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
NameDescription
indexint
builderForValueReadRowsResponse.CellChunk.Builder
Returns
TypeDescription
ReadRowsResponse.Builder

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
TypeDescription
ReadRowsResponse.CellChunk.Builder

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
NameDescription
indexint
Returns
TypeDescription
ReadRowsResponse.CellChunk.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReadRowsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReadRowsResponse.Builder
Overrides

build()

public ReadRowsResponse build()
Returns
TypeDescription
ReadRowsResponse

buildPartial()

public ReadRowsResponse buildPartial()
Returns
TypeDescription
ReadRowsResponse

clear()

public ReadRowsResponse.Builder clear()
Returns
TypeDescription
ReadRowsResponse.Builder
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
TypeDescription
ReadRowsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ReadRowsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReadRowsResponse.Builder
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
TypeDescription
ReadRowsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ReadRowsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReadRowsResponse.Builder
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
TypeDescription
ReadRowsResponse.Builder

clone()

public ReadRowsResponse.Builder clone()
Returns
TypeDescription
ReadRowsResponse.Builder
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

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
NameDescription
indexint
Returns
TypeDescription
ReadRowsResponse.CellChunk.Builder

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
TypeDescription
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
ByteString

The lastScannedRowKey.

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.

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
TypeDescription
RequestStats.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadRowsResponse other)

public ReadRowsResponse.Builder mergeFrom(ReadRowsResponse other)
Parameter
NameDescription
otherReadRowsResponse
Returns
TypeDescription
ReadRowsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReadRowsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReadRowsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReadRowsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReadRowsResponse.Builder
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
NameDescription
valueRequestStats
Returns
TypeDescription
ReadRowsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReadRowsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReadRowsResponse.Builder
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
NameDescription
indexint
Returns
TypeDescription
ReadRowsResponse.Builder

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
NameDescription
indexint
valueReadRowsResponse.CellChunk
Returns
TypeDescription
ReadRowsResponse.Builder

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
NameDescription
indexint
builderForValueReadRowsResponse.CellChunk.Builder
Returns
TypeDescription
ReadRowsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReadRowsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReadRowsResponse.Builder
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
NameDescription
valueByteString

The lastScannedRowKey to set.

Returns
TypeDescription
ReadRowsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReadRowsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReadRowsResponse.Builder
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
NameDescription
valueRequestStats
Returns
TypeDescription
ReadRowsResponse.Builder

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
NameDescription
builderForValueRequestStats.Builder
Returns
TypeDescription
ReadRowsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReadRowsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReadRowsResponse.Builder
Overrides