public static enum QuotaConfig.Origin extends Enum<QuotaConfig.Origin> implements com.google.protobuf.ProtocolMessageEnum
The enumeration of the origins of quota preference requests.Protobuf enum
google.api.cloudquotas.v1beta.QuotaConfig.Origin| Enum Constant and Description |
|---|
AUTO_ADJUSTER
Generated by automatic quota adjustment.
|
CLOUD_CONSOLE
Created through Cloud Console.
|
ORIGIN_UNSPECIFIED
The unspecified value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_ADJUSTER_VALUE
Generated by automatic quota adjustment.
|
static int |
CLOUD_CONSOLE_VALUE
Created through Cloud Console.
|
static int |
ORIGIN_UNSPECIFIED_VALUE
The unspecified value.
|
| Modifier and Type | Method and Description |
|---|---|
static QuotaConfig.Origin |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<QuotaConfig.Origin> |
internalGetValueMap() |
static QuotaConfig.Origin |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QuotaConfig.Origin |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static QuotaConfig.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuotaConfig.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuotaConfig.Origin ORIGIN_UNSPECIFIED
The unspecified value.
ORIGIN_UNSPECIFIED = 0;public static final QuotaConfig.Origin CLOUD_CONSOLE
Created through Cloud Console.
CLOUD_CONSOLE = 1;public static final QuotaConfig.Origin AUTO_ADJUSTER
Generated by automatic quota adjustment.
AUTO_ADJUSTER = 2;public static final QuotaConfig.Origin UNRECOGNIZED
public static final int ORIGIN_UNSPECIFIED_VALUE
The unspecified value.
ORIGIN_UNSPECIFIED = 0;public static final int CLOUD_CONSOLE_VALUE
Created through Cloud Console.
CLOUD_CONSOLE = 1;public static final int AUTO_ADJUSTER_VALUE
Generated by automatic quota adjustment.
AUTO_ADJUSTER = 2;public static QuotaConfig.Origin[] values()
for (QuotaConfig.Origin c : QuotaConfig.Origin.values()) System.out.println(c);
public static QuotaConfig.Origin valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static QuotaConfig.Origin valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static QuotaConfig.Origin forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<QuotaConfig.Origin> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static QuotaConfig.Origin valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.