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