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() |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(AgentsStubSettings settings)
public AgentsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<TrainAgentRequest,Empty,Struct> trainAgentOperationSettings()
public UnaryCallSettings.Builder<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<ExportAgentRequest,ExportAgentResponse,Struct> exportAgentOperationSettings()
public UnaryCallSettings.Builder<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<ImportAgentRequest,Empty,Struct> importAgentOperationSettings()
public UnaryCallSettings.Builder<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<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 AgentsStubSettings build() throws IOException
build
in class StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.