Class UpdateAdminOverrideRequest (2.80.0)

publicfinalclass UpdateAdminOverrideRequestextendsGeneratedMessageV3implementsUpdateAdminOverrideRequestOrBuilder

Request message for UpdateAdminOverride.

Protobuf type google.api.serviceusage.v1beta1.UpdateAdminOverrideRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

FORCE_FIELD_NUMBER

publicstaticfinalintFORCE_FIELD_NUMBER
Field Value
Type Description
int

FORCE_ONLY_FIELD_NUMBER

publicstaticfinalintFORCE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

OVERRIDE_FIELD_NUMBER

publicstaticfinalintOVERRIDE_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

publicstaticfinalintUPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticUpdateAdminOverrideRequestgetDefaultInstance()
Returns
Type Description
UpdateAdminOverrideRequest

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticUpdateAdminOverrideRequest.BuildernewBuilder()
Returns
Type Description
UpdateAdminOverrideRequest.Builder

newBuilder(UpdateAdminOverrideRequest prototype)

publicstaticUpdateAdminOverrideRequest.BuildernewBuilder(UpdateAdminOverrideRequestprototype)
Parameter
Name Description
prototype UpdateAdminOverrideRequest
Returns
Type Description
UpdateAdminOverrideRequest.Builder

parseDelimitedFrom(InputStream input)

publicstaticUpdateAdminOverrideRequestparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateAdminOverrideRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticUpdateAdminOverrideRequestparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateAdminOverrideRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticUpdateAdminOverrideRequestparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateAdminOverrideRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticUpdateAdminOverrideRequestparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateAdminOverrideRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticUpdateAdminOverrideRequestparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateAdminOverrideRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticUpdateAdminOverrideRequestparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticUpdateAdminOverrideRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAdminOverrideRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<UpdateAdminOverrideRequest>parser()
Returns
Type Description
Parser<UpdateAdminOverrideRequest>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicUpdateAdminOverrideRequestgetDefaultInstanceForType()
Returns
Type Description
UpdateAdminOverrideRequest

getForce()

publicbooleangetForce()

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)

publicQuotaSafetyCheckgetForceOnly(intindex)

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()

publicintgetForceOnlyCount()

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()

publicList<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)

publicintgetForceOnlyValue(intindex)

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()

publicList<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()

publicStringgetName()

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/adminOverrides/4a3f2c1d

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

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/adminOverrides/4a3f2c1d

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOverride()

publicQuotaOverridegetOverride()

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()

publicQuotaOverrideOrBuildergetOverrideOrBuilder()

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

getParserForType()

publicParser<UpdateAdminOverrideRequest>getParserForType()
Returns
Type Description
Parser<UpdateAdminOverrideRequest>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

publicFieldMaskgetUpdateMask()

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()

publicFieldMaskOrBuildergetUpdateMaskOrBuilder()

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()

publicbooleanhasOverride()

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()

publicbooleanhasUpdateMask()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicUpdateAdminOverrideRequest.BuildernewBuilderForType()
Returns
Type Description
UpdateAdminOverrideRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedUpdateAdminOverrideRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateAdminOverrideRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicUpdateAdminOverrideRequest.BuildertoBuilder()
Returns
Type Description
UpdateAdminOverrideRequest.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.