Class ServingConfigServiceSpringProperties
java.lang.Object
com.google.cloud.retail.v2.spring.ServingConfigServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.retail.v2.serving-config-service")
public class ServingConfigServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for ServingConfigService client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setAddControlRetry
(Retry addControlRetry) void
setCreateServingConfigRetry
(Retry createServingConfigRetry) void
setDeleteServingConfigRetry
(Retry deleteServingConfigRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetServingConfigRetry
(Retry getServingConfigRetry) void
setListServingConfigsRetry
(Retry listServingConfigsRetry) void
setQuotaProjectId
(String quotaProjectId) void
setRemoveControlRetry
(Retry removeControlRetry) void
void
setUpdateServingConfigRetry
(Retry updateServingConfigRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
ServingConfigServiceSpringProperties
public ServingConfigServiceSpringProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplier
Supplies credentials configuration.- Specified by:
getCredentials
in interfaceCredentialsSupplier
- Returns:
- a POJO containing Google Cloud credentials location and scopes
-
getQuotaProjectId
-
setQuotaProjectId
-
getUseRest
public boolean getUseRest() -
setUseRest
public void setUseRest(boolean useRest) -
getExecutorThreadCount
-
setExecutorThreadCount
-
getRetry
-
setRetry
-
getCreateServingConfigRetry
-
setCreateServingConfigRetry
-
getDeleteServingConfigRetry
-
setDeleteServingConfigRetry
-
getUpdateServingConfigRetry
-
setUpdateServingConfigRetry
-
getGetServingConfigRetry
-
setGetServingConfigRetry
-
getListServingConfigsRetry
-
setListServingConfigsRetry
-
getAddControlRetry
-
setAddControlRetry
-
getRemoveControlRetry
-
setRemoveControlRetry
-