public static enum VmwareEnginePreferences.CommitmentPlan extends Enum<VmwareEnginePreferences.CommitmentPlan> implements com.google.protobuf.ProtocolMessageEnum
Type of committed use discount.Protobuf enum
google.cloud.migrationcenter.v1.VmwareEnginePreferences.CommitmentPlan| Enum Constant and Description |
|---|
COMMITMENT_1_YEAR_MONTHLY_PAYMENTS
1 year commitment (monthly payments).
|
COMMITMENT_1_YEAR_UPFRONT_PAYMENT
1 year commitment (upfront payment).
|
COMMITMENT_3_YEAR_MONTHLY_PAYMENTS
3 year commitment (monthly payments).
|
COMMITMENT_3_YEAR_UPFRONT_PAYMENT
3 years commitment (upfront payment).
|
COMMITMENT_PLAN_UNSPECIFIED
Unspecified commitment plan.
|
ON_DEMAND
No commitment plan (on-demand usage).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMMITMENT_1_YEAR_MONTHLY_PAYMENTS_VALUE
1 year commitment (monthly payments).
|
static int |
COMMITMENT_1_YEAR_UPFRONT_PAYMENT_VALUE
1 year commitment (upfront payment).
|
static int |
COMMITMENT_3_YEAR_MONTHLY_PAYMENTS_VALUE
3 year commitment (monthly payments).
|
static int |
COMMITMENT_3_YEAR_UPFRONT_PAYMENT_VALUE
3 years commitment (upfront payment).
|
static int |
COMMITMENT_PLAN_UNSPECIFIED_VALUE
Unspecified commitment plan.
|
static int |
ON_DEMAND_VALUE
No commitment plan (on-demand usage).
|
| Modifier and Type | Method and Description |
|---|---|
static VmwareEnginePreferences.CommitmentPlan |
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<VmwareEnginePreferences.CommitmentPlan> |
internalGetValueMap() |
static VmwareEnginePreferences.CommitmentPlan |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VmwareEnginePreferences.CommitmentPlan |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VmwareEnginePreferences.CommitmentPlan |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VmwareEnginePreferences.CommitmentPlan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VmwareEnginePreferences.CommitmentPlan COMMITMENT_PLAN_UNSPECIFIED
Unspecified commitment plan.
COMMITMENT_PLAN_UNSPECIFIED = 0;public static final VmwareEnginePreferences.CommitmentPlan ON_DEMAND
No commitment plan (on-demand usage).
ON_DEMAND = 1;public static final VmwareEnginePreferences.CommitmentPlan COMMITMENT_1_YEAR_MONTHLY_PAYMENTS
1 year commitment (monthly payments).
COMMITMENT_1_YEAR_MONTHLY_PAYMENTS = 2;public static final VmwareEnginePreferences.CommitmentPlan COMMITMENT_3_YEAR_MONTHLY_PAYMENTS
3 year commitment (monthly payments).
COMMITMENT_3_YEAR_MONTHLY_PAYMENTS = 3;public static final VmwareEnginePreferences.CommitmentPlan COMMITMENT_1_YEAR_UPFRONT_PAYMENT
1 year commitment (upfront payment).
COMMITMENT_1_YEAR_UPFRONT_PAYMENT = 4;public static final VmwareEnginePreferences.CommitmentPlan COMMITMENT_3_YEAR_UPFRONT_PAYMENT
3 years commitment (upfront payment).
COMMITMENT_3_YEAR_UPFRONT_PAYMENT = 5;public static final VmwareEnginePreferences.CommitmentPlan UNRECOGNIZED
public static final int COMMITMENT_PLAN_UNSPECIFIED_VALUE
Unspecified commitment plan.
COMMITMENT_PLAN_UNSPECIFIED = 0;public static final int ON_DEMAND_VALUE
No commitment plan (on-demand usage).
ON_DEMAND = 1;public static final int COMMITMENT_1_YEAR_MONTHLY_PAYMENTS_VALUE
1 year commitment (monthly payments).
COMMITMENT_1_YEAR_MONTHLY_PAYMENTS = 2;public static final int COMMITMENT_3_YEAR_MONTHLY_PAYMENTS_VALUE
3 year commitment (monthly payments).
COMMITMENT_3_YEAR_MONTHLY_PAYMENTS = 3;public static final int COMMITMENT_1_YEAR_UPFRONT_PAYMENT_VALUE
1 year commitment (upfront payment).
COMMITMENT_1_YEAR_UPFRONT_PAYMENT = 4;public static final int COMMITMENT_3_YEAR_UPFRONT_PAYMENT_VALUE
3 years commitment (upfront payment).
COMMITMENT_3_YEAR_UPFRONT_PAYMENT = 5;public static VmwareEnginePreferences.CommitmentPlan[] values()
for (VmwareEnginePreferences.CommitmentPlan c : VmwareEnginePreferences.CommitmentPlan.values()) System.out.println(c);
public static VmwareEnginePreferences.CommitmentPlan 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 VmwareEnginePreferences.CommitmentPlan valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static VmwareEnginePreferences.CommitmentPlan forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<VmwareEnginePreferences.CommitmentPlan> 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 VmwareEnginePreferences.CommitmentPlan valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.