Package com.google.openrtb
Enum OpenRtb.ContextSubtype
- java.lang.Object
-
- java.lang.Enum<OpenRtb.ContextSubtype>
-
- com.google.openrtb.OpenRtb.ContextSubtype
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OpenRtb.ContextSubtype>
- Enclosing class:
- OpenRtb
public static enum OpenRtb.ContextSubtype extends Enum<OpenRtb.ContextSubtype> implements com.google.protobuf.ProtocolMessageEnum
OpenRTB Native 1.1: Next-level context in which the ad appears. Again this reflects the primary context, and does not imply no presence of other elements. For example, an article is likely to contain images but is still first and foremost an article. SubType should only be combined with the primary context type as indicated (ie for a context type of 1, only context subtypes that start with 1 are valid).
Protobuf enumcom.google.openrtb.ContextSubtype
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_ARTICLECONTENT_ARTICLE = 11;CONTENT_AUDIOCONTENT_AUDIO = 13;CONTENT_GENERAL_OR_MIXEDCONTENT_GENERAL_OR_MIXED = 10;CONTENT_IMAGECONTENT_IMAGE = 14;CONTENT_USER_GENERATEDCONTENT_USER_GENERATED = 15;CONTENT_VIDEOCONTENT_VIDEO = 12;PRODUCT_MARKETPLACEPRODUCT_MARKETPLACE = 31;PRODUCT_REVIEWPRODUCT_REVIEW = 32;PRODUCT_SELLINGPRODUCT_SELLING = 30;SOCIAL_CHAT_IMSOCIAL_CHAT_IM = 22;SOCIAL_EMAILSOCIAL_EMAIL = 21;SOCIAL_GENERALSOCIAL_GENERAL = 20;
-
Field Summary
Fields Modifier and Type Field Description static intCONTENT_ARTICLE_VALUECONTENT_ARTICLE = 11;static intCONTENT_AUDIO_VALUECONTENT_AUDIO = 13;static intCONTENT_GENERAL_OR_MIXED_VALUECONTENT_GENERAL_OR_MIXED = 10;static intCONTENT_IMAGE_VALUECONTENT_IMAGE = 14;static intCONTENT_USER_GENERATED_VALUECONTENT_USER_GENERATED = 15;static intCONTENT_VIDEO_VALUECONTENT_VIDEO = 12;static intPRODUCT_MARKETPLACE_VALUEPRODUCT_MARKETPLACE = 31;static intPRODUCT_REVIEW_VALUEPRODUCT_REVIEW = 32;static intPRODUCT_SELLING_VALUEPRODUCT_SELLING = 30;static intSOCIAL_CHAT_IM_VALUESOCIAL_CHAT_IM = 22;static intSOCIAL_EMAIL_VALUESOCIAL_EMAIL = 21;static intSOCIAL_GENERAL_VALUESOCIAL_GENERAL = 20;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpenRtb.ContextSubtypeforNumber(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.ContextSubtype>internalGetValueMap()static OpenRtb.ContextSubtypevalueOf(int value)Deprecated.static OpenRtb.ContextSubtypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OpenRtb.ContextSubtypevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenRtb.ContextSubtype[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTENT_GENERAL_OR_MIXED
public static final OpenRtb.ContextSubtype CONTENT_GENERAL_OR_MIXED
CONTENT_GENERAL_OR_MIXED = 10;
-
CONTENT_ARTICLE
public static final OpenRtb.ContextSubtype CONTENT_ARTICLE
CONTENT_ARTICLE = 11;
-
CONTENT_VIDEO
public static final OpenRtb.ContextSubtype CONTENT_VIDEO
CONTENT_VIDEO = 12;
-
CONTENT_AUDIO
public static final OpenRtb.ContextSubtype CONTENT_AUDIO
CONTENT_AUDIO = 13;
-
CONTENT_IMAGE
public static final OpenRtb.ContextSubtype CONTENT_IMAGE
CONTENT_IMAGE = 14;
-
CONTENT_USER_GENERATED
public static final OpenRtb.ContextSubtype CONTENT_USER_GENERATED
CONTENT_USER_GENERATED = 15;
-
SOCIAL_GENERAL
public static final OpenRtb.ContextSubtype SOCIAL_GENERAL
SOCIAL_GENERAL = 20;
-
SOCIAL_EMAIL
public static final OpenRtb.ContextSubtype SOCIAL_EMAIL
SOCIAL_EMAIL = 21;
-
SOCIAL_CHAT_IM
public static final OpenRtb.ContextSubtype SOCIAL_CHAT_IM
SOCIAL_CHAT_IM = 22;
-
PRODUCT_SELLING
public static final OpenRtb.ContextSubtype PRODUCT_SELLING
PRODUCT_SELLING = 30;
-
PRODUCT_MARKETPLACE
public static final OpenRtb.ContextSubtype PRODUCT_MARKETPLACE
PRODUCT_MARKETPLACE = 31;
-
PRODUCT_REVIEW
public static final OpenRtb.ContextSubtype PRODUCT_REVIEW
PRODUCT_REVIEW = 32;
-
-
Field Detail
-
CONTENT_GENERAL_OR_MIXED_VALUE
public static final int CONTENT_GENERAL_OR_MIXED_VALUE
CONTENT_GENERAL_OR_MIXED = 10;- See Also:
- Constant Field Values
-
CONTENT_ARTICLE_VALUE
public static final int CONTENT_ARTICLE_VALUE
CONTENT_ARTICLE = 11;- See Also:
- Constant Field Values
-
CONTENT_VIDEO_VALUE
public static final int CONTENT_VIDEO_VALUE
CONTENT_VIDEO = 12;- See Also:
- Constant Field Values
-
CONTENT_AUDIO_VALUE
public static final int CONTENT_AUDIO_VALUE
CONTENT_AUDIO = 13;- See Also:
- Constant Field Values
-
CONTENT_IMAGE_VALUE
public static final int CONTENT_IMAGE_VALUE
CONTENT_IMAGE = 14;- See Also:
- Constant Field Values
-
CONTENT_USER_GENERATED_VALUE
public static final int CONTENT_USER_GENERATED_VALUE
CONTENT_USER_GENERATED = 15;- See Also:
- Constant Field Values
-
SOCIAL_GENERAL_VALUE
public static final int SOCIAL_GENERAL_VALUE
SOCIAL_GENERAL = 20;- See Also:
- Constant Field Values
-
SOCIAL_EMAIL_VALUE
public static final int SOCIAL_EMAIL_VALUE
SOCIAL_EMAIL = 21;- See Also:
- Constant Field Values
-
SOCIAL_CHAT_IM_VALUE
public static final int SOCIAL_CHAT_IM_VALUE
SOCIAL_CHAT_IM = 22;- See Also:
- Constant Field Values
-
PRODUCT_SELLING_VALUE
public static final int PRODUCT_SELLING_VALUE
PRODUCT_SELLING = 30;- See Also:
- Constant Field Values
-
PRODUCT_MARKETPLACE_VALUE
public static final int PRODUCT_MARKETPLACE_VALUE
PRODUCT_MARKETPLACE = 31;- See Also:
- Constant Field Values
-
PRODUCT_REVIEW_VALUE
public static final int PRODUCT_REVIEW_VALUE
PRODUCT_REVIEW = 32;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpenRtb.ContextSubtype[] 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.ContextSubtype c : OpenRtb.ContextSubtype.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.ContextSubtype 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.ContextSubtype 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.ContextSubtype 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.ContextSubtype> 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.ContextSubtype 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
-
-