@Generated(value="by gapic-generator") @BetaApi public class AgentsStubSettings extends com.google.api.gax.rpc.StubSettings<AgentsStubSettings>
AgentsStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of setAgent to 30 seconds:
AgentsStubSettings.Builder agentsSettingsBuilder =
AgentsStubSettings.newBuilder();
agentsSettingsBuilder.setAgentSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
AgentsStubSettings agentsSettings = agentsSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
AgentsStubSettings.Builder
Builder for AgentsStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
AgentsStubSettings(AgentsStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
AgentsStub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteAgentRequest,Empty> |
deleteAgentSettings()
Returns the object with the settings used for calls to deleteAgent.
|
com.google.api.gax.rpc.OperationCallSettings<ExportAgentRequest,ExportAgentResponse,Struct> |
exportAgentOperationSettings()
Returns the object with the settings used for calls to exportAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<ExportAgentRequest,com.google.longrunning.Operation> |
exportAgentSettings()
Returns the object with the settings used for calls to exportAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAgentRequest,Agent> |
getAgentSettings()
Returns the object with the settings used for calls to getAgent.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.OperationCallSettings<ImportAgentRequest,Empty,Struct> |
importAgentOperationSettings()
Returns the object with the settings used for calls to importAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<ImportAgentRequest,com.google.longrunning.Operation> |
importAgentSettings()
Returns the object with the settings used for calls to importAgent.
|
static AgentsStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static AgentsStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.OperationCallSettings<RestoreAgentRequest,Empty,Struct> |
restoreAgentOperationSettings()
Returns the object with the settings used for calls to restoreAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<RestoreAgentRequest,com.google.longrunning.Operation> |
restoreAgentSettings()
Returns the object with the settings used for calls to restoreAgent.
|
com.google.api.gax.rpc.PagedCallSettings<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> |
searchAgentsSettings()
Returns the object with the settings used for calls to searchAgents.
|
com.google.api.gax.rpc.UnaryCallSettings<SetAgentRequest,Agent> |
setAgentSettings()
Returns the object with the settings used for calls to setAgent.
|
AgentsStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<TrainAgentRequest,Empty,Struct> |
trainAgentOperationSettings()
Returns the object with the settings used for calls to trainAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<TrainAgentRequest,com.google.longrunning.Operation> |
trainAgentSettings()
Returns the object with the settings used for calls to trainAgent.
|
protected AgentsStubSettings(AgentsStubSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallSettings<SetAgentRequest,Agent> setAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAgentRequest,Empty> deleteAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAgentRequest,Agent> getAgentSettings()
public com.google.api.gax.rpc.PagedCallSettings<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> searchAgentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<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<TrainAgentRequest,Empty,Struct> trainAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<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<ExportAgentRequest,ExportAgentResponse,Struct> exportAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<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<ImportAgentRequest,Empty,Struct> importAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<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<RestoreAgentRequest,Empty,Struct> restoreAgentOperationSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public AgentsStub createStub() throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static AgentsStubSettings.Builder newBuilder()
public static AgentsStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public AgentsStubSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.StubSettings<AgentsStubSettings>
Copyright © 2019 Google LLC. All rights reserved.