Class WorkflowsServiceV2BetaStubSettings.Builder (0.43.0)

public static class WorkflowsServiceV2BetaStubSettings.Builder extends StubSettings.Builder<WorkflowsServiceV2BetaStubSettings,WorkflowsServiceV2BetaStubSettings.Builder>

Builder for WorkflowsServiceV2BetaStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > WorkflowsServiceV2BetaStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(WorkflowsServiceV2BetaStubSettings settings)

protected Builder(WorkflowsServiceV2BetaStubSettings settings)
Parameter
NameDescription
settingsWorkflowsServiceV2BetaStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public WorkflowsServiceV2BetaStubSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
WorkflowsServiceV2BetaStubSettings.Builder

build()

public WorkflowsServiceV2BetaStubSettings build()
Returns
TypeDescription
WorkflowsServiceV2BetaStubSettings
Overrides
Exceptions
TypeDescription
IOException

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,WorkflowsServiceV2BetaClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

runPipelineOperationSettings()

public OperationCallSettings.Builder<RunPipelineRequest,RunPipelineResponse,Metadata> runPipelineOperationSettings()

Returns the builder for the settings used for calls to runPipeline.

Returns
TypeDescription
Builder<RunPipelineRequest,RunPipelineResponse,Metadata>

runPipelineSettings()

public UnaryCallSettings.Builder<RunPipelineRequest,Operation> runPipelineSettings()

Returns the builder for the settings used for calls to runPipeline.

Returns
TypeDescription
Builder<RunPipelineRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>