public static class FlowsStubSettings.Builder extends StubSettings.Builder<FlowsStubSettings,FlowsStubSettings.Builder>
Builder for FlowsStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(FlowsStubSettings settings)
protected Builder(FlowsStubSettings settings)
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.
build()
public FlowsStubSettings build()
Overrides
createFlowSettings()
public UnaryCallSettings.Builder<CreateFlowRequest,Flow> createFlowSettings()
Returns the builder for the settings used for calls to createFlow.
deleteFlowSettings()
public UnaryCallSettings.Builder<DeleteFlowRequest,Empty> deleteFlowSettings()
Returns the builder for the settings used for calls to deleteFlow.
exportFlowOperationSettings()
public OperationCallSettings.Builder<ExportFlowRequest,ExportFlowResponse,Struct> exportFlowOperationSettings()
Returns the builder for the settings used for calls to exportFlow.
exportFlowSettings()
public UnaryCallSettings.Builder<ExportFlowRequest,Operation> exportFlowSettings()
Returns the builder for the settings used for calls to exportFlow.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns |
Type |
Description |
String |
|
Overrides
getFlowSettings()
public UnaryCallSettings.Builder<GetFlowRequest,Flow> getFlowSettings()
Returns the builder for the settings used for calls to getFlow.
getFlowValidationResultSettings()
public UnaryCallSettings.Builder<GetFlowValidationResultRequest,FlowValidationResult> getFlowValidationResultSettings()
Returns the builder for the settings used for calls to getFlowValidationResult.
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.
importFlowSettings()
public UnaryCallSettings.Builder<ImportFlowRequest,Operation> importFlowSettings()
Returns the builder for the settings used for calls to importFlow.
listFlowsSettings()
public PagedCallSettings.Builder<ListFlowsRequest,ListFlowsResponse,FlowsClient.ListFlowsPagedResponse> listFlowsSettings()
Returns the builder for the settings used for calls to listFlows.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,FlowsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
trainFlowOperationSettings()
public OperationCallSettings.Builder<TrainFlowRequest,Empty,Struct> trainFlowOperationSettings()
Returns the builder for the settings used for calls to trainFlow.
trainFlowSettings()
public UnaryCallSettings.Builder<TrainFlowRequest,Operation> trainFlowSettings()
Returns the builder for the settings used for calls to trainFlow.
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.
validateFlowSettings()
public UnaryCallSettings.Builder<ValidateFlowRequest,FlowValidationResult> validateFlowSettings()
Returns the builder for the settings used for calls to validateFlow.