public static class EnhancedBigtableStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<EnhancedBigtableStubSettings,EnhancedBigtableStubSettings.Builder>
| Modifier and Type | Method and 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.
|
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. If
isRefreshingChannel() is enabled, warm up
requests will be sent to all table ids of the instance. |
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.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. If
isRefreshingChannel() is enabled, warm up
requests will be sent to all table ids of the instance. |
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.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toStringpublic EnhancedBigtableStubSettings.Builder setProjectId(@Nonnull String projectId)
public String getProjectId()
public EnhancedBigtableStubSettings.Builder setInstanceId(@Nonnull String instanceId)
public String getInstanceId()
public EnhancedBigtableStubSettings.Builder setAppProfileId(@Nonnull String appProfileId)
public EnhancedBigtableStubSettings.Builder setDefaultAppProfileId()
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.
public String getAppProfileId()
@Deprecated public EnhancedBigtableStubSettings.Builder setRefreshingChannel(boolean isRefreshingChannel)
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.
@Deprecated public EnhancedBigtableStubSettings.Builder setPrimedTableIds(String... tableIds)
isRefreshingChannel() is enabled, warm up
requests will be sent to all table ids of the instance.@Deprecated public boolean isRefreshingChannel()
@Deprecated public List<String> getPrimedTableIds()
isRefreshingChannel() is enabled, warm up
requests will be sent to all table ids of the instance.@InternalApi(value="Used for internal testing") public EnhancedBigtableStubSettings.Builder setJwtAudienceMapping(Map<String,String> jwtAudienceMapping)
@InternalApi(value="Used for internal testing") public Map<String,String> getJwtAudienceMapping()
public com.google.api.gax.rpc.ServerStreamingCallSettings.Builder<Query,Row> readRowsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Query,Row> readRowSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<String,List<KeyOffset>> sampleRowKeysSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RowMutation,Void> mutateRowSettings()
public BigtableBatchingCallSettings.Builder bulkMutateRowsSettings()
public BigtableBulkReadRowsCallSettings.Builder bulkReadRowsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConditionalRowMutation,Boolean> checkAndMutateRowSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReadModifyWriteRow,Row> readModifyWriteRowSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PingAndWarmRequest,Void> pingAndWarmSettings()
public EnhancedBigtableStubSettings build()
build in class com.google.api.gax.rpc.StubSettings.Builder<EnhancedBigtableStubSettings,EnhancedBigtableStubSettings.Builder>Copyright © 2023 Google LLC. All rights reserved.