Class RegionAutoscalersSettings.Builder (1.58.0)

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

Builder for RegionAutoscalersSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegionAutoscalersSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionAutoscalersSettings settings)

protected Builder(RegionAutoscalersSettings settings)
Parameter
Name Description
settings RegionAutoscalersSettings

Builder(RegionAutoscalersStubSettings.Builder stubSettings)

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

Methods

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

public RegionAutoscalersSettings.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
RegionAutoscalersSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteRegionAutoscalerRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteRegionAutoscalerRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetRegionAutoscalerRequest,Autoscaler> getSettings()

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

Returns
Type Description
Builder<GetRegionAutoscalerRequest,Autoscaler>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertRegionAutoscalerRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertRegionAutoscalerRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListRegionAutoscalersRequest,RegionAutoscalerList,RegionAutoscalersClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListRegionAutoscalersRequest,RegionAutoscalerList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchRegionAutoscalerRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchRegionAutoscalerRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchRegionAutoscalerRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchRegionAutoscalerRequest,Operation>

updateOperationSettings()

public OperationCallSettings.Builder<UpdateRegionAutoscalerRequest,Operation,Operation> updateOperationSettings()

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

Returns
Type Description
Builder<UpdateRegionAutoscalerRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateRegionAutoscalerRequest,Operation> updateSettings()

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

Returns
Type Description
Builder<UpdateRegionAutoscalerRequest,Operation>