Class WorkflowTemplateServiceSettings.Builder (4.42.0)

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
Name Description
clientContext ClientContext

Builder(WorkflowTemplateServiceSettings settings)

protected Builder(WorkflowTemplateServiceSettings settings)
Parameter
Name Description
settings WorkflowTemplateServiceSettings

Builder(WorkflowTemplateServiceStubSettings.Builder stubSettings)

protected Builder(WorkflowTemplateServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings WorkflowTemplateServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
WorkflowTemplateServiceSettings.Builder

build()

public WorkflowTemplateServiceSettings build()
Returns
Type Description
WorkflowTemplateServiceSettings
Overrides
Exceptions
Type Description
IOException

createWorkflowTemplateSettings()

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

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

Returns
Type Description
Builder<CreateWorkflowTemplateRequest,WorkflowTemplate>

deleteWorkflowTemplateSettings()

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

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

Returns
Type Description
Builder<DeleteWorkflowTemplateRequest,Empty>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getStubSettingsBuilder()

public WorkflowTemplateServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
WorkflowTemplateServiceStubSettings.Builder

getWorkflowTemplateSettings()

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

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

Returns
Type Description
Builder<GetWorkflowTemplateRequest,WorkflowTemplate>

instantiateInlineWorkflowTemplateOperationSettings()

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

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

Returns
Type Description
Builder<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata>

instantiateInlineWorkflowTemplateSettings()

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

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

Returns
Type Description
Builder<InstantiateInlineWorkflowTemplateRequest,Operation>

instantiateWorkflowTemplateOperationSettings()

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

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

Returns
Type Description
Builder<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata>

instantiateWorkflowTemplateSettings()

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

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

Returns
Type Description
Builder<InstantiateWorkflowTemplateRequest,Operation>

listWorkflowTemplatesSettings()

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

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

Returns
Type Description
Builder<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse,ListWorkflowTemplatesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateWorkflowTemplateSettings()

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

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

Returns
Type Description
Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate>