Class WorkflowsServiceV2BetaStubSettings.Builder (0.43.0)

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

Builder for WorkflowsServiceV2BetaStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > WorkflowsServiceV2BetaStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WorkflowsServiceV2BetaStubSettings settings)

protected Builder(WorkflowsServiceV2BetaStubSettings settings)
Parameter
Name Description
settings WorkflowsServiceV2BetaStubSettings

Methods

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

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

build()

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

getEndpoint()

public String getEndpoint()

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

Returns
Type Description
String
Overrides

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>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,WorkflowsServiceV2BetaClient.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>

runPipelineOperationSettings()

public OperationCallSettings.Builder<RunPipelineRequest,RunPipelineResponse,Metadata> runPipelineOperationSettings()

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

Returns
Type Description
Builder<RunPipelineRequest,RunPipelineResponse,Metadata>

runPipelineSettings()

public UnaryCallSettings.Builder<RunPipelineRequest,Operation> runPipelineSettings()

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

Returns
Type Description
Builder<RunPipelineRequest,Operation>

unaryMethodSettingsBuilders()

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