Package com.google.cloud.channel.v1
Enum PaymentPlan
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PaymentPlan>
@Generated
public enum PaymentPlan
extends Enum<PaymentPlan>
implements com.google.protobuf.ProtocolMessageEnum
Describes how the reseller will be billed.Protobuf enum
google.cloud.channel.v1.PaymentPlan-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCommitment.No commitment.Free.Price and ordering not available through API.Not used.Trial. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCommitment.static final intNo commitment.static final intFree.static final intPrice and ordering not available through API.static final intNot used.static final intTrial. -
Method Summary
Modifier and TypeMethodDescriptionstatic PaymentPlanforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PaymentPlan>static PaymentPlanvalueOf(int value) Deprecated.static PaymentPlanvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PaymentPlanReturns the enum constant of this type with the specified name.static PaymentPlan[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PAYMENT_PLAN_UNSPECIFIED
Not used.
PAYMENT_PLAN_UNSPECIFIED = 0; -
COMMITMENT
Commitment.
COMMITMENT = 1; -
FLEXIBLE
No commitment.
FLEXIBLE = 2; -
FREE
Free.
FREE = 3; -
TRIAL
Trial.
TRIAL = 4; -
OFFLINE
Price and ordering not available through API.
OFFLINE = 5; -
UNRECOGNIZED
-
-
Field Details
-
PAYMENT_PLAN_UNSPECIFIED_VALUE
public static final int PAYMENT_PLAN_UNSPECIFIED_VALUENot used.
PAYMENT_PLAN_UNSPECIFIED = 0;- See Also:
-
COMMITMENT_VALUE
public static final int COMMITMENT_VALUECommitment.
COMMITMENT = 1;- See Also:
-
FLEXIBLE_VALUE
public static final int FLEXIBLE_VALUENo commitment.
FLEXIBLE = 2;- See Also:
-
FREE_VALUE
public static final int FREE_VALUEFree.
FREE = 3;- See Also:
-
TRIAL_VALUE
public static final int TRIAL_VALUETrial.
TRIAL = 4;- See Also:
-
OFFLINE_VALUE
public static final int OFFLINE_VALUEPrice and ordering not available through API.
OFFLINE = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-