Enum Class PromotionBarcodeTypeEnum.PromotionBarcodeType

java.lang.Object
java.lang.Enum<PromotionBarcodeTypeEnum.PromotionBarcodeType>
com.google.ads.googleads.v21.enums.PromotionBarcodeTypeEnum.PromotionBarcodeType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<PromotionBarcodeTypeEnum.PromotionBarcodeType>, Constable
Enclosing class:
PromotionBarcodeTypeEnum

public static enum PromotionBarcodeTypeEnum.PromotionBarcodeType extends Enum<PromotionBarcodeTypeEnum.PromotionBarcodeType> implements com.google.protobuf.ProtocolMessageEnum
 A promotion barcode type.
 
Protobuf enum google.ads.googleads.v21.enums.PromotionBarcodeTypeEnum.PromotionBarcodeType
  • Enum Constant Details

  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Not specified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       Used for return value only. Represents value unknown in this version.
       
      UNKNOWN = 1;
      See Also:
    • AZTEC_VALUE

      public static final int AZTEC_VALUE
       Aztec 2D barcode format.
       Max 350 characters and no links
       
      AZTEC = 2;
      See Also:
    • CODABAR_VALUE

      public static final int CODABAR_VALUE
       CODABAR 1D format.
       Max 12 characters and no links. Supported characters include
       0123456789-$:/.+ and optional start and end guards from ABCD.
       
      CODABAR = 3;
      See Also:
    • CODE39_VALUE

      public static final int CODE39_VALUE
       Code 39 1D format.
       Max 8 characters and no links. Supported characters include
       0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%.
       
      CODE39 = 4;
      See Also:
    • CODE128_VALUE

      public static final int CODE128_VALUE
       Code 128 1D format.
       Max 18 ASCII characters only and no links
       
      CODE128 = 5;
      See Also:
    • DATA_MATRIX_VALUE

      public static final int DATA_MATRIX_VALUE
       Data Matrix 2D barcode format.
       Max 525 ISO-8859-1 characters only and no links
       
      DATA_MATRIX = 6;
      See Also:
    • EAN8_VALUE

      public static final int EAN8_VALUE
       EAN-8 1D format.
       The barcode value should be 7 digits (the check digit will be computed
       automatically) or 8 digits (if you are providing your own check digit).
       
      EAN8 = 7;
      See Also:
    • EAN13_VALUE

      public static final int EAN13_VALUE
       EAN-13 1D format.
       The barcode value should be 12 digits (the check digit will be computed
       automatically) or 13 digits (if you are providing your own check digit).
       
      EAN13 = 8;
      See Also:
    • ITF_VALUE

      public static final int ITF_VALUE
       ITF (Interleaved Two of Five) 1D format.
       Must be 14 digits long
       
      ITF = 9;
      See Also:
    • PDF417_VALUE

      public static final int PDF417_VALUE
       PDF417 format.
       Max 140 characters and no links
       
      PDF417 = 10;
      See Also:
    • UPC_A_VALUE

      public static final int UPC_A_VALUE
       UPC-A 1D format.
       The barcode value should be 11 digits (the check digit will be computed
       automatically) or 12 digits (if you are providing your own check digit).
       
      UPC_A = 11;
      See Also:
  • Method Details

    • 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

      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.
      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 PromotionBarcodeTypeEnum.PromotionBarcodeType 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<PromotionBarcodeTypeEnum.PromotionBarcodeType> 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 PromotionBarcodeTypeEnum.PromotionBarcodeType 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