public static class BigtableBatchingCallSettings.Builder extends com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkMutation,Void>
BigtableBatchingCallSettings
. See the class documentation of
BigtableBatchingCallSettings
for a description of the different values that can be set.Modifier and Type | Method and Description |
---|---|
BigtableBatchingCallSettings |
build()
Builds the
BigtableBatchingCallSettings object with provided configuration. |
com.google.api.gax.batching.BatchingSettings |
getBatchingSettings()
Returns the
BatchingSettings . |
BigtableBatchingCallSettings.Builder |
setBatchingSettings(com.google.api.gax.batching.BatchingSettings batchingSettings)
Sets the batching settings with various thresholds.
|
BigtableBatchingCallSettings.Builder |
setRetryableCodes(Set<com.google.api.gax.rpc.StatusCode.Code> retryableCodes)
Sets the rpc failure
code , for which retries should be performed. |
BigtableBatchingCallSettings.Builder |
setRetryableCodes(com.google.api.gax.rpc.StatusCode.Code... codes)
Sets the rpc failure
code , for which retries should be performed. |
BigtableBatchingCallSettings.Builder |
setRetrySettings(com.google.api.gax.retrying.RetrySettings retrySettings)
Sets the
RetrySettings values for each retry attempts. |
public BigtableBatchingCallSettings.Builder setBatchingSettings(@Nonnull com.google.api.gax.batching.BatchingSettings batchingSettings)
public com.google.api.gax.batching.BatchingSettings getBatchingSettings()
BatchingSettings
.public BigtableBatchingCallSettings.Builder setRetryableCodes(com.google.api.gax.rpc.StatusCode.Code... codes)
code
, for which retries should be performed.setRetryableCodes
in class com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkMutation,Void>
public BigtableBatchingCallSettings.Builder setRetryableCodes(Set<com.google.api.gax.rpc.StatusCode.Code> retryableCodes)
code
, for which retries should be performed.setRetryableCodes
in class com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkMutation,Void>
public BigtableBatchingCallSettings.Builder setRetrySettings(@Nonnull com.google.api.gax.retrying.RetrySettings retrySettings)
RetrySettings
values for each retry attempts.setRetrySettings
in class com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkMutation,Void>
public BigtableBatchingCallSettings build()
BigtableBatchingCallSettings
object with provided configuration.build
in class com.google.api.gax.rpc.UnaryCallSettings.Builder<BulkMutation,Void>
Copyright © 2019 Google LLC. All rights reserved.