Package com.google.openrtb
Enum OpenRtb.APIFramework
- java.lang.Object
-
- java.lang.Enum<OpenRtb.APIFramework>
-
- com.google.openrtb.OpenRtb.APIFramework
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OpenRtb.APIFramework>
- Enclosing class:
- OpenRtb
public static enum OpenRtb.APIFramework extends Enum<OpenRtb.APIFramework> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB 2.0: The following table is a list of API frameworks supported by the publisher. Note that MRAID-1 is a subset of MRAID-2. In OpenRTB 2.1 and prior, value "3" was "MRAID". However, not all MRAID capable APIs understand MRAID-2 features and as such the only safe interpretation of value "3" is MRAID-1. In OpenRTB 2.2, this was made explicit and MRAID-2 has been added as value "5".
Protobuf enumcom.google.openrtb.APIFramework
-
-
Field Summary
Fields Modifier and Type Field Description static intMRAID_1_VALUEMRAID_1 = 3;static intMRAID_2_VALUEMRAID_2 = 5;static intMRAID_3_VALUEMRAID_3 = 6;static intOMID_1_VALUEOMID_1 = 7;static intORMMA_VALUEORMMA = 4;static intVPAID_1_VALUEVPAID_1 = 1;static intVPAID_2_VALUEVPAID_2 = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpenRtb.APIFrameworkforNumber(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<OpenRtb.APIFramework>internalGetValueMap()static OpenRtb.APIFrameworkvalueOf(int value)Deprecated.static OpenRtb.APIFrameworkvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OpenRtb.APIFrameworkvalueOf(String name)Returns the enum constant of this type with the specified name.static OpenRtb.APIFramework[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VPAID_1
public static final OpenRtb.APIFramework VPAID_1
VPAID_1 = 1;
-
VPAID_2
public static final OpenRtb.APIFramework VPAID_2
VPAID_2 = 2;
-
MRAID_1
public static final OpenRtb.APIFramework MRAID_1
MRAID_1 = 3;
-
ORMMA
public static final OpenRtb.APIFramework ORMMA
ORMMA = 4;
-
MRAID_2
public static final OpenRtb.APIFramework MRAID_2
MRAID_2 = 5;
-
MRAID_3
public static final OpenRtb.APIFramework MRAID_3
MRAID_3 = 6;
-
OMID_1
public static final OpenRtb.APIFramework OMID_1
OMID_1 = 7;
-
-
Field Detail
-
VPAID_1_VALUE
public static final int VPAID_1_VALUE
VPAID_1 = 1;- See Also:
- Constant Field Values
-
VPAID_2_VALUE
public static final int VPAID_2_VALUE
VPAID_2 = 2;- See Also:
- Constant Field Values
-
MRAID_1_VALUE
public static final int MRAID_1_VALUE
MRAID_1 = 3;- See Also:
- Constant Field Values
-
ORMMA_VALUE
public static final int ORMMA_VALUE
ORMMA = 4;- See Also:
- Constant Field Values
-
MRAID_2_VALUE
public static final int MRAID_2_VALUE
MRAID_2 = 5;- See Also:
- Constant Field Values
-
MRAID_3_VALUE
public static final int MRAID_3_VALUE
MRAID_3 = 6;- See Also:
- Constant Field Values
-
OMID_1_VALUE
public static final int OMID_1_VALUE
OMID_1 = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpenRtb.APIFramework[] 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 (OpenRtb.APIFramework c : OpenRtb.APIFramework.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenRtb.APIFramework 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 OpenRtb.APIFramework 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 OpenRtb.APIFramework 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<OpenRtb.APIFramework> 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 OpenRtb.APIFramework 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
-
-