public static class AdaptationStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AdaptationStubSettings,AdaptationStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(AdaptationStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and 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.
|
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AdaptationStubSettings settings)
public AdaptationStubSettings.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<CreatePhraseSetRequest,PhraseSet> createPhraseSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetPhraseSetRequest,PhraseSet> getPhraseSetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPhraseSetRequest,ListPhraseSetResponse,AdaptationClient.ListPhraseSetPagedResponse> listPhraseSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePhraseSetRequest,PhraseSet> updatePhraseSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeletePhraseSetRequest,com.google.protobuf.Empty> deletePhraseSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomClassRequest,CustomClass> createCustomClassSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomClassRequest,CustomClass> getCustomClassSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListCustomClassesRequest,ListCustomClassesResponse,AdaptationClient.ListCustomClassesPagedResponse> listCustomClassesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateCustomClassRequest,CustomClass> updateCustomClassSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteCustomClassRequest,com.google.protobuf.Empty> deleteCustomClassSettings()
public AdaptationStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<AdaptationStubSettings,AdaptationStubSettings.Builder>IOExceptionCopyright © 2022 Google LLC. All rights reserved.