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 com.google.api.gax.rpc.StubSettings.Builder<WorkflowsStubSettings,WorkflowsStubSettings.Builder>
Builder for WorkflowsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(WorkflowsStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowsStubSettings.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.WorkflowsStubSettings
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<GetWorkflowRequest,Workflow>
getWorkflowSettings()
Returns the builder for the settings used for calls to getWorkflow.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.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(WorkflowsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public WorkflowsStubSettings.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()
-
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
@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<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
@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<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
@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<UpdateWorkflowRequest,Workflow,OperationMetadata> updateWorkflowOperationSettings()
Returns the builder for the settings used for calls to updateWorkflow.
-
build
public WorkflowsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<WorkflowsStubSettings,WorkflowsStubSettings.Builder>
- Throws:
IOException
-
-