Class AutoscalersSettings.Builder (1.14.0)

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

Builder for AutoscalersSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AutoscalersSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AutoscalersSettings settings)

protected Builder(AutoscalersSettings settings)
Parameter
NameDescription
settingsAutoscalersSettings

Builder(AutoscalersStubSettings.Builder stubSettings)

protected Builder(AutoscalersStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAutoscalersStubSettings.Builder

Methods

aggregatedListSettings()

public PagedCallSettings.Builder<AggregatedListAutoscalersRequest,AutoscalerAggregatedList,AutoscalersClient.AggregatedListPagedResponse> aggregatedListSettings()

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

Returns

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

public AutoscalersSettings.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

build()

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

deleteOperationSettings()

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

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

Returns

deleteSettings()

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

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

Returns

getSettings()

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

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

Returns

getStubSettingsBuilder()

public AutoscalersStubSettings.Builder getStubSettingsBuilder()
Returns

insertOperationSettings()

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

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

Returns

insertSettings()

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

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

Returns

listSettings()

public PagedCallSettings.Builder<ListAutoscalersRequest,AutoscalerList,AutoscalersClient.ListPagedResponse> listSettings()

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

Returns

patchOperationSettings()

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

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

Returns

patchSettings()

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

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

Returns

updateOperationSettings()

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

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

Returns

updateSettings()

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

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

Returns