Class AgentsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.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<CreateAgentRequest,Agent>
createAgentSettings()
Returns the builder for the settings used for calls to createAgent.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<GetAgentValidationResultRequest,AgentValidationResult>
getAgentValidationResultSettings()
Returns the builder for the settings used for calls to getAgentValidationResult.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGenerativeSettingsRequest,GenerativeSettings>
getGenerativeSettingsSettings()
Returns the builder for the settings used for calls to getGenerativeSettings.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.PagedCallSettings.Builder<ListAgentsRequest,ListAgentsResponse,AgentsClient.ListAgentsPagedResponse>
listAgentsSettings()
Returns the builder for the settings used for calls to listAgents.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.UnaryCallSettings.Builder<UpdateAgentRequest,Agent>
updateAgentSettings()
Returns the builder for the settings used for calls to updateAgent.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGenerativeSettingsRequest,GenerativeSettings>
updateGenerativeSettingsSettings()
Returns the builder for the settings used for calls to updateGenerativeSettings.com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateAgentRequest,AgentValidationResult>
validateAgentSettings()
Returns the builder for the settings used for calls to validateAgent.-
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.
-
listAgentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAgentsRequest,ListAgentsResponse,AgentsClient.ListAgentsPagedResponse> listAgentsSettings()
Returns the builder for the settings used for calls to listAgents.
-
getAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentRequest,Agent> getAgentSettings()
Returns the builder for the settings used for calls to getAgent.
-
createAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAgentRequest,Agent> createAgentSettings()
Returns the builder for the settings used for calls to createAgent.
-
updateAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAgentRequest,Agent> updateAgentSettings()
Returns the builder for the settings used for calls to updateAgent.
-
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.
-
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.
-
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.
-
validateAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateAgentRequest,AgentValidationResult> validateAgentSettings()
Returns the builder for the settings used for calls to validateAgent.
-
getAgentValidationResultSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentValidationResultRequest,AgentValidationResult> getAgentValidationResultSettings()
Returns the builder for the settings used for calls to getAgentValidationResult.
-
getGenerativeSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGenerativeSettingsRequest,GenerativeSettings> getGenerativeSettingsSettings()
Returns the builder for the settings used for calls to getGenerativeSettings.
-
updateGenerativeSettingsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGenerativeSettingsRequest,GenerativeSettings> updateGenerativeSettingsSettings()
Returns the builder for the settings used for calls to updateGenerativeSettings.
-
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
-
-