public class GapicServiceConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<com.google.rpc.Code> |
EMPTY_RETRY_CODES |
static MethodConfig.RetryPolicy |
EMPTY_RETRY_POLICY |
static com.google.protobuf.Duration |
EMPTY_TIMEOUT |
public static final MethodConfig.RetryPolicy EMPTY_RETRY_POLICY
public static final com.google.protobuf.Duration EMPTY_TIMEOUT
public static final List<com.google.rpc.Code> EMPTY_RETRY_CODES
public static GapicServiceConfig create(Optional<ServiceConfig> serviceConfigOpt)
public void setLroRetrySettings(Optional<List<GapicLroRetrySettings>> lroRetrySettingsOpt)
public void setBatchingSettings(Optional<List<GapicBatchingSettings>> batchingSettingsOpt)
public void setLanguageSettings(Optional<GapicLanguageSettings> languageSettingsOpt)
public Optional<GapicLanguageSettings> getLanguageSettingsOpt()
public Map<String,GapicRetrySettings> getAllGapicRetrySettings(Service service)
public boolean hasBatchingSetting(String protoPakkage, String serviceName, String methodName)
public Optional<GapicLroRetrySettings> getLroRetrySetting(Service service, Method method)
public Optional<GapicBatchingSettings> getBatchingSetting(Service service, Method method)
Copyright © 2022 Google LLC. All rights reserved.