public static enum Filter.CreditTypesTreatment extends Enum<Filter.CreditTypesTreatment> implements com.google.protobuf.ProtocolMessageEnum
Specifies how credits are applied when determining the spend for threshold calculations. Budgets track the total cost minus any applicable selected credits. [See the documentation for a list of credit types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).Protobuf enum
google.cloud.billing.budgets.v1beta1.Filter.CreditTypesTreatment| Enum Constant and Description |
|---|
CREDIT_TYPES_TREATMENT_UNSPECIFIED
CREDIT_TYPES_TREATMENT_UNSPECIFIED = 0; |
EXCLUDE_ALL_CREDITS
All types of credit are added to the net cost to determine the spend for
threshold calculations.
|
INCLUDE_ALL_CREDITS
All types of credit are subtracted from the gross cost to determine the
spend for threshold calculations.
|
INCLUDE_SPECIFIED_CREDITS
[Credit
types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type)
specified in the credit_types field are subtracted from the
gross cost to determine the spend for threshold calculations.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREDIT_TYPES_TREATMENT_UNSPECIFIED_VALUE
CREDIT_TYPES_TREATMENT_UNSPECIFIED = 0; |
static int |
EXCLUDE_ALL_CREDITS_VALUE
All types of credit are added to the net cost to determine the spend for
threshold calculations.
|
static int |
INCLUDE_ALL_CREDITS_VALUE
All types of credit are subtracted from the gross cost to determine the
spend for threshold calculations.
|
static int |
INCLUDE_SPECIFIED_CREDITS_VALUE
[Credit
types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type)
specified in the credit_types field are subtracted from the
gross cost to determine the spend for threshold calculations.
|
| Modifier and Type | Method and Description |
|---|---|
static Filter.CreditTypesTreatment |
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<Filter.CreditTypesTreatment> |
internalGetValueMap() |
static Filter.CreditTypesTreatment |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Filter.CreditTypesTreatment |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Filter.CreditTypesTreatment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Filter.CreditTypesTreatment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Filter.CreditTypesTreatment CREDIT_TYPES_TREATMENT_UNSPECIFIED
CREDIT_TYPES_TREATMENT_UNSPECIFIED = 0;public static final Filter.CreditTypesTreatment INCLUDE_ALL_CREDITS
All types of credit are subtracted from the gross cost to determine the spend for threshold calculations.
INCLUDE_ALL_CREDITS = 1;public static final Filter.CreditTypesTreatment EXCLUDE_ALL_CREDITS
All types of credit are added to the net cost to determine the spend for threshold calculations.
EXCLUDE_ALL_CREDITS = 2;public static final Filter.CreditTypesTreatment INCLUDE_SPECIFIED_CREDITS
[Credit types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type) specified in the credit_types field are subtracted from the gross cost to determine the spend for threshold calculations.
INCLUDE_SPECIFIED_CREDITS = 3;public static final Filter.CreditTypesTreatment UNRECOGNIZED
public static final int CREDIT_TYPES_TREATMENT_UNSPECIFIED_VALUE
CREDIT_TYPES_TREATMENT_UNSPECIFIED = 0;public static final int INCLUDE_ALL_CREDITS_VALUE
All types of credit are subtracted from the gross cost to determine the spend for threshold calculations.
INCLUDE_ALL_CREDITS = 1;public static final int EXCLUDE_ALL_CREDITS_VALUE
All types of credit are added to the net cost to determine the spend for threshold calculations.
EXCLUDE_ALL_CREDITS = 2;public static final int INCLUDE_SPECIFIED_CREDITS_VALUE
[Credit types](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type) specified in the credit_types field are subtracted from the gross cost to determine the spend for threshold calculations.
INCLUDE_SPECIFIED_CREDITS = 3;public static Filter.CreditTypesTreatment[] values()
for (Filter.CreditTypesTreatment c : Filter.CreditTypesTreatment.values()) System.out.println(c);
public static Filter.CreditTypesTreatment 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 Filter.CreditTypesTreatment valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Filter.CreditTypesTreatment forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Filter.CreditTypesTreatment> 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 Filter.CreditTypesTreatment valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.