Class RolloutPlansSettings.Builder (1.105.0)

public static class RolloutPlansSettings.Builder extends ClientSettings.Builder<RolloutPlansSettings,RolloutPlansSettings.Builder>

Builder for RolloutPlansSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RolloutPlansSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(RolloutPlansSettings settings)

protected Builder(RolloutPlansSettings settings)
Parameter
Name Description
settings RolloutPlansSettings

Builder(RolloutPlansStubSettings.Builder stubSettings)

protected Builder(RolloutPlansStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RolloutPlansStubSettings.Builder

Methods

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

public RolloutPlansSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RolloutPlansSettings.Builder

build()

public RolloutPlansSettings build()
Returns
Type Description
RolloutPlansSettings
Overrides
Exceptions
Type Description
IOException

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteRolloutPlanRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteRolloutPlanRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteRolloutPlanRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteRolloutPlanRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetRolloutPlanRequest,RolloutPlan> getSettings()

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

Returns
Type Description
Builder<GetRolloutPlanRequest,RolloutPlan>

getStubSettingsBuilder()

public RolloutPlansStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RolloutPlansStubSettings.Builder

insertOperationSettings()

public OperationCallSettings.Builder<InsertRolloutPlanRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertRolloutPlanRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertRolloutPlanRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertRolloutPlanRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRolloutPlansRequest,RolloutPlansListResponse,RolloutPlansClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRolloutPlansRequest,RolloutPlansListResponse,ListPagedResponse>