Interface UpdateConsumerOverrideRequestOrBuilder (2.48.0)

public interface UpdateConsumerOverrideRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForce()

public abstract boolean getForce()

Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.

bool force = 3;

Returns
Type Description
boolean

The force.

getForceOnly(int index)

public abstract QuotaSafetyCheck getForceOnly(int index)

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
QuotaSafetyCheck

The forceOnly at the given index.

getForceOnlyCount()

public abstract int getForceOnlyCount()

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Returns
Type Description
int

The count of forceOnly.

getForceOnlyList()

public abstract List<QuotaSafetyCheck> getForceOnlyList()

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Returns
Type Description
List<QuotaSafetyCheck>

A list containing the forceOnly.

getForceOnlyValue(int index)

public abstract int getForceOnlyValue(int index)

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of forceOnly at the given index.

getForceOnlyValueList()

public abstract List<Integer> getForceOnlyValueList()

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for forceOnly.

getName()

public abstract String getName()

The resource name of the override to update.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the override to update.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOverride()

public abstract QuotaOverride getOverride()

The new override. Only the override_value is updated; all other fields are ignored.

.google.api.serviceusage.v1beta1.QuotaOverride override = 2;

Returns
Type Description
QuotaOverride

The override.

getOverrideOrBuilder()

public abstract QuotaOverrideOrBuilder getOverrideOrBuilder()

The new override. Only the override_value is updated; all other fields are ignored.

.google.api.serviceusage.v1beta1.QuotaOverride override = 2;

Returns
Type Description
QuotaOverrideOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Update only the specified fields of the override. If unset, all fields will be updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Update only the specified fields of the override. If unset, all fields will be updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
Type Description
FieldMaskOrBuilder

hasOverride()

public abstract boolean hasOverride()

The new override. Only the override_value is updated; all other fields are ignored.

.google.api.serviceusage.v1beta1.QuotaOverride override = 2;

Returns
Type Description
boolean

Whether the override field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Update only the specified fields of the override. If unset, all fields will be updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
Type Description
boolean

Whether the updateMask field is set.