Class RegionAutoscalersSettings.Builder (1.13.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
NameDescription
clientContextClientContext

Builder(RegionAutoscalersSettings settings)

protected Builder(RegionAutoscalersSettings settings)
Parameter
NameDescription
settingsRegionAutoscalersSettings

Builder(RegionAutoscalersStubSettings.Builder stubSettings)

protected Builder(RegionAutoscalersStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsRegionAutoscalersStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RegionAutoscalersSettings.Builder

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionAutoscalerRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteRegionAutoscalerRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetRegionAutoscalerRequest,Autoscaler>

getStubSettingsBuilder()

public RegionAutoscalersStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
RegionAutoscalersStubSettings.Builder

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionAutoscalerRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertRegionAutoscalerRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListRegionAutoscalersRequest,RegionAutoscalerList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionAutoscalerRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchRegionAutoscalerRequest,Operation>

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateRegionAutoscalerRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateRegionAutoscalerRequest,Operation>