Class SpeechSpringProperties
java.lang.Object
com.google.cloud.speech.v2.spring.SpeechSpringProperties
- All Implemented Interfaces:
CredentialsSupplier
@Generated("by google-cloud-spring-generator")
@BetaApi("Autogenerated Spring autoconfiguration is not yet stable")
@ConfigurationProperties("com.google.cloud.speech.v2.speech")
public class SpeechSpringProperties
extends Object
implements CredentialsSupplier
Provides default property values for Speech client bean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()booleanvoidsetExecutorThreadCount(Integer executorThreadCount) voidsetGetConfigRetry(Retry getConfigRetry) voidsetGetCustomClassRetry(Retry getCustomClassRetry) voidsetGetLocationRetry(Retry getLocationRetry) voidsetGetPhraseSetRetry(Retry getPhraseSetRetry) voidsetGetRecognizerRetry(Retry getRecognizerRetry) voidsetListCustomClassesRetry(Retry listCustomClassesRetry) voidsetListLocationsRetry(Retry listLocationsRetry) voidsetListPhraseSetsRetry(Retry listPhraseSetsRetry) voidsetListRecognizersRetry(Retry listRecognizersRetry) voidsetQuotaProjectId(String quotaProjectId) voidsetRecognizeRetry(Retry recognizeRetry) voidvoidsetUpdateConfigRetry(Retry updateConfigRetry) voidsetUseRest(boolean useRest)
-
Constructor Details
-
SpeechSpringProperties
public SpeechSpringProperties()
-
-
Method Details
-
getCredentials
Description copied from interface:CredentialsSupplierSupplies credentials configuration.- Specified by:
getCredentialsin 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
-
getListRecognizersRetry
-
setListRecognizersRetry
-
getGetRecognizerRetry
-
setGetRecognizerRetry
-
getRecognizeRetry
-
setRecognizeRetry
-
getGetConfigRetry
-
setGetConfigRetry
-
getUpdateConfigRetry
-
setUpdateConfigRetry
-
getListCustomClassesRetry
-
setListCustomClassesRetry
-
getGetCustomClassRetry
-
setGetCustomClassRetry
-
getListPhraseSetsRetry
-
setListPhraseSetsRetry
-
getGetPhraseSetRetry
-
setGetPhraseSetRetry
-
getListLocationsRetry
-
setListLocationsRetry
-
getGetLocationRetry
-
setGetLocationRetry
-