Class WorkflowsStubSettings.Builder (2.16.0)

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

Builder for WorkflowsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > WorkflowsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(WorkflowsStubSettings settings)

protected Builder(WorkflowsStubSettings settings)
Parameter
NameDescription
settingsWorkflowsStubSettings

Methods

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

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

build()

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

createWorkflowOperationSettings()

public OperationCallSettings.Builder<CreateWorkflowRequest,Workflow,OperationMetadata> createWorkflowOperationSettings()

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

Returns
TypeDescription
Builder<CreateWorkflowRequest,Workflow,OperationMetadata>

createWorkflowSettings()

public UnaryCallSettings.Builder<CreateWorkflowRequest,Operation> createWorkflowSettings()

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

Returns
TypeDescription
Builder<CreateWorkflowRequest,Operation>

deleteWorkflowOperationSettings()

public OperationCallSettings.Builder<DeleteWorkflowRequest,Empty,OperationMetadata> deleteWorkflowOperationSettings()

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

Returns
TypeDescription
Builder<DeleteWorkflowRequest,Empty,OperationMetadata>

deleteWorkflowSettings()

public UnaryCallSettings.Builder<DeleteWorkflowRequest,Operation> deleteWorkflowSettings()

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

Returns
TypeDescription
Builder<DeleteWorkflowRequest,Operation>

getWorkflowSettings()

public UnaryCallSettings.Builder<GetWorkflowRequest,Workflow> getWorkflowSettings()

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

Returns
TypeDescription
Builder<GetWorkflowRequest,Workflow>

listWorkflowsSettings()

public PagedCallSettings.Builder<ListWorkflowsRequest,ListWorkflowsResponse,WorkflowsClient.ListWorkflowsPagedResponse> listWorkflowsSettings()

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

Returns
TypeDescription
Builder<ListWorkflowsRequest,ListWorkflowsResponse,ListWorkflowsPagedResponse>

unaryMethodSettingsBuilders()

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

updateWorkflowOperationSettings()

public OperationCallSettings.Builder<UpdateWorkflowRequest,Workflow,OperationMetadata> updateWorkflowOperationSettings()

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

Returns
TypeDescription
Builder<UpdateWorkflowRequest,Workflow,OperationMetadata>

updateWorkflowSettings()

public UnaryCallSettings.Builder<UpdateWorkflowRequest,Operation> updateWorkflowSettings()

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

Returns
TypeDescription
Builder<UpdateWorkflowRequest,Operation>