Package com.google.cloud.channel.v1
Enum EntitlementChange.ActivationReason
- java.lang.Object
-
- java.lang.Enum<EntitlementChange.ActivationReason>
-
- com.google.cloud.channel.v1.EntitlementChange.ActivationReason
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<EntitlementChange.ActivationReason>
- Enclosing class:
- EntitlementChange
public static enum EntitlementChange.ActivationReason extends Enum<EntitlementChange.ActivationReason> implements com.google.protobuf.ProtocolMessageEnum
The Entitlement's activation reason
Protobuf enumgoogle.cloud.channel.v1.EntitlementChange.ActivationReason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATION_REASON_UNSPECIFIED
Not used.CUSTOMER_ACCEPTED_PENDING_TOS
Customer accepted pending terms of service.OTHER_ACTIVATION_REASON
Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)RENEWAL_SETTINGS_CHANGED
Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.RESELLER_REVOKED_SUSPENSION
Reseller reactivated a suspended Entitlement.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACTIVATION_REASON_UNSPECIFIED_VALUE
Not used.static int
CUSTOMER_ACCEPTED_PENDING_TOS_VALUE
Customer accepted pending terms of service.static int
OTHER_ACTIVATION_REASON_VALUE
Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)static int
RENEWAL_SETTINGS_CHANGED_VALUE
Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.static int
RESELLER_REVOKED_SUSPENSION_VALUE
Reseller reactivated a suspended Entitlement.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static EntitlementChange.ActivationReason
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<EntitlementChange.ActivationReason>
internalGetValueMap()
static EntitlementChange.ActivationReason
valueOf(int value)
Deprecated.static EntitlementChange.ActivationReason
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static EntitlementChange.ActivationReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static EntitlementChange.ActivationReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVATION_REASON_UNSPECIFIED
public static final EntitlementChange.ActivationReason ACTIVATION_REASON_UNSPECIFIED
Not used.
ACTIVATION_REASON_UNSPECIFIED = 0;
-
RESELLER_REVOKED_SUSPENSION
public static final EntitlementChange.ActivationReason RESELLER_REVOKED_SUSPENSION
Reseller reactivated a suspended Entitlement.
RESELLER_REVOKED_SUSPENSION = 1;
-
CUSTOMER_ACCEPTED_PENDING_TOS
public static final EntitlementChange.ActivationReason CUSTOMER_ACCEPTED_PENDING_TOS
Customer accepted pending terms of service.
CUSTOMER_ACCEPTED_PENDING_TOS = 2;
-
RENEWAL_SETTINGS_CHANGED
public static final EntitlementChange.ActivationReason RENEWAL_SETTINGS_CHANGED
Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.
RENEWAL_SETTINGS_CHANGED = 3;
-
OTHER_ACTIVATION_REASON
public static final EntitlementChange.ActivationReason OTHER_ACTIVATION_REASON
Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)
OTHER_ACTIVATION_REASON = 100;
-
UNRECOGNIZED
public static final EntitlementChange.ActivationReason UNRECOGNIZED
-
-
Field Detail
-
ACTIVATION_REASON_UNSPECIFIED_VALUE
public static final int ACTIVATION_REASON_UNSPECIFIED_VALUE
Not used.
ACTIVATION_REASON_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
RESELLER_REVOKED_SUSPENSION_VALUE
public static final int RESELLER_REVOKED_SUSPENSION_VALUE
Reseller reactivated a suspended Entitlement.
RESELLER_REVOKED_SUSPENSION = 1;
- See Also:
- Constant Field Values
-
CUSTOMER_ACCEPTED_PENDING_TOS_VALUE
public static final int CUSTOMER_ACCEPTED_PENDING_TOS_VALUE
Customer accepted pending terms of service.
CUSTOMER_ACCEPTED_PENDING_TOS = 2;
- See Also:
- Constant Field Values
-
RENEWAL_SETTINGS_CHANGED_VALUE
public static final int RENEWAL_SETTINGS_CHANGED_VALUE
Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.
RENEWAL_SETTINGS_CHANGED = 3;
- See Also:
- Constant Field Values
-
OTHER_ACTIVATION_REASON_VALUE
public static final int OTHER_ACTIVATION_REASON_VALUE
Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)
OTHER_ACTIVATION_REASON = 100;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EntitlementChange.ActivationReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EntitlementChange.ActivationReason c : EntitlementChange.ActivationReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntitlementChange.ActivationReason valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static EntitlementChange.ActivationReason valueOf(int value)
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
public static EntitlementChange.ActivationReason forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<EntitlementChange.ActivationReason> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static EntitlementChange.ActivationReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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
-
-