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()
Gets the tables that will be primed during a channel refresh.
|
String |
getProjectId()
Gets the project id of the target instance that was previously set on this Builder.
|
boolean |
isRefreshingChannel()
Gets if channels will gracefully refresh connections to Cloud Bigtable service
|
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<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)
Configures which tables will be primed when a connection is created.
|
EnhancedBigtableStubSettings.Builder |
setProjectId(String projectId)
Sets the project id of that target instance.
|
EnhancedBigtableStubSettings.Builder |
setRefreshingChannel(boolean isRefreshingChannel)
Sets if channels will gracefully refresh connections to Cloud Bigtable service.
|
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, toString
public 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()
@BetaApi(value="This API depends on experimental gRPC APIs") public EnhancedBigtableStubSettings.Builder setRefreshingChannel(boolean isRefreshingChannel)
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...)
.
@BetaApi(value="Channel priming is not currently stable and might change in the future") public EnhancedBigtableStubSettings.Builder setPrimedTableIds(String... tableIds)
@BetaApi(value="This API depends on experimental gRPC APIs") public boolean isRefreshingChannel()
@BetaApi(value="Channel priming is not currently stable and might change in the future") public List<String> getPrimedTableIds()
@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 EnhancedBigtableStubSettings build()
build
in class com.google.api.gax.rpc.StubSettings.Builder<EnhancedBigtableStubSettings,EnhancedBigtableStubSettings.Builder>
Copyright © 2022 Google LLC. All rights reserved.