Package com.google.openrtb
Class OpenRtb.NativeRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeRequest>
-
- com.google.openrtb.OpenRtb.NativeRequest
-
- All Implemented Interfaces:
OpenRtb.NativeRequestOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb
public static final class OpenRtb.NativeRequest extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeRequest> implements OpenRtb.NativeRequestOrBuilder
OpenRTB Native 1.0: The Native Object defines the native advertising opportunity available for bid via this bid request. It must be included directly in the impression object if the impression offered for auction is a native ad format.
Protobuf typecom.google.openrtb.NativeRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.NativeRequest.AssetOpenRTB Native 1.0: The main container object for each asset requested or supported by Exchange on behalf of the rendering client.static interfaceOpenRtb.NativeRequest.AssetOrBuilderstatic classOpenRtb.NativeRequest.BuilderOpenRTB Native 1.0: The Native Object defines the native advertising opportunity available for bid via this bid request.static classOpenRtb.NativeRequest.EventTrackersOpenRTB Native 1.2: The EventTrackers object specifies the type of events the bidder can request to be tracked in the bid response, and which types of tracking are available for each event type, and is included as an array in the request.static interfaceOpenRtb.NativeRequest.EventTrackersOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADUNIT_FIELD_NUMBERstatic intASSETS_FIELD_NUMBERstatic intAURLSUPPORT_FIELD_NUMBERstatic intCONTEXT_FIELD_NUMBERstatic intCONTEXTSUBTYPE_FIELD_NUMBERstatic intDURLSUPPORT_FIELD_NUMBERstatic intEVENTTRACKERS_FIELD_NUMBERstatic intLAYOUT_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.NativeRequest>PARSERDeprecated.static intPLCMTCNT_FIELD_NUMBERstatic intPLCMTTYPE_FIELD_NUMBERstatic intPRIVACY_FIELD_NUMBERstatic intSEQ_FIELD_NUMBERstatic intVER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)OpenRtb.AdUnitIdgetAdunit()Deprecated.com.google.openrtb.NativeRequest.adunit is deprecated.OpenRtb.NativeRequest.AssetgetAssets(int index)Any bid must comply with the array of elements expressed by the Exchange.intgetAssetsCount()Any bid must comply with the array of elements expressed by the Exchange.List<OpenRtb.NativeRequest.Asset>getAssetsList()Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.AssetOrBuildergetAssetsOrBuilder(int index)Any bid must comply with the array of elements expressed by the Exchange.List<? extends OpenRtb.NativeRequest.AssetOrBuilder>getAssetsOrBuilderList()Any bid must comply with the array of elements expressed by the Exchange.booleangetAurlsupport()Whether the supply source / impression supports returning an assetsurl instead of an asset object.OpenRtb.ContextTypegetContext()The context in which the ad appears.OpenRtb.ContextSubtypegetContextsubtype()A more detailed context in which the ad appears.static OpenRtb.NativeRequestgetDefaultInstance()OpenRtb.NativeRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDurlsupport()Whether the supply source / impression supports returning a DCO URL instead of an asset object.OpenRtb.NativeRequest.EventTrackersgetEventtrackers(int index)Specifies what type of event tracking is supported.intgetEventtrackersCount()Specifies what type of event tracking is supported.List<OpenRtb.NativeRequest.EventTrackers>getEventtrackersList()Specifies what type of event tracking is supported.OpenRtb.NativeRequest.EventTrackersOrBuildergetEventtrackersOrBuilder(int index)Specifies what type of event tracking is supported.List<? extends OpenRtb.NativeRequest.EventTrackersOrBuilder>getEventtrackersOrBuilderList()Specifies what type of event tracking is supported.OpenRtb.LayoutIdgetLayout()Deprecated.com.google.openrtb.NativeRequest.layout is deprecated.com.google.protobuf.Parser<OpenRtb.NativeRequest>getParserForType()intgetPlcmtcnt()The number of identical placements in this Layout.OpenRtb.PlacementTypegetPlcmttype()The design/format/layout of the ad unit being offered.booleangetPrivacy()Set to true when the native ad supports buyer-specific privacy notice.intgetSeq()0 for the first ad, 1 for the second ad, and so on.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVer()Version of the Native Markup version in use.com.google.protobuf.ByteStringgetVerBytes()Version of the Native Markup version in use.booleanhasAdunit()Deprecated.com.google.openrtb.NativeRequest.adunit is deprecated.booleanhasAurlsupport()Whether the supply source / impression supports returning an assetsurl instead of an asset object.booleanhasContext()The context in which the ad appears.booleanhasContextsubtype()A more detailed context in which the ad appears.booleanhasDurlsupport()Whether the supply source / impression supports returning a DCO URL instead of an asset object.inthashCode()booleanhasLayout()Deprecated.com.google.openrtb.NativeRequest.layout is deprecated.booleanhasPlcmtcnt()The number of identical placements in this Layout.booleanhasPlcmttype()The design/format/layout of the ad unit being offered.booleanhasPrivacy()Set to true when the native ad supports buyer-specific privacy notice.booleanhasSeq()0 for the first ad, 1 for the second ad, and so on.booleanhasVer()Version of the Native Markup version in use.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.NativeRequest.BuildernewBuilder()static OpenRtb.NativeRequest.BuildernewBuilder(OpenRtb.NativeRequest prototype)OpenRtb.NativeRequest.BuildernewBuilderForType()protected OpenRtb.NativeRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.NativeRequestparseDelimitedFrom(InputStream input)static OpenRtb.NativeRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequestparseFrom(byte[] data)static OpenRtb.NativeRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequestparseFrom(com.google.protobuf.ByteString data)static OpenRtb.NativeRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequestparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.NativeRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequestparseFrom(InputStream input)static OpenRtb.NativeRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequestparseFrom(ByteBuffer data)static OpenRtb.NativeRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.NativeRequest>parser()OpenRtb.NativeRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
VER_FIELD_NUMBER
public static final int VER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXTSUBTYPE_FIELD_NUMBER
public static final int CONTEXTSUBTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLCMTTYPE_FIELD_NUMBER
public static final int PLCMTTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLCMTCNT_FIELD_NUMBER
public static final int PLCMTCNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQ_FIELD_NUMBER
public static final int SEQ_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSETS_FIELD_NUMBER
public static final int ASSETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AURLSUPPORT_FIELD_NUMBER
public static final int AURLSUPPORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DURLSUPPORT_FIELD_NUMBER
public static final int DURLSUPPORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENTTRACKERS_FIELD_NUMBER
public static final int EVENTTRACKERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVACY_FIELD_NUMBER
public static final int PRIVACY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAYOUT_FIELD_NUMBER
public static final int LAYOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADUNIT_FIELD_NUMBER
public static final int ADUNIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.NativeRequest> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasVer
public boolean hasVer()
Version of the Native Markup version in use.
optional string ver = 1;- Specified by:
hasVerin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the ver field is set.
-
getVer
public String getVer()
Version of the Native Markup version in use.
optional string ver = 1;- Specified by:
getVerin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The ver.
-
getVerBytes
public com.google.protobuf.ByteString getVerBytes()
Version of the Native Markup version in use.
optional string ver = 1;- Specified by:
getVerBytesin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The bytes for ver.
-
hasContext
public boolean hasContext()
The context in which the ad appears. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.ContextType context = 7;- Specified by:
hasContextin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the context field is set.
-
getContext
public OpenRtb.ContextType getContext()
The context in which the ad appears. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.ContextType context = 7;- Specified by:
getContextin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The context.
-
hasContextsubtype
public boolean hasContextsubtype()
A more detailed context in which the ad appears.
optional .com.google.openrtb.ContextSubtype contextsubtype = 8;- Specified by:
hasContextsubtypein interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the contextsubtype field is set.
-
getContextsubtype
public OpenRtb.ContextSubtype getContextsubtype()
A more detailed context in which the ad appears.
optional .com.google.openrtb.ContextSubtype contextsubtype = 8;- Specified by:
getContextsubtypein interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The contextsubtype.
-
hasPlcmttype
public boolean hasPlcmttype()
The design/format/layout of the ad unit being offered. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.PlacementType plcmttype = 9;- Specified by:
hasPlcmttypein interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the plcmttype field is set.
-
getPlcmttype
public OpenRtb.PlacementType getPlcmttype()
The design/format/layout of the ad unit being offered. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.PlacementType plcmttype = 9;- Specified by:
getPlcmttypein interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The plcmttype.
-
hasPlcmtcnt
public boolean hasPlcmtcnt()
The number of identical placements in this Layout.
optional int32 plcmtcnt = 4 [default = 1];- Specified by:
hasPlcmtcntin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the plcmtcnt field is set.
-
getPlcmtcnt
public int getPlcmtcnt()
The number of identical placements in this Layout.
optional int32 plcmtcnt = 4 [default = 1];- Specified by:
getPlcmtcntin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The plcmtcnt.
-
hasSeq
public boolean hasSeq()
0 for the first ad, 1 for the second ad, and so on. Note this would generally NOT be used in combination with plcmtcnt - either you are auctioning multiple identical placements (in which case plcmtcnt>1, seq=0) or you are holding separate auctions for distinct items in the feed (in which case plcmtcnt=1, seq>=1).
optional int32 seq = 5 [default = 0];- Specified by:
hasSeqin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the seq field is set.
-
getSeq
public int getSeq()
0 for the first ad, 1 for the second ad, and so on. Note this would generally NOT be used in combination with plcmtcnt - either you are auctioning multiple identical placements (in which case plcmtcnt>1, seq=0) or you are holding separate auctions for distinct items in the feed (in which case plcmtcnt=1, seq>=1).
optional int32 seq = 5 [default = 0];- Specified by:
getSeqin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The seq.
-
getAssetsList
public List<OpenRtb.NativeRequest.Asset> getAssetsList()
Any bid must comply with the array of elements expressed by the Exchange. REQUIRED by the OpenRTB Native specification: at least 1 element.
repeated .com.google.openrtb.NativeRequest.Asset assets = 6;- Specified by:
getAssetsListin interfaceOpenRtb.NativeRequestOrBuilder
-
getAssetsOrBuilderList
public List<? extends OpenRtb.NativeRequest.AssetOrBuilder> getAssetsOrBuilderList()
Any bid must comply with the array of elements expressed by the Exchange. REQUIRED by the OpenRTB Native specification: at least 1 element.
repeated .com.google.openrtb.NativeRequest.Asset assets = 6;- Specified by:
getAssetsOrBuilderListin interfaceOpenRtb.NativeRequestOrBuilder
-
getAssetsCount
public int getAssetsCount()
Any bid must comply with the array of elements expressed by the Exchange. REQUIRED by the OpenRTB Native specification: at least 1 element.
repeated .com.google.openrtb.NativeRequest.Asset assets = 6;- Specified by:
getAssetsCountin interfaceOpenRtb.NativeRequestOrBuilder
-
getAssets
public OpenRtb.NativeRequest.Asset getAssets(int index)
Any bid must comply with the array of elements expressed by the Exchange. REQUIRED by the OpenRTB Native specification: at least 1 element.
repeated .com.google.openrtb.NativeRequest.Asset assets = 6;- Specified by:
getAssetsin interfaceOpenRtb.NativeRequestOrBuilder
-
getAssetsOrBuilder
public OpenRtb.NativeRequest.AssetOrBuilder getAssetsOrBuilder(int index)
Any bid must comply with the array of elements expressed by the Exchange. REQUIRED by the OpenRTB Native specification: at least 1 element.
repeated .com.google.openrtb.NativeRequest.Asset assets = 6;- Specified by:
getAssetsOrBuilderin interfaceOpenRtb.NativeRequestOrBuilder
-
hasAurlsupport
public boolean hasAurlsupport()
Whether the supply source / impression supports returning an assetsurl instead of an asset object. false or the absence of the field indicates no such support.
optional bool aurlsupport = 11;- Specified by:
hasAurlsupportin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the aurlsupport field is set.
-
getAurlsupport
public boolean getAurlsupport()
Whether the supply source / impression supports returning an assetsurl instead of an asset object. false or the absence of the field indicates no such support.
optional bool aurlsupport = 11;- Specified by:
getAurlsupportin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The aurlsupport.
-
hasDurlsupport
public boolean hasDurlsupport()
Whether the supply source / impression supports returning a DCO URL instead of an asset object. false or the absence of the field indicates no such support. Beta feature.
optional bool durlsupport = 12;- Specified by:
hasDurlsupportin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the durlsupport field is set.
-
getDurlsupport
public boolean getDurlsupport()
Whether the supply source / impression supports returning a DCO URL instead of an asset object. false or the absence of the field indicates no such support. Beta feature.
optional bool durlsupport = 12;- Specified by:
getDurlsupportin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The durlsupport.
-
getEventtrackersList
public List<OpenRtb.NativeRequest.EventTrackers> getEventtrackersList()
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;- Specified by:
getEventtrackersListin interfaceOpenRtb.NativeRequestOrBuilder
-
getEventtrackersOrBuilderList
public List<? extends OpenRtb.NativeRequest.EventTrackersOrBuilder> getEventtrackersOrBuilderList()
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;- Specified by:
getEventtrackersOrBuilderListin interfaceOpenRtb.NativeRequestOrBuilder
-
getEventtrackersCount
public int getEventtrackersCount()
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;- Specified by:
getEventtrackersCountin interfaceOpenRtb.NativeRequestOrBuilder
-
getEventtrackers
public OpenRtb.NativeRequest.EventTrackers getEventtrackers(int index)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;- Specified by:
getEventtrackersin interfaceOpenRtb.NativeRequestOrBuilder
-
getEventtrackersOrBuilder
public OpenRtb.NativeRequest.EventTrackersOrBuilder getEventtrackersOrBuilder(int index)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;- Specified by:
getEventtrackersOrBuilderin interfaceOpenRtb.NativeRequestOrBuilder
-
hasPrivacy
public boolean hasPrivacy()
Set to true when the native ad supports buyer-specific privacy notice. Set to false (or field absent) when the native ad doesn't support custom privacy links or if support is unknown. RECOMMENDED by the OpenRTB Native specification.
optional bool privacy = 14;- Specified by:
hasPrivacyin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the privacy field is set.
-
getPrivacy
public boolean getPrivacy()
Set to true when the native ad supports buyer-specific privacy notice. Set to false (or field absent) when the native ad doesn't support custom privacy links or if support is unknown. RECOMMENDED by the OpenRTB Native specification.
optional bool privacy = 14;- Specified by:
getPrivacyin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The privacy.
-
hasLayout
@Deprecated public boolean hasLayout()
Deprecated.com.google.openrtb.NativeRequest.layout is deprecated. See openrtb.proto;l=1518DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+. Use field <code>plcmttype</code>.
optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];- Specified by:
hasLayoutin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the layout field is set.
-
getLayout
@Deprecated public OpenRtb.LayoutId getLayout()
Deprecated.com.google.openrtb.NativeRequest.layout is deprecated. See openrtb.proto;l=1518DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+. Use field <code>plcmttype</code>.
optional .com.google.openrtb.LayoutId layout = 2 [deprecated = true];- Specified by:
getLayoutin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The layout.
-
hasAdunit
@Deprecated public boolean hasAdunit()
Deprecated.com.google.openrtb.NativeRequest.adunit is deprecated. See openrtb.proto;l=1522DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+. Use fields <code>context</code> and <code>contextsubtype</code>.
optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];- Specified by:
hasAdunitin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- Whether the adunit field is set.
-
getAdunit
@Deprecated public OpenRtb.AdUnitId getAdunit()
Deprecated.com.google.openrtb.NativeRequest.adunit is deprecated. See openrtb.proto;l=1522DEPRECATED in OpenRTB Native 1.1, REMOVED in 1.2+. Use fields <code>context</code> and <code>contextsubtype</code>.
optional .com.google.openrtb.AdUnitId adunit = 3 [deprecated = true];- Specified by:
getAdunitin interfaceOpenRtb.NativeRequestOrBuilder- Returns:
- The adunit.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeRequest>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.NativeRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.NativeRequest.Builder newBuilder()
-
newBuilder
public static OpenRtb.NativeRequest.Builder newBuilder(OpenRtb.NativeRequest prototype)
-
toBuilder
public OpenRtb.NativeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.NativeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.NativeRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.NativeRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.NativeRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.NativeRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-