Class WorkflowTemplateServiceStubSettings.Builder (4.49.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
Name Description
clientContext ClientContext

Builder(WorkflowTemplateServiceStubSettings settings)

protected Builder(WorkflowTemplateServiceStubSettings settings)
Parameter
Name Description
settings WorkflowTemplateServiceStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
WorkflowTemplateServiceStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
Type Description
Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate>