Class FlowsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<FlowsSettings,FlowsSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.FlowsSettings.Builder
-
- Enclosing class:
- FlowsSettings
public static class FlowsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<FlowsSettings,FlowsSettings.Builder>
Builder for FlowsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(FlowsSettings settings)
protected
Builder(FlowsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowsSettings.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.FlowsSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFlowRequest,Flow>
createFlowSettings()
Returns the builder for the settings used for calls to createFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFlowRequest,com.google.protobuf.Empty>
deleteFlowSettings()
Returns the builder for the settings used for calls to deleteFlow.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportFlowRequest,ExportFlowResponse,com.google.protobuf.Struct>
exportFlowOperationSettings()
Returns the builder for the settings used for calls to exportFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportFlowRequest,com.google.longrunning.Operation>
exportFlowSettings()
Returns the builder for the settings used for calls to exportFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowRequest,Flow>
getFlowSettings()
Returns the builder for the settings used for calls to getFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowValidationResultRequest,FlowValidationResult>
getFlowValidationResultSettings()
Returns the builder for the settings used for calls to getFlowValidationResult.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.FlowsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportFlowRequest,ImportFlowResponse,com.google.protobuf.Struct>
importFlowOperationSettings()
Returns the builder for the settings used for calls to importFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportFlowRequest,com.google.longrunning.Operation>
importFlowSettings()
Returns the builder for the settings used for calls to importFlow.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFlowsRequest,ListFlowsResponse,FlowsClient.ListFlowsPagedResponse>
listFlowsSettings()
Returns the builder for the settings used for calls to listFlows.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,FlowsClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.OperationCallSettings.Builder<TrainFlowRequest,com.google.protobuf.Empty,com.google.protobuf.Struct>
trainFlowOperationSettings()
Returns the builder for the settings used for calls to trainFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainFlowRequest,com.google.longrunning.Operation>
trainFlowSettings()
Returns the builder for the settings used for calls to trainFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFlowRequest,Flow>
updateFlowSettings()
Returns the builder for the settings used for calls to updateFlow.com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateFlowRequest,FlowValidationResult>
validateFlowSettings()
Returns the builder for the settings used for calls to validateFlow.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(FlowsSettings settings)
-
Builder
protected Builder(FlowsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public FlowsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public FlowsSettings.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.
-
createFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFlowRequest,Flow> createFlowSettings()
Returns the builder for the settings used for calls to createFlow.
-
deleteFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFlowRequest,com.google.protobuf.Empty> deleteFlowSettings()
Returns the builder for the settings used for calls to deleteFlow.
-
listFlowsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFlowsRequest,ListFlowsResponse,FlowsClient.ListFlowsPagedResponse> listFlowsSettings()
Returns the builder for the settings used for calls to listFlows.
-
getFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowRequest,Flow> getFlowSettings()
Returns the builder for the settings used for calls to getFlow.
-
updateFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFlowRequest,Flow> updateFlowSettings()
Returns the builder for the settings used for calls to updateFlow.
-
trainFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainFlowRequest,com.google.longrunning.Operation> trainFlowSettings()
Returns the builder for the settings used for calls to trainFlow.
-
trainFlowOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<TrainFlowRequest,com.google.protobuf.Empty,com.google.protobuf.Struct> trainFlowOperationSettings()
Returns the builder for the settings used for calls to trainFlow.
-
validateFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ValidateFlowRequest,FlowValidationResult> validateFlowSettings()
Returns the builder for the settings used for calls to validateFlow.
-
getFlowValidationResultSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFlowValidationResultRequest,FlowValidationResult> getFlowValidationResultSettings()
Returns the builder for the settings used for calls to getFlowValidationResult.
-
importFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportFlowRequest,com.google.longrunning.Operation> importFlowSettings()
Returns the builder for the settings used for calls to importFlow.
-
importFlowOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportFlowRequest,ImportFlowResponse,com.google.protobuf.Struct> importFlowOperationSettings()
Returns the builder for the settings used for calls to importFlow.
-
exportFlowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportFlowRequest,com.google.longrunning.Operation> exportFlowSettings()
Returns the builder for the settings used for calls to exportFlow.
-
exportFlowOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportFlowRequest,ExportFlowResponse,com.google.protobuf.Struct> exportFlowOperationSettings()
Returns the builder for the settings used for calls to exportFlow.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,FlowsClient.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 FlowsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<FlowsSettings,FlowsSettings.Builder>
- Throws:
IOException
-
-