Class WorkflowTemplateServiceSettings.Builder (4.21.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
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>

getIamPolicySettings()

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

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

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

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>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate>