Package com.google.bigtable.v2
Class ReadRowsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
com.google.bigtable.v2.ReadRowsResponse.Builder
- All Implemented Interfaces:
ReadRowsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ReadRowsResponse
public static final class ReadRowsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
implements ReadRowsResponseOrBuilder
Response message for Bigtable.ReadRows.Protobuf type
google.bigtable.v2.ReadRowsResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllChunks
(Iterable<? extends ReadRowsResponse.CellChunk> values) A collection of a row's contents as part of the read request.addChunks
(int index, ReadRowsResponse.CellChunk value) A collection of a row's contents as part of the read request.addChunks
(int index, ReadRowsResponse.CellChunk.Builder builderForValue) A collection of a row's contents as part of the read request.A collection of a row's contents as part of the read request.addChunks
(ReadRowsResponse.CellChunk.Builder builderForValue) A collection of a row's contents as part of the read request.A collection of a row's contents as part of the read request.addChunksBuilder
(int index) A collection of a row's contents as part of the read request.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
A collection of a row's contents as part of the read request.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Optionally the server might return the row key of the last row it has scanned.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) If requested, provide enhanced query performance statistics.clone()
getChunks
(int index) A collection of a row's contents as part of the read request.getChunksBuilder
(int index) A collection of a row's contents as part of the read request.A collection of a row's contents as part of the read request.int
A collection of a row's contents as part of the read request.A collection of a row's contents as part of the read request.getChunksOrBuilder
(int index) A collection of a row's contents as part of the read request.List<? extends ReadRowsResponse.CellChunkOrBuilder>
A collection of a row's contents as part of the read request.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.ByteString
Optionally the server might return the row key of the last row it has scanned.If requested, provide enhanced query performance statistics.If requested, provide enhanced query performance statistics.If requested, provide enhanced query performance statistics.boolean
If requested, provide enhanced query performance statistics.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(ReadRowsResponse other) mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeRequestStats
(RequestStats value) If requested, provide enhanced query performance statistics.final ReadRowsResponse.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeChunks
(int index) A collection of a row's contents as part of the read request.setChunks
(int index, ReadRowsResponse.CellChunk value) A collection of a row's contents as part of the read request.setChunks
(int index, ReadRowsResponse.CellChunk.Builder builderForValue) A collection of a row's contents as part of the read request.setLastScannedRowKey
(com.google.protobuf.ByteString value) Optionally the server might return the row key of the last row it has scanned.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestStats
(RequestStats value) If requested, provide enhanced query performance statistics.setRequestStats
(RequestStats.Builder builderForValue) If requested, provide enhanced query performance statistics.final ReadRowsResponse.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
setField
public ReadRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
setRepeatedField
public ReadRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
addRepeatedField
public ReadRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeFrom
public ReadRowsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>
- Throws:
IOException
-
getChunksList
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
- Specified by:
getChunksList
in interfaceReadRowsResponseOrBuilder
-
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;
- Specified by:
getChunksCount
in interfaceReadRowsResponseOrBuilder
-
getChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
- Specified by:
getChunks
in interfaceReadRowsResponseOrBuilder
-
setChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
setChunks
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;
-
addChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
addChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
addChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
addChunks
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;
-
addAllChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
clearChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
removeChunks
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getChunksBuilder
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getChunksOrBuilder
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
- Specified by:
getChunksOrBuilder
in interfaceReadRowsResponseOrBuilder
-
getChunksOrBuilderList
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
- Specified by:
getChunksOrBuilderList
in interfaceReadRowsResponseOrBuilder
-
addChunksBuilder
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
addChunksBuilder
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getChunksBuilderList
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getLastScannedRowKey
public com.google.protobuf.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;
- Specified by:
getLastScannedRowKey
in interfaceReadRowsResponseOrBuilder
- Returns:
- The lastScannedRowKey.
-
setLastScannedRowKey
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;
- Parameters:
value
- The lastScannedRowKey to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;
- Specified by:
hasRequestStats
in interfaceReadRowsResponseOrBuilder
- Returns:
- Whether the requestStats field is set.
-
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;
- Specified by:
getRequestStats
in interfaceReadRowsResponseOrBuilder
- Returns:
- The requestStats.
-
setRequestStats
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;
-
setRequestStats
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;
-
mergeRequestStats
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;
-
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;
-
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;
-
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;
- Specified by:
getRequestStatsOrBuilder
in interfaceReadRowsResponseOrBuilder
-
setUnknownFields
public final ReadRowsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeUnknownFields
public final ReadRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-