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
-
Method Summary
Modifier and TypeMethodDescriptionSupplies credentials configuration.getRetry()
boolean
void
setExecutorThreadCount
(Integer executorThreadCount) void
setGetConfigRetry
(Retry getConfigRetry) void
setGetCustomClassRetry
(Retry getCustomClassRetry) void
setGetLocationRetry
(Retry getLocationRetry) void
setGetPhraseSetRetry
(Retry getPhraseSetRetry) void
setGetRecognizerRetry
(Retry getRecognizerRetry) void
setListCustomClassesRetry
(Retry listCustomClassesRetry) void
setListLocationsRetry
(Retry listLocationsRetry) void
setListPhraseSetsRetry
(Retry listPhraseSetsRetry) void
setListRecognizersRetry
(Retry listRecognizersRetry) void
setQuotaProjectId
(String quotaProjectId) void
setRecognizeRetry
(Retry recognizeRetry) void
void
setUpdateConfigRetry
(Retry updateConfigRetry) void
setUseRest
(boolean useRest)
-
Constructor Details
-
SpeechSpringProperties
public SpeechSpringProperties()
-
-
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
-
getListRecognizersRetry
-
setListRecognizersRetry
-
getGetRecognizerRetry
-
setGetRecognizerRetry
-
getRecognizeRetry
-
setRecognizeRetry
-
getGetConfigRetry
-
setGetConfigRetry
-
getUpdateConfigRetry
-
setUpdateConfigRetry
-
getListCustomClassesRetry
-
setListCustomClassesRetry
-
getGetCustomClassRetry
-
setGetCustomClassRetry
-
getListPhraseSetsRetry
-
setListPhraseSetsRetry
-
getGetPhraseSetRetry
-
setGetPhraseSetRetry
-
getListLocationsRetry
-
setListLocationsRetry
-
getGetLocationRetry
-
setGetLocationRetry
-