public static class EnhancedBigtableStubSettings.Builder extends StubSettings.Builder<EnhancedBigtableStubSettings,EnhancedBigtableStubSettings.Builder>
Builder for BigtableDataSettings.
Inherited Members
com.google.api.gax.rpc.StubSettings.Builder.getApiKey()
com.google.api.gax.rpc.StubSettings.Builder.setApiKey(java.lang.String)
Methods
build()
public EnhancedBigtableStubSettings build()
Returns
Overrides
bulkMutateRowsSettings()
public BigtableBatchingCallSettings.Builder bulkMutateRowsSettings()
Returns the builder for the settings used for calls to MutateRows.
Returns
bulkReadRowsSettings()
public BigtableBulkReadRowsCallSettings.Builder bulkReadRowsSettings()
Returns the builder for the settings used for calls to MutateRows.
Returns
checkAndMutateRowSettings()
public UnaryCallSettings.Builder<ConditionalRowMutation,Boolean> checkAndMutateRowSettings()
Returns the builder for the settings used for calls to CheckAndMutateRow.
Returns
getAppProfileId()
public String getAppProfileId()
Gets the app profile id that was previously set on this Builder.
Returns
getInstanceId()
public String getInstanceId()
Gets the target instance id that was previously set on this Builder.
Returns
getJwtAudienceMapping()
public Map<String,String> getJwtAudienceMapping()
Returns
getPrimedTableIds()
public List<String> getPrimedTableIds()
Gets the tables that will be primed during a channel refresh.
Returns
getProjectId()
public String getProjectId()
Gets the project id of the target instance that was previously set on this Builder.
Returns
isRefreshingChannel()
public boolean isRefreshingChannel()
Gets if channels will gracefully refresh connections to Cloud Bigtable service
Returns
mutateRowSettings()
public UnaryCallSettings.Builder<RowMutation,Void> mutateRowSettings()
Returns the builder for the settings used for calls to MutateRow.
Returns
readModifyWriteRowSettings()
public UnaryCallSettings.Builder<ReadModifyWriteRow,Row> readModifyWriteRowSettings()
Returns the builder with the settings used for calls to ReadModifyWriteRow.
Returns
readRowSettings()
public UnaryCallSettings.Builder<Query,Row> readRowSettings()
Returns the builder for the settings used for point reads using readRow.
Returns
readRowsSettings()
public ServerStreamingCallSettings.Builder<Query,Row> readRowsSettings()
Returns the builder for the settings used for calls to readRows.
Returns
sampleRowKeysSettings()
public UnaryCallSettings.Builder<String,List<KeyOffset>> sampleRowKeysSettings()
Returns the builder for the settings used for calls to SampleRowKeysSettings.
Returns
setAppProfileId(String appProfileId)
public EnhancedBigtableStubSettings.Builder setAppProfileId(String appProfileId)
Sets the AppProfile to use. An application profile (sometimes also shortened to "app
profile") is a group of configuration parameters for an individual use case. A client will
identify itself with an application profile ID at connection time, and the requests will be
handled according to that application profile.
Parameter
Name | Description |
appProfileId | String
|
Returns
setDefaultAppProfileId()
public EnhancedBigtableStubSettings.Builder setDefaultAppProfileId()
Resets the AppProfile id to the default for the instance.
An application profile (sometimes also shortened to "app profile") is a group of
configuration parameters for an individual use case. A client will identify itself with an
application profile ID at connection time, and the requests will be handled according to that
application profile.
Every Bigtable Instance has a default application profile associated with it, this method
configures the client to use it.
Returns
setInstanceId(String instanceId)
public EnhancedBigtableStubSettings.Builder setInstanceId(String instanceId)
Sets the target instance id. This setting is required. All RPCs will be made in the context
of this setting.
Parameter
Name | Description |
instanceId | String
|
Returns
setJwtAudienceMapping(Map<String,String> jwtAudienceMapping)
public EnhancedBigtableStubSettings.Builder setJwtAudienceMapping(Map<String,String> jwtAudienceMapping)
Parameter
Returns
setPrimedTableIds(String[] tableIds)
public EnhancedBigtableStubSettings.Builder setPrimedTableIds(String[] tableIds)
Configures which tables will be primed when a connection is created.
Parameter
Name | Description |
tableIds | String[]
|
Returns
setProjectId(String projectId)
public EnhancedBigtableStubSettings.Builder setProjectId(String projectId)
Sets the project id of that target instance. This setting is required. All RPCs will be made
in the context of this setting.
Parameter
Name | Description |
projectId | String
|
Returns
setRefreshingChannel(boolean isRefreshingChannel)
public EnhancedBigtableStubSettings.Builder setRefreshingChannel(boolean isRefreshingChannel)
Sets if channels will gracefully refresh connections to Cloud Bigtable service.
When enabled, this will wait for the connection to complete the SSL handshake. The effect
can be enhanced by configuring table ids that can be used warm serverside caches using #setPrimedTableIds(String...).
See Also: com.google.cloud.bigtable.data.v2.BigtableDataSettings.Builder#setRefreshingChannel
Parameter
Name | Description |
isRefreshingChannel | boolean
|
Returns