Class LanguageServiceSpringProperties
java.lang.Object
com.google.cloud.language.v2.spring.LanguageServiceSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.language.v2.language-service")
public class LanguageServiceSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for LanguageService client bean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setAnalyzeEntitiesRetry
(Retry analyzeEntitiesRetry) void
setAnalyzeSentimentRetry
(Retry analyzeSentimentRetry) void
setAnnotateTextRetry
(Retry annotateTextRetry) void
setClassifyTextRetry
(Retry classifyTextRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setModerateTextRetry
(Retry moderateTextRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setUseRest
(boolean useRest)
-
Constructor Details
-
LanguageServiceSpringProperties
public LanguageServiceSpringProperties()
-
-
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
-
getAnalyzeSentimentRetry
-
setAnalyzeSentimentRetry
-
getAnalyzeEntitiesRetry
-
setAnalyzeEntitiesRetry
-
getClassifyTextRetry
-
setClassifyTextRetry
-
getModerateTextRetry
-
setModerateTextRetry
-
getAnnotateTextRetry
-
setAnnotateTextRetry
-