Package com.google.openrtb
Class OpenRtb.NativeRequest.Asset.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.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
- com.google.openrtb.OpenRtb.NativeRequest.Asset.Builder
-
- All Implemented Interfaces:
OpenRtb.NativeRequest.AssetOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OpenRtb.NativeRequest.Asset
public static final class OpenRtb.NativeRequest.Asset.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest.Asset,OpenRtb.NativeRequest.Asset.Builder> implements OpenRtb.NativeRequest.AssetOrBuilder
OpenRTB Native 1.0: The main container object for each asset requested or supported by Exchange on behalf of the rendering client. Any object that is required is to be flagged as such. Only one of the {title,img,video,data} objects should be present in each object. All others should be null/absent. The id is to be unique within the Asset array so that the response can be aligned.Protobuf typecom.google.openrtb.NativeRequest.Asset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <Type> OpenRtb.NativeRequest.Asset.BuilderaddExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,List<Type>> extension, Type value)OpenRtb.NativeRequest.Asset.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.NativeRequest.Assetbuild()OpenRtb.NativeRequest.AssetbuildPartial()OpenRtb.NativeRequest.Asset.Builderclear()OpenRtb.NativeRequest.Asset.BuilderclearAssetOneof()OpenRtb.NativeRequest.Asset.BuilderclearData()Data object for brand name, description, ratings, prices etc.<Type> OpenRtb.NativeRequest.Asset.BuilderclearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,?> extension)OpenRtb.NativeRequest.Asset.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OpenRtb.NativeRequest.Asset.BuilderclearId()Unique asset ID, assigned by exchange.OpenRtb.NativeRequest.Asset.BuilderclearImg()Image object for image assets.OpenRtb.NativeRequest.Asset.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OpenRtb.NativeRequest.Asset.BuilderclearRequired()Set to true if asset is required (exchange will not accept a bid without it).OpenRtb.NativeRequest.Asset.BuilderclearTitle()Title object for title assets.OpenRtb.NativeRequest.Asset.BuilderclearVideo()Video object for video assets.OpenRtb.NativeRequest.Asset.Builderclone()OpenRtb.NativeRequest.Asset.AssetOneofCasegetAssetOneofCase()OpenRtb.NativeRequest.Asset.DatagetData()Data object for brand name, description, ratings, prices etc.OpenRtb.NativeRequest.Asset.Data.BuildergetDataBuilder()Data object for brand name, description, ratings, prices etc.OpenRtb.NativeRequest.Asset.DataOrBuildergetDataOrBuilder()Data object for brand name, description, ratings, prices etc.OpenRtb.NativeRequest.AssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetId()Unique asset ID, assigned by exchange.OpenRtb.NativeRequest.Asset.ImagegetImg()Image object for image assets.OpenRtb.NativeRequest.Asset.Image.BuildergetImgBuilder()Image object for image assets.OpenRtb.NativeRequest.Asset.ImageOrBuildergetImgOrBuilder()Image object for image assets.booleangetRequired()Set to true if asset is required (exchange will not accept a bid without it).OpenRtb.NativeRequest.Asset.TitlegetTitle()Title object for title assets.OpenRtb.NativeRequest.Asset.Title.BuildergetTitleBuilder()Title object for title assets.OpenRtb.NativeRequest.Asset.TitleOrBuildergetTitleOrBuilder()Title object for title assets.OpenRtb.BidRequest.Imp.VideogetVideo()Video object for video assets.OpenRtb.BidRequest.Imp.Video.BuildergetVideoBuilder()Video object for video assets.OpenRtb.BidRequest.Imp.VideoOrBuildergetVideoOrBuilder()Video object for video assets.booleanhasData()Data object for brand name, description, ratings, prices etc.booleanhasId()Unique asset ID, assigned by exchange.booleanhasImg()Image object for image assets.booleanhasRequired()Set to true if asset is required (exchange will not accept a bid without it).booleanhasTitle()Title object for title assets.booleanhasVideo()Video object for video assets.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OpenRtb.NativeRequest.Asset.BuildermergeData(OpenRtb.NativeRequest.Asset.Data value)Data object for brand name, description, ratings, prices etc.OpenRtb.NativeRequest.Asset.BuildermergeFrom(OpenRtb.NativeRequest.Asset other)OpenRtb.NativeRequest.Asset.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OpenRtb.NativeRequest.Asset.BuildermergeFrom(com.google.protobuf.Message other)OpenRtb.NativeRequest.Asset.BuildermergeImg(OpenRtb.NativeRequest.Asset.Image value)Image object for image assets.OpenRtb.NativeRequest.Asset.BuildermergeTitle(OpenRtb.NativeRequest.Asset.Title value)Title object for title assets.OpenRtb.NativeRequest.Asset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.NativeRequest.Asset.BuildermergeVideo(OpenRtb.BidRequest.Imp.Video value)Video object for video assets.OpenRtb.NativeRequest.Asset.BuildersetData(OpenRtb.NativeRequest.Asset.Data value)Data object for brand name, description, ratings, prices etc.OpenRtb.NativeRequest.Asset.BuildersetData(OpenRtb.NativeRequest.Asset.Data.Builder builderForValue)Data object for brand name, description, ratings, prices etc.<Type> OpenRtb.NativeRequest.Asset.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,List<Type>> extension, int index, Type value)<Type> OpenRtb.NativeRequest.Asset.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,Type> extension, Type value)OpenRtb.NativeRequest.Asset.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.NativeRequest.Asset.BuildersetId(int value)Unique asset ID, assigned by exchange.OpenRtb.NativeRequest.Asset.BuildersetImg(OpenRtb.NativeRequest.Asset.Image value)Image object for image assets.OpenRtb.NativeRequest.Asset.BuildersetImg(OpenRtb.NativeRequest.Asset.Image.Builder builderForValue)Image object for image assets.OpenRtb.NativeRequest.Asset.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OpenRtb.NativeRequest.Asset.BuildersetRequired(boolean value)Set to true if asset is required (exchange will not accept a bid without it).OpenRtb.NativeRequest.Asset.BuildersetTitle(OpenRtb.NativeRequest.Asset.Title value)Title object for title assets.OpenRtb.NativeRequest.Asset.BuildersetTitle(OpenRtb.NativeRequest.Asset.Title.Builder builderForValue)Title object for title assets.OpenRtb.NativeRequest.Asset.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.NativeRequest.Asset.BuildersetVideo(OpenRtb.BidRequest.Imp.Video value)Video object for video assets.OpenRtb.NativeRequest.Asset.BuildersetVideo(OpenRtb.BidRequest.Imp.Video.Builder builderForValue)Video object for video assets.-
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.Asset.Builder>
-
clear
public OpenRtb.NativeRequest.Asset.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.Asset,OpenRtb.NativeRequest.Asset.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.Asset.Builder>
-
getDefaultInstanceForType
public OpenRtb.NativeRequest.Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.Asset>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpenRtb.NativeRequest.Asset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenRtb.NativeRequest.Asset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpenRtb.NativeRequest.Asset.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.Asset.Builder>
-
setField
public OpenRtb.NativeRequest.Asset.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.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
clearField
public OpenRtb.NativeRequest.Asset.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.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
clearOneof
public OpenRtb.NativeRequest.Asset.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.Asset.Builder>
-
setRepeatedField
public OpenRtb.NativeRequest.Asset.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.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
addRepeatedField
public OpenRtb.NativeRequest.Asset.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.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
setExtension
public <Type> OpenRtb.NativeRequest.Asset.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
setExtension
public <Type> OpenRtb.NativeRequest.Asset.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
addExtension
public <Type> OpenRtb.NativeRequest.Asset.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
clearExtension
public <Type> OpenRtb.NativeRequest.Asset.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeRequest.Asset,?> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
mergeFrom
public OpenRtb.NativeRequest.Asset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.NativeRequest.Asset.Builder>
-
mergeFrom
public OpenRtb.NativeRequest.Asset.Builder mergeFrom(OpenRtb.NativeRequest.Asset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeRequest.Asset,OpenRtb.NativeRequest.Asset.Builder>
-
mergeFrom
public OpenRtb.NativeRequest.Asset.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.Asset.Builder>- Throws:
IOException
-
getAssetOneofCase
public OpenRtb.NativeRequest.Asset.AssetOneofCase getAssetOneofCase()
- Specified by:
getAssetOneofCasein interfaceOpenRtb.NativeRequest.AssetOrBuilder
-
clearAssetOneof
public OpenRtb.NativeRequest.Asset.Builder clearAssetOneof()
-
hasId
public boolean hasId()
Unique asset ID, assigned by exchange. Typically a counter for the array. REQUIRED by the OpenRTB Native specification.
required int32 id = 1;- Specified by:
hasIdin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- Whether the id field is set.
-
getId
public int getId()
Unique asset ID, assigned by exchange. Typically a counter for the array. REQUIRED by the OpenRTB Native specification.
required int32 id = 1;- Specified by:
getIdin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- The id.
-
setId
public OpenRtb.NativeRequest.Asset.Builder setId(int value)
Unique asset ID, assigned by exchange. Typically a counter for the array. REQUIRED by the OpenRTB Native specification.
required int32 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public OpenRtb.NativeRequest.Asset.Builder clearId()
Unique asset ID, assigned by exchange. Typically a counter for the array. REQUIRED by the OpenRTB Native specification.
required int32 id = 1;- Returns:
- This builder for chaining.
-
hasRequired
public boolean hasRequired()
Set to true if asset is required (exchange will not accept a bid without it).
optional bool required = 2 [default = false];- Specified by:
hasRequiredin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- Whether the required field is set.
-
getRequired
public boolean getRequired()
Set to true if asset is required (exchange will not accept a bid without it).
optional bool required = 2 [default = false];- Specified by:
getRequiredin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- The required.
-
setRequired
public OpenRtb.NativeRequest.Asset.Builder setRequired(boolean value)
Set to true if asset is required (exchange will not accept a bid without it).
optional bool required = 2 [default = false];- Parameters:
value- The required to set.- Returns:
- This builder for chaining.
-
clearRequired
public OpenRtb.NativeRequest.Asset.Builder clearRequired()
Set to true if asset is required (exchange will not accept a bid without it).
optional bool required = 2 [default = false];- Returns:
- This builder for chaining.
-
hasTitle
public boolean hasTitle()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;- Specified by:
hasTitlein interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
public OpenRtb.NativeRequest.Asset.Title getTitle()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;- Specified by:
getTitlein interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- The title.
-
setTitle
public OpenRtb.NativeRequest.Asset.Builder setTitle(OpenRtb.NativeRequest.Asset.Title value)
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;
-
setTitle
public OpenRtb.NativeRequest.Asset.Builder setTitle(OpenRtb.NativeRequest.Asset.Title.Builder builderForValue)
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;
-
mergeTitle
public OpenRtb.NativeRequest.Asset.Builder mergeTitle(OpenRtb.NativeRequest.Asset.Title value)
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;
-
clearTitle
public OpenRtb.NativeRequest.Asset.Builder clearTitle()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;
-
getTitleBuilder
public OpenRtb.NativeRequest.Asset.Title.Builder getTitleBuilder()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;
-
getTitleOrBuilder
public OpenRtb.NativeRequest.Asset.TitleOrBuilder getTitleOrBuilder()
Title object for title assets.
.com.google.openrtb.NativeRequest.Asset.Title title = 3;- Specified by:
getTitleOrBuilderin interfaceOpenRtb.NativeRequest.AssetOrBuilder
-
hasImg
public boolean hasImg()
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;- Specified by:
hasImgin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- Whether the img field is set.
-
getImg
public OpenRtb.NativeRequest.Asset.Image getImg()
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;- Specified by:
getImgin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- The img.
-
setImg
public OpenRtb.NativeRequest.Asset.Builder setImg(OpenRtb.NativeRequest.Asset.Image value)
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;
-
setImg
public OpenRtb.NativeRequest.Asset.Builder setImg(OpenRtb.NativeRequest.Asset.Image.Builder builderForValue)
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;
-
mergeImg
public OpenRtb.NativeRequest.Asset.Builder mergeImg(OpenRtb.NativeRequest.Asset.Image value)
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;
-
clearImg
public OpenRtb.NativeRequest.Asset.Builder clearImg()
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;
-
getImgBuilder
public OpenRtb.NativeRequest.Asset.Image.Builder getImgBuilder()
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;
-
getImgOrBuilder
public OpenRtb.NativeRequest.Asset.ImageOrBuilder getImgOrBuilder()
Image object for image assets.
.com.google.openrtb.NativeRequest.Asset.Image img = 4;- Specified by:
getImgOrBuilderin interfaceOpenRtb.NativeRequest.AssetOrBuilder
-
hasVideo
public boolean hasVideo()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;- Specified by:
hasVideoin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- Whether the video field is set.
-
getVideo
public OpenRtb.BidRequest.Imp.Video getVideo()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;- Specified by:
getVideoin interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- The video.
-
setVideo
public OpenRtb.NativeRequest.Asset.Builder setVideo(OpenRtb.BidRequest.Imp.Video value)
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;
-
setVideo
public OpenRtb.NativeRequest.Asset.Builder setVideo(OpenRtb.BidRequest.Imp.Video.Builder builderForValue)
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;
-
mergeVideo
public OpenRtb.NativeRequest.Asset.Builder mergeVideo(OpenRtb.BidRequest.Imp.Video value)
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;
-
clearVideo
public OpenRtb.NativeRequest.Asset.Builder clearVideo()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;
-
getVideoBuilder
public OpenRtb.BidRequest.Imp.Video.Builder getVideoBuilder()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;
-
getVideoOrBuilder
public OpenRtb.BidRequest.Imp.VideoOrBuilder getVideoOrBuilder()
Video object for video assets. Note that in-stream video ads are not part of Native. Native ads may contain a video as the ad creative itself.
.com.google.openrtb.BidRequest.Imp.Video video = 5;- Specified by:
getVideoOrBuilderin interfaceOpenRtb.NativeRequest.AssetOrBuilder
-
hasData
public boolean hasData()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;- Specified by:
hasDatain interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- Whether the data field is set.
-
getData
public OpenRtb.NativeRequest.Asset.Data getData()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;- Specified by:
getDatain interfaceOpenRtb.NativeRequest.AssetOrBuilder- Returns:
- The data.
-
setData
public OpenRtb.NativeRequest.Asset.Builder setData(OpenRtb.NativeRequest.Asset.Data value)
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;
-
setData
public OpenRtb.NativeRequest.Asset.Builder setData(OpenRtb.NativeRequest.Asset.Data.Builder builderForValue)
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;
-
mergeData
public OpenRtb.NativeRequest.Asset.Builder mergeData(OpenRtb.NativeRequest.Asset.Data value)
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;
-
clearData
public OpenRtb.NativeRequest.Asset.Builder clearData()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;
-
getDataBuilder
public OpenRtb.NativeRequest.Asset.Data.Builder getDataBuilder()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;
-
getDataOrBuilder
public OpenRtb.NativeRequest.Asset.DataOrBuilder getDataOrBuilder()
Data object for brand name, description, ratings, prices etc.
.com.google.openrtb.NativeRequest.Asset.Data data = 6;- Specified by:
getDataOrBuilderin interfaceOpenRtb.NativeRequest.AssetOrBuilder
-
setUnknownFields
public final OpenRtb.NativeRequest.Asset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeRequest.Asset.Builder>
-
mergeUnknownFields
public final OpenRtb.NativeRequest.Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeRequest.Asset.Builder>
-
-