Package com.google.bigtable.v2
Class ReadRowsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsRequest.Builder>
com.google.bigtable.v2.ReadRowsRequest.Builder
- All Implemented Interfaces:
ReadRowsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReadRowsRequest
public static final class ReadRowsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsRequest.Builder>
implements ReadRowsRequestOrBuilder
Request message for Bigtable.ReadRows.Protobuf type
google.bigtable.v2.ReadRowsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This value specifies routing for replication.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The filter to apply to the contents of the specified row(s).Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The view into RequestStats, as described above.Experimental API - Please note that this API is currently experimental and can change in the future.The row keys and/or ranges to read sequentially.The read will stop after committing to N rows' worth of results.Optional.clone()This value specifies routing for replication.com.google.protobuf.ByteStringThis value specifies routing for replication.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe filter to apply to the contents of the specified row(s).The filter to apply to the contents of the specified row(s).The filter to apply to the contents of the specified row(s).Optional.com.google.protobuf.ByteStringOptional.The view into RequestStats, as described above.intThe view into RequestStats, as described above.booleanExperimental API - Please note that this API is currently experimental and can change in the future.getRows()The row keys and/or ranges to read sequentially.The row keys and/or ranges to read sequentially.longThe read will stop after committing to N rows' worth of results.The row keys and/or ranges to read sequentially.Optional.com.google.protobuf.ByteStringOptional.booleanThe filter to apply to the contents of the specified row(s).booleanhasRows()The row keys and/or ranges to read sequentially.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFilter(RowFilter value) The filter to apply to the contents of the specified row(s).mergeFrom(ReadRowsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The row keys and/or ranges to read sequentially.final ReadRowsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAppProfileId(String value) This value specifies routing for replication.setAppProfileIdBytes(com.google.protobuf.ByteString value) This value specifies routing for replication.setAuthorizedViewName(String value) Optional.setAuthorizedViewNameBytes(com.google.protobuf.ByteString value) Optional.The filter to apply to the contents of the specified row(s).setFilter(RowFilter.Builder builderForValue) The filter to apply to the contents of the specified row(s).setMaterializedViewName(String value) Optional.setMaterializedViewNameBytes(com.google.protobuf.ByteString value) Optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The view into RequestStats, as described above.setRequestStatsViewValue(int value) The view into RequestStats, as described above.setReversed(boolean value) Experimental API - Please note that this API is currently experimental and can change in the future.The row keys and/or ranges to read sequentially.setRows(RowSet.Builder builderForValue) The row keys and/or ranges to read sequentially.setRowsLimit(long value) The read will stop after committing to N rows' worth of results.setTableName(String value) Optional.setTableNameBytes(com.google.protobuf.ByteString value) Optional.final ReadRowsRequest.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<ReadRowsRequest.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<ReadRowsRequest.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<ReadRowsRequest.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<ReadRowsRequest.Builder>
-
setField
public ReadRowsRequest.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<ReadRowsRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsRequest.Builder>
-
setRepeatedField
public ReadRowsRequest.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<ReadRowsRequest.Builder>
-
addRepeatedField
public ReadRowsRequest.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<ReadRowsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReadRowsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsRequest.Builder>
-
mergeFrom
public ReadRowsRequest.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<ReadRowsRequest.Builder>- Throws:
IOException
-
getTableName
Optional. The unique name of the table from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNamein interfaceReadRowsRequestOrBuilder- Returns:
- The tableName.
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()Optional. The unique name of the table from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getTableNameBytesin interfaceReadRowsRequestOrBuilder- Returns:
- The bytes for tableName.
-
setTableName
Optional. The unique name of the table from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The tableName to set.- Returns:
- This builder for chaining.
-
clearTableName
Optional. The unique name of the table from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setTableNameBytes
Optional. The unique name of the table from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`.
string table_name = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for tableName to set.- Returns:
- This builder for chaining.
-
getAuthorizedViewName
Optional. The unique name of the AuthorizedView from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNamein interfaceReadRowsRequestOrBuilder- Returns:
- The authorizedViewName.
-
getAuthorizedViewNameBytes
public com.google.protobuf.ByteString getAuthorizedViewNameBytes()Optional. The unique name of the AuthorizedView from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getAuthorizedViewNameBytesin interfaceReadRowsRequestOrBuilder- Returns:
- The bytes for authorizedViewName.
-
setAuthorizedViewName
Optional. The unique name of the AuthorizedView from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The authorizedViewName to set.- Returns:
- This builder for chaining.
-
clearAuthorizedViewName
Optional. The unique name of the AuthorizedView from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setAuthorizedViewNameBytes
Optional. The unique name of the AuthorizedView from which to read. Values are of the form `projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>`.
string authorized_view_name = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for authorizedViewName to set.- Returns:
- This builder for chaining.
-
getMaterializedViewName
Optional. The unique name of the MaterializedView from which to read. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.
string materialized_view_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getMaterializedViewNamein interfaceReadRowsRequestOrBuilder- Returns:
- The materializedViewName.
-
getMaterializedViewNameBytes
public com.google.protobuf.ByteString getMaterializedViewNameBytes()Optional. The unique name of the MaterializedView from which to read. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.
string materialized_view_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getMaterializedViewNameBytesin interfaceReadRowsRequestOrBuilder- Returns:
- The bytes for materializedViewName.
-
setMaterializedViewName
Optional. The unique name of the MaterializedView from which to read. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.
string materialized_view_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The materializedViewName to set.- Returns:
- This builder for chaining.
-
clearMaterializedViewName
Optional. The unique name of the MaterializedView from which to read. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.
string materialized_view_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setMaterializedViewNameBytes
Optional. The unique name of the MaterializedView from which to read. Values are of the form `projects/<project>/instances/<instance>/materializedViews/<materialized_view>`.
string materialized_view_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for materializedViewName to set.- Returns:
- This builder for chaining.
-
getAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 5;- Specified by:
getAppProfileIdin interfaceReadRowsRequestOrBuilder- Returns:
- The appProfileId.
-
getAppProfileIdBytes
public com.google.protobuf.ByteString getAppProfileIdBytes()This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 5;- Specified by:
getAppProfileIdBytesin interfaceReadRowsRequestOrBuilder- Returns:
- The bytes for appProfileId.
-
setAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 5;- Parameters:
value- The appProfileId to set.- Returns:
- This builder for chaining.
-
clearAppProfileId
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 5;- Returns:
- This builder for chaining.
-
setAppProfileIdBytes
This value specifies routing for replication. If not specified, the "default" application profile will be used.
string app_profile_id = 5;- Parameters:
value- The bytes for appProfileId to set.- Returns:
- This builder for chaining.
-
hasRows
public boolean hasRows()The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2;- Specified by:
hasRowsin interfaceReadRowsRequestOrBuilder- Returns:
- Whether the rows field is set.
-
getRows
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2;- Specified by:
getRowsin interfaceReadRowsRequestOrBuilder- Returns:
- The rows.
-
setRows
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2; -
setRows
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2; -
mergeRows
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2; -
clearRows
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2; -
getRowsBuilder
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2; -
getRowsOrBuilder
The row keys and/or ranges to read sequentially. If not specified, reads from all rows.
.google.bigtable.v2.RowSet rows = 2;- Specified by:
getRowsOrBuilderin interfaceReadRowsRequestOrBuilder
-
hasFilter
public boolean hasFilter()The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3;- Specified by:
hasFilterin interfaceReadRowsRequestOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3;- Specified by:
getFilterin interfaceReadRowsRequestOrBuilder- Returns:
- The filter.
-
setFilter
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3; -
setFilter
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3; -
mergeFilter
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3; -
clearFilter
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3; -
getFilterBuilder
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3; -
getFilterOrBuilder
The filter to apply to the contents of the specified row(s). If unset, reads the entirety of each row.
.google.bigtable.v2.RowFilter filter = 3;- Specified by:
getFilterOrBuilderin interfaceReadRowsRequestOrBuilder
-
getRowsLimit
public long getRowsLimit()The read will stop after committing to N rows' worth of results. The default (zero) is to return all results.
int64 rows_limit = 4;- Specified by:
getRowsLimitin interfaceReadRowsRequestOrBuilder- Returns:
- The rowsLimit.
-
setRowsLimit
The read will stop after committing to N rows' worth of results. The default (zero) is to return all results.
int64 rows_limit = 4;- Parameters:
value- The rowsLimit to set.- Returns:
- This builder for chaining.
-
clearRowsLimit
The read will stop after committing to N rows' worth of results. The default (zero) is to return all results.
int64 rows_limit = 4;- Returns:
- This builder for chaining.
-
getRequestStatsViewValue
public int getRequestStatsViewValue()The view into RequestStats, as described above.
.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;- Specified by:
getRequestStatsViewValuein interfaceReadRowsRequestOrBuilder- Returns:
- The enum numeric value on the wire for requestStatsView.
-
setRequestStatsViewValue
The view into RequestStats, as described above.
.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;- Parameters:
value- The enum numeric value on the wire for requestStatsView to set.- Returns:
- This builder for chaining.
-
getRequestStatsView
The view into RequestStats, as described above.
.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;- Specified by:
getRequestStatsViewin interfaceReadRowsRequestOrBuilder- Returns:
- The requestStatsView.
-
setRequestStatsView
The view into RequestStats, as described above.
.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;- Parameters:
value- The requestStatsView to set.- Returns:
- This builder for chaining.
-
clearRequestStatsView
The view into RequestStats, as described above.
.google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6;- Returns:
- This builder for chaining.
-
getReversed
public boolean getReversed()Experimental API - Please note that this API is currently experimental and can change in the future. Return rows in lexiographical descending order of the row keys. The row contents will not be affected by this flag. Example result set: [ {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", "f:col2": "v2"} ]bool reversed = 7;- Specified by:
getReversedin interfaceReadRowsRequestOrBuilder- Returns:
- The reversed.
-
setReversed
Experimental API - Please note that this API is currently experimental and can change in the future. Return rows in lexiographical descending order of the row keys. The row contents will not be affected by this flag. Example result set: [ {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", "f:col2": "v2"} ]bool reversed = 7;- Parameters:
value- The reversed to set.- Returns:
- This builder for chaining.
-
clearReversed
Experimental API - Please note that this API is currently experimental and can change in the future. Return rows in lexiographical descending order of the row keys. The row contents will not be affected by this flag. Example result set: [ {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", "f:col2": "v2"} ]bool reversed = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReadRowsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsRequest.Builder>
-
mergeUnknownFields
public final ReadRowsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReadRowsRequest.Builder>
-