Package com.google.cloud.speech.v2.stub
Class SpeechStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<SpeechStubSettings,SpeechStubSettings.Builder>
-
- com.google.cloud.speech.v2.stub.SpeechStubSettings.Builder
-
- Enclosing class:
- SpeechStubSettings
public static class SpeechStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<SpeechStubSettings,SpeechStubSettings.Builder>
Builder for SpeechStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(SpeechStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpeechStubSettings.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.SpeechStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(SpeechStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public SpeechStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 SpeechStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<SpeechStubSettings,SpeechStubSettings.Builder>
- Throws:
IOException
-
-