Package com.google.cloud.speech.v1.stub
Class AdaptationStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<AdaptationStubSettings,AdaptationStubSettings.Builder>
-
- com.google.cloud.speech.v1.stub.AdaptationStubSettings.Builder
-
- Enclosing class:
- AdaptationStubSettings
public static class AdaptationStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AdaptationStubSettings,AdaptationStubSettings.Builder>
Builder for AdaptationStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AdaptationStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptationStubSettings.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.AdaptationStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.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(AdaptationStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public AdaptationStubSettings.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()
-
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 AdaptationStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<AdaptationStubSettings,AdaptationStubSettings.Builder>
- Throws:
IOException
-
-