Class AgentsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<AgentsStubSettings,AgentsStubSettings.Builder>
-
- com.google.cloud.dialogflow.v2beta1.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<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<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.UnaryCallSettings.Builder<GetValidationResultRequest,ValidationResult>
getValidationResultSettings()
Returns the builder for the settings used for calls to getValidationResult.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct>
importAgentOperationSettings()
Returns the builder for the settings used for calls to importAgent.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAgentRequest,com.google.longrunning.Operation>
importAgentSettings()
Returns the builder for the settings used for calls to importAgent.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.PagedCallSettings.Builder<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse>
searchAgentsSettings()
Returns the builder for the settings used for calls to searchAgents.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetAgentRequest,Agent>
setAgentSettings()
Returns the builder for the settings used for calls to setAgent.com.google.api.gax.rpc.OperationCallSettings.Builder<TrainAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct>
trainAgentOperationSettings()
Returns the builder for the settings used for calls to trainAgent.com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainAgentRequest,com.google.longrunning.Operation>
trainAgentSettings()
Returns the builder for the settings used for calls to trainAgent.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
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()
-
getAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentRequest,Agent> getAgentSettings()
Returns the builder for the settings used for calls to getAgent.
-
setAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetAgentRequest,Agent> setAgentSettings()
Returns the builder for the settings used for calls to setAgent.
-
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.
-
searchAgentsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchAgentsRequest,SearchAgentsResponse,AgentsClient.SearchAgentsPagedResponse> searchAgentsSettings()
Returns the builder for the settings used for calls to searchAgents.
-
trainAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainAgentRequest,com.google.longrunning.Operation> trainAgentSettings()
Returns the builder for the settings used for calls to trainAgent.
-
trainAgentOperationSettings
@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<TrainAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> trainAgentOperationSettings()
Returns the builder for the settings used for calls to trainAgent.
-
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.
-
importAgentSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAgentRequest,com.google.longrunning.Operation> importAgentSettings()
Returns the builder for the settings used for calls to importAgent.
-
importAgentOperationSettings
@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<ImportAgentRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> importAgentOperationSettings()
Returns the builder for the settings used for calls to importAgent.
-
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.
-
getValidationResultSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetValidationResultRequest,ValidationResult> getValidationResultSettings()
Returns the builder for the settings used for calls to getValidationResult.
-
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
-
-