Send feedback
Class SpeechSettings.Builder (4.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.1.0 keyboard_arrow_down
public static class SpeechSettings . Builder extends ClientSettings . Builder<SpeechSettings , SpeechSettings . Builder >
Builder for SpeechSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(SpeechSettings settings)
protected Builder ( SpeechSettings settings )
Parameter
Builder(SpeechStubSettings.Builder stubSettings)
protected Builder ( SpeechStubSettings . Builder stubSettings )
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SpeechSettings . Builder applyToAllUnaryMethods ( ApiFunction<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.
Parameter
Returns
batchRecognizeOperationSettings()
public OperationCallSettings . Builder<BatchRecognizeRequest , BatchRecognizeResponse , OperationMetadata > batchRecognizeOperationSettings ()
Returns the builder for the settings used for calls to batchRecognize.
Returns
batchRecognizeSettings()
public UnaryCallSettings . Builder<BatchRecognizeRequest , Operation > batchRecognizeSettings ()
Returns the builder for the settings used for calls to batchRecognize.
Returns
build()
public SpeechSettings build ()
Returns
Overrides
Exceptions
createCustomClassOperationSettings()
public OperationCallSettings . Builder<CreateCustomClassRequest , CustomClass , OperationMetadata > createCustomClassOperationSettings ()
Returns the builder for the settings used for calls to createCustomClass.
Returns
createCustomClassSettings()
public UnaryCallSettings . Builder<CreateCustomClassRequest , Operation > createCustomClassSettings ()
Returns the builder for the settings used for calls to createCustomClass.
Returns
createPhraseSetOperationSettings()
public OperationCallSettings . Builder<CreatePhraseSetRequest , PhraseSet , OperationMetadata > createPhraseSetOperationSettings ()
Returns the builder for the settings used for calls to createPhraseSet.
Returns
createPhraseSetSettings()
public UnaryCallSettings . Builder<CreatePhraseSetRequest , Operation > createPhraseSetSettings ()
Returns the builder for the settings used for calls to createPhraseSet.
Returns
createRecognizerOperationSettings()
public OperationCallSettings . Builder<CreateRecognizerRequest , Recognizer , OperationMetadata > createRecognizerOperationSettings ()
Returns the builder for the settings used for calls to createRecognizer.
Returns
createRecognizerSettings()
public UnaryCallSettings . Builder<CreateRecognizerRequest , Operation > createRecognizerSettings ()
Returns the builder for the settings used for calls to createRecognizer.
Returns
deleteCustomClassOperationSettings()
public OperationCallSettings . Builder<DeleteCustomClassRequest , CustomClass , OperationMetadata > deleteCustomClassOperationSettings ()
Returns the builder for the settings used for calls to deleteCustomClass.
Returns
deleteCustomClassSettings()
public UnaryCallSettings . Builder<DeleteCustomClassRequest , Operation > deleteCustomClassSettings ()
Returns the builder for the settings used for calls to deleteCustomClass.
Returns
deletePhraseSetOperationSettings()
public OperationCallSettings . Builder<DeletePhraseSetRequest , PhraseSet , OperationMetadata > deletePhraseSetOperationSettings ()
Returns the builder for the settings used for calls to deletePhraseSet.
Returns
deletePhraseSetSettings()
public UnaryCallSettings . Builder<DeletePhraseSetRequest , Operation > deletePhraseSetSettings ()
Returns the builder for the settings used for calls to deletePhraseSet.
Returns
deleteRecognizerOperationSettings()
public OperationCallSettings . Builder<DeleteRecognizerRequest , Recognizer , OperationMetadata > deleteRecognizerOperationSettings ()
Returns the builder for the settings used for calls to deleteRecognizer.
Returns
deleteRecognizerSettings()
public UnaryCallSettings . Builder<DeleteRecognizerRequest , Operation > deleteRecognizerSettings ()
Returns the builder for the settings used for calls to deleteRecognizer.
Returns
getConfigSettings()
public UnaryCallSettings . Builder<GetConfigRequest , Config > getConfigSettings ()
Returns the builder for the settings used for calls to getConfig.
Returns
getCustomClassSettings()
public UnaryCallSettings . Builder<GetCustomClassRequest , CustomClass > getCustomClassSettings ()
Returns the builder for the settings used for calls to getCustomClass.
Returns
getPhraseSetSettings()
public UnaryCallSettings . Builder<GetPhraseSetRequest , PhraseSet > getPhraseSetSettings ()
Returns the builder for the settings used for calls to getPhraseSet.
Returns
getRecognizerSettings()
public UnaryCallSettings . Builder<GetRecognizerRequest , Recognizer > getRecognizerSettings ()
Returns the builder for the settings used for calls to getRecognizer.
Returns
getStubSettingsBuilder()
public SpeechStubSettings . Builder getStubSettingsBuilder ()
Returns
listCustomClassesSettings()
public PagedCallSettings . Builder<ListCustomClassesRequest , ListCustomClassesResponse , SpeechClient . ListCustomClassesPagedResponse > listCustomClassesSettings ()
Returns the builder for the settings used for calls to listCustomClasses.
Returns
listPhraseSetsSettings()
public PagedCallSettings . Builder<ListPhraseSetsRequest , ListPhraseSetsResponse , SpeechClient . ListPhraseSetsPagedResponse > listPhraseSetsSettings ()
Returns the builder for the settings used for calls to listPhraseSets.
Returns
public PagedCallSettings . Builder<ListRecognizersRequest , ListRecognizersResponse , SpeechClient . ListRecognizersPagedResponse > listRecognizersSettings ()
Returns the builder for the settings used for calls to listRecognizers.
Returns
recognizeSettings()
public UnaryCallSettings . Builder<RecognizeRequest , RecognizeResponse > recognizeSettings ()
Returns the builder for the settings used for calls to recognize.
Returns
streamingRecognizeSettings()
public StreamingCallSettings . Builder<StreamingRecognizeRequest , StreamingRecognizeResponse > streamingRecognizeSettings ()
Returns the builder for the settings used for calls to streamingRecognize.
Returns
undeleteCustomClassOperationSettings()
public OperationCallSettings . Builder<UndeleteCustomClassRequest , CustomClass , OperationMetadata > undeleteCustomClassOperationSettings ()
Returns the builder for the settings used for calls to undeleteCustomClass.
Returns
undeleteCustomClassSettings()
public UnaryCallSettings . Builder<UndeleteCustomClassRequest , Operation > undeleteCustomClassSettings ()
Returns the builder for the settings used for calls to undeleteCustomClass.
Returns
undeletePhraseSetOperationSettings()
public OperationCallSettings . Builder<UndeletePhraseSetRequest , PhraseSet , OperationMetadata > undeletePhraseSetOperationSettings ()
Returns the builder for the settings used for calls to undeletePhraseSet.
Returns
undeletePhraseSetSettings()
public UnaryCallSettings . Builder<UndeletePhraseSetRequest , Operation > undeletePhraseSetSettings ()
Returns the builder for the settings used for calls to undeletePhraseSet.
Returns
undeleteRecognizerOperationSettings()
public OperationCallSettings . Builder<UndeleteRecognizerRequest , Recognizer , OperationMetadata > undeleteRecognizerOperationSettings ()
Returns the builder for the settings used for calls to undeleteRecognizer.
Returns
undeleteRecognizerSettings()
public UnaryCallSettings . Builder<UndeleteRecognizerRequest , Operation > undeleteRecognizerSettings ()
Returns the builder for the settings used for calls to undeleteRecognizer.
Returns
updateConfigSettings()
public UnaryCallSettings . Builder<UpdateConfigRequest , Config > updateConfigSettings ()
Returns the builder for the settings used for calls to updateConfig.
Returns
updateCustomClassOperationSettings()
public OperationCallSettings . Builder<UpdateCustomClassRequest , CustomClass , OperationMetadata > updateCustomClassOperationSettings ()
Returns the builder for the settings used for calls to updateCustomClass.
Returns
updateCustomClassSettings()
public UnaryCallSettings . Builder<UpdateCustomClassRequest , Operation > updateCustomClassSettings ()
Returns the builder for the settings used for calls to updateCustomClass.
Returns
updatePhraseSetOperationSettings()
public OperationCallSettings . Builder<UpdatePhraseSetRequest , PhraseSet , OperationMetadata > updatePhraseSetOperationSettings ()
Returns the builder for the settings used for calls to updatePhraseSet.
Returns
updatePhraseSetSettings()
public UnaryCallSettings . Builder<UpdatePhraseSetRequest , Operation > updatePhraseSetSettings ()
Returns the builder for the settings used for calls to updatePhraseSet.
Returns
updateRecognizerOperationSettings()
public OperationCallSettings . Builder<UpdateRecognizerRequest , Recognizer , OperationMetadata > updateRecognizerOperationSettings ()
Returns the builder for the settings used for calls to updateRecognizer.
Returns
updateRecognizerSettings()
public UnaryCallSettings . Builder<UpdateRecognizerRequest , Operation > updateRecognizerSettings ()
Returns the builder for the settings used for calls to updateRecognizer.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]