Package com.google.doubleclick
Enum AdxExt.SiteExt.AmpPage
- java.lang.Object
-
- java.lang.Enum<AdxExt.SiteExt.AmpPage>
-
- com.google.doubleclick.AdxExt.SiteExt.AmpPage
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AdxExt.SiteExt.AmpPage>
- Enclosing class:
- AdxExt.SiteExt
public static enum AdxExt.SiteExt.AmpPage extends Enum<AdxExt.SiteExt.AmpPage> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcom.google.doubleclick.SiteExt.AmpPage
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIALECT_HTMLThis is not an AMP page.DIALECT_HTML_AMPThis is an Amp page.
-
Field Summary
Fields Modifier and Type Field Description static intDIALECT_HTML_AMP_VALUEThis is an Amp page.static intDIALECT_HTML_VALUEThis is not an AMP page.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AdxExt.SiteExt.AmpPageforNumber(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<AdxExt.SiteExt.AmpPage>internalGetValueMap()static AdxExt.SiteExt.AmpPagevalueOf(int value)Deprecated.static AdxExt.SiteExt.AmpPagevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AdxExt.SiteExt.AmpPagevalueOf(String name)Returns the enum constant of this type with the specified name.static AdxExt.SiteExt.AmpPage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIALECT_HTML
public static final AdxExt.SiteExt.AmpPage DIALECT_HTML
This is not an AMP page.
DIALECT_HTML = 0;
-
DIALECT_HTML_AMP
public static final AdxExt.SiteExt.AmpPage DIALECT_HTML_AMP
This is an Amp page.
DIALECT_HTML_AMP = 1;
-
-
Field Detail
-
DIALECT_HTML_VALUE
public static final int DIALECT_HTML_VALUE
This is not an AMP page.
DIALECT_HTML = 0;- See Also:
- Constant Field Values
-
DIALECT_HTML_AMP_VALUE
public static final int DIALECT_HTML_AMP_VALUE
This is an Amp page.
DIALECT_HTML_AMP = 1;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AdxExt.SiteExt.AmpPage[] 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 (AdxExt.SiteExt.AmpPage c : AdxExt.SiteExt.AmpPage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdxExt.SiteExt.AmpPage 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 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 public static AdxExt.SiteExt.AmpPage 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 nameNullPointerException- if the argument is null
-
forNumber
public static AdxExt.SiteExt.AmpPage 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<AdxExt.SiteExt.AmpPage> 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 AdxExt.SiteExt.AmpPage 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 nameNullPointerException- if the argument is null
-
-