Class KnowledgeBasesSpringProperties
java.lang.Object
com.google.cloud.dialogflow.v2.spring.KnowledgeBasesSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.dialogflow.v2.knowledge-bases")
public class KnowledgeBasesSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for KnowledgeBases client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setCreateKnowledgeBaseRetry
(Retry createKnowledgeBaseRetry) void
setDeleteKnowledgeBaseRetry
(Retry deleteKnowledgeBaseRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetKnowledgeBaseRetry
(Retry getKnowledgeBaseRetry) void
setGetLocationRetry
(Retry getLocationRetry) void
setListKnowledgeBasesRetry
(Retry listKnowledgeBasesRetry) void
setListLocationsRetry
(Retry listLocationsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUpdateKnowledgeBaseRetry
(Retry updateKnowledgeBaseRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
KnowledgeBasesSpringProperties
public KnowledgeBasesSpringProperties()
-
-
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
-
getListKnowledgeBasesRetry
-
setListKnowledgeBasesRetry
-
getGetKnowledgeBaseRetry
-
setGetKnowledgeBaseRetry
-
getCreateKnowledgeBaseRetry
-
setCreateKnowledgeBaseRetry
-
getDeleteKnowledgeBaseRetry
-
setDeleteKnowledgeBaseRetry
-
getUpdateKnowledgeBaseRetry
-
setUpdateKnowledgeBaseRetry
-
getListLocationsRetry
-
setListLocationsRetry
-
getGetLocationRetry
-
setGetLocationRetry
-