Class PredictionServiceSpringProperties

java.lang.Object
com.google.cloud.automl.v1.spring.PredictionServiceSpringProperties
All Implemented Interfaces:
CredentialsSupplier

@Generated("by google-cloud-spring-generator") @BetaApi("Autogenerated Spring autoconfiguration is not yet stable") @ConfigurationProperties("com.google.cloud.automl.v1.prediction-service") public class PredictionServiceSpringProperties extends Object implements CredentialsSupplier
Provides default property values for PredictionService client bean
  • Constructor Details

    • PredictionServiceSpringProperties

      public PredictionServiceSpringProperties()
  • 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)
    • getPredictRetry

      public Retry getPredictRetry()
    • setPredictRetry

      public void setPredictRetry(Retry predictRetry)