public static class SpeechStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<SpeechStubSettings,SpeechStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(SpeechStubSettings settings) |
| Modifier and Type | Method and 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.
|
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, setUniverseDomain, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(SpeechStubSettings settings)
public SpeechStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateRecognizerRequest,com.google.longrunning.Operation> createRecognizerSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListRecognizersRequest,ListRecognizersResponse,SpeechClient.ListRecognizersPagedResponse> listRecognizersSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRecognizerRequest,Recognizer> getRecognizerSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateRecognizerRequest,com.google.longrunning.Operation> updateRecognizerSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteRecognizerRequest,com.google.longrunning.Operation> deleteRecognizerSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteRecognizerRequest,com.google.longrunning.Operation> undeleteRecognizerSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RecognizeRequest,RecognizeResponse> recognizeSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<StreamingRecognizeRequest,StreamingRecognizeResponse> streamingRecognizeSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchRecognizeRequest,com.google.longrunning.Operation> batchRecognizeSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConfigRequest,Config> getConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConfigRequest,Config> updateConfigSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomClassRequest,com.google.longrunning.Operation> createCustomClassSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCustomClassesRequest,ListCustomClassesResponse,SpeechClient.ListCustomClassesPagedResponse> listCustomClassesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomClassRequest,CustomClass> getCustomClassSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCustomClassRequest,com.google.longrunning.Operation> updateCustomClassSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCustomClassRequest,com.google.longrunning.Operation> deleteCustomClassSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteCustomClassRequest,com.google.longrunning.Operation> undeleteCustomClassSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePhraseSetRequest,com.google.longrunning.Operation> createPhraseSetSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPhraseSetsRequest,ListPhraseSetsResponse,SpeechClient.ListPhraseSetsPagedResponse> listPhraseSetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPhraseSetRequest,PhraseSet> getPhraseSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePhraseSetRequest,com.google.longrunning.Operation> updatePhraseSetSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePhraseSetRequest,com.google.longrunning.Operation> deletePhraseSetSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeletePhraseSetRequest,com.google.longrunning.Operation> undeletePhraseSetSettings()
@BetaApi(value="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()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,SpeechClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public SpeechStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<SpeechStubSettings,SpeechStubSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.