Class AgentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
-
- com.google.cloud.dialogflow.v2beta1.AgentsSettings.Builder
-
- Enclosing class:
- AgentsSettings
public static class AgentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
Builder for AgentsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AgentsSettings settings)
protected
Builder(AgentsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentsSettings.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.AgentsSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAgentRequest,com.google.protobuf.Empty>
deleteAgentSettings()
Returns the builder for the settings used for calls to deleteAgent.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportAgentRequest,ExportAgentResponse,com.google.protobuf.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.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.AgentsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetValidationResultRequest,ValidationResult>
getValidationResultSettings()
Returns the builder for the settings used for calls to getValidationResult.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAgentRequest,com.google.protobuf.Empty,com.google.protobuf.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.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,AgentsClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreAgentRequest,com.google.protobuf.Empty,com.google.protobuf.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,com.google.protobuf.Empty,com.google.protobuf.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.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(AgentsSettings settings)
-
Builder
protected Builder(AgentsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AgentsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AgentsSettings.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.Note: This method does not support applying settings to streaming methods.
-
getAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentRequest,Agent> getAgentSettings()
Returns the builder for the settings used for calls to getAgent.
-
setAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetAgentRequest,Agent> setAgentSettings()
Returns the builder for the settings used for calls to setAgent.
-
deleteAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAgentRequest,com.google.protobuf.Empty> deleteAgentSettings()
Returns the builder for the settings used for calls to deleteAgent.
-
searchAgentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> searchAgentsSettings()
Returns the builder for the settings used for calls to searchAgents.
-
trainAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainAgentRequest,com.google.longrunning.Operation> trainAgentSettings()
Returns the builder for the settings used for calls to trainAgent.
-
trainAgentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<TrainAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> trainAgentOperationSettings()
Returns the builder for the settings used for calls to trainAgent.
-
exportAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAgentRequest,com.google.longrunning.Operation> exportAgentSettings()
Returns the builder for the settings used for calls to exportAgent.
-
exportAgentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportAgentRequest,ExportAgentResponse,com.google.protobuf.Struct> exportAgentOperationSettings()
Returns the builder for the settings used for calls to exportAgent.
-
importAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAgentRequest,com.google.longrunning.Operation> importAgentSettings()
Returns the builder for the settings used for calls to importAgent.
-
importAgentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> importAgentOperationSettings()
Returns the builder for the settings used for calls to importAgent.
-
restoreAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreAgentRequest,com.google.longrunning.Operation> restoreAgentSettings()
Returns the builder for the settings used for calls to restoreAgent.
-
restoreAgentOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> restoreAgentOperationSettings()
Returns the builder for the settings used for calls to restoreAgent.
-
getValidationResultSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetValidationResultRequest,ValidationResult> getValidationResultSettings()
Returns the builder for the settings used for calls to getValidationResult.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,AgentsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public AgentsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
- Throws:
IOException
-
-