public static class WorkflowTemplateServiceSettings.Builder extends ClientSettings.Builder<WorkflowTemplateServiceSettings,WorkflowTemplateServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(WorkflowTemplateServiceSettings settings) |
protected |
Builder(WorkflowTemplateServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
WorkflowTemplateServiceSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
WorkflowTemplateServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> |
createWorkflowTemplateSettings()
Returns the builder for the settings used for calls to createWorkflowTemplate.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest,Empty> |
deleteWorkflowTemplateSettings()
Returns the builder for the settings used for calls to deleteWorkflowTemplate.
|
WorkflowTemplateServiceStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> |
getWorkflowTemplateSettings()
Returns the builder for the settings used for calls to getWorkflowTemplate.
|
OperationCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> |
instantiateInlineWorkflowTemplateOperationSettings()
Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Operation> |
instantiateInlineWorkflowTemplateSettings()
Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.
|
OperationCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> |
instantiateWorkflowTemplateOperationSettings()
Returns the builder for the settings used for calls to instantiateWorkflowTemplate.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,Operation> |
instantiateWorkflowTemplateSettings()
Returns the builder for the settings used for calls to instantiateWorkflowTemplate.
|
PagedCallSettings.Builder<com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest,com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> |
listWorkflowTemplatesSettings()
Returns the builder for the settings used for calls to listWorkflowTemplates.
|
UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> |
updateWorkflowTemplateSettings()
Returns the builder for the settings used for calls to updateWorkflowTemplate.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(WorkflowTemplateServiceSettings settings)
protected Builder(WorkflowTemplateServiceStubSettings.Builder stubSettings)
public WorkflowTemplateServiceStubSettings.Builder getStubSettingsBuilder()
public WorkflowTemplateServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> createWorkflowTemplateSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> getWorkflowTemplateSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> instantiateWorkflowTemplateOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> instantiateInlineWorkflowTemplateOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> updateWorkflowTemplateSettings()
public PagedCallSettings.Builder<com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest,com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesSettings()
public UnaryCallSettings.Builder<com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest,Empty> deleteWorkflowTemplateSettings()
public WorkflowTemplateServiceSettings build() throws IOException
build
in class ClientSettings.Builder<WorkflowTemplateServiceSettings,WorkflowTemplateServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.