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
Modifier and TypeMethodDescriptionbuild()
Returns the builder for the settings used for calls to MutateRows.Returns the builder for the settings used for calls to MutateRows.com.google.api.gax.rpc.UnaryCallSettings.Builder<ConditionalRowMutation,
Boolean> Returns the builder for the settings used for calls to CheckAndMutateRow.com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<String,
Range.ByteStringRange> Returns the builder for the settings used for calls to GenerateInitialChangeStreamPartitions.Gets the app profile id that was previously set on this Builder.Gets the target instance id that was previously set on this Builder.Deprecated.This field is ignored.Gets the project id of the target instance that was previously set on this Builder.boolean
Deprecated.Channel refreshing is enabled by default and this method will be deprecated.com.google.api.gax.rpc.UnaryCallSettings.Builder<RowMutation,
Void> Returns the builder for the settings used for calls to MutateRow.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.bigtable.v2.PingAndWarmRequest,
Void> Returns the builder with the settings used for calls to PingAndWarm.com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<ReadChangeStreamQuery,
ChangeStreamRecord> Returns the builder for the settings used for calls to ReadChangeStream.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReadModifyWriteRow,
Row> Returns the builder with the settings used for calls to ReadModifyWriteRow.Returns the builder for the settings used for point reads using readRow.Returns the builder for the settings used for calls to readRows.Returns the builder for the settings used for calls to SampleRowKeysSettings.setAppProfileId
(String appProfileId) Sets the AppProfile to use.Resets the AppProfile id to the default for the instance.setInstanceId
(String instanceId) Sets the target instance id.setJwtAudienceMapping
(Map<String, String> jwtAudienceMapping) setPrimedTableIds
(String... tableIds) Deprecated.This field is ignored.setProjectId
(String projectId) Sets the project id of that target instance.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 Details
-
setProjectId
Sets the project id of that target instance. This setting is required. All RPCs will be made in the context of this setting. -
getProjectId
Gets the project id of the target instance that was previously set on this Builder. -
setInstanceId
Sets the target instance id. This setting is required. All RPCs will be made in the context of this setting. -
getInstanceId
Gets the target instance id that was previously set on this Builder. -
setAppProfileId
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
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
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.This field is ignored. IfisRefreshingChannel()
is enabled, warm up requests will be sent to all table ids of the instance. -
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.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
-
readRowsSettings
Returns the builder for the settings used for calls to readRows. -
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
Returns the builder for the settings used for calls to MutateRow. -
bulkMutateRowsSettings
Returns the builder for the settings used for calls to MutateRows. -
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<com.google.bigtable.v2.PingAndWarmRequest,Void> pingAndWarmSettings()Returns the builder with the settings used for calls to PingAndWarm. -
build
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<EnhancedBigtableStubSettings,
EnhancedBigtableStubSettings.Builder>
-