Class AutoscalersStubSettings.Builder (1.49.0)

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

Builder for AutoscalersStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AutoscalersStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AutoscalersStubSettings settings)

protected Builder(AutoscalersStubSettings settings)
Parameter
NameDescription
settingsAutoscalersStubSettings

Methods

aggregatedListSettings()

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

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

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

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

build()

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

deleteOperationSettings()

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

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

deleteSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSettings()

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

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

Returns
TypeDescription
Builder<GetAutoscalerRequest,Autoscaler>

insertOperationSettings()

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

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

insertSettings()

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

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

listSettings()

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

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

patchOperationSettings()

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

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

patchSettings()

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

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

unaryMethodSettingsBuilders()

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

updateOperationSettings()

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

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

updateSettings()

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

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