public static class WorkflowsStubSettings.Builder extends StubSettings.Builder<WorkflowsStubSettings,WorkflowsStubSettings.Builder>
Builder for WorkflowsStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(WorkflowsStubSettings settings)
protected Builder(WorkflowsStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
build()
public WorkflowsStubSettings build()
Overrides
createWorkflowOperationSettings()
public OperationCallSettings.Builder<CreateWorkflowRequest,Workflow,OperationMetadata> createWorkflowOperationSettings()
Returns the builder for the settings used for calls to createWorkflow.
createWorkflowSettings()
public UnaryCallSettings.Builder<CreateWorkflowRequest,Operation> createWorkflowSettings()
Returns the builder for the settings used for calls to createWorkflow.
deleteWorkflowOperationSettings()
public OperationCallSettings.Builder<DeleteWorkflowRequest,Empty,OperationMetadata> deleteWorkflowOperationSettings()
Returns the builder for the settings used for calls to deleteWorkflow.
deleteWorkflowSettings()
public UnaryCallSettings.Builder<DeleteWorkflowRequest,Operation> deleteWorkflowSettings()
Returns the builder for the settings used for calls to deleteWorkflow.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
---|
Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
getWorkflowSettings()
public UnaryCallSettings.Builder<GetWorkflowRequest,Workflow> getWorkflowSettings()
Returns the builder for the settings used for calls to getWorkflow.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,WorkflowsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listWorkflowsSettings()
public PagedCallSettings.Builder<ListWorkflowsRequest,ListWorkflowsResponse,WorkflowsClient.ListWorkflowsPagedResponse> listWorkflowsSettings()
Returns the builder for the settings used for calls to listWorkflows.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
updateWorkflowOperationSettings()
public OperationCallSettings.Builder<UpdateWorkflowRequest,Workflow,OperationMetadata> updateWorkflowOperationSettings()
Returns the builder for the settings used for calls to updateWorkflow.
updateWorkflowSettings()
public UnaryCallSettings.Builder<UpdateWorkflowRequest,Operation> updateWorkflowSettings()
Returns the builder for the settings used for calls to updateWorkflow.