Package com.google.openrtb
Class OpenRtb.NativeResponse.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.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
- com.google.openrtb.OpenRtb.NativeResponse.Asset.Builder
-
- All Implemented Interfaces:
OpenRtb.NativeResponse.AssetOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OpenRtb.NativeResponse.Asset
public static final class OpenRtb.NativeResponse.Asset.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder> implements OpenRtb.NativeResponse.AssetOrBuilder
OpenRTB Native 1.0: Corresponds to the Asset Object in the request. 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.NativeResponse.Asset
-
-
Method Summary
-
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.NativeResponse.Asset.Builder>
-
clear
public OpenRtb.NativeResponse.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.NativeResponse.Asset,OpenRtb.NativeResponse.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.NativeResponse.Asset.Builder>
-
getDefaultInstanceForType
public OpenRtb.NativeResponse.Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeResponse.Asset>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpenRtb.NativeResponse.Asset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenRtb.NativeResponse.Asset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpenRtb.NativeResponse.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.NativeResponse.Asset.Builder>
-
setField
public OpenRtb.NativeResponse.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.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
clearField
public OpenRtb.NativeResponse.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.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
clearOneof
public OpenRtb.NativeResponse.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.NativeResponse.Asset.Builder>
-
setRepeatedField
public OpenRtb.NativeResponse.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.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
addRepeatedField
public OpenRtb.NativeResponse.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.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
setExtension
public <Type> OpenRtb.NativeResponse.Asset.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse.Asset,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
setExtension
public <Type> OpenRtb.NativeResponse.Asset.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse.Asset,List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
addExtension
public <Type> OpenRtb.NativeResponse.Asset.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse.Asset,List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
clearExtension
public <Type> OpenRtb.NativeResponse.Asset.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.NativeResponse.Asset,?> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
mergeFrom
public OpenRtb.NativeResponse.Asset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.NativeResponse.Asset.Builder>
-
mergeFrom
public OpenRtb.NativeResponse.Asset.Builder mergeFrom(OpenRtb.NativeResponse.Asset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.NativeResponse.Asset,OpenRtb.NativeResponse.Asset.Builder>
-
mergeFrom
public OpenRtb.NativeResponse.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.NativeResponse.Asset.Builder>- Throws:
IOException
-
getAssetOneofCase
public OpenRtb.NativeResponse.Asset.AssetOneofCase getAssetOneofCase()
- Specified by:
getAssetOneofCasein interfaceOpenRtb.NativeResponse.AssetOrBuilder
-
clearAssetOneof
public OpenRtb.NativeResponse.Asset.Builder clearAssetOneof()
-
hasId
public boolean hasId()
Unique asset ID, assigned by exchange, must match one of the asset IDs in request. REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
required int32 id = 1;- Specified by:
hasIdin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- Whether the id field is set.
-
getId
public int getId()
Unique asset ID, assigned by exchange, must match one of the asset IDs in request. REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
required int32 id = 1;- Specified by:
getIdin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- The id.
-
setId
public OpenRtb.NativeResponse.Asset.Builder setId(int value)
Unique asset ID, assigned by exchange, must match one of the asset IDs in request. REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
required int32 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public OpenRtb.NativeResponse.Asset.Builder clearId()
Unique asset ID, assigned by exchange, must match one of the asset IDs in request. REQUIRED in 1.0, or in 1.2 if embedded asset is being used.
required int32 id = 1;- Returns:
- This builder for chaining.
-
hasRequired
public boolean hasRequired()
Set to true if asset is required. (bidder requires it to be displayed).
optional bool required = 2 [default = false];- Specified by:
hasRequiredin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- Whether the required field is set.
-
getRequired
public boolean getRequired()
Set to true if asset is required. (bidder requires it to be displayed).
optional bool required = 2 [default = false];- Specified by:
getRequiredin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- The required.
-
setRequired
public OpenRtb.NativeResponse.Asset.Builder setRequired(boolean value)
Set to true if asset is required. (bidder requires it to be displayed).
optional bool required = 2 [default = false];- Parameters:
value- The required to set.- Returns:
- This builder for chaining.
-
clearRequired
public OpenRtb.NativeResponse.Asset.Builder clearRequired()
Set to true if asset is required. (bidder requires it to be displayed).
optional bool required = 2 [default = false];- Returns:
- This builder for chaining.
-
hasTitle
public boolean hasTitle()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;- Specified by:
hasTitlein interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- Whether the title field is set.
-
getTitle
public OpenRtb.NativeResponse.Asset.Title getTitle()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;- Specified by:
getTitlein interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- The title.
-
setTitle
public OpenRtb.NativeResponse.Asset.Builder setTitle(OpenRtb.NativeResponse.Asset.Title value)
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;
-
setTitle
public OpenRtb.NativeResponse.Asset.Builder setTitle(OpenRtb.NativeResponse.Asset.Title.Builder builderForValue)
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;
-
mergeTitle
public OpenRtb.NativeResponse.Asset.Builder mergeTitle(OpenRtb.NativeResponse.Asset.Title value)
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;
-
clearTitle
public OpenRtb.NativeResponse.Asset.Builder clearTitle()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;
-
getTitleBuilder
public OpenRtb.NativeResponse.Asset.Title.Builder getTitleBuilder()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;
-
getTitleOrBuilder
public OpenRtb.NativeResponse.Asset.TitleOrBuilder getTitleOrBuilder()
Title object for title assets.
.com.google.openrtb.NativeResponse.Asset.Title title = 3;- Specified by:
getTitleOrBuilderin interfaceOpenRtb.NativeResponse.AssetOrBuilder
-
hasImg
public boolean hasImg()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;- Specified by:
hasImgin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- Whether the img field is set.
-
getImg
public OpenRtb.NativeResponse.Asset.Image getImg()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;- Specified by:
getImgin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- The img.
-
setImg
public OpenRtb.NativeResponse.Asset.Builder setImg(OpenRtb.NativeResponse.Asset.Image value)
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;
-
setImg
public OpenRtb.NativeResponse.Asset.Builder setImg(OpenRtb.NativeResponse.Asset.Image.Builder builderForValue)
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;
-
mergeImg
public OpenRtb.NativeResponse.Asset.Builder mergeImg(OpenRtb.NativeResponse.Asset.Image value)
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;
-
clearImg
public OpenRtb.NativeResponse.Asset.Builder clearImg()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;
-
getImgBuilder
public OpenRtb.NativeResponse.Asset.Image.Builder getImgBuilder()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;
-
getImgOrBuilder
public OpenRtb.NativeResponse.Asset.ImageOrBuilder getImgOrBuilder()
Image object for image assets.
.com.google.openrtb.NativeResponse.Asset.Image img = 4;- Specified by:
getImgOrBuilderin interfaceOpenRtb.NativeResponse.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.NativeResponse.Asset.Video video = 5;- Specified by:
hasVideoin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- Whether the video field is set.
-
getVideo
public OpenRtb.NativeResponse.Asset.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.NativeResponse.Asset.Video video = 5;- Specified by:
getVideoin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- The video.
-
setVideo
public OpenRtb.NativeResponse.Asset.Builder setVideo(OpenRtb.NativeResponse.Asset.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.NativeResponse.Asset.Video video = 5;
-
setVideo
public OpenRtb.NativeResponse.Asset.Builder setVideo(OpenRtb.NativeResponse.Asset.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.NativeResponse.Asset.Video video = 5;
-
mergeVideo
public OpenRtb.NativeResponse.Asset.Builder mergeVideo(OpenRtb.NativeResponse.Asset.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.NativeResponse.Asset.Video video = 5;
-
clearVideo
public OpenRtb.NativeResponse.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.NativeResponse.Asset.Video video = 5;
-
getVideoBuilder
public OpenRtb.NativeResponse.Asset.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.NativeResponse.Asset.Video video = 5;
-
getVideoOrBuilder
public OpenRtb.NativeResponse.Asset.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.NativeResponse.Asset.Video video = 5;- Specified by:
getVideoOrBuilderin interfaceOpenRtb.NativeResponse.AssetOrBuilder
-
hasData
public boolean hasData()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;- Specified by:
hasDatain interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- Whether the data field is set.
-
getData
public OpenRtb.NativeResponse.Asset.Data getData()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;- Specified by:
getDatain interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- The data.
-
setData
public OpenRtb.NativeResponse.Asset.Builder setData(OpenRtb.NativeResponse.Asset.Data value)
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;
-
setData
public OpenRtb.NativeResponse.Asset.Builder setData(OpenRtb.NativeResponse.Asset.Data.Builder builderForValue)
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;
-
mergeData
public OpenRtb.NativeResponse.Asset.Builder mergeData(OpenRtb.NativeResponse.Asset.Data value)
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;
-
clearData
public OpenRtb.NativeResponse.Asset.Builder clearData()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;
-
getDataBuilder
public OpenRtb.NativeResponse.Asset.Data.Builder getDataBuilder()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;
-
getDataOrBuilder
public OpenRtb.NativeResponse.Asset.DataOrBuilder getDataOrBuilder()
Data object for ratings, prices etc.
.com.google.openrtb.NativeResponse.Asset.Data data = 6;- Specified by:
getDataOrBuilderin interfaceOpenRtb.NativeResponse.AssetOrBuilder
-
hasLink
public boolean hasLink()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;- Specified by:
hasLinkin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- Whether the link field is set.
-
getLink
public OpenRtb.NativeResponse.Link getLink()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;- Specified by:
getLinkin interfaceOpenRtb.NativeResponse.AssetOrBuilder- Returns:
- The link.
-
setLink
public OpenRtb.NativeResponse.Asset.Builder setLink(OpenRtb.NativeResponse.Link value)
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;
-
setLink
public OpenRtb.NativeResponse.Asset.Builder setLink(OpenRtb.NativeResponse.Link.Builder builderForValue)
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;
-
mergeLink
public OpenRtb.NativeResponse.Asset.Builder mergeLink(OpenRtb.NativeResponse.Link value)
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;
-
clearLink
public OpenRtb.NativeResponse.Asset.Builder clearLink()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;
-
getLinkBuilder
public OpenRtb.NativeResponse.Link.Builder getLinkBuilder()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;
-
getLinkOrBuilder
public OpenRtb.NativeResponse.LinkOrBuilder getLinkOrBuilder()
Link object for call to actions. This link object applies if the asset item is activated (clicked). If there is no link object on the asset, the parent link object on the bid response apply.
optional .com.google.openrtb.NativeResponse.Link link = 7;- Specified by:
getLinkOrBuilderin interfaceOpenRtb.NativeResponse.AssetOrBuilder
-
setUnknownFields
public final OpenRtb.NativeResponse.Asset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.Asset.Builder>
-
mergeUnknownFields
public final OpenRtb.NativeResponse.Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.NativeResponse.Asset.Builder>
-
-