public static class AgentsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AgentsStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AgentsStubSettings.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.
|
AgentsStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAgentRequest,Empty> |
deleteAgentSettings()
Returns the builder for the settings used for calls to deleteAgent.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ExportAgentRequest,ExportAgentResponse,Struct> |
exportAgentOperationSettings()
Returns the builder for the settings used for calls to exportAgent.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAgentRequest,com.google.longrunning.Operation> |
exportAgentSettings()
Returns the builder for the settings used for calls to exportAgent.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentRequest,Agent> |
getAgentSettings()
Returns the builder for the settings used for calls to getAgent.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAgentRequest,Empty,Struct> |
importAgentOperationSettings()
Returns the builder for the settings used for calls to importAgent.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAgentRequest,com.google.longrunning.Operation> |
importAgentSettings()
Returns the builder for the settings used for calls to importAgent.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreAgentRequest,Empty,Struct> |
restoreAgentOperationSettings()
Returns the builder for the settings used for calls to restoreAgent.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreAgentRequest,com.google.longrunning.Operation> |
restoreAgentSettings()
Returns the builder for the settings used for calls to restoreAgent.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> |
searchAgentsSettings()
Returns the builder for the settings used for calls to searchAgents.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SetAgentRequest,Agent> |
setAgentSettings()
Returns the builder for the settings used for calls to setAgent.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<TrainAgentRequest,Empty,Struct> |
trainAgentOperationSettings()
Returns the builder for the settings used for calls to trainAgent.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainAgentRequest,com.google.longrunning.Operation> |
trainAgentSettings()
Returns the builder for the settings used for calls to trainAgent.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AgentsStubSettings settings)
public AgentsStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetAgentRequest,Agent> setAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAgentRequest,Empty> deleteAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentRequest,Agent> getAgentSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> searchAgentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainAgentRequest,com.google.longrunning.Operation> trainAgentSettings()
@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<TrainAgentRequest,Empty,Struct> trainAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAgentRequest,com.google.longrunning.Operation> exportAgentSettings()
@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<ExportAgentRequest,ExportAgentResponse,Struct> exportAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAgentRequest,com.google.longrunning.Operation> importAgentSettings()
@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<ImportAgentRequest,Empty,Struct> importAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreAgentRequest,com.google.longrunning.Operation> restoreAgentSettings()
@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<RestoreAgentRequest,Empty,Struct> restoreAgentOperationSettings()
public AgentsStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.