Class FlowsStubSettings.Builder (0.48.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
NameDescription
clientContextClientContext

Builder(FlowsStubSettings settings)

protected Builder(FlowsStubSettings settings)
Parameter
NameDescription
settingsFlowsStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
FlowsStubSettings.Builder

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>