Class WorkflowsServiceV2BetaStubSettings.Builder (0.6.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
NameDescription
clientContextClientContext

Builder(WorkflowsServiceV2BetaStubSettings settings)

protected Builder(WorkflowsServiceV2BetaStubSettings settings)
Parameter
NameDescription
settingsWorkflowsServiceV2BetaStubSettings

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

build()

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

runPipelineOperationSettings()

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

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

Returns
TypeDescription
Builder<RunPipelineRequest,RunPipelineResponse,Metadata>

runPipelineSettings()

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

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

Returns
TypeDescription
Builder<RunPipelineRequest,Operation>

unaryMethodSettingsBuilders()

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