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 Details

    • LanguageServiceSpringProperties

      public LanguageServiceSpringProperties()
  • Method Details

    • getCredentials

      public Credentials getCredentials()
      Description copied from interface: CredentialsSupplier
      Supplies credentials configuration.
      Specified by:
      getCredentials in interface CredentialsSupplier
      Returns:
      a POJO containing Google Cloud credentials location and scopes
    • getQuotaProjectId

      public String getQuotaProjectId()
    • setQuotaProjectId

      public void setQuotaProjectId(String quotaProjectId)
    • getUseRest

      public boolean getUseRest()
    • setUseRest

      public void setUseRest(boolean useRest)
    • getExecutorThreadCount

      public Integer getExecutorThreadCount()
    • setExecutorThreadCount

      public void setExecutorThreadCount(Integer executorThreadCount)
    • getRetry

      public Retry getRetry()
    • setRetry

      public void setRetry(Retry retry)
    • getAnalyzeSentimentRetry

      public Retry getAnalyzeSentimentRetry()
    • setAnalyzeSentimentRetry

      public void setAnalyzeSentimentRetry(Retry analyzeSentimentRetry)
    • getAnalyzeEntitiesRetry

      public Retry getAnalyzeEntitiesRetry()
    • setAnalyzeEntitiesRetry

      public void setAnalyzeEntitiesRetry(Retry analyzeEntitiesRetry)
    • getClassifyTextRetry

      public Retry getClassifyTextRetry()
    • setClassifyTextRetry

      public void setClassifyTextRetry(Retry classifyTextRetry)
    • getModerateTextRetry

      public Retry getModerateTextRetry()
    • setModerateTextRetry

      public void setModerateTextRetry(Retry moderateTextRetry)
    • getAnnotateTextRetry

      public Retry getAnnotateTextRetry()
    • setAnnotateTextRetry

      public void setAnnotateTextRetry(Retry annotateTextRetry)