public static enum AggregationInfo.AggregationLevel extends Enum<AggregationInfo.AggregationLevel> implements com.google.protobuf.ProtocolMessageEnum
The level at which usage is aggregated to compute cost. Example: "ACCOUNT" aggregation level indicates that usage for tiered pricing is aggregated across all projects in a single account.Protobuf enum
google.cloud.billing.v1.AggregationInfo.AggregationLevel| Enum Constant and Description |
|---|
ACCOUNT
ACCOUNT = 1; |
AGGREGATION_LEVEL_UNSPECIFIED
AGGREGATION_LEVEL_UNSPECIFIED = 0; |
PROJECT
PROJECT = 2; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_VALUE
ACCOUNT = 1; |
static int |
AGGREGATION_LEVEL_UNSPECIFIED_VALUE
AGGREGATION_LEVEL_UNSPECIFIED = 0; |
static int |
PROJECT_VALUE
PROJECT = 2; |
| Modifier and Type | Method and Description |
|---|---|
static AggregationInfo.AggregationLevel |
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<AggregationInfo.AggregationLevel> |
internalGetValueMap() |
static AggregationInfo.AggregationLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AggregationInfo.AggregationLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AggregationInfo.AggregationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggregationInfo.AggregationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregationInfo.AggregationLevel AGGREGATION_LEVEL_UNSPECIFIED
AGGREGATION_LEVEL_UNSPECIFIED = 0;public static final AggregationInfo.AggregationLevel ACCOUNT
ACCOUNT = 1;public static final AggregationInfo.AggregationLevel PROJECT
PROJECT = 2;public static final AggregationInfo.AggregationLevel UNRECOGNIZED
public static final int AGGREGATION_LEVEL_UNSPECIFIED_VALUE
AGGREGATION_LEVEL_UNSPECIFIED = 0;public static final int ACCOUNT_VALUE
ACCOUNT = 1;public static final int PROJECT_VALUE
PROJECT = 2;public static AggregationInfo.AggregationLevel[] values()
for (AggregationInfo.AggregationLevel c : AggregationInfo.AggregationLevel.values()) System.out.println(c);
public static AggregationInfo.AggregationLevel 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 AggregationInfo.AggregationLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AggregationInfo.AggregationLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AggregationInfo.AggregationLevel> 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 AggregationInfo.AggregationLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.