Package com.google.cloud.workflows.v1
Class WorkflowsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<WorkflowsSettings,WorkflowsSettings.Builder>
-
- com.google.cloud.workflows.v1.WorkflowsSettings.Builder
-
- Enclosing class:
- WorkflowsSettings
public static class WorkflowsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<WorkflowsSettings,WorkflowsSettings.Builder>
Builder for WorkflowsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(WorkflowsStubSettings.Builder stubSettings)
protected
Builder(WorkflowsSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowsSettings.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.WorkflowsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateWorkflowRequest,Workflow,OperationMetadata>
createWorkflowOperationSettings()
Returns the builder for the settings used for calls to createWorkflow.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateWorkflowRequest,com.google.longrunning.Operation>
createWorkflowSettings()
Returns the builder for the settings used for calls to createWorkflow.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteWorkflowRequest,com.google.protobuf.Empty,OperationMetadata>
deleteWorkflowOperationSettings()
Returns the builder for the settings used for calls to deleteWorkflow.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteWorkflowRequest,com.google.longrunning.Operation>
deleteWorkflowSettings()
Returns the builder for the settings used for calls to deleteWorkflow.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.WorkflowsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetWorkflowRequest,Workflow>
getWorkflowSettings()
Returns the builder for the settings used for calls to getWorkflow.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,WorkflowsClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListWorkflowsRequest,ListWorkflowsResponse,WorkflowsClient.ListWorkflowsPagedResponse>
listWorkflowsSettings()
Returns the builder for the settings used for calls to listWorkflows.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateWorkflowRequest,Workflow,OperationMetadata>
updateWorkflowOperationSettings()
Returns the builder for the settings used for calls to updateWorkflow.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateWorkflowRequest,com.google.longrunning.Operation>
updateWorkflowSettings()
Returns the builder for the settings used for calls to updateWorkflow.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(WorkflowsSettings settings)
-
Builder
protected Builder(WorkflowsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public WorkflowsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public WorkflowsSettings.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.
-
listWorkflowsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListWorkflowsRequest,ListWorkflowsResponse,WorkflowsClient.ListWorkflowsPagedResponse> listWorkflowsSettings()
Returns the builder for the settings used for calls to listWorkflows.
-
getWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetWorkflowRequest,Workflow> getWorkflowSettings()
Returns the builder for the settings used for calls to getWorkflow.
-
createWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateWorkflowRequest,com.google.longrunning.Operation> createWorkflowSettings()
Returns the builder for the settings used for calls to createWorkflow.
-
createWorkflowOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateWorkflowRequest,Workflow,OperationMetadata> createWorkflowOperationSettings()
Returns the builder for the settings used for calls to createWorkflow.
-
deleteWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteWorkflowRequest,com.google.longrunning.Operation> deleteWorkflowSettings()
Returns the builder for the settings used for calls to deleteWorkflow.
-
deleteWorkflowOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteWorkflowRequest,com.google.protobuf.Empty,OperationMetadata> deleteWorkflowOperationSettings()
Returns the builder for the settings used for calls to deleteWorkflow.
-
updateWorkflowSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateWorkflowRequest,com.google.longrunning.Operation> updateWorkflowSettings()
Returns the builder for the settings used for calls to updateWorkflow.
-
updateWorkflowOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateWorkflowRequest,Workflow,OperationMetadata> updateWorkflowOperationSettings()
Returns the builder for the settings used for calls to updateWorkflow.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,WorkflowsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public WorkflowsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<WorkflowsSettings,WorkflowsSettings.Builder>
- Throws:
IOException
-
-