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.
|
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 |
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, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, 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)
@BetaApi(value="This API depends on experimental gRPC APIs") public boolean isRefreshingChannel()
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 © 2020 Google LLC. All rights reserved.