Package com.google.cloud.dataproc.v1
Class WorkflowTemplateServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<WorkflowTemplateServiceSettings,WorkflowTemplateServiceSettings.Builder>
com.google.cloud.dataproc.v1.WorkflowTemplateServiceSettings.Builder
- Enclosing class:
- WorkflowTemplateServiceSettings
public static class WorkflowTemplateServiceSettings.Builder
extends ClientSettings.Builder<WorkflowTemplateServiceSettings,WorkflowTemplateServiceSettings.Builder>
Builder for WorkflowTemplateServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(WorkflowTemplateServiceStubSettings.Builder stubSettings) protectedBuilder(WorkflowTemplateServiceSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createWorkflowTemplate.UnaryCallSettings.Builder<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteWorkflowTemplate.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getWorkflowTemplate.OperationCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty, WorkflowMetadata> Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.OperationCallSettings.Builder<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty, WorkflowMetadata> Returns the builder for the settings used for calls to instantiateWorkflowTemplate.Returns the builder for the settings used for calls to instantiateWorkflowTemplate.PagedCallSettings.Builder<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse, WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> Returns the builder for the settings used for calls to listWorkflowTemplates.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateWorkflowTemplate.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
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.
-
createWorkflowTemplateSettings
public UnaryCallSettings.Builder<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateSettings()Returns the builder for the settings used for calls to createWorkflowTemplate. -
getWorkflowTemplateSettings
public UnaryCallSettings.Builder<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateSettings()Returns the builder for the settings used for calls to getWorkflowTemplate. -
instantiateWorkflowTemplateSettings
public UnaryCallSettings.Builder<InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateSettings()Returns the builder for the settings used for calls to instantiateWorkflowTemplate. -
instantiateWorkflowTemplateOperationSettings
public OperationCallSettings.Builder<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty, instantiateWorkflowTemplateOperationSettings()WorkflowMetadata> Returns the builder for the settings used for calls to instantiateWorkflowTemplate. -
instantiateInlineWorkflowTemplateSettings
public UnaryCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateSettings()Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate. -
instantiateInlineWorkflowTemplateOperationSettings
public OperationCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty, instantiateInlineWorkflowTemplateOperationSettings()WorkflowMetadata> Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate. -
updateWorkflowTemplateSettings
public UnaryCallSettings.Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateSettings()Returns the builder for the settings used for calls to updateWorkflowTemplate. -
listWorkflowTemplatesSettings
public PagedCallSettings.Builder<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse, listWorkflowTemplatesSettings()WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> Returns the builder for the settings used for calls to listWorkflowTemplates. -
deleteWorkflowTemplateSettings
public UnaryCallSettings.Builder<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty> deleteWorkflowTemplateSettings()Returns the builder for the settings used for calls to deleteWorkflowTemplate. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<WorkflowTemplateServiceSettings,WorkflowTemplateServiceSettings.Builder> - Throws:
IOException
-