Package com.google.openrtb
Enum OpenRtb.Protocol
- java.lang.Object
-
- java.lang.Enum<OpenRtb.Protocol>
-
- com.google.openrtb.OpenRtb.Protocol
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OpenRtb.Protocol>
- Enclosing class:
- OpenRtb
public static enum OpenRtb.Protocol extends Enum<OpenRtb.Protocol> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB 2.0: The following table lists the options for the various bid response protocols that could be supported by an exchange.
Protobuf enumcom.google.openrtb.Protocol
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAAST_1_0DAAST_1_0 = 9;DAAST_1_0_WRAPPERDAAST_1_0_WRAPPER = 10;VAST_1_0VAST_1_0 = 1;VAST_1_0_WRAPPERVAST_1_0_WRAPPER = 4;VAST_2_0VAST_2_0 = 2;VAST_2_0_WRAPPERVAST_2_0_WRAPPER = 5;VAST_3_0VAST_3_0 = 3;VAST_3_0_WRAPPERVAST_3_0_WRAPPER = 6;VAST_4_0VAST_4_0 = 7;VAST_4_0_WRAPPERVAST_4_0_WRAPPER = 8;
-
Field Summary
Fields Modifier and Type Field Description static intDAAST_1_0_VALUEDAAST_1_0 = 9;static intDAAST_1_0_WRAPPER_VALUEDAAST_1_0_WRAPPER = 10;static intVAST_1_0_VALUEVAST_1_0 = 1;static intVAST_1_0_WRAPPER_VALUEVAST_1_0_WRAPPER = 4;static intVAST_2_0_VALUEVAST_2_0 = 2;static intVAST_2_0_WRAPPER_VALUEVAST_2_0_WRAPPER = 5;static intVAST_3_0_VALUEVAST_3_0 = 3;static intVAST_3_0_WRAPPER_VALUEVAST_3_0_WRAPPER = 6;static intVAST_4_0_VALUEVAST_4_0 = 7;static intVAST_4_0_WRAPPER_VALUEVAST_4_0_WRAPPER = 8;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpenRtb.ProtocolforNumber(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.Protocol>internalGetValueMap()static OpenRtb.ProtocolvalueOf(int value)Deprecated.static OpenRtb.ProtocolvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OpenRtb.ProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static OpenRtb.Protocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VAST_1_0
public static final OpenRtb.Protocol VAST_1_0
VAST_1_0 = 1;
-
VAST_2_0
public static final OpenRtb.Protocol VAST_2_0
VAST_2_0 = 2;
-
VAST_3_0
public static final OpenRtb.Protocol VAST_3_0
VAST_3_0 = 3;
-
VAST_1_0_WRAPPER
public static final OpenRtb.Protocol VAST_1_0_WRAPPER
VAST_1_0_WRAPPER = 4;
-
VAST_2_0_WRAPPER
public static final OpenRtb.Protocol VAST_2_0_WRAPPER
VAST_2_0_WRAPPER = 5;
-
VAST_3_0_WRAPPER
public static final OpenRtb.Protocol VAST_3_0_WRAPPER
VAST_3_0_WRAPPER = 6;
-
VAST_4_0
public static final OpenRtb.Protocol VAST_4_0
VAST_4_0 = 7;
-
VAST_4_0_WRAPPER
public static final OpenRtb.Protocol VAST_4_0_WRAPPER
VAST_4_0_WRAPPER = 8;
-
DAAST_1_0
public static final OpenRtb.Protocol DAAST_1_0
DAAST_1_0 = 9;
-
DAAST_1_0_WRAPPER
public static final OpenRtb.Protocol DAAST_1_0_WRAPPER
DAAST_1_0_WRAPPER = 10;
-
-
Field Detail
-
VAST_1_0_VALUE
public static final int VAST_1_0_VALUE
VAST_1_0 = 1;- See Also:
- Constant Field Values
-
VAST_2_0_VALUE
public static final int VAST_2_0_VALUE
VAST_2_0 = 2;- See Also:
- Constant Field Values
-
VAST_3_0_VALUE
public static final int VAST_3_0_VALUE
VAST_3_0 = 3;- See Also:
- Constant Field Values
-
VAST_1_0_WRAPPER_VALUE
public static final int VAST_1_0_WRAPPER_VALUE
VAST_1_0_WRAPPER = 4;- See Also:
- Constant Field Values
-
VAST_2_0_WRAPPER_VALUE
public static final int VAST_2_0_WRAPPER_VALUE
VAST_2_0_WRAPPER = 5;- See Also:
- Constant Field Values
-
VAST_3_0_WRAPPER_VALUE
public static final int VAST_3_0_WRAPPER_VALUE
VAST_3_0_WRAPPER = 6;- See Also:
- Constant Field Values
-
VAST_4_0_VALUE
public static final int VAST_4_0_VALUE
VAST_4_0 = 7;- See Also:
- Constant Field Values
-
VAST_4_0_WRAPPER_VALUE
public static final int VAST_4_0_WRAPPER_VALUE
VAST_4_0_WRAPPER = 8;- See Also:
- Constant Field Values
-
DAAST_1_0_VALUE
public static final int DAAST_1_0_VALUE
DAAST_1_0 = 9;- See Also:
- Constant Field Values
-
DAAST_1_0_WRAPPER_VALUE
public static final int DAAST_1_0_WRAPPER_VALUE
DAAST_1_0_WRAPPER = 10;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpenRtb.Protocol[] 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.Protocol c : OpenRtb.Protocol.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.Protocol 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.Protocol 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.Protocol 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.Protocol> 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.Protocol 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
-
-