Class AgentsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3.stub.AgentsStubSettings.Builder
-
- Enclosing class:
- AgentsStubSettings
public static class AgentsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
Builder for AgentsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(AgentsStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentsStubSettings.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.AgentsStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(AgentsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public AgentsStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 AgentsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
- Throws:
IOException
-
-