Class GapicServiceConfig
- java.lang.Object
-
- com.google.api.generator.gapic.model.GapicServiceConfig
-
public class GapicServiceConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static List<com.google.rpc.Code>EMPTY_RETRY_CODESstatic MethodConfig.RetryPolicyEMPTY_RETRY_POLICYstatic com.google.protobuf.DurationEMPTY_TIMEOUT
-
Method Summary
-
-
-
Field Detail
-
EMPTY_RETRY_POLICY
public static final MethodConfig.RetryPolicy EMPTY_RETRY_POLICY
-
EMPTY_TIMEOUT
public static final com.google.protobuf.Duration EMPTY_TIMEOUT
-
EMPTY_RETRY_CODES
public static final List<com.google.rpc.Code> EMPTY_RETRY_CODES
-
-
Method Detail
-
create
public static GapicServiceConfig create(Optional<ServiceConfig> serviceConfigOpt)
-
setLroRetrySettings
public void setLroRetrySettings(Optional<List<GapicLroRetrySettings>> lroRetrySettingsOpt)
-
setBatchingSettings
public void setBatchingSettings(Optional<List<GapicBatchingSettings>> batchingSettingsOpt)
-
setLanguageSettings
public void setLanguageSettings(Optional<GapicLanguageSettings> languageSettingsOpt)
-
getLanguageSettingsOpt
public Optional<GapicLanguageSettings> getLanguageSettingsOpt()
-
getAllGapicRetrySettings
public Map<String,GapicRetrySettings> getAllGapicRetrySettings(Service service)
-
hasBatchingSetting
public boolean hasBatchingSetting(String protoPakkage, String serviceName, String methodName)
-
getLroRetrySetting
public Optional<GapicLroRetrySettings> getLroRetrySetting(Service service, Method method)
-
getBatchingSetting
public Optional<GapicBatchingSettings> getBatchingSetting(Service service, Method method)
-
-