Class FlowsStubSettings.Builder (0.56.0)

public static class FlowsStubSettings.Builder extends StubSettings.Builder<FlowsStubSettings,FlowsStubSettings.Builder>

Builder for FlowsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FlowsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FlowsStubSettings settings)

protected Builder(FlowsStubSettings settings)
Parameter
Name Description
settings FlowsStubSettings

Methods

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

public FlowsStubSettings.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
FlowsStubSettings.Builder

build()

public FlowsStubSettings build()
Returns
Type Description
FlowsStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>