@Generated(value="by GAPIC v0.0.5") @BetaApi public class AgentsSettings extends com.google.api.gax.rpc.ClientSettings<AgentsSettings>
AgentsClient.
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 getAgent to 30 seconds:
AgentsSettings.Builder agentsSettingsBuilder =
AgentsSettings.newBuilder();
agentsSettingsBuilder.getAgentSettings().getRetrySettingsBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
AgentsSettings agentsSettings = agentsSettingsBuilder.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentsSettings.Builder
Builder for AgentsSettings.
|
| 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.OperationCallSettings<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.cloud.dialogflow.v2beta1.ExportAgentResponse,com.google.protobuf.Struct> |
exportAgentOperationSettings()
Returns the object with the settings used for calls to exportAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.longrunning.Operation> |
exportAgentSettings()
Returns the object with the settings used for calls to exportAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.GetAgentRequest,com.google.cloud.dialogflow.v2beta1.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<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> |
importAgentOperationSettings()
Returns the object with the settings used for calls to importAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,com.google.longrunning.Operation> |
importAgentSettings()
Returns the object with the settings used for calls to importAgent.
|
static AgentsSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static AgentsSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.OperationCallSettings<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> |
restoreAgentOperationSettings()
Returns the object with the settings used for calls to restoreAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,com.google.longrunning.Operation> |
restoreAgentSettings()
Returns the object with the settings used for calls to restoreAgent.
|
com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest,com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse,PagedResponseWrappers.SearchAgentsPagedResponse> |
searchAgentsSettings()
Returns the object with the settings used for calls to searchAgents.
|
AgentsSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.OperationCallSettings<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> |
trainAgentOperationSettings()
Returns the object with the settings used for calls to trainAgent.
|
com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,com.google.longrunning.Operation> |
trainAgentSettings()
Returns the object with the settings used for calls to trainAgent.
|
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.GetAgentRequest,com.google.cloud.dialogflow.v2beta1.Agent> getAgentSettings()
public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest,com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse,PagedResponseWrappers.SearchAgentsPagedResponse> searchAgentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,com.google.longrunning.Operation> trainAgentSettings()
public com.google.api.gax.rpc.OperationCallSettings<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> trainAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.longrunning.Operation> exportAgentSettings()
public com.google.api.gax.rpc.OperationCallSettings<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.cloud.dialogflow.v2beta1.ExportAgentResponse,com.google.protobuf.Struct> exportAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,com.google.longrunning.Operation> importAgentSettings()
public com.google.api.gax.rpc.OperationCallSettings<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> importAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,com.google.longrunning.Operation> restoreAgentSettings()
public com.google.api.gax.rpc.OperationCallSettings<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> restoreAgentOperationSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public AgentsStub createStub() throws IOException
IOExceptionpublic 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 AgentsSettings.Builder newBuilder()
public static AgentsSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public AgentsSettings.Builder toBuilder()
toBuilder in class com.google.api.gax.rpc.ClientSettings<AgentsSettings>Copyright © 2017 Google. All rights reserved.