Class WorkflowsSettings.Builder (2.39.0)

public static class WorkflowsSettings.Builder extends ClientSettings.Builder<WorkflowsSettings,WorkflowsSettings.Builder>

Builder for WorkflowsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > WorkflowsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(WorkflowsSettings settings)

protected Builder(WorkflowsSettings settings)
Parameter
NameDescription
settingsWorkflowsSettings

Builder(WorkflowsStubSettings.Builder stubSettings)

protected Builder(WorkflowsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsWorkflowsStubSettings.Builder

Methods

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

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

build()

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

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>

getStubSettingsBuilder()

public WorkflowsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
WorkflowsStubSettings.Builder

getWorkflowSettings()

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

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

Returns
TypeDescription
Builder<GetWorkflowRequest,Workflow>

listLocationsSettings()

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

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>

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>