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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setAdaptiveMtTranslateRetry
(Retry adaptiveMtTranslateRetry) void
setCreateAdaptiveMtDatasetRetry
(Retry createAdaptiveMtDatasetRetry) void
setCreateGlossaryEntryRetry
(Retry createGlossaryEntryRetry) void
setDeleteAdaptiveMtDatasetRetry
(Retry deleteAdaptiveMtDatasetRetry) void
setDeleteAdaptiveMtFileRetry
(Retry deleteAdaptiveMtFileRetry) void
setDeleteGlossaryEntryRetry
(Retry deleteGlossaryEntryRetry) void
setDetectLanguageRetry
(Retry detectLanguageRetry) void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetAdaptiveMtDatasetRetry
(Retry getAdaptiveMtDatasetRetry) void
setGetAdaptiveMtFileRetry
(Retry getAdaptiveMtFileRetry) void
setGetDatasetRetry
(Retry getDatasetRetry) void
setGetGlossaryEntryRetry
(Retry getGlossaryEntryRetry) void
setGetGlossaryRetry
(Retry getGlossaryRetry) void
setGetModelRetry
(Retry getModelRetry) void
setGetSupportedLanguagesRetry
(Retry getSupportedLanguagesRetry) void
setImportAdaptiveMtFileRetry
(Retry importAdaptiveMtFileRetry) void
setListAdaptiveMtDatasetsRetry
(Retry listAdaptiveMtDatasetsRetry) void
setListAdaptiveMtFilesRetry
(Retry listAdaptiveMtFilesRetry) void
setListAdaptiveMtSentencesRetry
(Retry listAdaptiveMtSentencesRetry) void
setListDatasetsRetry
(Retry listDatasetsRetry) void
setListExamplesRetry
(Retry listExamplesRetry) void
setListGlossariesRetry
(Retry listGlossariesRetry) void
setListGlossaryEntriesRetry
(Retry listGlossaryEntriesRetry) void
setListModelsRetry
(Retry listModelsRetry) void
setQuotaProjectId
(String quotaProjectId) void
void
setRomanizeTextRetry
(Retry romanizeTextRetry) void
setTranslateDocumentRetry
(Retry translateDocumentRetry) void
setTranslateTextRetry
(Retry translateTextRetry) void
setUpdateGlossaryEntryRetry
(Retry updateGlossaryEntryRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
TranslationServiceSpringProperties
public TranslationServiceSpringProperties()
-
-
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
-
getTranslateTextRetry
-
setTranslateTextRetry
-
getRomanizeTextRetry
-
setRomanizeTextRetry
-
getDetectLanguageRetry
-
setDetectLanguageRetry
-
getGetSupportedLanguagesRetry
-
setGetSupportedLanguagesRetry
-
getTranslateDocumentRetry
-
setTranslateDocumentRetry
-
getListGlossariesRetry
-
setListGlossariesRetry
-
getGetGlossaryRetry
-
setGetGlossaryRetry
-
getGetGlossaryEntryRetry
-
setGetGlossaryEntryRetry
-
getListGlossaryEntriesRetry
-
setListGlossaryEntriesRetry
-
getCreateGlossaryEntryRetry
-
setCreateGlossaryEntryRetry
-
getUpdateGlossaryEntryRetry
-
setUpdateGlossaryEntryRetry
-
getDeleteGlossaryEntryRetry
-
setDeleteGlossaryEntryRetry
-
getGetDatasetRetry
-
setGetDatasetRetry
-
getListDatasetsRetry
-
setListDatasetsRetry
-
getCreateAdaptiveMtDatasetRetry
-
setCreateAdaptiveMtDatasetRetry
-
getDeleteAdaptiveMtDatasetRetry
-
setDeleteAdaptiveMtDatasetRetry
-
getGetAdaptiveMtDatasetRetry
-
setGetAdaptiveMtDatasetRetry
-
getListAdaptiveMtDatasetsRetry
-
setListAdaptiveMtDatasetsRetry
-
getAdaptiveMtTranslateRetry
-
setAdaptiveMtTranslateRetry
-
getGetAdaptiveMtFileRetry
-
setGetAdaptiveMtFileRetry
-
getDeleteAdaptiveMtFileRetry
-
setDeleteAdaptiveMtFileRetry
-
getImportAdaptiveMtFileRetry
-
setImportAdaptiveMtFileRetry
-
getListAdaptiveMtFilesRetry
-
setListAdaptiveMtFilesRetry
-
getListAdaptiveMtSentencesRetry
-
setListAdaptiveMtSentencesRetry
-
getListExamplesRetry
-
setListExamplesRetry
-
getListModelsRetry
-
setListModelsRetry
-
getGetModelRetry
-
setGetModelRetry
-