Class WorkflowTemplateServiceStubSettings.Builder (4.15.0)

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

Builder for WorkflowTemplateServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > WorkflowTemplateServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(WorkflowTemplateServiceStubSettings settings)

protected Builder(WorkflowTemplateServiceStubSettings settings)
Parameter
NameDescription
settingsWorkflowTemplateServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

updateWorkflowTemplateSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate>