Package com.google.openrtb
Class OpenRtb.NativeRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
- com.google.openrtb.OpenRtb.NativeRequest.Builder
-
- All Implemented Interfaces:
OpenRtb.NativeRequestOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OpenRtb.NativeRequest
public static final class OpenRtb.NativeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder> 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OpenRtb.NativeRequest.BuilderaddAllAssets(Iterable<? extends OpenRtb.NativeRequest.Asset> values)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuilderaddAllEventtrackers(Iterable<? extends OpenRtb.NativeRequest.EventTrackers> values)Specifies what type of event tracking is supported.OpenRtb.NativeRequest.BuilderaddAssets(int index, OpenRtb.NativeRequest.Asset value)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuilderaddAssets(int index, OpenRtb.NativeRequest.Asset.Builder builderForValue)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuilderaddAssets(OpenRtb.NativeRequest.Asset value)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuilderaddAssets(OpenRtb.NativeRequest.Asset.Builder builderForValue)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.Asset.BuilderaddAssetsBuilder()Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.Asset.BuilderaddAssetsBuilder(int index)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuilderaddEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers value)Specifies what type of event tracking is supported.OpenRtb.NativeRequest.BuilderaddEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers.Builder builderForValue)Specifies what type of event tracking is supported.OpenRtb.NativeRequest.BuilderaddEventtrackers(OpenRtb.NativeRequest.EventTrackers value)Specifies what type of event tracking is supported.OpenRtb.NativeRequest.BuilderaddEventtrackers(OpenRtb.NativeRequest.EventTrackers.Builder builderForValue)Specifies what type of event tracking is supported.OpenRtb.NativeRequest.EventTrackers.BuilderaddEventtrackersBuilder()Specifies what type of event tracking is supported.OpenRtb.NativeRequest.EventTrackers.BuilderaddEventtrackersBuilder(int index)Specifies what type of event tracking is supported.<Type> OpenRtb.NativeRequest.BuilderaddExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,List<Type>> extension, Type value)OpenRtb.NativeRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.NativeRequestbuild()OpenRtb.NativeRequestbuildPartial()OpenRtb.NativeRequest.Builderclear()OpenRtb.NativeRequest.BuilderclearAdunit()Deprecated.com.google.openrtb.NativeRequest.adunit is deprecated.OpenRtb.NativeRequest.BuilderclearAssets()Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuilderclearAurlsupport()Whether the supply source / impression supports returning an assetsurl instead of an asset object.OpenRtb.NativeRequest.BuilderclearContext()The context in which the ad appears.OpenRtb.NativeRequest.BuilderclearContextsubtype()A more detailed context in which the ad appears.OpenRtb.NativeRequest.BuilderclearDurlsupport()Whether the supply source / impression supports returning a DCO URL instead of an asset object.OpenRtb.NativeRequest.BuilderclearEventtrackers()Specifies what type of event tracking is supported.<Type> OpenRtb.NativeRequest.BuilderclearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,?> extension)OpenRtb.NativeRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OpenRtb.NativeRequest.BuilderclearLayout()Deprecated.com.google.openrtb.NativeRequest.layout is deprecated.OpenRtb.NativeRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OpenRtb.NativeRequest.BuilderclearPlcmtcnt()The number of identical placements in this Layout.OpenRtb.NativeRequest.BuilderclearPlcmttype()The design/format/layout of the ad unit being offered.OpenRtb.NativeRequest.BuilderclearPrivacy()Set to true when the native ad supports buyer-specific privacy notice.OpenRtb.NativeRequest.BuilderclearSeq()0 for the first ad, 1 for the second ad, and so on.OpenRtb.NativeRequest.BuilderclearVer()Version of the Native Markup version in use.OpenRtb.NativeRequest.Builderclone()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.OpenRtb.NativeRequest.Asset.BuildergetAssetsBuilder(int index)Any bid must comply with the array of elements expressed by the Exchange.List<OpenRtb.NativeRequest.Asset.Builder>getAssetsBuilderList()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.OpenRtb.NativeRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.OpenRtb.NativeRequest.EventTrackers.BuildergetEventtrackersBuilder(int index)Specifies what type of event tracking is supported.List<OpenRtb.NativeRequest.EventTrackers.Builder>getEventtrackersBuilderList()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.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.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.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()OpenRtb.NativeRequest.BuildermergeFrom(OpenRtb.NativeRequest other)OpenRtb.NativeRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OpenRtb.NativeRequest.BuildermergeFrom(com.google.protobuf.Message other)OpenRtb.NativeRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.NativeRequest.BuilderremoveAssets(int index)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuilderremoveEventtrackers(int index)Specifies what type of event tracking is supported.OpenRtb.NativeRequest.BuildersetAdunit(OpenRtb.AdUnitId value)Deprecated.com.google.openrtb.NativeRequest.adunit is deprecated.OpenRtb.NativeRequest.BuildersetAssets(int index, OpenRtb.NativeRequest.Asset value)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuildersetAssets(int index, OpenRtb.NativeRequest.Asset.Builder builderForValue)Any bid must comply with the array of elements expressed by the Exchange.OpenRtb.NativeRequest.BuildersetAurlsupport(boolean value)Whether the supply source / impression supports returning an assetsurl instead of an asset object.OpenRtb.NativeRequest.BuildersetContext(OpenRtb.ContextType value)The context in which the ad appears.OpenRtb.NativeRequest.BuildersetContextsubtype(OpenRtb.ContextSubtype value)A more detailed context in which the ad appears.OpenRtb.NativeRequest.BuildersetDurlsupport(boolean value)Whether the supply source / impression supports returning a DCO URL instead of an asset object.OpenRtb.NativeRequest.BuildersetEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers value)Specifies what type of event tracking is supported.OpenRtb.NativeRequest.BuildersetEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers.Builder builderForValue)Specifies what type of event tracking is supported.<Type> OpenRtb.NativeRequest.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,List<Type>> extension, int index, Type value)<Type> OpenRtb.NativeRequest.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,Type> extension, Type value)OpenRtb.NativeRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.NativeRequest.BuildersetLayout(OpenRtb.LayoutId value)Deprecated.com.google.openrtb.NativeRequest.layout is deprecated.OpenRtb.NativeRequest.BuildersetPlcmtcnt(int value)The number of identical placements in this Layout.OpenRtb.NativeRequest.BuildersetPlcmttype(OpenRtb.PlacementType value)The design/format/layout of the ad unit being offered.OpenRtb.NativeRequest.BuildersetPrivacy(boolean value)Set to true when the native ad supports buyer-specific privacy notice.OpenRtb.NativeRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OpenRtb.NativeRequest.BuildersetSeq(int value)0 for the first ad, 1 for the second ad, and so on.OpenRtb.NativeRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.NativeRequest.BuildersetVer(String value)Version of the Native Markup version in use.OpenRtb.NativeRequest.BuildersetVerBytes(com.google.protobuf.ByteString value)Version of the Native Markup version in use.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, newBuilderForField, setExtension, setExtension, setExtension, setExtension
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getOneofFieldDescriptor, getParentForChildren, getUnknownFields, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, 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
-
-
-
-
Method Detail
-
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.Builder<OpenRtb.NativeRequest.Builder>
-
clear
public OpenRtb.NativeRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeRequest.Builder>
-
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
-
build
public OpenRtb.NativeRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenRtb.NativeRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpenRtb.NativeRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeRequest.Builder>
-
setField
public OpenRtb.NativeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
clearField
public OpenRtb.NativeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
clearOneof
public OpenRtb.NativeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeRequest.Builder>
-
setRepeatedField
public OpenRtb.NativeRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
addRepeatedField
public OpenRtb.NativeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
setExtension
public <Type> OpenRtb.NativeRequest.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
setExtension
public <Type> OpenRtb.NativeRequest.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
addExtension
public <Type> OpenRtb.NativeRequest.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
clearExtension
public <Type> OpenRtb.NativeRequest.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest,?> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
mergeFrom
public OpenRtb.NativeRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.NativeRequest.Builder>
-
mergeFrom
public OpenRtb.NativeRequest.Builder mergeFrom(OpenRtb.NativeRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest,OpenRtb.NativeRequest.Builder>
-
mergeFrom
public OpenRtb.NativeRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.NativeRequest.Builder>- Throws:
IOException
-
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.
-
setVer
public OpenRtb.NativeRequest.Builder setVer(String value)
Version of the Native Markup version in use.
optional string ver = 1;- Parameters:
value- The ver to set.- Returns:
- This builder for chaining.
-
clearVer
public OpenRtb.NativeRequest.Builder clearVer()
Version of the Native Markup version in use.
optional string ver = 1;- Returns:
- This builder for chaining.
-
setVerBytes
public OpenRtb.NativeRequest.Builder setVerBytes(com.google.protobuf.ByteString value)
Version of the Native Markup version in use.
optional string ver = 1;- Parameters:
value- The bytes for ver to set.- Returns:
- This builder for chaining.
-
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.
-
setContext
public OpenRtb.NativeRequest.Builder setContext(OpenRtb.ContextType value)
The context in which the ad appears. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.ContextType context = 7;- Parameters:
value- The context to set.- Returns:
- This builder for chaining.
-
clearContext
public OpenRtb.NativeRequest.Builder clearContext()
The context in which the ad appears. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.ContextType context = 7;- Returns:
- This builder for chaining.
-
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.
-
setContextsubtype
public OpenRtb.NativeRequest.Builder setContextsubtype(OpenRtb.ContextSubtype value)
A more detailed context in which the ad appears.
optional .com.google.openrtb.ContextSubtype contextsubtype = 8;- Parameters:
value- The contextsubtype to set.- Returns:
- This builder for chaining.
-
clearContextsubtype
public OpenRtb.NativeRequest.Builder clearContextsubtype()
A more detailed context in which the ad appears.
optional .com.google.openrtb.ContextSubtype contextsubtype = 8;- Returns:
- This builder for chaining.
-
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.
-
setPlcmttype
public OpenRtb.NativeRequest.Builder setPlcmttype(OpenRtb.PlacementType value)
The design/format/layout of the ad unit being offered. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.PlacementType plcmttype = 9;- Parameters:
value- The plcmttype to set.- Returns:
- This builder for chaining.
-
clearPlcmttype
public OpenRtb.NativeRequest.Builder clearPlcmttype()
The design/format/layout of the ad unit being offered. RECOMMENDED by the OpenRTB Native specification.
optional .com.google.openrtb.PlacementType plcmttype = 9;- Returns:
- This builder for chaining.
-
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.
-
setPlcmtcnt
public OpenRtb.NativeRequest.Builder setPlcmtcnt(int value)
The number of identical placements in this Layout.
optional int32 plcmtcnt = 4 [default = 1];- Parameters:
value- The plcmtcnt to set.- Returns:
- This builder for chaining.
-
clearPlcmtcnt
public OpenRtb.NativeRequest.Builder clearPlcmtcnt()
The number of identical placements in this Layout.
optional int32 plcmtcnt = 4 [default = 1];- Returns:
- This builder for chaining.
-
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.
-
setSeq
public OpenRtb.NativeRequest.Builder setSeq(int value)
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];- Parameters:
value- The seq to set.- Returns:
- This builder for chaining.
-
clearSeq
public OpenRtb.NativeRequest.Builder clearSeq()
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];- Returns:
- This builder for chaining.
-
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
-
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
-
setAssets
public OpenRtb.NativeRequest.Builder setAssets(int index, OpenRtb.NativeRequest.Asset value)
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;
-
setAssets
public OpenRtb.NativeRequest.Builder setAssets(int index, OpenRtb.NativeRequest.Asset.Builder builderForValue)
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;
-
addAssets
public OpenRtb.NativeRequest.Builder addAssets(OpenRtb.NativeRequest.Asset value)
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;
-
addAssets
public OpenRtb.NativeRequest.Builder addAssets(int index, OpenRtb.NativeRequest.Asset value)
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;
-
addAssets
public OpenRtb.NativeRequest.Builder addAssets(OpenRtb.NativeRequest.Asset.Builder builderForValue)
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;
-
addAssets
public OpenRtb.NativeRequest.Builder addAssets(int index, OpenRtb.NativeRequest.Asset.Builder builderForValue)
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;
-
addAllAssets
public OpenRtb.NativeRequest.Builder addAllAssets(Iterable<? extends OpenRtb.NativeRequest.Asset> values)
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;
-
clearAssets
public OpenRtb.NativeRequest.Builder clearAssets()
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;
-
removeAssets
public OpenRtb.NativeRequest.Builder removeAssets(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;
-
getAssetsBuilder
public OpenRtb.NativeRequest.Asset.Builder getAssetsBuilder(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;
-
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
-
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
-
addAssetsBuilder
public OpenRtb.NativeRequest.Asset.Builder addAssetsBuilder()
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;
-
addAssetsBuilder
public OpenRtb.NativeRequest.Asset.Builder addAssetsBuilder(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;
-
getAssetsBuilderList
public List<OpenRtb.NativeRequest.Asset.Builder> getAssetsBuilderList()
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;
-
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.
-
setAurlsupport
public OpenRtb.NativeRequest.Builder setAurlsupport(boolean value)
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;- Parameters:
value- The aurlsupport to set.- Returns:
- This builder for chaining.
-
clearAurlsupport
public OpenRtb.NativeRequest.Builder clearAurlsupport()
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;- Returns:
- This builder for chaining.
-
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.
-
setDurlsupport
public OpenRtb.NativeRequest.Builder setDurlsupport(boolean value)
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;- Parameters:
value- The durlsupport to set.- Returns:
- This builder for chaining.
-
clearDurlsupport
public OpenRtb.NativeRequest.Builder clearDurlsupport()
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;- Returns:
- This builder for chaining.
-
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
-
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
-
setEventtrackers
public OpenRtb.NativeRequest.Builder setEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers value)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
setEventtrackers
public OpenRtb.NativeRequest.Builder setEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers.Builder builderForValue)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
addEventtrackers
public OpenRtb.NativeRequest.Builder addEventtrackers(OpenRtb.NativeRequest.EventTrackers value)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
addEventtrackers
public OpenRtb.NativeRequest.Builder addEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers value)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
addEventtrackers
public OpenRtb.NativeRequest.Builder addEventtrackers(OpenRtb.NativeRequest.EventTrackers.Builder builderForValue)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
addEventtrackers
public OpenRtb.NativeRequest.Builder addEventtrackers(int index, OpenRtb.NativeRequest.EventTrackers.Builder builderForValue)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
addAllEventtrackers
public OpenRtb.NativeRequest.Builder addAllEventtrackers(Iterable<? extends OpenRtb.NativeRequest.EventTrackers> values)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
clearEventtrackers
public OpenRtb.NativeRequest.Builder clearEventtrackers()
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
removeEventtrackers
public OpenRtb.NativeRequest.Builder removeEventtrackers(int index)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
getEventtrackersBuilder
public OpenRtb.NativeRequest.EventTrackers.Builder getEventtrackersBuilder(int index)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
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
-
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
-
addEventtrackersBuilder
public OpenRtb.NativeRequest.EventTrackers.Builder addEventtrackersBuilder()
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
addEventtrackersBuilder
public OpenRtb.NativeRequest.EventTrackers.Builder addEventtrackersBuilder(int index)
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
getEventtrackersBuilderList
public List<OpenRtb.NativeRequest.EventTrackers.Builder> getEventtrackersBuilderList()
Specifies what type of event tracking is supported.
repeated .com.google.openrtb.NativeRequest.EventTrackers eventtrackers = 13;
-
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.
-
setPrivacy
public OpenRtb.NativeRequest.Builder setPrivacy(boolean value)
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;- Parameters:
value- The privacy to set.- Returns:
- This builder for chaining.
-
clearPrivacy
public OpenRtb.NativeRequest.Builder clearPrivacy()
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;- Returns:
- This builder for chaining.
-
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.
-
setLayout
@Deprecated public OpenRtb.NativeRequest.Builder setLayout(OpenRtb.LayoutId value)
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];- Parameters:
value- The layout to set.- Returns:
- This builder for chaining.
-
clearLayout
@Deprecated public OpenRtb.NativeRequest.Builder clearLayout()
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];- Returns:
- This builder for chaining.
-
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.
-
setAdunit
@Deprecated public OpenRtb.NativeRequest.Builder setAdunit(OpenRtb.AdUnitId value)
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];- Parameters:
value- The adunit to set.- Returns:
- This builder for chaining.
-
clearAdunit
@Deprecated public OpenRtb.NativeRequest.Builder clearAdunit()
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];- Returns:
- This builder for chaining.
-
setUnknownFields
public final OpenRtb.NativeRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeRequest.Builder>
-
mergeUnknownFields
public final OpenRtb.NativeRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeRequest.Builder>
-
-