Class EnhancedBigtableStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<EnhancedBigtableStubSettings,EnhancedBigtableStubSettings.Builder>
-
- com.google.cloud.bigtable.data.v2.stub.EnhancedBigtableStubSettings.Builder
-
- Enclosing class:
- EnhancedBigtableStubSettings
public static class EnhancedBigtableStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<EnhancedBigtableStubSettings,EnhancedBigtableStubSettings.Builder>
Builder for BigtableDataSettings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EnhancedBigtableStubSettings
build()
BigtableBatchingCallSettings.Builder
bulkMutateRowsSettings()
Returns the builder for the settings used for calls to MutateRows.BigtableBulkReadRowsCallSettings.Builder
bulkReadRowsSettings()
Returns the builder for the settings used for calls to MutateRows.com.google.api.gax.rpc.UnaryCallSettings.Builder<ConditionalRowMutation,Boolean>
checkAndMutateRowSettings()
Returns the builder for the settings used for calls to CheckAndMutateRow.com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<String,Range.ByteStringRange>
generateInitialChangeStreamPartitionsSettings()
Returns the builder for the settings used for calls to GenerateInitialChangeStreamPartitions.String
getAppProfileId()
Gets the app profile id that was previously set on this Builder.String
getInstanceId()
Gets the target instance id that was previously set on this Builder.Map<String,String>
getJwtAudienceMapping()
List<String>
getPrimedTableIds()
Deprecated.This field is ignored.String
getProjectId()
Gets the project id of the target instance that was previously set on this Builder.boolean
isRefreshingChannel()
Deprecated.Channel refreshing is enabled by default and this method will be deprecated.com.google.api.gax.rpc.UnaryCallSettings.Builder<RowMutation,Void>
mutateRowSettings()
Returns the builder for the settings used for calls to MutateRow.com.google.api.gax.rpc.UnaryCallSettings.Builder<PingAndWarmRequest,Void>
pingAndWarmSettings()
Returns the builder with the settings used for calls to PingAndWarm.com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadChangeStreamQuery,ChangeStreamRecord>
readChangeStreamSettings()
Returns the builder for the settings used for calls to ReadChangeStream.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReadModifyWriteRow,Row>
readModifyWriteRowSettings()
Returns the builder with the settings used for calls to ReadModifyWriteRow.com.google.api.gax.rpc.UnaryCallSettings.Builder<Query,Row>
readRowSettings()
Returns the builder for the settings used for point reads using readRow.com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<Query,Row>
readRowsSettings()
Returns the builder for the settings used for calls to readRows.com.google.api.gax.rpc.UnaryCallSettings.Builder<String,List<KeyOffset>>
sampleRowKeysSettings()
Returns the builder for the settings used for calls to SampleRowKeysSettings.EnhancedBigtableStubSettings.Builder
setAppProfileId(String appProfileId)
Sets the AppProfile to use.EnhancedBigtableStubSettings.Builder
setDefaultAppProfileId()
Resets the AppProfile id to the default for the instance.EnhancedBigtableStubSettings.Builder
setInstanceId(String instanceId)
Sets the target instance id.EnhancedBigtableStubSettings.Builder
setJwtAudienceMapping(Map<String,String> jwtAudienceMapping)
EnhancedBigtableStubSettings.Builder
setPrimedTableIds(String... tableIds)
Deprecated.This field is ignored.EnhancedBigtableStubSettings.Builder
setProjectId(String projectId)
Sets the project id of that target instance.EnhancedBigtableStubSettings.Builder
setRefreshingChannel(boolean isRefreshingChannel)
Deprecated.Channel refreshing is enabled by default and this method will be deprecated.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Method Detail
-
setProjectId
public EnhancedBigtableStubSettings.Builder setProjectId(@Nonnull 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.
-
getProjectId
public String getProjectId()
Gets the project id of the target instance that was previously set on this Builder.
-
setInstanceId
public EnhancedBigtableStubSettings.Builder setInstanceId(@Nonnull String instanceId)
Sets the target instance id. This setting is required. All RPCs will be made in the context of this setting.
-
getInstanceId
public String getInstanceId()
Gets the target instance id that was previously set on this Builder.
-
setAppProfileId
public EnhancedBigtableStubSettings.Builder setAppProfileId(@Nonnull 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.
-
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.
-
getAppProfileId
public String getAppProfileId()
Gets the app profile id that was previously set on this Builder.
-
setRefreshingChannel
@Deprecated public EnhancedBigtableStubSettings.Builder setRefreshingChannel(boolean isRefreshingChannel)
Deprecated.Channel refreshing is enabled by default and this method will be deprecated.Sets if channels will gracefully refresh connections to Cloud Bigtable service.When enabled, this will wait for the connection to complete the SSL handshake and warm up serverside caches for all the tables of the instance. This feature is enabled by default.
-
setPrimedTableIds
@Deprecated public EnhancedBigtableStubSettings.Builder setPrimedTableIds(String... tableIds)
Deprecated.This field is ignored. IfisRefreshingChannel()
is enabled, warm up requests will be sent to all table ids of the instance.
-
isRefreshingChannel
@Deprecated public boolean isRefreshingChannel()
Deprecated.Channel refreshing is enabled by default and this method will be deprecated.Gets if channels will gracefully refresh connections to Cloud Bigtable service.
-
getPrimedTableIds
@Deprecated public List<String> getPrimedTableIds()
Deprecated.This field is ignored. IfisRefreshingChannel()
is enabled, warm up requests will be sent to all table ids of the instance.
-
setJwtAudienceMapping
@InternalApi("Used for internal testing") public EnhancedBigtableStubSettings.Builder setJwtAudienceMapping(Map<String,String> jwtAudienceMapping)
-
getJwtAudienceMapping
@InternalApi("Used for internal testing") public Map<String,String> getJwtAudienceMapping()
-
readRowsSettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<Query,Row> readRowsSettings()
Returns the builder for the settings used for calls to readRows.
-
readRowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Query,Row> readRowSettings()
Returns the builder for the settings used for point reads using readRow.
-
sampleRowKeysSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<String,List<KeyOffset>> sampleRowKeysSettings()
Returns the builder for the settings used for calls to SampleRowKeysSettings.
-
mutateRowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RowMutation,Void> mutateRowSettings()
Returns the builder for the settings used for calls to MutateRow.
-
bulkMutateRowsSettings
public BigtableBatchingCallSettings.Builder bulkMutateRowsSettings()
Returns the builder for the settings used for calls to MutateRows.
-
bulkReadRowsSettings
public BigtableBulkReadRowsCallSettings.Builder bulkReadRowsSettings()
Returns the builder for the settings used for calls to MutateRows.
-
checkAndMutateRowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConditionalRowMutation,Boolean> checkAndMutateRowSettings()
Returns the builder for the settings used for calls to CheckAndMutateRow.
-
readModifyWriteRowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReadModifyWriteRow,Row> readModifyWriteRowSettings()
Returns the builder with the settings used for calls to ReadModifyWriteRow.
-
readChangeStreamSettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadChangeStreamQuery,ChangeStreamRecord> readChangeStreamSettings()
Returns the builder for the settings used for calls to ReadChangeStream.
-
generateInitialChangeStreamPartitionsSettings
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<String,Range.ByteStringRange> generateInitialChangeStreamPartitionsSettings()
Returns the builder for the settings used for calls to GenerateInitialChangeStreamPartitions.
-
pingAndWarmSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PingAndWarmRequest,Void> pingAndWarmSettings()
Returns the builder with the settings used for calls to PingAndWarm.
-
build
public EnhancedBigtableStubSettings build()
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<EnhancedBigtableStubSettings,EnhancedBigtableStubSettings.Builder>
-
-