Class RegionAutoscalersStubSettings.Builder (1.42.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
NameDescription
clientContextClientContext

Builder(RegionAutoscalersStubSettings settings)

protected Builder(RegionAutoscalersStubSettings settings)
Parameter
NameDescription
settingsRegionAutoscalersStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
RegionAutoscalersStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>