public static class WorkflowTemplateServiceStubSettings.Builder extends StubSettings.Builder<WorkflowTemplateServiceStubSettings,WorkflowTemplateServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(WorkflowTemplateServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
WorkflowTemplateServiceStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
WorkflowTemplateServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(WorkflowTemplateServiceStubSettings settings)
public WorkflowTemplateServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code 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 use by generated code 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 WorkflowTemplateServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<WorkflowTemplateServiceStubSettings,WorkflowTemplateServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.