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.intA 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.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringOptionally 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.booleanIf requested, provide enhanced query performance statistics.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(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.BuildermergeUnknownFields(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.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
setField
public ReadRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
setRepeatedField
public ReadRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
addRepeatedField
public ReadRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getChunksListin 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:
getChunksCountin 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:
getChunksin 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:
getChunksOrBuilderin 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:
getChunksOrBuilderListin 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:
getLastScannedRowKeyin 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:
hasRequestStatsin 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:
getRequestStatsin 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:
getRequestStatsOrBuilderin interfaceReadRowsResponseOrBuilder
-
setUnknownFields
public final ReadRowsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-
mergeUnknownFields
public final ReadRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>
-