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 enum google.cloud.channel.v1.EntitlementChange.ActivationReason
  • Enum Constant Details

    • 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 Details

    • ACTIVATION_REASON_UNSPECIFIED_VALUE

      public static final int ACTIVATION_REASON_UNSPECIFIED_VALUE
       Not used.
       
      ACTIVATION_REASON_UNSPECIFIED = 0;
      See Also:
    • RESELLER_REVOKED_SUSPENSION_VALUE

      public static final int RESELLER_REVOKED_SUSPENSION_VALUE
       Reseller reactivated a suspended Entitlement.
       
      RESELLER_REVOKED_SUSPENSION = 1;
      See Also:
    • 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:
    • 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:
    • 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:
  • Method Details

    • values

      public static EntitlementChange.ActivationReason[] 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

      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.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<EntitlementChange.ActivationReason> internalGetValueMap()
    • 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 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