public static class AutoscalersStubSettings.Builder extends StubSettings.Builder<AutoscalersStubSettings,AutoscalersStubSettings.Builder>
Builder for AutoscalersStubSettings.
Constructors
protected Builder(ClientContext clientContext)
protected Builder(AutoscalersStubSettings settings)
Methods
public PagedCallSettings.Builder<AggregatedListAutoscalersRequest,AutoscalerAggregatedList,AutoscalersClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
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.
public AutoscalersStubSettings build()
Overrides
public OperationCallSettings.Builder<DeleteAutoscalerRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
public UnaryCallSettings.Builder<DeleteAutoscalerRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
public UnaryCallSettings.Builder<GetAutoscalerRequest,Autoscaler> getSettings()
Returns the builder for the settings used for calls to get.
public OperationCallSettings.Builder<InsertAutoscalerRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
public UnaryCallSettings.Builder<InsertAutoscalerRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
public PagedCallSettings.Builder<ListAutoscalersRequest,AutoscalerList,AutoscalersClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
public OperationCallSettings.Builder<PatchAutoscalerRequest,Operation,Operation> patchOperationSettings()
Returns the builder for the settings used for calls to patch.
public UnaryCallSettings.Builder<PatchAutoscalerRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
public OperationCallSettings.Builder<UpdateAutoscalerRequest,Operation,Operation> updateOperationSettings()
Returns the builder for the settings used for calls to update.
public UnaryCallSettings.Builder<UpdateAutoscalerRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.