Class TpuSpringProperties

java.lang.Object
com.google.cloud.tpu.v2.spring.TpuSpringProperties
All Implemented Interfaces:
CredentialsSupplier

@Generated("by google-cloud-spring-generator") @BetaApi("Autogenerated Spring autoconfiguration is not yet stable") @ConfigurationProperties("com.google.cloud.tpu.v2.tpu") public class TpuSpringProperties extends Object implements CredentialsSupplier
Provides default property values for Tpu client bean
  • Constructor Details

    • TpuSpringProperties

      public TpuSpringProperties()
  • 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)
    • getListNodesRetry

      public Retry getListNodesRetry()
    • setListNodesRetry

      public void setListNodesRetry(Retry listNodesRetry)
    • getGetNodeRetry

      public Retry getGetNodeRetry()
    • setGetNodeRetry

      public void setGetNodeRetry(Retry getNodeRetry)
    • getGenerateServiceIdentityRetry

      public Retry getGenerateServiceIdentityRetry()
    • setGenerateServiceIdentityRetry

      public void setGenerateServiceIdentityRetry(Retry generateServiceIdentityRetry)
    • getListAcceleratorTypesRetry

      public Retry getListAcceleratorTypesRetry()
    • setListAcceleratorTypesRetry

      public void setListAcceleratorTypesRetry(Retry listAcceleratorTypesRetry)
    • getGetAcceleratorTypeRetry

      public Retry getGetAcceleratorTypeRetry()
    • setGetAcceleratorTypeRetry

      public void setGetAcceleratorTypeRetry(Retry getAcceleratorTypeRetry)
    • getListRuntimeVersionsRetry

      public Retry getListRuntimeVersionsRetry()
    • setListRuntimeVersionsRetry

      public void setListRuntimeVersionsRetry(Retry listRuntimeVersionsRetry)
    • getGetRuntimeVersionRetry

      public Retry getGetRuntimeVersionRetry()
    • setGetRuntimeVersionRetry

      public void setGetRuntimeVersionRetry(Retry getRuntimeVersionRetry)
    • getGetGuestAttributesRetry

      public Retry getGetGuestAttributesRetry()
    • setGetGuestAttributesRetry

      public void setGetGuestAttributesRetry(Retry getGuestAttributesRetry)
    • getListLocationsRetry

      public Retry getListLocationsRetry()
    • setListLocationsRetry

      public void setListLocationsRetry(Retry listLocationsRetry)
    • getGetLocationRetry

      public Retry getGetLocationRetry()
    • setGetLocationRetry

      public void setGetLocationRetry(Retry getLocationRetry)