Package com.google.cloud.speech.v1
Class AdaptationSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AdaptationSettings,AdaptationSettings.Builder>
-
- com.google.cloud.speech.v1.AdaptationSettings.Builder
-
- Enclosing class:
- AdaptationSettings
public static class AdaptationSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AdaptationSettings,AdaptationSettings.Builder>
Builder for AdaptationSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AdaptationSettings settings)
protected
Builder(AdaptationStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptationSettings.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.AdaptationSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomClassRequest,CustomClass>
createCustomClassSettings()
Returns the builder for the settings used for calls to createCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePhraseSetRequest,PhraseSet>
createPhraseSetSettings()
Returns the builder for the settings used for calls to createPhraseSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCustomClassRequest,com.google.protobuf.Empty>
deleteCustomClassSettings()
Returns the builder for the settings used for calls to deleteCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePhraseSetRequest,com.google.protobuf.Empty>
deletePhraseSetSettings()
Returns the builder for the settings used for calls to deletePhraseSet.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<GetPhraseSetRequest,PhraseSet>
getPhraseSetSettings()
Returns the builder for the settings used for calls to getPhraseSet.AdaptationStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListCustomClassesRequest,ListCustomClassesResponse,AdaptationClient.ListCustomClassesPagedResponse>
listCustomClassesSettings()
Returns the builder for the settings used for calls to listCustomClasses.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPhraseSetRequest,ListPhraseSetResponse,AdaptationClient.ListPhraseSetPagedResponse>
listPhraseSetSettings()
Returns the builder for the settings used for calls to listPhraseSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCustomClassRequest,CustomClass>
updateCustomClassSettings()
Returns the builder for the settings used for calls to updateCustomClass.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePhraseSetRequest,PhraseSet>
updatePhraseSetSettings()
Returns the builder for the settings used for calls to updatePhraseSet.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(AdaptationSettings settings)
-
Builder
protected Builder(AdaptationStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AdaptationStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AdaptationSettings.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.
-
createPhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreatePhraseSetRequest,PhraseSet> createPhraseSetSettings()
Returns the builder for the settings used for calls to createPhraseSet.
-
getPhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPhraseSetRequest,PhraseSet> getPhraseSetSettings()
Returns the builder for the settings used for calls to getPhraseSet.
-
listPhraseSetSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPhraseSetRequest,ListPhraseSetResponse,AdaptationClient.ListPhraseSetPagedResponse> listPhraseSetSettings()
Returns the builder for the settings used for calls to listPhraseSet.
-
updatePhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePhraseSetRequest,PhraseSet> updatePhraseSetSettings()
Returns the builder for the settings used for calls to updatePhraseSet.
-
deletePhraseSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePhraseSetRequest,com.google.protobuf.Empty> deletePhraseSetSettings()
Returns the builder for the settings used for calls to deletePhraseSet.
-
createCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomClassRequest,CustomClass> createCustomClassSettings()
Returns the builder for the settings used for calls to createCustomClass.
-
getCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomClassRequest,CustomClass> getCustomClassSettings()
Returns the builder for the settings used for calls to getCustomClass.
-
listCustomClassesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCustomClassesRequest,ListCustomClassesResponse,AdaptationClient.ListCustomClassesPagedResponse> listCustomClassesSettings()
Returns the builder for the settings used for calls to listCustomClasses.
-
updateCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCustomClassRequest,CustomClass> updateCustomClassSettings()
Returns the builder for the settings used for calls to updateCustomClass.
-
deleteCustomClassSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCustomClassRequest,com.google.protobuf.Empty> deleteCustomClassSettings()
Returns the builder for the settings used for calls to deleteCustomClass.
-
build
public AdaptationSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<AdaptationSettings,AdaptationSettings.Builder>
- Throws:
IOException
-
-