Class TranslationServiceSpringProperties

java.lang.Object
com.google.cloud.translate.v3.spring.TranslationServiceSpringProperties
All Implemented Interfaces:
CredentialsSupplier

@Generated("by google-cloud-spring-generator") @BetaApi("Autogenerated Spring autoconfiguration is not yet stable") @ConfigurationProperties("com.google.cloud.translate.v3.translation-service") public class TranslationServiceSpringProperties extends Object implements CredentialsSupplier
Provides default property values for TranslationService client bean
  • Constructor Details

    • TranslationServiceSpringProperties

      public TranslationServiceSpringProperties()
  • 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)
    • getTranslateTextRetry

      public Retry getTranslateTextRetry()
    • setTranslateTextRetry

      public void setTranslateTextRetry(Retry translateTextRetry)
    • getRomanizeTextRetry

      public Retry getRomanizeTextRetry()
    • setRomanizeTextRetry

      public void setRomanizeTextRetry(Retry romanizeTextRetry)
    • getDetectLanguageRetry

      public Retry getDetectLanguageRetry()
    • setDetectLanguageRetry

      public void setDetectLanguageRetry(Retry detectLanguageRetry)
    • getGetSupportedLanguagesRetry

      public Retry getGetSupportedLanguagesRetry()
    • setGetSupportedLanguagesRetry

      public void setGetSupportedLanguagesRetry(Retry getSupportedLanguagesRetry)
    • getTranslateDocumentRetry

      public Retry getTranslateDocumentRetry()
    • setTranslateDocumentRetry

      public void setTranslateDocumentRetry(Retry translateDocumentRetry)
    • getListGlossariesRetry

      public Retry getListGlossariesRetry()
    • setListGlossariesRetry

      public void setListGlossariesRetry(Retry listGlossariesRetry)
    • getGetGlossaryRetry

      public Retry getGetGlossaryRetry()
    • setGetGlossaryRetry

      public void setGetGlossaryRetry(Retry getGlossaryRetry)
    • getGetGlossaryEntryRetry

      public Retry getGetGlossaryEntryRetry()
    • setGetGlossaryEntryRetry

      public void setGetGlossaryEntryRetry(Retry getGlossaryEntryRetry)
    • getListGlossaryEntriesRetry

      public Retry getListGlossaryEntriesRetry()
    • setListGlossaryEntriesRetry

      public void setListGlossaryEntriesRetry(Retry listGlossaryEntriesRetry)
    • getCreateGlossaryEntryRetry

      public Retry getCreateGlossaryEntryRetry()
    • setCreateGlossaryEntryRetry

      public void setCreateGlossaryEntryRetry(Retry createGlossaryEntryRetry)
    • getUpdateGlossaryEntryRetry

      public Retry getUpdateGlossaryEntryRetry()
    • setUpdateGlossaryEntryRetry

      public void setUpdateGlossaryEntryRetry(Retry updateGlossaryEntryRetry)
    • getDeleteGlossaryEntryRetry

      public Retry getDeleteGlossaryEntryRetry()
    • setDeleteGlossaryEntryRetry

      public void setDeleteGlossaryEntryRetry(Retry deleteGlossaryEntryRetry)
    • getGetDatasetRetry

      public Retry getGetDatasetRetry()
    • setGetDatasetRetry

      public void setGetDatasetRetry(Retry getDatasetRetry)
    • getListDatasetsRetry

      public Retry getListDatasetsRetry()
    • setListDatasetsRetry

      public void setListDatasetsRetry(Retry listDatasetsRetry)
    • getCreateAdaptiveMtDatasetRetry

      public Retry getCreateAdaptiveMtDatasetRetry()
    • setCreateAdaptiveMtDatasetRetry

      public void setCreateAdaptiveMtDatasetRetry(Retry createAdaptiveMtDatasetRetry)
    • getDeleteAdaptiveMtDatasetRetry

      public Retry getDeleteAdaptiveMtDatasetRetry()
    • setDeleteAdaptiveMtDatasetRetry

      public void setDeleteAdaptiveMtDatasetRetry(Retry deleteAdaptiveMtDatasetRetry)
    • getGetAdaptiveMtDatasetRetry

      public Retry getGetAdaptiveMtDatasetRetry()
    • setGetAdaptiveMtDatasetRetry

      public void setGetAdaptiveMtDatasetRetry(Retry getAdaptiveMtDatasetRetry)
    • getListAdaptiveMtDatasetsRetry

      public Retry getListAdaptiveMtDatasetsRetry()
    • setListAdaptiveMtDatasetsRetry

      public void setListAdaptiveMtDatasetsRetry(Retry listAdaptiveMtDatasetsRetry)
    • getAdaptiveMtTranslateRetry

      public Retry getAdaptiveMtTranslateRetry()
    • setAdaptiveMtTranslateRetry

      public void setAdaptiveMtTranslateRetry(Retry adaptiveMtTranslateRetry)
    • getGetAdaptiveMtFileRetry

      public Retry getGetAdaptiveMtFileRetry()
    • setGetAdaptiveMtFileRetry

      public void setGetAdaptiveMtFileRetry(Retry getAdaptiveMtFileRetry)
    • getDeleteAdaptiveMtFileRetry

      public Retry getDeleteAdaptiveMtFileRetry()
    • setDeleteAdaptiveMtFileRetry

      public void setDeleteAdaptiveMtFileRetry(Retry deleteAdaptiveMtFileRetry)
    • getImportAdaptiveMtFileRetry

      public Retry getImportAdaptiveMtFileRetry()
    • setImportAdaptiveMtFileRetry

      public void setImportAdaptiveMtFileRetry(Retry importAdaptiveMtFileRetry)
    • getListAdaptiveMtFilesRetry

      public Retry getListAdaptiveMtFilesRetry()
    • setListAdaptiveMtFilesRetry

      public void setListAdaptiveMtFilesRetry(Retry listAdaptiveMtFilesRetry)
    • getListAdaptiveMtSentencesRetry

      public Retry getListAdaptiveMtSentencesRetry()
    • setListAdaptiveMtSentencesRetry

      public void setListAdaptiveMtSentencesRetry(Retry listAdaptiveMtSentencesRetry)
    • getListExamplesRetry

      public Retry getListExamplesRetry()
    • setListExamplesRetry

      public void setListExamplesRetry(Retry listExamplesRetry)
    • getListModelsRetry

      public Retry getListModelsRetry()
    • setListModelsRetry

      public void setListModelsRetry(Retry listModelsRetry)
    • getGetModelRetry

      public Retry getGetModelRetry()
    • setGetModelRetry

      public void setGetModelRetry(Retry getModelRetry)