publicfinalclass CreateAdminOverrideRequestextendsGeneratedMessageV3implementsCreateAdminOverrideRequestOrBuilder
Request message for CreateAdminOverride.
Protobuf type google.api.serviceusage.v1beta1.CreateAdminOverrideRequest
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 |
OVERRIDE_FIELD_NUMBER
publicstaticfinalintOVERRIDE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PARENT_FIELD_NUMBER
publicstaticfinalintPARENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticCreateAdminOverrideRequestgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticCreateAdminOverrideRequest.BuildernewBuilder()
newBuilder(CreateAdminOverrideRequest prototype)
publicstaticCreateAdminOverrideRequest.BuildernewBuilder(CreateAdminOverrideRequestprototype)
publicstaticCreateAdminOverrideRequestparseDelimitedFrom(InputStreaminput)
publicstaticCreateAdminOverrideRequestparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticCreateAdminOverrideRequestparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateAdminOverrideRequestparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticCreateAdminOverrideRequestparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateAdminOverrideRequestparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateAdminOverrideRequestparseFrom(CodedInputStreaminput)
publicstaticCreateAdminOverrideRequestparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticCreateAdminOverrideRequestparseFrom(InputStreaminput)
publicstaticCreateAdminOverrideRequestparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticCreateAdminOverrideRequestparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticCreateAdminOverrideRequestparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<CreateAdminOverrideRequest>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicCreateAdminOverrideRequestgetDefaultInstanceForType()
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)
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 = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
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 = 4;
| 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 = 4;
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 = 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()
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 = 4;
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for forceOnly.
|
getOverride()
publicQuotaOverridegetOverride()
The admin override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
getOverrideOrBuilder()
publicQuotaOverrideOrBuildergetOverrideOrBuilder()
The admin override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
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()
publicByteStringgetParentBytes()
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()
publicParser<CreateAdminOverrideRequest>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()
Overrides
hasOverride()
publicbooleanhasOverride()
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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicCreateAdminOverrideRequest.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedCreateAdminOverrideRequest.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicCreateAdminOverrideRequest.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides