Enum EntitlementChange.ActivationReason

    • Enum Constant Detail

      • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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.
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null