Class DeleteAdminOverrideRequest.Builder

public static final class DeleteAdminOverrideRequest.Builder extends GeneratedMessageV3.Builder<DeleteAdminOverrideRequest.Builder> implements DeleteAdminOverrideRequestOrBuilder

Request message for DeleteAdminOverride.

Protobuf type google.api.serviceusage.v1beta1.DeleteAdminOverrideRequest

Methods

addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)

public DeleteAdminOverrideRequest.Builder addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)

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 = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.api.serviceusage.v1beta1.QuotaSafetyCheck>

The forceOnly to add.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

addAllForceOnlyValue(Iterable<Integer> values)

public DeleteAdminOverrideRequest.Builder addAllForceOnlyValue(Iterable<Integer> values)

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 = 3;

Parameter
NameDescription
valuesIterable<Integer>

The enum numeric values on the wire for forceOnly to add.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

addForceOnly(QuotaSafetyCheck value)

public DeleteAdminOverrideRequest.Builder addForceOnly(QuotaSafetyCheck value)

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 = 3;

Parameter
NameDescription
valueQuotaSafetyCheck

The forceOnly to add.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

addForceOnlyValue(int value)

public DeleteAdminOverrideRequest.Builder addForceOnlyValue(int value)

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 = 3;

Parameter
NameDescription
valueint

The enum numeric value on the wire for forceOnly to add.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteAdminOverrideRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

build()

public DeleteAdminOverrideRequest build()
Returns
TypeDescription
DeleteAdminOverrideRequest

buildPartial()

public DeleteAdminOverrideRequest buildPartial()
Returns
TypeDescription
DeleteAdminOverrideRequest

clear()

public DeleteAdminOverrideRequest.Builder clear()
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteAdminOverrideRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

clearForce()

public DeleteAdminOverrideRequest.Builder clearForce()

Whether to force the deletion 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 = 2;

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

clearForceOnly()

public DeleteAdminOverrideRequest.Builder clearForceOnly()

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 = 3;

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

clearName()

public DeleteAdminOverrideRequest.Builder clearName()

The resource name of the override to delete. An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d

string name = 1;

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteAdminOverrideRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

clone()

public DeleteAdminOverrideRequest.Builder clone()
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteAdminOverrideRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteAdminOverrideRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForce()

public boolean getForce()

Whether to force the deletion 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 = 2;

Returns
TypeDescription
boolean

The force.

getForceOnly(int index)

public 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 = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
QuotaSafetyCheck

The forceOnly at the given index.

getForceOnlyCount()

public 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 = 3;

Returns
TypeDescription
int

The count of forceOnly.

getForceOnlyList()

public 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 = 3;

Returns
TypeDescription
List<QuotaSafetyCheck>

A list containing the forceOnly.

getForceOnlyValue(int index)

public 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 = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

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

getForceOnlyValueList()

public 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 = 3;

Returns
TypeDescription
List<Integer>

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

getName()

public String getName()

The resource name of the override to delete. An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the override to delete. An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteAdminOverrideRequest other)

public DeleteAdminOverrideRequest.Builder mergeFrom(DeleteAdminOverrideRequest other)
Parameter
NameDescription
otherDeleteAdminOverrideRequest
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteAdminOverrideRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteAdminOverrideRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteAdminOverrideRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteAdminOverrideRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

setForce(boolean value)

public DeleteAdminOverrideRequest.Builder setForce(boolean value)

Whether to force the deletion 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 = 2;

Parameter
NameDescription
valueboolean

The force to set.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

setForceOnly(int index, QuotaSafetyCheck value)

public DeleteAdminOverrideRequest.Builder setForceOnly(int index, QuotaSafetyCheck value)

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 = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueQuotaSafetyCheck

The forceOnly to set.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

setForceOnlyValue(int index, int value)

public DeleteAdminOverrideRequest.Builder setForceOnlyValue(int index, int value)

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 = 3;

Parameters
NameDescription
indexint

The index of the value to return.

valueint
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

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

setName(String value)

public DeleteAdminOverrideRequest.Builder setName(String value)

The resource name of the override to delete. An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteAdminOverrideRequest.Builder setNameBytes(ByteString value)

The resource name of the override to delete. An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteAdminOverrideRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteAdminOverrideRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteAdminOverrideRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteAdminOverrideRequest.Builder
Overrides