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(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
AgentsSettings |
build() |
UnaryCallSettings.Builder<DeleteAgentRequest,Empty> |
deleteAgentSettings()
Returns the builder for the settings used for calls to deleteAgent.
|
OperationCallSettings.Builder<ExportAgentRequest,ExportAgentResponse,Struct> |
exportAgentOperationSettings()
Returns the builder for the settings used for calls to exportAgent.
|
UnaryCallSettings.Builder<ExportAgentRequest,Operation> |
exportAgentSettings()
Returns the builder for the settings used for calls to exportAgent.
|
UnaryCallSettings.Builder<GetAgentRequest,Agent> |
getAgentSettings()
Returns the builder for the settings used for calls to getAgent.
|
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() |
UnaryCallSettings.Builder<GetValidationResultRequest,ValidationResult> |
getValidationResultSettings()
Returns the builder for the settings used for calls to getValidationResult.
|
OperationCallSettings.Builder<ImportAgentRequest,Empty,Struct> |
importAgentOperationSettings()
Returns the builder for the settings used for calls to importAgent.
|
UnaryCallSettings.Builder<ImportAgentRequest,Operation> |
importAgentSettings()
Returns the builder for the settings used for calls to importAgent.
|
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.
|
OperationCallSettings.Builder<RestoreAgentRequest,Empty,Struct> |
restoreAgentOperationSettings()
Returns the builder for the settings used for calls to restoreAgent.
|
UnaryCallSettings.Builder<RestoreAgentRequest,Operation> |
restoreAgentSettings()
Returns the builder for the settings used for calls to restoreAgent.
|
PagedCallSettings.Builder<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> |
searchAgentsSettings()
Returns the builder for the settings used for calls to searchAgents.
|
UnaryCallSettings.Builder<SetAgentRequest,Agent> |
setAgentSettings()
Returns the builder for the settings used for calls to setAgent.
|
OperationCallSettings.Builder<TrainAgentRequest,Empty,Struct> |
trainAgentOperationSettings()
Returns the builder for the settings used for calls to trainAgent.
|
UnaryCallSettings.Builder<TrainAgentRequest,Operation> |
trainAgentSettings()
Returns the builder for the settings used for calls to trainAgent.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, 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(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<GetAgentRequest,Agent> getAgentSettings()
public UnaryCallSettings.Builder<SetAgentRequest,Agent> setAgentSettings()
public UnaryCallSettings.Builder<DeleteAgentRequest,Empty> deleteAgentSettings()
public PagedCallSettings.Builder<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> searchAgentsSettings()
public UnaryCallSettings.Builder<TrainAgentRequest,Operation> trainAgentSettings()
public OperationCallSettings.Builder<TrainAgentRequest,Empty,Struct> trainAgentOperationSettings()
public UnaryCallSettings.Builder<ExportAgentRequest,Operation> exportAgentSettings()
public OperationCallSettings.Builder<ExportAgentRequest,ExportAgentResponse,Struct> exportAgentOperationSettings()
public UnaryCallSettings.Builder<ImportAgentRequest,Operation> importAgentSettings()
public OperationCallSettings.Builder<ImportAgentRequest,Empty,Struct> importAgentOperationSettings()
public UnaryCallSettings.Builder<RestoreAgentRequest,Operation> restoreAgentSettings()
public OperationCallSettings.Builder<RestoreAgentRequest,Empty,Struct> restoreAgentOperationSettings()
public UnaryCallSettings.Builder<GetValidationResultRequest,ValidationResult> getValidationResultSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,AgentsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public AgentsSettings build() throws IOException
build
in class ClientSettings.Builder<AgentsSettings,AgentsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.