public static class AgentsSettings.Builder extends ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AgentsSettings settings) |
protected |
Builder(AgentsStubSettings.Builder stubSettings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AgentsSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
AgentsSettings |
build() |
OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.cloud.dialogflow.v2beta1.ExportAgentResponse,Struct> |
exportAgentOperationSettings()
Returns the builder for the settings used for calls to exportAgent.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,Operation> |
exportAgentSettings()
Returns the builder for the settings used for calls to exportAgent.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetAgentRequest,com.google.cloud.dialogflow.v2beta1.Agent> |
getAgentSettings()
Returns the builder for the settings used for calls to getAgent.
|
AgentsStubSettings.Builder |
getStubSettingsBuilder() |
OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,Empty,Struct> |
importAgentOperationSettings()
Returns the builder for the settings used for calls to importAgent.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,Operation> |
importAgentSettings()
Returns the builder for the settings used for calls to importAgent.
|
OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,Empty,Struct> |
restoreAgentOperationSettings()
Returns the builder for the settings used for calls to restoreAgent.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,Operation> |
restoreAgentSettings()
Returns the builder for the settings used for calls to restoreAgent.
|
PagedCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest,com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> |
searchAgentsSettings()
Returns the builder for the settings used for calls to searchAgents.
|
OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,Empty,Struct> |
trainAgentOperationSettings()
Returns the builder for the settings used for calls to trainAgent.
|
UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,Operation> |
trainAgentSettings()
Returns the builder for the settings used for calls to trainAgent.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(AgentsSettings settings)
protected Builder(AgentsStubSettings.Builder stubSettings)
public AgentsStubSettings.Builder getStubSettingsBuilder()
public AgentsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.GetAgentRequest,com.google.cloud.dialogflow.v2beta1.Agent> getAgentSettings()
public PagedCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest,com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> searchAgentsSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,Operation> trainAgentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.TrainAgentRequest,Empty,Struct> trainAgentOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,Operation> exportAgentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ExportAgentRequest,com.google.cloud.dialogflow.v2beta1.ExportAgentResponse,Struct> exportAgentOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,Operation> importAgentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.ImportAgentRequest,Empty,Struct> importAgentOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,Operation> restoreAgentSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,Empty,Struct> restoreAgentOperationSettings()
public AgentsSettings build() throws IOException
build
in class ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.