public static class AgentsStubSettings.Builder extends StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AgentsStubSettings settings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AgentsStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
AgentsStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<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(ClientContext clientContext)
protected Builder(AgentsStubSettings settings)
public AgentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code 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 use by generated code 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 use by generated code 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 use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest,Empty,Struct> restoreAgentOperationSettings()
public AgentsStubSettings build() throws IOException
build
in class StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.