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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAztec 2D barcode format.CODABAR 1D format.Code 128 1D format.Code 39 1D format.Data Matrix 2D barcode format.EAN-13 1D format.EAN-8 1D format.ITF (Interleaved Two of Five) 1D format.PDF417 format.Used for return value only.Not specified.UPC-A 1D format. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAztec 2D barcode format.static final intCODABAR 1D format.static final intCode 128 1D format.static final intCode 39 1D format.static final intData Matrix 2D barcode format.static final intEAN-13 1D format.static final intEAN-8 1D format.static final intITF (Interleaved Two of Five) 1D format.static final intPDF417 format.static final intUsed for return value only.static final intNot specified.static final intUPC-A 1D format. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PromotionBarcodeTypeEnum.PromotionBarcodeType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
Not specified.
UNSPECIFIED = 0; -
UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1; -
AZTEC
Aztec 2D barcode format. Max 350 characters and no links
AZTEC = 2; -
CODABAR
CODABAR 1D format. Max 12 characters and no links. Supported characters include 0123456789-$:/.+ and optional start and end guards from ABCD.
CODABAR = 3; -
CODE39
Code 39 1D format. Max 8 characters and no links. Supported characters include 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%.
CODE39 = 4; -
CODE128
Code 128 1D format. Max 18 ASCII characters only and no links
CODE128 = 5; -
DATA_MATRIX
Data Matrix 2D barcode format. Max 525 ISO-8859-1 characters only and no links
DATA_MATRIX = 6; -
EAN8
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; -
EAN13
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; -
ITF
ITF (Interleaved Two of Five) 1D format. Must be 14 digits long
ITF = 9; -
PDF417
PDF417 format. Max 140 characters and no links
PDF417 = 10; -
UPC_A
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; -
UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUENot specified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEUsed for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
-
AZTEC_VALUE
public static final int AZTEC_VALUEAztec 2D barcode format. Max 350 characters and no links
AZTEC = 2;- See Also:
-
CODABAR_VALUE
public static final int CODABAR_VALUECODABAR 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_VALUECode 39 1D format. Max 8 characters and no links. Supported characters include 0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. *$/+%.
CODE39 = 4;- See Also:
-
CODE128_VALUE
public static final int CODE128_VALUECode 128 1D format. Max 18 ASCII characters only and no links
CODE128 = 5;- See Also:
-
DATA_MATRIX_VALUE
public static final int DATA_MATRIX_VALUEData 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_VALUEEAN-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_VALUEEAN-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_VALUEITF (Interleaved Two of Five) 1D format. Must be 14 digits long
ITF = 9;- See Also:
-
PDF417_VALUE
public static final int PDF417_VALUEPDF417 format. Max 140 characters and no links
PDF417 = 10;- See Also:
-
UPC_A_VALUE
public static final int UPC_A_VALUEUPC-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 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 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 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<PromotionBarcodeTypeEnum.PromotionBarcodeType> 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 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 nameNullPointerException- if the argument is null
-