Enum Class IncentiveOffer.OfferType

java.lang.Object
java.lang.Enum<IncentiveOffer.OfferType>
com.google.ads.googleads.v23.services.IncentiveOffer.OfferType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<IncentiveOffer.OfferType>, Constable
Enclosing class:
IncentiveOffer

public static enum IncentiveOffer.OfferType extends Enum<IncentiveOffer.OfferType> implements com.google.protobuf.ProtocolMessageEnum
 Types of acquisition incentive offers.
 
Protobuf enum google.ads.googleads.v23.services.IncentiveOffer.OfferType
  • Enum Constant Details

    • UNSPECIFIED

      public static final IncentiveOffer.OfferType UNSPECIFIED
       Unknown offer type. Should not be used as a value explicitly.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final IncentiveOffer.OfferType UNKNOWN
       Unknown offer type.
       
      UNKNOWN = 1;
    • NO_INCENTIVE

      public static final IncentiveOffer.OfferType NO_INCENTIVE
       An offer with no incentive.
       
      NO_INCENTIVE = 2;
    • CYO_INCENTIVE

      public static final IncentiveOffer.OfferType CYO_INCENTIVE
       A CYO (Choose-Your-Own) offer with multiple incentives to choose from.
       
      CYO_INCENTIVE = 3;
    • UNRECOGNIZED

      public static final IncentiveOffer.OfferType UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Unknown offer type. Should not be used as a value explicitly.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       Unknown offer type.
       
      UNKNOWN = 1;
      See Also:
    • NO_INCENTIVE_VALUE

      public static final int NO_INCENTIVE_VALUE
       An offer with no incentive.
       
      NO_INCENTIVE = 2;
      See Also:
    • CYO_INCENTIVE_VALUE

      public static final int CYO_INCENTIVE_VALUE
       A CYO (Choose-Your-Own) offer with multiple incentives to choose from.
       
      CYO_INCENTIVE = 3;
      See Also:
  • Method Details

    • values

      public static IncentiveOffer.OfferType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IncentiveOffer.OfferType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 IncentiveOffer.OfferType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static IncentiveOffer.OfferType 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<IncentiveOffer.OfferType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static IncentiveOffer.OfferType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null