Class WorkflowTemplateServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<WorkflowTemplateServiceStubSettings,WorkflowTemplateServiceStubSettings.Builder>
-
- com.google.cloud.dataproc.v1.stub.WorkflowTemplateServiceStubSettings.Builder
-
- Enclosing class:
- WorkflowTemplateServiceStubSettings
public static class WorkflowTemplateServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<WorkflowTemplateServiceStubSettings,WorkflowTemplateServiceStubSettings.Builder>
Builder for WorkflowTemplateServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(WorkflowTemplateServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowTemplateServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.WorkflowTemplateServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateWorkflowTemplateRequest,WorkflowTemplate>
createWorkflowTemplateSettings()
Returns the builder for the settings used for calls to createWorkflowTemplate.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty>
deleteWorkflowTemplateSettings()
Returns the builder for the settings used for calls to deleteWorkflowTemplate.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetWorkflowTemplateRequest,WorkflowTemplate>
getWorkflowTemplateSettings()
Returns the builder for the settings used for calls to getWorkflowTemplate.com.google.api.gax.rpc.OperationCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata>
instantiateInlineWorkflowTemplateOperationSettings()
Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.com.google.api.gax.rpc.UnaryCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,com.google.longrunning.Operation>
instantiateInlineWorkflowTemplateSettings()
Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.com.google.api.gax.rpc.OperationCallSettings.Builder<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata>
instantiateWorkflowTemplateOperationSettings()
Returns the builder for the settings used for calls to instantiateWorkflowTemplate.com.google.api.gax.rpc.UnaryCallSettings.Builder<InstantiateWorkflowTemplateRequest,com.google.longrunning.Operation>
instantiateWorkflowTemplateSettings()
Returns the builder for the settings used for calls to instantiateWorkflowTemplate.com.google.api.gax.rpc.PagedCallSettings.Builder<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse>
listWorkflowTemplatesSettings()
Returns the builder for the settings used for calls to listWorkflowTemplates.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate>
updateWorkflowTemplateSettings()
Returns the builder for the settings used for calls to updateWorkflowTemplate.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(WorkflowTemplateServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public WorkflowTemplateServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createWorkflowTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateSettings()
Returns the builder for the settings used for calls to createWorkflowTemplate.
-
getWorkflowTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateSettings()
Returns the builder for the settings used for calls to getWorkflowTemplate.
-
instantiateWorkflowTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InstantiateWorkflowTemplateRequest,com.google.longrunning.Operation> instantiateWorkflowTemplateSettings()
Returns the builder for the settings used for calls to instantiateWorkflowTemplate.
-
instantiateWorkflowTemplateOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationSettings()
Returns the builder for the settings used for calls to instantiateWorkflowTemplate.
-
instantiateInlineWorkflowTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,com.google.longrunning.Operation> instantiateInlineWorkflowTemplateSettings()
Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.
-
instantiateInlineWorkflowTemplateOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationSettings()
Returns the builder for the settings used for calls to instantiateInlineWorkflowTemplate.
-
updateWorkflowTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateSettings()
Returns the builder for the settings used for calls to updateWorkflowTemplate.
-
listWorkflowTemplatesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesSettings()
Returns the builder for the settings used for calls to listWorkflowTemplates.
-
deleteWorkflowTemplateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty> deleteWorkflowTemplateSettings()
Returns the builder for the settings used for calls to deleteWorkflowTemplate.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public WorkflowTemplateServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<WorkflowTemplateServiceStubSettings,WorkflowTemplateServiceStubSettings.Builder>
- Throws:
IOException
-
-