Uses of Class
com.google.api.gax.batching.BatchingCallSettings.Builder
Packages that use BatchingCallSettings.Builder
-
Uses of BatchingCallSettings.Builder in com.google.api.gax.batching
Methods in com.google.api.gax.batching that return BatchingCallSettings.BuilderModifier and TypeMethodDescriptionstatic <ElementT,ElementResultT, RequestT, ResponseT>
BatchingCallSettings.Builder<ElementT,ElementResultT, RequestT, ResponseT> BatchingCallSettings.newBuilder(BatchingDescriptor<ElementT, ElementResultT, RequestT, ResponseT> batchingDescriptor) Please useBatchingCallSettings.toBuilder()to override settings values.BatchingCallSettings.Builder.setBatchingSettings(BatchingSettings batchingSettings) Sets the batching settings with various thresholds.BatchingCallSettings.Builder.setRetryableCodes(StatusCode.Code... codes) Sets the rpc failurecode, for which retries should be performed.BatchingCallSettings.Builder.setRetryableCodes(Set<StatusCode.Code> retryableCodes) Sets the rpc failurecode, for which retries should be performed.BatchingCallSettings.Builder.setRetrySettings(RetrySettings retrySettings) Sets theRetrySettingsvalues for each retry attempts.BatchingCallSettings.toBuilder()Get a builder with the same values as this object.