Send feedback
Class CreateAdminOverrideRequest (2.53.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.53.0 keyboard_arrow_down
public final class CreateAdminOverrideRequest extends GeneratedMessageV3 implements CreateAdminOverrideRequestOrBuilder
Request message for CreateAdminOverride.
Protobuf type google.api.serviceusage.v1beta1.CreateAdminOverrideRequest
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
public static final int FORCE_FIELD_NUMBER
Field Value
Type
Description
int
FORCE_ONLY_FIELD_NUMBER
public static final int FORCE_ONLY_FIELD_NUMBER
Field Value
Type
Description
int
OVERRIDE_FIELD_NUMBER
public static final int OVERRIDE_FIELD_NUMBER
Field Value
Type
Description
int
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static CreateAdminOverrideRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CreateAdminOverrideRequest . Builder newBuilder ()
newBuilder(CreateAdminOverrideRequest prototype)
public static CreateAdminOverrideRequest . Builder newBuilder ( CreateAdminOverrideRequest prototype )
public static CreateAdminOverrideRequest parseDelimitedFrom ( InputStream input )
public static CreateAdminOverrideRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static CreateAdminOverrideRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateAdminOverrideRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static CreateAdminOverrideRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateAdminOverrideRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CreateAdminOverrideRequest parseFrom ( CodedInputStream input )
public static CreateAdminOverrideRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CreateAdminOverrideRequest parseFrom ( InputStream input )
public static CreateAdminOverrideRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static CreateAdminOverrideRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateAdminOverrideRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<CreateAdminOverrideRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public CreateAdminOverrideRequest getDefaultInstanceForType ()
getForce()
public boolean getForce ()
Whether to force the creation 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 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 = 4;
Parameter
Name
Description
index
int
The index of the element to return.
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 = 4;
Returns
Type
Description
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 = 4;
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 = 4;
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 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 = 4;
Returns
Type
Description
List <Integer >
A list containing the enum numeric values on the wire for forceOnly.
getOverride()
public QuotaOverride getOverride ()
The admin override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
getOverrideOrBuilder()
public QuotaOverrideOrBuilder getOverrideOrBuilder ()
The admin override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
getParent()
public String getParent ()
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
string parent = 1;
Returns
Type
Description
String
The parent.
getParentBytes()
public ByteString getParentBytes ()
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
An example name would be:
projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion
string parent = 1;
Returns
Type
Description
ByteString
The bytes for parent.
getParserForType()
public Parser<CreateAdminOverrideRequest> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasOverride()
public boolean hasOverride ()
The admin override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
Returns
Type
Description
boolean
Whether the override field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public CreateAdminOverrideRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateAdminOverrideRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public CreateAdminOverrideRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]