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 reasonProtobuf enum
google.cloud.channel.v1.EntitlementChange.ActivationReason-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNot used.Customer accepted pending terms of service.Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.Reseller reactivated a suspended Entitlement. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNot used.static final intCustomer accepted pending terms of service.static final intOther reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)static final intReseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.static final intReseller reactivated a suspended Entitlement. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<EntitlementChange.ActivationReason>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified 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 Details
-
ACTIVATION_REASON_UNSPECIFIED
Not used.
ACTIVATION_REASON_UNSPECIFIED = 0; -
RESELLER_REVOKED_SUSPENSION
Reseller reactivated a suspended Entitlement.
RESELLER_REVOKED_SUSPENSION = 1; -
CUSTOMER_ACCEPTED_PENDING_TOS
Customer accepted pending terms of service.
CUSTOMER_ACCEPTED_PENDING_TOS = 2; -
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
Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)
OTHER_ACTIVATION_REASON = 100; -
UNRECOGNIZED
-
-
Field Details
-
ACTIVATION_REASON_UNSPECIFIED_VALUE
public static final int ACTIVATION_REASON_UNSPECIFIED_VALUENot used.
ACTIVATION_REASON_UNSPECIFIED = 0;- See Also:
-
RESELLER_REVOKED_SUSPENSION_VALUE
public static final int RESELLER_REVOKED_SUSPENSION_VALUEReseller reactivated a suspended Entitlement.
RESELLER_REVOKED_SUSPENSION = 1;- See Also:
-
CUSTOMER_ACCEPTED_PENDING_TOS_VALUE
public static final int CUSTOMER_ACCEPTED_PENDING_TOS_VALUECustomer accepted pending terms of service.
CUSTOMER_ACCEPTED_PENDING_TOS = 2;- See Also:
-
RENEWAL_SETTINGS_CHANGED_VALUE
public static final int RENEWAL_SETTINGS_CHANGED_VALUEReseller 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:
-
OTHER_ACTIVATION_REASON_VALUE
public static final int OTHER_ACTIVATION_REASON_VALUEOther reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)
OTHER_ACTIVATION_REASON = 100;- 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
public static com.google.protobuf.Internal.EnumLiteMap<EntitlementChange.ActivationReason> 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
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
-