Class WorkflowTemplateServiceSettings.Builder (3.1.2)

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

Builder for WorkflowTemplateServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > WorkflowTemplateServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(WorkflowTemplateServiceSettings settings)

protected Builder(WorkflowTemplateServiceSettings settings)
Parameter
NameDescription
settingsWorkflowTemplateServiceSettings

Builder(WorkflowTemplateServiceStubSettings.Builder stubSettings)

protected Builder(WorkflowTemplateServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsWorkflowTemplateServiceStubSettings.Builder

Methods

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

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

build()

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

createWorkflowTemplateSettings()

public UnaryCallSettings.Builder<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateSettings()

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

Returns
TypeDescription
Builder<CreateWorkflowTemplateRequest,WorkflowTemplate>

deleteWorkflowTemplateSettings()

public UnaryCallSettings.Builder<DeleteWorkflowTemplateRequest,Empty> deleteWorkflowTemplateSettings()

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

Returns
TypeDescription
Builder<DeleteWorkflowTemplateRequest,Empty>

getStubSettingsBuilder()

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

getWorkflowTemplateSettings()

public UnaryCallSettings.Builder<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateSettings()

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

Returns
TypeDescription
Builder<GetWorkflowTemplateRequest,WorkflowTemplate>

instantiateInlineWorkflowTemplateOperationSettings()

public OperationCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationSettings()

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

Returns
TypeDescription
Builder<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata>

instantiateInlineWorkflowTemplateSettings()

public UnaryCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateSettings()

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

Returns
TypeDescription
Builder<InstantiateInlineWorkflowTemplateRequest,Operation>

instantiateWorkflowTemplateOperationSettings()

public OperationCallSettings.Builder<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationSettings()

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

Returns
TypeDescription
Builder<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata>

instantiateWorkflowTemplateSettings()

public UnaryCallSettings.Builder<InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateSettings()

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

Returns
TypeDescription
Builder<InstantiateWorkflowTemplateRequest,Operation>

listWorkflowTemplatesSettings()

public PagedCallSettings.Builder<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesSettings()

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

Returns
TypeDescription
Builder<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse,ListWorkflowTemplatesPagedResponse>

updateWorkflowTemplateSettings()

public UnaryCallSettings.Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateSettings()

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

Returns
TypeDescription
Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate>