Class ContextsSpringProperties
java.lang.Object
com.google.cloud.dialogflow.v2.spring.ContextsSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.dialogflow.v2.contexts")
public class ContextsSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for Contexts client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setCreateContextRetry
(Retry createContextRetry) void
setDeleteAllContextsRetry
(Retry deleteAllContextsRetry) void
setDeleteContextRetry
(Retry deleteContextRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetContextRetry
(Retry getContextRetry) void
setGetLocationRetry
(Retry getLocationRetry) void
setListContextsRetry
(Retry listContextsRetry) void
setListLocationsRetry
(Retry listLocationsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateContextRetry
(Retry updateContextRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
ContextsSpringProperties
public ContextsSpringProperties()
-
-
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
-
getListContextsRetry
-
setListContextsRetry
-
getGetContextRetry
-
setGetContextRetry
-
getCreateContextRetry
-
setCreateContextRetry
-
getUpdateContextRetry
-
setUpdateContextRetry
-
getDeleteContextRetry
-
setDeleteContextRetry
-
getDeleteAllContextsRetry
-
setDeleteAllContextsRetry
-
getListLocationsRetry
-
setListLocationsRetry
-
getGetLocationRetry
-
setGetLocationRetry
-