Enum ProductTypeLevelEnum.ProductTypeLevel
- java.lang.Object
-
- java.lang.Enum<ProductTypeLevelEnum.ProductTypeLevel>
-
- com.google.ads.googleads.v10.enums.ProductTypeLevelEnum.ProductTypeLevel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ProductTypeLevelEnum.ProductTypeLevel>
- Enclosing class:
- ProductTypeLevelEnum
public static enum ProductTypeLevelEnum.ProductTypeLevel extends java.lang.Enum<ProductTypeLevelEnum.ProductTypeLevel> implements com.google.protobuf.ProtocolMessageEnum
Enum describing the level of the type of a product offer.
Protobuf enumgoogle.ads.googleads.v10.enums.ProductTypeLevelEnum.ProductTypeLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEVEL1Level 1.LEVEL2Level 2.LEVEL3Level 3.LEVEL4Level 4.LEVEL5Level 5.UNKNOWNUsed for return value only.UNRECOGNIZEDUNSPECIFIEDNot specified.
-
Field Summary
Fields Modifier and Type Field Description static intLEVEL1_VALUELevel 1.static intLEVEL2_VALUELevel 2.static intLEVEL3_VALUELevel 3.static intLEVEL4_VALUELevel 4.static intLEVEL5_VALUELevel 5.static intUNKNOWN_VALUEUsed for return value only.static intUNSPECIFIED_VALUENot specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProductTypeLevelEnum.ProductTypeLevelforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ProductTypeLevelEnum.ProductTypeLevel>internalGetValueMap()static ProductTypeLevelEnum.ProductTypeLevelvalueOf(int value)Deprecated.static ProductTypeLevelEnum.ProductTypeLevelvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProductTypeLevelEnum.ProductTypeLevelvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ProductTypeLevelEnum.ProductTypeLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ProductTypeLevelEnum.ProductTypeLevel UNSPECIFIED
Not specified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ProductTypeLevelEnum.ProductTypeLevel UNKNOWN
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;
-
LEVEL1
public static final ProductTypeLevelEnum.ProductTypeLevel LEVEL1
Level 1.
LEVEL1 = 7;
-
LEVEL2
public static final ProductTypeLevelEnum.ProductTypeLevel LEVEL2
Level 2.
LEVEL2 = 8;
-
LEVEL3
public static final ProductTypeLevelEnum.ProductTypeLevel LEVEL3
Level 3.
LEVEL3 = 9;
-
LEVEL4
public static final ProductTypeLevelEnum.ProductTypeLevel LEVEL4
Level 4.
LEVEL4 = 10;
-
LEVEL5
public static final ProductTypeLevelEnum.ProductTypeLevel LEVEL5
Level 5.
LEVEL5 = 11;
-
UNRECOGNIZED
public static final ProductTypeLevelEnum.ProductTypeLevel UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Not specified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Used for return value only. Represents value unknown in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
LEVEL1_VALUE
public static final int LEVEL1_VALUE
Level 1.
LEVEL1 = 7;- See Also:
- Constant Field Values
-
LEVEL2_VALUE
public static final int LEVEL2_VALUE
Level 2.
LEVEL2 = 8;- See Also:
- Constant Field Values
-
LEVEL3_VALUE
public static final int LEVEL3_VALUE
Level 3.
LEVEL3 = 9;- See Also:
- Constant Field Values
-
LEVEL4_VALUE
public static final int LEVEL4_VALUE
Level 4.
LEVEL4 = 10;- See Also:
- Constant Field Values
-
LEVEL5_VALUE
public static final int LEVEL5_VALUE
Level 5.
LEVEL5 = 11;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProductTypeLevelEnum.ProductTypeLevel[] 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 (ProductTypeLevelEnum.ProductTypeLevel c : ProductTypeLevelEnum.ProductTypeLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProductTypeLevelEnum.ProductTypeLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static ProductTypeLevelEnum.ProductTypeLevel 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ProductTypeLevelEnum.ProductTypeLevel 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<ProductTypeLevelEnum.ProductTypeLevel> 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 ProductTypeLevelEnum.ProductTypeLevel 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-