public static class AgentsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(AgentsSettings settings) |
protected |
Builder(AgentsStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and 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.
|
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(AgentsSettings settings)
protected Builder(AgentsStubSettings.Builder stubSettings)
public AgentsStubSettings.Builder getStubSettingsBuilder()
public AgentsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAgentsRequest,ListAgentsResponse,AgentsClient.ListAgentsPagedResponse> listAgentsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentRequest,Agent> getAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAgentRequest,Agent> createAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAgentRequest,Agent> updateAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAgentRequest,com.google.protobuf.Empty> deleteAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAgentRequest,com.google.longrunning.Operation> exportAgentSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportAgentRequest,ExportAgentResponse,com.google.protobuf.Struct> exportAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreAgentRequest,com.google.longrunning.Operation> restoreAgentSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> restoreAgentOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateAgentRequest,AgentValidationResult> validateAgentSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentValidationResultRequest,AgentValidationResult> getAgentValidationResultSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGenerativeSettingsRequest,GenerativeSettings> getGenerativeSettingsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateGenerativeSettingsRequest,GenerativeSettings> updateGenerativeSettingsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,AgentsClient.ListLocationsPagedResponse> listLocationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public AgentsSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>IOExceptionCopyright © 2025 Google LLC. All rights reserved.