Package com.google.cloud.speech.v2
Class SpeechSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<SpeechSettings,SpeechSettings.Builder>
-
- com.google.cloud.speech.v2.SpeechSettings.Builder
-
- Enclosing class:
- SpeechSettings
public static class SpeechSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SpeechSettings,SpeechSettings.Builder>
Builder for SpeechSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(SpeechSettings settings)
protected
Builder(SpeechStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpeechSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.com.google.api.gax.rpc.OperationCallSettings.Builder<BatchRecognizeRequest,BatchRecognizeResponse,OperationMetadata>
batchRecognizeOperationSettings()
Returns the builder for the settings used for calls to batchRecognize.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchRecognizeRequest,com.google.longrunning.Operation>
batchRecognizeSettings()
Returns the builder for the settings used for calls to batchRecognize.SpeechSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateCustomClassRequest,CustomClass,OperationMetadata>
createCustomClassOperationSettings()
Returns the builder for the settings used for calls to createCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomClassRequest,com.google.longrunning.Operation>
createCustomClassSettings()
Returns the builder for the settings used for calls to createCustomClass.com.google.api.gax.rpc.OperationCallSettings.Builder<CreatePhraseSetRequest,PhraseSet,OperationMetadata>
createPhraseSetOperationSettings()
Returns the builder for the settings used for calls to createPhraseSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePhraseSetRequest,com.google.longrunning.Operation>
createPhraseSetSettings()
Returns the builder for the settings used for calls to createPhraseSet.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRecognizerRequest,Recognizer,OperationMetadata>
createRecognizerOperationSettings()
Returns the builder for the settings used for calls to createRecognizer.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRecognizerRequest,com.google.longrunning.Operation>
createRecognizerSettings()
Returns the builder for the settings used for calls to createRecognizer.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteCustomClassRequest,CustomClass,OperationMetadata>
deleteCustomClassOperationSettings()
Returns the builder for the settings used for calls to deleteCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCustomClassRequest,com.google.longrunning.Operation>
deleteCustomClassSettings()
Returns the builder for the settings used for calls to deleteCustomClass.com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePhraseSetRequest,PhraseSet,OperationMetadata>
deletePhraseSetOperationSettings()
Returns the builder for the settings used for calls to deletePhraseSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePhraseSetRequest,com.google.longrunning.Operation>
deletePhraseSetSettings()
Returns the builder for the settings used for calls to deletePhraseSet.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRecognizerRequest,Recognizer,OperationMetadata>
deleteRecognizerOperationSettings()
Returns the builder for the settings used for calls to deleteRecognizer.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRecognizerRequest,com.google.longrunning.Operation>
deleteRecognizerSettings()
Returns the builder for the settings used for calls to deleteRecognizer.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConfigRequest,Config>
getConfigSettings()
Returns the builder for the settings used for calls to getConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomClassRequest,CustomClass>
getCustomClassSettings()
Returns the builder for the settings used for calls to getCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPhraseSetRequest,PhraseSet>
getPhraseSetSettings()
Returns the builder for the settings used for calls to getPhraseSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRecognizerRequest,Recognizer>
getRecognizerSettings()
Returns the builder for the settings used for calls to getRecognizer.SpeechStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCustomClassesRequest,ListCustomClassesResponse,SpeechClient.ListCustomClassesPagedResponse>
listCustomClassesSettings()
Returns the builder for the settings used for calls to listCustomClasses.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,SpeechClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPhraseSetsRequest,ListPhraseSetsResponse,SpeechClient.ListPhraseSetsPagedResponse>
listPhraseSetsSettings()
Returns the builder for the settings used for calls to listPhraseSets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListRecognizersRequest,ListRecognizersResponse,SpeechClient.ListRecognizersPagedResponse>
listRecognizersSettings()
Returns the builder for the settings used for calls to listRecognizers.com.google.api.gax.rpc.UnaryCallSettings.Builder<RecognizeRequest,RecognizeResponse>
recognizeSettings()
Returns the builder for the settings used for calls to recognize.com.google.api.gax.rpc.StreamingCallSettings.Builder<StreamingRecognizeRequest,StreamingRecognizeResponse>
streamingRecognizeSettings()
Returns the builder for the settings used for calls to streamingRecognize.com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteCustomClassRequest,CustomClass,OperationMetadata>
undeleteCustomClassOperationSettings()
Returns the builder for the settings used for calls to undeleteCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteCustomClassRequest,com.google.longrunning.Operation>
undeleteCustomClassSettings()
Returns the builder for the settings used for calls to undeleteCustomClass.com.google.api.gax.rpc.OperationCallSettings.Builder<UndeletePhraseSetRequest,PhraseSet,OperationMetadata>
undeletePhraseSetOperationSettings()
Returns the builder for the settings used for calls to undeletePhraseSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeletePhraseSetRequest,com.google.longrunning.Operation>
undeletePhraseSetSettings()
Returns the builder for the settings used for calls to undeletePhraseSet.com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteRecognizerRequest,Recognizer,OperationMetadata>
undeleteRecognizerOperationSettings()
Returns the builder for the settings used for calls to undeleteRecognizer.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteRecognizerRequest,com.google.longrunning.Operation>
undeleteRecognizerSettings()
Returns the builder for the settings used for calls to undeleteRecognizer.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConfigRequest,Config>
updateConfigSettings()
Returns the builder for the settings used for calls to updateConfig.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateCustomClassRequest,CustomClass,OperationMetadata>
updateCustomClassOperationSettings()
Returns the builder for the settings used for calls to updateCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCustomClassRequest,com.google.longrunning.Operation>
updateCustomClassSettings()
Returns the builder for the settings used for calls to updateCustomClass.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdatePhraseSetRequest,PhraseSet,OperationMetadata>
updatePhraseSetOperationSettings()
Returns the builder for the settings used for calls to updatePhraseSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePhraseSetRequest,com.google.longrunning.Operation>
updatePhraseSetSettings()
Returns the builder for the settings used for calls to updatePhraseSet.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRecognizerRequest,Recognizer,OperationMetadata>
updateRecognizerOperationSettings()
Returns the builder for the settings used for calls to updateRecognizer.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRecognizerRequest,com.google.longrunning.Operation>
updateRecognizerSettings()
Returns the builder for the settings used for calls to updateRecognizer.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(SpeechSettings settings)
-
Builder
protected Builder(SpeechStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public SpeechStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public SpeechSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createRecognizerSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRecognizerRequest,com.google.longrunning.Operation> createRecognizerSettings()
Returns the builder for the settings used for calls to createRecognizer.
-
createRecognizerOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateRecognizerRequest,Recognizer,OperationMetadata> createRecognizerOperationSettings()
Returns the builder for the settings used for calls to createRecognizer.
-
listRecognizersSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRecognizersRequest,ListRecognizersResponse,SpeechClient.ListRecognizersPagedResponse> listRecognizersSettings()
Returns the builder for the settings used for calls to listRecognizers.
-
getRecognizerSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRecognizerRequest,Recognizer> getRecognizerSettings()
Returns the builder for the settings used for calls to getRecognizer.
-
updateRecognizerSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRecognizerRequest,com.google.longrunning.Operation> updateRecognizerSettings()
Returns the builder for the settings used for calls to updateRecognizer.
-
updateRecognizerOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateRecognizerRequest,Recognizer,OperationMetadata> updateRecognizerOperationSettings()
Returns the builder for the settings used for calls to updateRecognizer.
-
deleteRecognizerSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRecognizerRequest,com.google.longrunning.Operation> deleteRecognizerSettings()
Returns the builder for the settings used for calls to deleteRecognizer.
-
deleteRecognizerOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteRecognizerRequest,Recognizer,OperationMetadata> deleteRecognizerOperationSettings()
Returns the builder for the settings used for calls to deleteRecognizer.
-
undeleteRecognizerSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteRecognizerRequest,com.google.longrunning.Operation> undeleteRecognizerSettings()
Returns the builder for the settings used for calls to undeleteRecognizer.
-
undeleteRecognizerOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteRecognizerRequest,Recognizer,OperationMetadata> undeleteRecognizerOperationSettings()
Returns the builder for the settings used for calls to undeleteRecognizer.
-
recognizeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RecognizeRequest,RecognizeResponse> recognizeSettings()
Returns the builder for the settings used for calls to recognize.
-
streamingRecognizeSettings
public com.google.api.gax.rpc.StreamingCallSettings.Builder<StreamingRecognizeRequest,StreamingRecognizeResponse> streamingRecognizeSettings()
Returns the builder for the settings used for calls to streamingRecognize.
-
batchRecognizeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchRecognizeRequest,com.google.longrunning.Operation> batchRecognizeSettings()
Returns the builder for the settings used for calls to batchRecognize.
-
batchRecognizeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchRecognizeRequest,BatchRecognizeResponse,OperationMetadata> batchRecognizeOperationSettings()
Returns the builder for the settings used for calls to batchRecognize.
-
getConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConfigRequest,Config> getConfigSettings()
Returns the builder for the settings used for calls to getConfig.
-
updateConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConfigRequest,Config> updateConfigSettings()
Returns the builder for the settings used for calls to updateConfig.
-
createCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomClassRequest,com.google.longrunning.Operation> createCustomClassSettings()
Returns the builder for the settings used for calls to createCustomClass.
-
createCustomClassOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateCustomClassRequest,CustomClass,OperationMetadata> createCustomClassOperationSettings()
Returns the builder for the settings used for calls to createCustomClass.
-
listCustomClassesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCustomClassesRequest,ListCustomClassesResponse,SpeechClient.ListCustomClassesPagedResponse> listCustomClassesSettings()
Returns the builder for the settings used for calls to listCustomClasses.
-
getCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomClassRequest,CustomClass> getCustomClassSettings()
Returns the builder for the settings used for calls to getCustomClass.
-
updateCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCustomClassRequest,com.google.longrunning.Operation> updateCustomClassSettings()
Returns the builder for the settings used for calls to updateCustomClass.
-
updateCustomClassOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateCustomClassRequest,CustomClass,OperationMetadata> updateCustomClassOperationSettings()
Returns the builder for the settings used for calls to updateCustomClass.
-
deleteCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCustomClassRequest,com.google.longrunning.Operation> deleteCustomClassSettings()
Returns the builder for the settings used for calls to deleteCustomClass.
-
deleteCustomClassOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteCustomClassRequest,CustomClass,OperationMetadata> deleteCustomClassOperationSettings()
Returns the builder for the settings used for calls to deleteCustomClass.
-
undeleteCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteCustomClassRequest,com.google.longrunning.Operation> undeleteCustomClassSettings()
Returns the builder for the settings used for calls to undeleteCustomClass.
-
undeleteCustomClassOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteCustomClassRequest,CustomClass,OperationMetadata> undeleteCustomClassOperationSettings()
Returns the builder for the settings used for calls to undeleteCustomClass.
-
createPhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePhraseSetRequest,com.google.longrunning.Operation> createPhraseSetSettings()
Returns the builder for the settings used for calls to createPhraseSet.
-
createPhraseSetOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreatePhraseSetRequest,PhraseSet,OperationMetadata> createPhraseSetOperationSettings()
Returns the builder for the settings used for calls to createPhraseSet.
-
listPhraseSetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPhraseSetsRequest,ListPhraseSetsResponse,SpeechClient.ListPhraseSetsPagedResponse> listPhraseSetsSettings()
Returns the builder for the settings used for calls to listPhraseSets.
-
getPhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPhraseSetRequest,PhraseSet> getPhraseSetSettings()
Returns the builder for the settings used for calls to getPhraseSet.
-
updatePhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePhraseSetRequest,com.google.longrunning.Operation> updatePhraseSetSettings()
Returns the builder for the settings used for calls to updatePhraseSet.
-
updatePhraseSetOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdatePhraseSetRequest,PhraseSet,OperationMetadata> updatePhraseSetOperationSettings()
Returns the builder for the settings used for calls to updatePhraseSet.
-
deletePhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePhraseSetRequest,com.google.longrunning.Operation> deletePhraseSetSettings()
Returns the builder for the settings used for calls to deletePhraseSet.
-
deletePhraseSetOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeletePhraseSetRequest,PhraseSet,OperationMetadata> deletePhraseSetOperationSettings()
Returns the builder for the settings used for calls to deletePhraseSet.
-
undeletePhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeletePhraseSetRequest,com.google.longrunning.Operation> undeletePhraseSetSettings()
Returns the builder for the settings used for calls to undeletePhraseSet.
-
undeletePhraseSetOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeletePhraseSetRequest,PhraseSet,OperationMetadata> undeletePhraseSetOperationSettings()
Returns the builder for the settings used for calls to undeletePhraseSet.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,SpeechClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public SpeechSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<SpeechSettings,SpeechSettings.Builder>
- Throws:
IOException
-
-