Class WorkflowsStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<WorkflowsStubSettings,WorkflowsStubSettings.Builder>
com.google.cloud.workflows.v1beta.stub.WorkflowsStubSettings.Builder
- Enclosing class:
- WorkflowsStubSettings
public static class WorkflowsStubSettings.Builder
extends StubSettings.Builder<WorkflowsStubSettings,WorkflowsStubSettings.Builder>
Builder for WorkflowsStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(WorkflowsStubSettings 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 createWorkflow.Returns the builder for the settings used for calls to createWorkflow.OperationCallSettings.Builder<DeleteWorkflowRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteWorkflow.Returns the builder for the settings used for calls to deleteWorkflow.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getWorkflow.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, WorkflowsClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListWorkflowsRequest,ListWorkflowsResponse, WorkflowsClient.ListWorkflowsPagedResponse> Returns the builder for the settings used for calls to listWorkflows.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateWorkflow.Returns the builder for the settings used for calls to updateWorkflow.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public WorkflowsStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listWorkflowsSettings
public PagedCallSettings.Builder<ListWorkflowsRequest,ListWorkflowsResponse, listWorkflowsSettings()WorkflowsClient.ListWorkflowsPagedResponse> Returns the builder for the settings used for calls to listWorkflows. -
getWorkflowSettings
Returns the builder for the settings used for calls to getWorkflow. -
createWorkflowSettings
Returns the builder for the settings used for calls to createWorkflow. -
createWorkflowOperationSettings
public OperationCallSettings.Builder<CreateWorkflowRequest,Workflow, createWorkflowOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createWorkflow. -
deleteWorkflowSettings
Returns the builder for the settings used for calls to deleteWorkflow. -
deleteWorkflowOperationSettings
public OperationCallSettings.Builder<DeleteWorkflowRequest,com.google.protobuf.Empty, deleteWorkflowOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteWorkflow. -
updateWorkflowSettings
Returns the builder for the settings used for calls to updateWorkflow. -
updateWorkflowOperationSettings
public OperationCallSettings.Builder<UpdateWorkflowRequest,Workflow, updateWorkflowOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateWorkflow. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()WorkflowsClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<WorkflowsStubSettings,WorkflowsStubSettings.Builder> - Throws:
IOException
-