Class SpeechSettings.Builder (4.22.0)

public static class SpeechSettings.Builder extends ClientSettings.Builder<SpeechSettings,SpeechSettings.Builder>

Builder for SpeechSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SpeechSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(SpeechSettings settings)

protected Builder(SpeechSettings settings)
Parameter
NameDescription
settingsSpeechSettings

Builder(SpeechStubSettings.Builder stubSettings)

protected Builder(SpeechStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSpeechStubSettings.Builder

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SpeechSettings.Builder

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.

Returns
TypeDescription
Builder<BatchRecognizeRequest,Operation>

build()

public SpeechSettings build()
Returns
TypeDescription
SpeechSettings
Overrides
Exceptions
TypeDescription
IOException

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.

Returns
TypeDescription
Builder<GetConfigRequest,Config>

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
TypeDescription
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.

Returns
TypeDescription
Builder<GetPhraseSetRequest,PhraseSet>

getRecognizerSettings()

public UnaryCallSettings.Builder<GetRecognizerRequest,Recognizer> getRecognizerSettings()

Returns the builder for the settings used for calls to getRecognizer.

Returns
TypeDescription
Builder<GetRecognizerRequest,Recognizer>

getStubSettingsBuilder()

public SpeechStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SpeechStubSettings.Builder

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.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listPhraseSetsSettings()

public PagedCallSettings.Builder<ListPhraseSetsRequest,ListPhraseSetsResponse,SpeechClient.ListPhraseSetsPagedResponse> listPhraseSetsSettings()

Returns the builder for the settings used for calls to listPhraseSets.

listRecognizersSettings()

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.

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.

Returns
TypeDescription
Builder<UpdateConfigRequest,Config>

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.