Class RegionAutoscalersStubSettings.Builder (1.53.0)

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

Builder for RegionAutoscalersStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > RegionAutoscalersStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegionAutoscalersStubSettings settings)

protected Builder(RegionAutoscalersStubSettings settings)
Parameter
Name Description
settings RegionAutoscalersStubSettings

Methods

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

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

build()

public RegionAutoscalersStubSettings build()
Returns
Type Description
RegionAutoscalersStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

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>