Class FlowsSettings.Builder (0.52.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
NameDescription
clientContextClientContext

Builder(FlowsSettings settings)

protected Builder(FlowsSettings settings)
Parameter
NameDescription
settingsFlowsSettings

Builder(FlowsStubSettings.Builder stubSettings)

protected Builder(FlowsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsFlowsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
FlowsSettings.Builder

build()

public FlowsSettings build()
Returns
TypeDescription
FlowsSettings
Overrides
Exceptions
TypeDescription
IOException

createFlowSettings()

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

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

Returns
TypeDescription
Builder<CreateFlowRequest,Flow>

deleteFlowSettings()

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

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

Returns
TypeDescription
Builder<DeleteFlowRequest,Empty>

exportFlowOperationSettings()

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

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

Returns
TypeDescription
Builder<ExportFlowRequest,ExportFlowResponse,Struct>

exportFlowSettings()

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

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

Returns
TypeDescription
Builder<ExportFlowRequest,Operation>

getFlowSettings()

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

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

Returns
TypeDescription
Builder<GetFlowRequest,Flow>

getFlowValidationResultSettings()

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

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

Returns
TypeDescription
Builder<GetFlowValidationResultRequest,FlowValidationResult>

getLocationSettings()

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

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

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

getStubSettingsBuilder()

public FlowsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
FlowsStubSettings.Builder

importFlowOperationSettings()

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

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

Returns
TypeDescription
Builder<ImportFlowRequest,ImportFlowResponse,Struct>

importFlowSettings()

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

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

Returns
TypeDescription
Builder<ImportFlowRequest,Operation>

listFlowsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<TrainFlowRequest,Empty,Struct>

trainFlowSettings()

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

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

Returns
TypeDescription
Builder<TrainFlowRequest,Operation>

updateFlowSettings()

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

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

Returns
TypeDescription
Builder<UpdateFlowRequest,Flow>

validateFlowSettings()

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

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

Returns
TypeDescription
Builder<ValidateFlowRequest,FlowValidationResult>