public enum QuotaView extends Enum<QuotaView> implements com.google.protobuf.ProtocolMessageEnum
Selected view of quota. Can be used to request more detailed quota information when retrieving quota metrics and limits.Protobuf enum
google.api.serviceusage.v1beta1.QuotaView| Enum Constant and Description |
|---|
BASIC
Only buckets with overrides are shown in the response.
|
FULL
Include per-location buckets even if they do not have overrides.
|
QUOTA_VIEW_UNSPECIFIED
No quota view specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_VALUE
Only buckets with overrides are shown in the response.
|
static int |
FULL_VALUE
Include per-location buckets even if they do not have overrides.
|
static int |
QUOTA_VIEW_UNSPECIFIED_VALUE
No quota view specified.
|
| Modifier and Type | Method and Description |
|---|---|
static QuotaView |
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<QuotaView> |
internalGetValueMap() |
static QuotaView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QuotaView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static QuotaView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuotaView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuotaView QUOTA_VIEW_UNSPECIFIED
No quota view specified. Requests that do not specify a quota view will typically default to the BASIC view.
QUOTA_VIEW_UNSPECIFIED = 0;public static final QuotaView BASIC
Only buckets with overrides are shown in the response.
BASIC = 1;public static final QuotaView FULL
Include per-location buckets even if they do not have overrides. When the view is FULL, and a limit has regional or zonal quota, the limit will include buckets for all regions or zones that could support overrides, even if none are currently present. In some cases this will cause the response to become very large; callers that do not need this extra information should use the BASIC view instead.
FULL = 2;public static final QuotaView UNRECOGNIZED
public static final int QUOTA_VIEW_UNSPECIFIED_VALUE
No quota view specified. Requests that do not specify a quota view will typically default to the BASIC view.
QUOTA_VIEW_UNSPECIFIED = 0;public static final int BASIC_VALUE
Only buckets with overrides are shown in the response.
BASIC = 1;public static final int FULL_VALUE
Include per-location buckets even if they do not have overrides. When the view is FULL, and a limit has regional or zonal quota, the limit will include buckets for all regions or zones that could support overrides, even if none are currently present. In some cases this will cause the response to become very large; callers that do not need this extra information should use the BASIC view instead.
FULL = 2;public static QuotaView[] values()
for (QuotaView c : QuotaView.values()) System.out.println(c);
public static QuotaView 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 QuotaView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static QuotaView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<QuotaView> 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 QuotaView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.