Class FlowsSettings.Builder (0.22.0)

public static class FlowsSettings.Builder extends ClientSettings.Builder<FlowsSettings,FlowsSettings.Builder>

Builder for FlowsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FlowsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FlowsSettings settings)

protected Builder(FlowsSettings settings)
Parameter
Name Description
settings FlowsSettings

Builder(FlowsStubSettings.Builder stubSettings)

protected Builder(FlowsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings FlowsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public FlowsSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
FlowsSettings.Builder

build()

public FlowsSettings build()
Returns
Type Description
FlowsSettings
Overrides Exceptions
Type Description
IOException

createFlowSettings()

public UnaryCallSettings.Builder<CreateFlowRequest,Flow> createFlowSettings()

Returns the builder for the settings used for calls to createFlow.

Returns
Type Description
Builder<CreateFlowRequest,Flow>

deleteFlowSettings()

public UnaryCallSettings.Builder<DeleteFlowRequest,Empty> deleteFlowSettings()

Returns the builder for the settings used for calls to deleteFlow.

Returns
Type Description
Builder<DeleteFlowRequest,Empty>

exportFlowOperationSettings()

public OperationCallSettings.Builder<ExportFlowRequest,ExportFlowResponse,Struct> exportFlowOperationSettings()

Returns the builder for the settings used for calls to exportFlow.

Returns
Type Description
Builder<ExportFlowRequest,ExportFlowResponse,Struct>

exportFlowSettings()

public UnaryCallSettings.Builder<ExportFlowRequest,Operation> exportFlowSettings()

Returns the builder for the settings used for calls to exportFlow.

Returns
Type Description
Builder<ExportFlowRequest,Operation>

getFlowSettings()

public UnaryCallSettings.Builder<GetFlowRequest,Flow> getFlowSettings()

Returns the builder for the settings used for calls to getFlow.

Returns
Type Description
Builder<GetFlowRequest,Flow>

getFlowValidationResultSettings()

public UnaryCallSettings.Builder<GetFlowValidationResultRequest,FlowValidationResult> getFlowValidationResultSettings()

Returns the builder for the settings used for calls to getFlowValidationResult.

Returns
Type Description
Builder<GetFlowValidationResultRequest,FlowValidationResult>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public FlowsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
FlowsStubSettings.Builder

importFlowOperationSettings()

public OperationCallSettings.Builder<ImportFlowRequest,ImportFlowResponse,Struct> importFlowOperationSettings()

Returns the builder for the settings used for calls to importFlow.

Returns
Type Description
Builder<ImportFlowRequest,ImportFlowResponse,Struct>

importFlowSettings()

public UnaryCallSettings.Builder<ImportFlowRequest,Operation> importFlowSettings()

Returns the builder for the settings used for calls to importFlow.

Returns
Type Description
Builder<ImportFlowRequest,Operation>

listFlowsSettings()

public PagedCallSettings.Builder<ListFlowsRequest,ListFlowsResponse,FlowsClient.ListFlowsPagedResponse> listFlowsSettings()

Returns the builder for the settings used for calls to listFlows.

Returns
Type Description
Builder<ListFlowsRequest,ListFlowsResponse,ListFlowsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,FlowsClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

trainFlowOperationSettings()

public OperationCallSettings.Builder<TrainFlowRequest,Empty,Struct> trainFlowOperationSettings()

Returns the builder for the settings used for calls to trainFlow.

Returns
Type Description
Builder<TrainFlowRequest,Empty,Struct>

trainFlowSettings()

public UnaryCallSettings.Builder<TrainFlowRequest,Operation> trainFlowSettings()

Returns the builder for the settings used for calls to trainFlow.

Returns
Type Description
Builder<TrainFlowRequest,Operation>

updateFlowSettings()

public UnaryCallSettings.Builder<UpdateFlowRequest,Flow> updateFlowSettings()

Returns the builder for the settings used for calls to updateFlow.

Returns
Type Description
Builder<UpdateFlowRequest,Flow>

validateFlowSettings()

public UnaryCallSettings.Builder<ValidateFlowRequest,FlowValidationResult> validateFlowSettings()

Returns the builder for the settings used for calls to validateFlow.

Returns
Type Description
Builder<ValidateFlowRequest,FlowValidationResult>