Send feedback
Class SpeechStubSettings.Builder (4.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.42.0 keyboard_arrow_down
public static class SpeechStubSettings . Builder extends StubSettings . Builder<SpeechStubSettings , SpeechStubSettings . Builder >
Builder for SpeechStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Builder(SpeechStubSettings settings)
protected Builder ( SpeechStubSettings settings )
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SpeechStubSettings . 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.
batchRecognizeOperationSettings()
public OperationCallSettings . Builder<BatchRecognizeRequest , BatchRecognizeResponse , OperationMetadata > batchRecognizeOperationSettings ()
Returns the builder for the settings used for calls to batchRecognize.
batchRecognizeSettings()
public UnaryCallSettings . Builder<BatchRecognizeRequest , Operation > batchRecognizeSettings ()
Returns the builder for the settings used for calls to batchRecognize.
build()
public SpeechStubSettings build ()
Overrides
createCustomClassOperationSettings()
public OperationCallSettings . Builder<CreateCustomClassRequest , CustomClass , OperationMetadata > createCustomClassOperationSettings ()
Returns the builder for the settings used for calls to createCustomClass.
createCustomClassSettings()
public UnaryCallSettings . Builder<CreateCustomClassRequest , Operation > createCustomClassSettings ()
Returns the builder for the settings used for calls to createCustomClass.
createPhraseSetOperationSettings()
public OperationCallSettings . Builder<CreatePhraseSetRequest , PhraseSet , OperationMetadata > createPhraseSetOperationSettings ()
Returns the builder for the settings used for calls to createPhraseSet.
createPhraseSetSettings()
public UnaryCallSettings . Builder<CreatePhraseSetRequest , Operation > createPhraseSetSettings ()
Returns the builder for the settings used for calls to createPhraseSet.
createRecognizerOperationSettings()
public OperationCallSettings . Builder<CreateRecognizerRequest , Recognizer , OperationMetadata > createRecognizerOperationSettings ()
Returns the builder for the settings used for calls to createRecognizer.
createRecognizerSettings()
public UnaryCallSettings . Builder<CreateRecognizerRequest , Operation > createRecognizerSettings ()
Returns the builder for the settings used for calls to createRecognizer.
deleteCustomClassOperationSettings()
public OperationCallSettings . Builder<DeleteCustomClassRequest , CustomClass , OperationMetadata > deleteCustomClassOperationSettings ()
Returns the builder for the settings used for calls to deleteCustomClass.
deleteCustomClassSettings()
public UnaryCallSettings . Builder<DeleteCustomClassRequest , Operation > deleteCustomClassSettings ()
Returns the builder for the settings used for calls to deleteCustomClass.
deletePhraseSetOperationSettings()
public OperationCallSettings . Builder<DeletePhraseSetRequest , PhraseSet , OperationMetadata > deletePhraseSetOperationSettings ()
Returns the builder for the settings used for calls to deletePhraseSet.
deletePhraseSetSettings()
public UnaryCallSettings . Builder<DeletePhraseSetRequest , Operation > deletePhraseSetSettings ()
Returns the builder for the settings used for calls to deletePhraseSet.
deleteRecognizerOperationSettings()
public OperationCallSettings . Builder<DeleteRecognizerRequest , Recognizer , OperationMetadata > deleteRecognizerOperationSettings ()
Returns the builder for the settings used for calls to deleteRecognizer.
deleteRecognizerSettings()
public UnaryCallSettings . Builder<DeleteRecognizerRequest , Operation > deleteRecognizerSettings ()
Returns the builder for the settings used for calls to deleteRecognizer.
getConfigSettings()
public UnaryCallSettings . Builder<GetConfigRequest , Config > getConfigSettings ()
Returns the builder for the settings used for calls to getConfig.
getCustomClassSettings()
public UnaryCallSettings . Builder<GetCustomClassRequest , CustomClass > getCustomClassSettings ()
Returns the builder for the settings used for calls to getCustomClass.
getLocationSettings()
public UnaryCallSettings . Builder<GetLocationRequest , Location > getLocationSettings ()
Returns the builder for the settings used for calls to getLocation.
Returns
Type
Description
Builder <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
getPhraseSetSettings()
public UnaryCallSettings . Builder<GetPhraseSetRequest , PhraseSet > getPhraseSetSettings ()
Returns the builder for the settings used for calls to getPhraseSet.
getRecognizerSettings()
public UnaryCallSettings . Builder<GetRecognizerRequest , Recognizer > getRecognizerSettings ()
Returns the builder for the settings used for calls to getRecognizer.
listCustomClassesSettings()
public PagedCallSettings . Builder<ListCustomClassesRequest , ListCustomClassesResponse , SpeechClient . ListCustomClassesPagedResponse > listCustomClassesSettings ()
Returns the builder for the settings used for calls to listCustomClasses.
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , SpeechClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
listPhraseSetsSettings()
public PagedCallSettings . Builder<ListPhraseSetsRequest , ListPhraseSetsResponse , SpeechClient . ListPhraseSetsPagedResponse > listPhraseSetsSettings ()
Returns the builder for the settings used for calls to listPhraseSets.
public PagedCallSettings . Builder<ListRecognizersRequest , ListRecognizersResponse , SpeechClient . ListRecognizersPagedResponse > listRecognizersSettings ()
Returns the builder for the settings used for calls to listRecognizers.
recognizeSettings()
public UnaryCallSettings . Builder<RecognizeRequest , RecognizeResponse > recognizeSettings ()
Returns the builder for the settings used for calls to recognize.
streamingRecognizeSettings()
public StreamingCallSettings . Builder<StreamingRecognizeRequest , StreamingRecognizeResponse > streamingRecognizeSettings ()
Returns the builder for the settings used for calls to streamingRecognize.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type
Description
com.google.common.collect.ImmutableList <Builder <? ,? >>
undeleteCustomClassOperationSettings()
public OperationCallSettings . Builder<UndeleteCustomClassRequest , CustomClass , OperationMetadata > undeleteCustomClassOperationSettings ()
Returns the builder for the settings used for calls to undeleteCustomClass.
undeleteCustomClassSettings()
public UnaryCallSettings . Builder<UndeleteCustomClassRequest , Operation > undeleteCustomClassSettings ()
Returns the builder for the settings used for calls to undeleteCustomClass.
undeletePhraseSetOperationSettings()
public OperationCallSettings . Builder<UndeletePhraseSetRequest , PhraseSet , OperationMetadata > undeletePhraseSetOperationSettings ()
Returns the builder for the settings used for calls to undeletePhraseSet.
undeletePhraseSetSettings()
public UnaryCallSettings . Builder<UndeletePhraseSetRequest , Operation > undeletePhraseSetSettings ()
Returns the builder for the settings used for calls to undeletePhraseSet.
undeleteRecognizerOperationSettings()
public OperationCallSettings . Builder<UndeleteRecognizerRequest , Recognizer , OperationMetadata > undeleteRecognizerOperationSettings ()
Returns the builder for the settings used for calls to undeleteRecognizer.
undeleteRecognizerSettings()
public UnaryCallSettings . Builder<UndeleteRecognizerRequest , Operation > undeleteRecognizerSettings ()
Returns the builder for the settings used for calls to undeleteRecognizer.
updateConfigSettings()
public UnaryCallSettings . Builder<UpdateConfigRequest , Config > updateConfigSettings ()
Returns the builder for the settings used for calls to updateConfig.
updateCustomClassOperationSettings()
public OperationCallSettings . Builder<UpdateCustomClassRequest , CustomClass , OperationMetadata > updateCustomClassOperationSettings ()
Returns the builder for the settings used for calls to updateCustomClass.
updateCustomClassSettings()
public UnaryCallSettings . Builder<UpdateCustomClassRequest , Operation > updateCustomClassSettings ()
Returns the builder for the settings used for calls to updateCustomClass.
updatePhraseSetOperationSettings()
public OperationCallSettings . Builder<UpdatePhraseSetRequest , PhraseSet , OperationMetadata > updatePhraseSetOperationSettings ()
Returns the builder for the settings used for calls to updatePhraseSet.
updatePhraseSetSettings()
public UnaryCallSettings . Builder<UpdatePhraseSetRequest , Operation > updatePhraseSetSettings ()
Returns the builder for the settings used for calls to updatePhraseSet.
updateRecognizerOperationSettings()
public OperationCallSettings . Builder<UpdateRecognizerRequest , Recognizer , OperationMetadata > updateRecognizerOperationSettings ()
Returns the builder for the settings used for calls to updateRecognizer.
updateRecognizerSettings()
public UnaryCallSettings . Builder<UpdateRecognizerRequest , Operation > updateRecognizerSettings ()
Returns the builder for the settings used for calls to updateRecognizer.
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-27 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-27 UTC."],[],[]]