Package com.google.openrtb
Class OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
- com.google.openrtb.OpenRtb.BidRequest.Imp.Video.Builder
-
- All Implemented Interfaces:
OpenRtb.BidRequest.Imp.VideoOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Video>,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OpenRtb.BidRequest.Imp.Video
public static final class OpenRtb.BidRequest.Imp.Video.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder> implements OpenRtb.BidRequest.Imp.VideoOrBuilder
OpenRTB 2.0: This object represents an in-stream video impression. Many of the fields are non-essential for minimally viable transactions, but are included to offer fine control when needed. Video in OpenRTB generally assumes compliance with the VAST standard. As such, the notion of companion ads is supported by optionally including an array of Banner objects (refer to the Banner object in Section 3.2.3) that define these companion ads. The presence of a Video as a subordinate of the Imp object indicates that this impression is offered as a video type impression. At the publisher's discretion, that same impression may also be offered as banner and/or native by also including as Imp subordinates the Banner and/or Native objects, respectively. However, any given bid for the impression must conform to one of the offered types.
Protobuf typecom.google.openrtb.BidRequest.Imp.Video
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OpenRtb.BidRequest.Imp.Video.BuilderaddAllApi(Iterable<? extends OpenRtb.APIFramework> values)List of supported API frameworks for this impression.OpenRtb.BidRequest.Imp.Video.BuilderaddAllBattr(Iterable<? extends OpenRtb.CreativeAttribute> values)Blocked creative attributes.OpenRtb.BidRequest.Imp.Video.BuilderaddAllCompanionad(Iterable<? extends OpenRtb.BidRequest.Imp.Banner> values)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuilderaddAllCompaniontype(Iterable<? extends OpenRtb.CompanionType> values)Supported VAST companion ad types.OpenRtb.BidRequest.Imp.Video.BuilderaddAllDelivery(Iterable<? extends OpenRtb.ContentDeliveryMethod> values)Supported delivery methods (e.g., streaming, progressive).OpenRtb.BidRequest.Imp.Video.BuilderaddAllMimes(Iterable<String> values)Allowlist of content MIME types supported.OpenRtb.BidRequest.Imp.Video.BuilderaddAllPlaybackmethod(Iterable<? extends OpenRtb.PlaybackMethod> values)Playback methods that may be in use.OpenRtb.BidRequest.Imp.Video.BuilderaddAllProtocols(Iterable<? extends OpenRtb.Protocol> values)Array of supported video bid response protocols.OpenRtb.BidRequest.Imp.Video.BuilderaddApi(OpenRtb.APIFramework value)List of supported API frameworks for this impression.OpenRtb.BidRequest.Imp.Video.BuilderaddBattr(OpenRtb.CreativeAttribute value)Blocked creative attributes.OpenRtb.BidRequest.Imp.Video.BuilderaddCompanionad(int index, OpenRtb.BidRequest.Imp.Banner value)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuilderaddCompanionad(int index, OpenRtb.BidRequest.Imp.Banner.Builder builderForValue)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuilderaddCompanionad(OpenRtb.BidRequest.Imp.Banner value)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuilderaddCompanionad(OpenRtb.BidRequest.Imp.Banner.Builder builderForValue)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Banner.BuilderaddCompanionadBuilder()Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Banner.BuilderaddCompanionadBuilder(int index)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuilderaddCompaniontype(OpenRtb.CompanionType value)Supported VAST companion ad types.OpenRtb.BidRequest.Imp.Video.BuilderaddDelivery(OpenRtb.ContentDeliveryMethod value)Supported delivery methods (e.g., streaming, progressive).<Type> OpenRtb.BidRequest.Imp.Video.BuilderaddExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,List<Type>> extension, Type value)OpenRtb.BidRequest.Imp.Video.BuilderaddMimes(String value)Allowlist of content MIME types supported.OpenRtb.BidRequest.Imp.Video.BuilderaddMimesBytes(com.google.protobuf.ByteString value)Allowlist of content MIME types supported.OpenRtb.BidRequest.Imp.Video.BuilderaddPlaybackmethod(OpenRtb.PlaybackMethod value)Playback methods that may be in use.OpenRtb.BidRequest.Imp.Video.BuilderaddProtocols(OpenRtb.Protocol value)Array of supported video bid response protocols.OpenRtb.BidRequest.Imp.Video.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.BidRequest.Imp.Videobuild()OpenRtb.BidRequest.Imp.VideobuildPartial()OpenRtb.BidRequest.Imp.Video.Builderclear()OpenRtb.BidRequest.Imp.Video.BuilderclearApi()List of supported API frameworks for this impression.OpenRtb.BidRequest.Imp.Video.BuilderclearBattr()Blocked creative attributes.OpenRtb.BidRequest.Imp.Video.BuilderclearBoxingallowed()Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.OpenRtb.BidRequest.Imp.Video.BuilderclearCompanionad()Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuilderclearCompanionad21()Deprecated.OpenRtb.BidRequest.Imp.Video.BuilderclearCompaniontype()Supported VAST companion ad types.OpenRtb.BidRequest.Imp.Video.BuilderclearDelivery()Supported delivery methods (e.g., streaming, progressive).<Type> OpenRtb.BidRequest.Imp.Video.BuilderclearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,?> extension)OpenRtb.BidRequest.Imp.Video.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)OpenRtb.BidRequest.Imp.Video.BuilderclearH()Height of the video player in device independent pixels (DIPS).OpenRtb.BidRequest.Imp.Video.BuilderclearLinearity()Indicates if the impression must be linear, nonlinear, etc.OpenRtb.BidRequest.Imp.Video.BuilderclearMaxbitrate()Maximum bit rate in Kbps.OpenRtb.BidRequest.Imp.Video.BuilderclearMaxduration()Maximum video ad duration in seconds.OpenRtb.BidRequest.Imp.Video.BuilderclearMaxextended()Maximum extended video ad duration, if extension is allowed.OpenRtb.BidRequest.Imp.Video.BuilderclearMimes()Allowlist of content MIME types supported.OpenRtb.BidRequest.Imp.Video.BuilderclearMinbitrate()Minimum bit rate in Kbps.OpenRtb.BidRequest.Imp.Video.BuilderclearMinduration()Minimum video ad duration in seconds.OpenRtb.BidRequest.Imp.Video.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)OpenRtb.BidRequest.Imp.Video.BuilderclearPlacement()Placement type for the impression.OpenRtb.BidRequest.Imp.Video.BuilderclearPlaybackend()The event that causes playback to end.OpenRtb.BidRequest.Imp.Video.BuilderclearPlaybackmethod()Playback methods that may be in use.OpenRtb.BidRequest.Imp.Video.BuilderclearPos()Ad position on screen.OpenRtb.BidRequest.Imp.Video.BuilderclearProtocol()Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.OpenRtb.BidRequest.Imp.Video.BuilderclearProtocols()Array of supported video bid response protocols.OpenRtb.BidRequest.Imp.Video.BuilderclearSequence()If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.OpenRtb.BidRequest.Imp.Video.BuilderclearSkip()Indicates if the player will allow the video to be skipped.OpenRtb.BidRequest.Imp.Video.BuilderclearSkipafter()Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.OpenRtb.BidRequest.Imp.Video.BuilderclearSkipmin()Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.OpenRtb.BidRequest.Imp.Video.BuilderclearStartdelay()Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.OpenRtb.BidRequest.Imp.Video.BuilderclearW()Width of the video player in device independent pixels (DIPS).OpenRtb.BidRequest.Imp.Video.Builderclone()OpenRtb.APIFrameworkgetApi(int index)List of supported API frameworks for this impression.intgetApiCount()List of supported API frameworks for this impression.List<OpenRtb.APIFramework>getApiList()List of supported API frameworks for this impression.OpenRtb.CreativeAttributegetBattr(int index)Blocked creative attributes.intgetBattrCount()Blocked creative attributes.List<OpenRtb.CreativeAttribute>getBattrList()Blocked creative attributes.booleangetBoxingallowed()Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.OpenRtb.BidRequest.Imp.BannergetCompanionad(int index)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.CompanionAdgetCompanionad21()Deprecated.com.google.openrtb.BidRequest.Imp.Video.companionad_21 is deprecated.OpenRtb.BidRequest.Imp.Video.CompanionAd.BuildergetCompanionad21Builder()Deprecated.OpenRtb.BidRequest.Imp.Video.CompanionAdOrBuildergetCompanionad21OrBuilder()Deprecated.OpenRtb.BidRequest.Imp.Banner.BuildergetCompanionadBuilder(int index)Array of Banner objects (Section 3.2.3) if companion ads are available.List<OpenRtb.BidRequest.Imp.Banner.Builder>getCompanionadBuilderList()Array of Banner objects (Section 3.2.3) if companion ads are available.intgetCompanionadCount()Array of Banner objects (Section 3.2.3) if companion ads are available.List<OpenRtb.BidRequest.Imp.Banner>getCompanionadList()Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.BannerOrBuildergetCompanionadOrBuilder(int index)Array of Banner objects (Section 3.2.3) if companion ads are available.List<? extends OpenRtb.BidRequest.Imp.BannerOrBuilder>getCompanionadOrBuilderList()Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.CompanionTypegetCompaniontype(int index)Supported VAST companion ad types.intgetCompaniontypeCount()Supported VAST companion ad types.List<OpenRtb.CompanionType>getCompaniontypeList()Supported VAST companion ad types.OpenRtb.BidRequest.Imp.VideogetDefaultInstanceForType()OpenRtb.ContentDeliveryMethodgetDelivery(int index)Supported delivery methods (e.g., streaming, progressive).intgetDeliveryCount()Supported delivery methods (e.g., streaming, progressive).List<OpenRtb.ContentDeliveryMethod>getDeliveryList()Supported delivery methods (e.g., streaming, progressive).static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetH()Height of the video player in device independent pixels (DIPS).OpenRtb.VideoLinearitygetLinearity()Indicates if the impression must be linear, nonlinear, etc.intgetMaxbitrate()Maximum bit rate in Kbps.intgetMaxduration()Maximum video ad duration in seconds.intgetMaxextended()Maximum extended video ad duration, if extension is allowed.StringgetMimes(int index)Allowlist of content MIME types supported.com.google.protobuf.ByteStringgetMimesBytes(int index)Allowlist of content MIME types supported.intgetMimesCount()Allowlist of content MIME types supported.com.google.protobuf.ProtocolStringListgetMimesList()Allowlist of content MIME types supported.intgetMinbitrate()Minimum bit rate in Kbps.intgetMinduration()Minimum video ad duration in seconds.OpenRtb.VideoPlacementTypegetPlacement()Placement type for the impression.OpenRtb.PlaybackCessationModegetPlaybackend()The event that causes playback to end.OpenRtb.PlaybackMethodgetPlaybackmethod(int index)Playback methods that may be in use.intgetPlaybackmethodCount()Playback methods that may be in use.List<OpenRtb.PlaybackMethod>getPlaybackmethodList()Playback methods that may be in use.OpenRtb.AdPositiongetPos()Ad position on screen.OpenRtb.ProtocolgetProtocol()Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.OpenRtb.ProtocolgetProtocols(int index)Array of supported video bid response protocols.intgetProtocolsCount()Array of supported video bid response protocols.List<OpenRtb.Protocol>getProtocolsList()Array of supported video bid response protocols.intgetSequence()If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.booleangetSkip()Indicates if the player will allow the video to be skipped.intgetSkipafter()Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.intgetSkipmin()Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.intgetStartdelay()Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.intgetW()Width of the video player in device independent pixels (DIPS).booleanhasBoxingallowed()Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.booleanhasCompanionad21()Deprecated.com.google.openrtb.BidRequest.Imp.Video.companionad_21 is deprecated.booleanhasH()Height of the video player in device independent pixels (DIPS).booleanhasLinearity()Indicates if the impression must be linear, nonlinear, etc.booleanhasMaxbitrate()Maximum bit rate in Kbps.booleanhasMaxduration()Maximum video ad duration in seconds.booleanhasMaxextended()Maximum extended video ad duration, if extension is allowed.booleanhasMinbitrate()Minimum bit rate in Kbps.booleanhasMinduration()Minimum video ad duration in seconds.booleanhasPlacement()Placement type for the impression.booleanhasPlaybackend()The event that causes playback to end.booleanhasPos()Ad position on screen.booleanhasProtocol()Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.booleanhasSequence()If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.booleanhasSkip()Indicates if the player will allow the video to be skipped.booleanhasSkipafter()Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.booleanhasSkipmin()Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.booleanhasStartdelay()Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.booleanhasW()Width of the video player in device independent pixels (DIPS).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()OpenRtb.BidRequest.Imp.Video.BuildermergeCompanionad21(OpenRtb.BidRequest.Imp.Video.CompanionAd value)Deprecated.OpenRtb.BidRequest.Imp.Video.BuildermergeFrom(OpenRtb.BidRequest.Imp.Video other)OpenRtb.BidRequest.Imp.Video.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)OpenRtb.BidRequest.Imp.Video.BuildermergeFrom(com.google.protobuf.Message other)OpenRtb.BidRequest.Imp.Video.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.BidRequest.Imp.Video.BuilderremoveCompanionad(int index)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuildersetApi(int index, OpenRtb.APIFramework value)List of supported API frameworks for this impression.OpenRtb.BidRequest.Imp.Video.BuildersetBattr(int index, OpenRtb.CreativeAttribute value)Blocked creative attributes.OpenRtb.BidRequest.Imp.Video.BuildersetBoxingallowed(boolean value)Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.OpenRtb.BidRequest.Imp.Video.BuildersetCompanionad(int index, OpenRtb.BidRequest.Imp.Banner value)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuildersetCompanionad(int index, OpenRtb.BidRequest.Imp.Banner.Builder builderForValue)Array of Banner objects (Section 3.2.3) if companion ads are available.OpenRtb.BidRequest.Imp.Video.BuildersetCompanionad21(OpenRtb.BidRequest.Imp.Video.CompanionAd value)Deprecated.OpenRtb.BidRequest.Imp.Video.BuildersetCompanionad21(OpenRtb.BidRequest.Imp.Video.CompanionAd.Builder builderForValue)Deprecated.OpenRtb.BidRequest.Imp.Video.BuildersetCompaniontype(int index, OpenRtb.CompanionType value)Supported VAST companion ad types.OpenRtb.BidRequest.Imp.Video.BuildersetDelivery(int index, OpenRtb.ContentDeliveryMethod value)Supported delivery methods (e.g., streaming, progressive).<Type> OpenRtb.BidRequest.Imp.Video.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,List<Type>> extension, int index, Type value)<Type> OpenRtb.BidRequest.Imp.Video.BuildersetExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,Type> extension, Type value)OpenRtb.BidRequest.Imp.Video.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)OpenRtb.BidRequest.Imp.Video.BuildersetH(int value)Height of the video player in device independent pixels (DIPS).OpenRtb.BidRequest.Imp.Video.BuildersetLinearity(OpenRtb.VideoLinearity value)Indicates if the impression must be linear, nonlinear, etc.OpenRtb.BidRequest.Imp.Video.BuildersetMaxbitrate(int value)Maximum bit rate in Kbps.OpenRtb.BidRequest.Imp.Video.BuildersetMaxduration(int value)Maximum video ad duration in seconds.OpenRtb.BidRequest.Imp.Video.BuildersetMaxextended(int value)Maximum extended video ad duration, if extension is allowed.OpenRtb.BidRequest.Imp.Video.BuildersetMimes(int index, String value)Allowlist of content MIME types supported.OpenRtb.BidRequest.Imp.Video.BuildersetMinbitrate(int value)Minimum bit rate in Kbps.OpenRtb.BidRequest.Imp.Video.BuildersetMinduration(int value)Minimum video ad duration in seconds.OpenRtb.BidRequest.Imp.Video.BuildersetPlacement(OpenRtb.VideoPlacementType value)Placement type for the impression.OpenRtb.BidRequest.Imp.Video.BuildersetPlaybackend(OpenRtb.PlaybackCessationMode value)The event that causes playback to end.OpenRtb.BidRequest.Imp.Video.BuildersetPlaybackmethod(int index, OpenRtb.PlaybackMethod value)Playback methods that may be in use.OpenRtb.BidRequest.Imp.Video.BuildersetPos(OpenRtb.AdPosition value)Ad position on screen.OpenRtb.BidRequest.Imp.Video.BuildersetProtocol(OpenRtb.Protocol value)Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated.OpenRtb.BidRequest.Imp.Video.BuildersetProtocols(int index, OpenRtb.Protocol value)Array of supported video bid response protocols.OpenRtb.BidRequest.Imp.Video.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)OpenRtb.BidRequest.Imp.Video.BuildersetSequence(int value)If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.OpenRtb.BidRequest.Imp.Video.BuildersetSkip(boolean value)Indicates if the player will allow the video to be skipped.OpenRtb.BidRequest.Imp.Video.BuildersetSkipafter(int value)Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.OpenRtb.BidRequest.Imp.Video.BuildersetSkipmin(int value)Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.OpenRtb.BidRequest.Imp.Video.BuildersetStartdelay(int value)Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.OpenRtb.BidRequest.Imp.Video.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)OpenRtb.BidRequest.Imp.Video.BuildersetW(int value)Width of the video player in device independent pixels (DIPS).-
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.BidRequest.Imp.Video.Builder>
-
clear
public OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video.Builder>
-
getDefaultInstanceForType
public OpenRtb.BidRequest.Imp.Video getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Video>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public OpenRtb.BidRequest.Imp.Video build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OpenRtb.BidRequest.Imp.Video buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video.Builder>
-
setField
public OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
clearField
public OpenRtb.BidRequest.Imp.Video.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
clearOneof
public OpenRtb.BidRequest.Imp.Video.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Imp.Video.Builder>
-
setRepeatedField
public OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
addRepeatedField
public OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
setExtension
public <Type> OpenRtb.BidRequest.Imp.Video.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,Type> extension, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
setExtension
public <Type> OpenRtb.BidRequest.Imp.Video.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,List<Type>> extension, int index, Type value)
- Overrides:
setExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
addExtension
public <Type> OpenRtb.BidRequest.Imp.Video.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,List<Type>> extension, Type value)
- Overrides:
addExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
clearExtension
public <Type> OpenRtb.BidRequest.Imp.Video.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<OpenRtb.BidRequest.Imp.Video,?> extension)
- Overrides:
clearExtensionin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
mergeFrom
public OpenRtb.BidRequest.Imp.Video.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OpenRtb.BidRequest.Imp.Video.Builder>
-
mergeFrom
public OpenRtb.BidRequest.Imp.Video.Builder mergeFrom(OpenRtb.BidRequest.Imp.Video other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableBuilder<OpenRtb.BidRequest.Imp.Video,OpenRtb.BidRequest.Imp.Video.Builder>
-
mergeFrom
public OpenRtb.BidRequest.Imp.Video.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.BidRequest.Imp.Video.Builder>- Throws:
IOException
-
getMimesList
public com.google.protobuf.ProtocolStringList getMimesList()
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- A list containing the mimes.
-
getMimesCount
public int getMimesCount()
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The count of mimes.
-
getMimes
public String getMimes(int index)
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The mimes at the given index.
-
getMimesBytes
public com.google.protobuf.ByteString getMimesBytes(int index)
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Specified by:
getMimesBytesin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mimes at the given index.
-
setMimes
public OpenRtb.BidRequest.Imp.Video.Builder setMimes(int index, String value)
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Parameters:
index- The index to set the value at.value- The mimes to set.- Returns:
- This builder for chaining.
-
addMimes
public OpenRtb.BidRequest.Imp.Video.Builder addMimes(String value)
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Parameters:
value- The mimes to add.- Returns:
- This builder for chaining.
-
addAllMimes
public OpenRtb.BidRequest.Imp.Video.Builder addAllMimes(Iterable<String> values)
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Parameters:
values- The mimes to add.- Returns:
- This builder for chaining.
-
clearMimes
public OpenRtb.BidRequest.Imp.Video.Builder clearMimes()
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Returns:
- This builder for chaining.
-
addMimesBytes
public OpenRtb.BidRequest.Imp.Video.Builder addMimesBytes(com.google.protobuf.ByteString value)
Allowlist of content MIME types supported. Popular MIME types include, but are not limited to "image/jpg", "image/gif" and "application/x-shockwave-flash". REQUIRED by the OpenRTB specification: at least 1 element.
repeated string mimes = 1;- Parameters:
value- The bytes of the mimes to add.- Returns:
- This builder for chaining.
-
hasMinduration
public boolean hasMinduration()
Minimum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 minduration = 3 [default = 0];- Specified by:
hasMindurationin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the minduration field is set.
-
getMinduration
public int getMinduration()
Minimum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 minduration = 3 [default = 0];- Specified by:
getMindurationin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The minduration.
-
setMinduration
public OpenRtb.BidRequest.Imp.Video.Builder setMinduration(int value)
Minimum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 minduration = 3 [default = 0];- Parameters:
value- The minduration to set.- Returns:
- This builder for chaining.
-
clearMinduration
public OpenRtb.BidRequest.Imp.Video.Builder clearMinduration()
Minimum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 minduration = 3 [default = 0];- Returns:
- This builder for chaining.
-
hasMaxduration
public boolean hasMaxduration()
Maximum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 maxduration = 4;- Specified by:
hasMaxdurationin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the maxduration field is set.
-
getMaxduration
public int getMaxduration()
Maximum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 maxduration = 4;- Specified by:
getMaxdurationin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The maxduration.
-
setMaxduration
public OpenRtb.BidRequest.Imp.Video.Builder setMaxduration(int value)
Maximum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 maxduration = 4;- Parameters:
value- The maxduration to set.- Returns:
- This builder for chaining.
-
clearMaxduration
public OpenRtb.BidRequest.Imp.Video.Builder clearMaxduration()
Maximum video ad duration in seconds. RECOMMENDED by the OpenRTB specification.
optional int32 maxduration = 4;- Returns:
- This builder for chaining.
-
hasStartdelay
public boolean hasStartdelay()
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. Refer to enum StartDelay for generic values. RECOMMENDED by the OpenRTB specification.
optional int32 startdelay = 8;- Specified by:
hasStartdelayin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the startdelay field is set.
-
getStartdelay
public int getStartdelay()
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. Refer to enum StartDelay for generic values. RECOMMENDED by the OpenRTB specification.
optional int32 startdelay = 8;- Specified by:
getStartdelayin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The startdelay.
-
setStartdelay
public OpenRtb.BidRequest.Imp.Video.Builder setStartdelay(int value)
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. Refer to enum StartDelay for generic values. RECOMMENDED by the OpenRTB specification.
optional int32 startdelay = 8;- Parameters:
value- The startdelay to set.- Returns:
- This builder for chaining.
-
clearStartdelay
public OpenRtb.BidRequest.Imp.Video.Builder clearStartdelay()
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements. Refer to enum StartDelay for generic values. RECOMMENDED by the OpenRTB specification.
optional int32 startdelay = 8;- Returns:
- This builder for chaining.
-
getProtocolsList
public List<OpenRtb.Protocol> getProtocolsList()
Array of supported video bid response protocols. At least one supported protocol must be specified.
repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];- Specified by:
getProtocolsListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- A list containing the protocols.
-
getProtocolsCount
public int getProtocolsCount()
Array of supported video bid response protocols. At least one supported protocol must be specified.
repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];- Specified by:
getProtocolsCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The count of protocols.
-
getProtocols
public OpenRtb.Protocol getProtocols(int index)
Array of supported video bid response protocols. At least one supported protocol must be specified.
repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];- Specified by:
getProtocolsin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The protocols at the given index.
-
setProtocols
public OpenRtb.BidRequest.Imp.Video.Builder setProtocols(int index, OpenRtb.Protocol value)
Array of supported video bid response protocols. At least one supported protocol must be specified.
repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];- Parameters:
index- The index to set the value at.value- The protocols to set.- Returns:
- This builder for chaining.
-
addProtocols
public OpenRtb.BidRequest.Imp.Video.Builder addProtocols(OpenRtb.Protocol value)
Array of supported video bid response protocols. At least one supported protocol must be specified.
repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];- Parameters:
value- The protocols to add.- Returns:
- This builder for chaining.
-
addAllProtocols
public OpenRtb.BidRequest.Imp.Video.Builder addAllProtocols(Iterable<? extends OpenRtb.Protocol> values)
Array of supported video bid response protocols. At least one supported protocol must be specified.
repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];- Parameters:
values- The protocols to add.- Returns:
- This builder for chaining.
-
clearProtocols
public OpenRtb.BidRequest.Imp.Video.Builder clearProtocols()
Array of supported video bid response protocols. At least one supported protocol must be specified.
repeated .com.google.openrtb.Protocol protocols = 21 [packed = true];- Returns:
- This builder for chaining.
-
hasW
public boolean hasW()
Width of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 w = 6;- Specified by:
hasWin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the w field is set.
-
getW
public int getW()
Width of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 w = 6;- Specified by:
getWin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The w.
-
setW
public OpenRtb.BidRequest.Imp.Video.Builder setW(int value)
Width of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 w = 6;- Parameters:
value- The w to set.- Returns:
- This builder for chaining.
-
clearW
public OpenRtb.BidRequest.Imp.Video.Builder clearW()
Width of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 w = 6;- Returns:
- This builder for chaining.
-
hasH
public boolean hasH()
Height of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 h = 7;- Specified by:
hasHin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the h field is set.
-
getH
public int getH()
Height of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 h = 7;- Specified by:
getHin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The h.
-
setH
public OpenRtb.BidRequest.Imp.Video.Builder setH(int value)
Height of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 h = 7;- Parameters:
value- The h to set.- Returns:
- This builder for chaining.
-
clearH
public OpenRtb.BidRequest.Imp.Video.Builder clearH()
Height of the video player in device independent pixels (DIPS). RECOMMENDED by the OpenRTB specification.
optional int32 h = 7;- Returns:
- This builder for chaining.
-
hasPlacement
public boolean hasPlacement()
Placement type for the impression.
optional .com.google.openrtb.VideoPlacementType placement = 26;- Specified by:
hasPlacementin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the placement field is set.
-
getPlacement
public OpenRtb.VideoPlacementType getPlacement()
Placement type for the impression.
optional .com.google.openrtb.VideoPlacementType placement = 26;- Specified by:
getPlacementin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The placement.
-
setPlacement
public OpenRtb.BidRequest.Imp.Video.Builder setPlacement(OpenRtb.VideoPlacementType value)
Placement type for the impression.
optional .com.google.openrtb.VideoPlacementType placement = 26;- Parameters:
value- The placement to set.- Returns:
- This builder for chaining.
-
clearPlacement
public OpenRtb.BidRequest.Imp.Video.Builder clearPlacement()
Placement type for the impression.
optional .com.google.openrtb.VideoPlacementType placement = 26;- Returns:
- This builder for chaining.
-
hasLinearity
public boolean hasLinearity()
Indicates if the impression must be linear, nonlinear, etc. If none specified, assume all are allowed.
optional .com.google.openrtb.VideoLinearity linearity = 2;- Specified by:
hasLinearityin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the linearity field is set.
-
getLinearity
public OpenRtb.VideoLinearity getLinearity()
Indicates if the impression must be linear, nonlinear, etc. If none specified, assume all are allowed.
optional .com.google.openrtb.VideoLinearity linearity = 2;- Specified by:
getLinearityin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The linearity.
-
setLinearity
public OpenRtb.BidRequest.Imp.Video.Builder setLinearity(OpenRtb.VideoLinearity value)
Indicates if the impression must be linear, nonlinear, etc. If none specified, assume all are allowed.
optional .com.google.openrtb.VideoLinearity linearity = 2;- Parameters:
value- The linearity to set.- Returns:
- This builder for chaining.
-
clearLinearity
public OpenRtb.BidRequest.Imp.Video.Builder clearLinearity()
Indicates if the impression must be linear, nonlinear, etc. If none specified, assume all are allowed.
optional .com.google.openrtb.VideoLinearity linearity = 2;- Returns:
- This builder for chaining.
-
hasSkip
public boolean hasSkip()
Indicates if the player will allow the video to be skipped. If a bidder sends markup/creative that is itself skippable, the Bid object should include the attr array with an element of 16 indicating skippable video.
optional bool skip = 23;- Specified by:
hasSkipin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the skip field is set.
-
getSkip
public boolean getSkip()
Indicates if the player will allow the video to be skipped. If a bidder sends markup/creative that is itself skippable, the Bid object should include the attr array with an element of 16 indicating skippable video.
optional bool skip = 23;- Specified by:
getSkipin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The skip.
-
setSkip
public OpenRtb.BidRequest.Imp.Video.Builder setSkip(boolean value)
Indicates if the player will allow the video to be skipped. If a bidder sends markup/creative that is itself skippable, the Bid object should include the attr array with an element of 16 indicating skippable video.
optional bool skip = 23;- Parameters:
value- The skip to set.- Returns:
- This builder for chaining.
-
clearSkip
public OpenRtb.BidRequest.Imp.Video.Builder clearSkip()
Indicates if the player will allow the video to be skipped. If a bidder sends markup/creative that is itself skippable, the Bid object should include the attr array with an element of 16 indicating skippable video.
optional bool skip = 23;- Returns:
- This builder for chaining.
-
hasSkipmin
public boolean hasSkipmin()
Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.
optional int32 skipmin = 24;- Specified by:
hasSkipminin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the skipmin field is set.
-
getSkipmin
public int getSkipmin()
Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.
optional int32 skipmin = 24;- Specified by:
getSkipminin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The skipmin.
-
setSkipmin
public OpenRtb.BidRequest.Imp.Video.Builder setSkipmin(int value)
Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.
optional int32 skipmin = 24;- Parameters:
value- The skipmin to set.- Returns:
- This builder for chaining.
-
clearSkipmin
public OpenRtb.BidRequest.Imp.Video.Builder clearSkipmin()
Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.
optional int32 skipmin = 24;- Returns:
- This builder for chaining.
-
hasSkipafter
public boolean hasSkipafter()
Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.
optional int32 skipafter = 25;- Specified by:
hasSkipafterin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the skipafter field is set.
-
getSkipafter
public int getSkipafter()
Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.
optional int32 skipafter = 25;- Specified by:
getSkipafterin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The skipafter.
-
setSkipafter
public OpenRtb.BidRequest.Imp.Video.Builder setSkipafter(int value)
Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.
optional int32 skipafter = 25;- Parameters:
value- The skipafter to set.- Returns:
- This builder for chaining.
-
clearSkipafter
public OpenRtb.BidRequest.Imp.Video.Builder clearSkipafter()
Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.
optional int32 skipafter = 25;- Returns:
- This builder for chaining.
-
hasSequence
public boolean hasSequence()
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
optional int32 sequence = 9 [default = 1];- Specified by:
hasSequencein interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the sequence field is set.
-
getSequence
public int getSequence()
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
optional int32 sequence = 9 [default = 1];- Specified by:
getSequencein interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The sequence.
-
setSequence
public OpenRtb.BidRequest.Imp.Video.Builder setSequence(int value)
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
optional int32 sequence = 9 [default = 1];- Parameters:
value- The sequence to set.- Returns:
- This builder for chaining.
-
clearSequence
public OpenRtb.BidRequest.Imp.Video.Builder clearSequence()
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
optional int32 sequence = 9 [default = 1];- Returns:
- This builder for chaining.
-
getBattrList
public List<OpenRtb.CreativeAttribute> getBattrList()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];- Specified by:
getBattrListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- A list containing the battr.
-
getBattrCount
public int getBattrCount()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];- Specified by:
getBattrCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The count of battr.
-
getBattr
public OpenRtb.CreativeAttribute getBattr(int index)
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];- Specified by:
getBattrin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The battr at the given index.
-
setBattr
public OpenRtb.BidRequest.Imp.Video.Builder setBattr(int index, OpenRtb.CreativeAttribute value)
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];- Parameters:
index- The index to set the value at.value- The battr to set.- Returns:
- This builder for chaining.
-
addBattr
public OpenRtb.BidRequest.Imp.Video.Builder addBattr(OpenRtb.CreativeAttribute value)
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];- Parameters:
value- The battr to add.- Returns:
- This builder for chaining.
-
addAllBattr
public OpenRtb.BidRequest.Imp.Video.Builder addAllBattr(Iterable<? extends OpenRtb.CreativeAttribute> values)
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];- Parameters:
values- The battr to add.- Returns:
- This builder for chaining.
-
clearBattr
public OpenRtb.BidRequest.Imp.Video.Builder clearBattr()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 10 [packed = true];- Returns:
- This builder for chaining.
-
hasMaxextended
public boolean hasMaxextended()
Maximum extended video ad duration, if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.
optional int32 maxextended = 11;- Specified by:
hasMaxextendedin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the maxextended field is set.
-
getMaxextended
public int getMaxextended()
Maximum extended video ad duration, if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.
optional int32 maxextended = 11;- Specified by:
getMaxextendedin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The maxextended.
-
setMaxextended
public OpenRtb.BidRequest.Imp.Video.Builder setMaxextended(int value)
Maximum extended video ad duration, if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.
optional int32 maxextended = 11;- Parameters:
value- The maxextended to set.- Returns:
- This builder for chaining.
-
clearMaxextended
public OpenRtb.BidRequest.Imp.Video.Builder clearMaxextended()
Maximum extended video ad duration, if extension is allowed. If blank or 0, extension is not allowed. If -1, extension is allowed, and there is no time limit imposed. If greater than 0, then the value represents the number of seconds of extended play supported beyond the maxduration value.
optional int32 maxextended = 11;- Returns:
- This builder for chaining.
-
hasMinbitrate
public boolean hasMinbitrate()
Minimum bit rate in Kbps.
optional int32 minbitrate = 12;- Specified by:
hasMinbitratein interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the minbitrate field is set.
-
getMinbitrate
public int getMinbitrate()
Minimum bit rate in Kbps.
optional int32 minbitrate = 12;- Specified by:
getMinbitratein interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The minbitrate.
-
setMinbitrate
public OpenRtb.BidRequest.Imp.Video.Builder setMinbitrate(int value)
Minimum bit rate in Kbps.
optional int32 minbitrate = 12;- Parameters:
value- The minbitrate to set.- Returns:
- This builder for chaining.
-
clearMinbitrate
public OpenRtb.BidRequest.Imp.Video.Builder clearMinbitrate()
Minimum bit rate in Kbps.
optional int32 minbitrate = 12;- Returns:
- This builder for chaining.
-
hasMaxbitrate
public boolean hasMaxbitrate()
Maximum bit rate in Kbps.
optional int32 maxbitrate = 13;- Specified by:
hasMaxbitratein interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the maxbitrate field is set.
-
getMaxbitrate
public int getMaxbitrate()
Maximum bit rate in Kbps.
optional int32 maxbitrate = 13;- Specified by:
getMaxbitratein interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The maxbitrate.
-
setMaxbitrate
public OpenRtb.BidRequest.Imp.Video.Builder setMaxbitrate(int value)
Maximum bit rate in Kbps.
optional int32 maxbitrate = 13;- Parameters:
value- The maxbitrate to set.- Returns:
- This builder for chaining.
-
clearMaxbitrate
public OpenRtb.BidRequest.Imp.Video.Builder clearMaxbitrate()
Maximum bit rate in Kbps.
optional int32 maxbitrate = 13;- Returns:
- This builder for chaining.
-
hasBoxingallowed
public boolean hasBoxingallowed()
Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.
optional bool boxingallowed = 14 [default = true];- Specified by:
hasBoxingallowedin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the boxingallowed field is set.
-
getBoxingallowed
public boolean getBoxingallowed()
Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.
optional bool boxingallowed = 14 [default = true];- Specified by:
getBoxingallowedin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The boxingallowed.
-
setBoxingallowed
public OpenRtb.BidRequest.Imp.Video.Builder setBoxingallowed(boolean value)
Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.
optional bool boxingallowed = 14 [default = true];- Parameters:
value- The boxingallowed to set.- Returns:
- This builder for chaining.
-
clearBoxingallowed
public OpenRtb.BidRequest.Imp.Video.Builder clearBoxingallowed()
Indicates if letter-boxing of 4:3 content into a 16:9 window is allowed.
optional bool boxingallowed = 14 [default = true];- Returns:
- This builder for chaining.
-
getPlaybackmethodList
public List<OpenRtb.PlaybackMethod> getPlaybackmethodList()
Playback methods that may be in use. If none are specified, any method may be used. Only one method is typically used in practice. As a result, this array may be converted to an integer in a future version of the specification. It is strongly advised to use only the first element of this array in preparation for this change.
repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];- Specified by:
getPlaybackmethodListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- A list containing the playbackmethod.
-
getPlaybackmethodCount
public int getPlaybackmethodCount()
Playback methods that may be in use. If none are specified, any method may be used. Only one method is typically used in practice. As a result, this array may be converted to an integer in a future version of the specification. It is strongly advised to use only the first element of this array in preparation for this change.
repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];- Specified by:
getPlaybackmethodCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The count of playbackmethod.
-
getPlaybackmethod
public OpenRtb.PlaybackMethod getPlaybackmethod(int index)
Playback methods that may be in use. If none are specified, any method may be used. Only one method is typically used in practice. As a result, this array may be converted to an integer in a future version of the specification. It is strongly advised to use only the first element of this array in preparation for this change.
repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];- Specified by:
getPlaybackmethodin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The playbackmethod at the given index.
-
setPlaybackmethod
public OpenRtb.BidRequest.Imp.Video.Builder setPlaybackmethod(int index, OpenRtb.PlaybackMethod value)
Playback methods that may be in use. If none are specified, any method may be used. Only one method is typically used in practice. As a result, this array may be converted to an integer in a future version of the specification. It is strongly advised to use only the first element of this array in preparation for this change.
repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];- Parameters:
index- The index to set the value at.value- The playbackmethod to set.- Returns:
- This builder for chaining.
-
addPlaybackmethod
public OpenRtb.BidRequest.Imp.Video.Builder addPlaybackmethod(OpenRtb.PlaybackMethod value)
Playback methods that may be in use. If none are specified, any method may be used. Only one method is typically used in practice. As a result, this array may be converted to an integer in a future version of the specification. It is strongly advised to use only the first element of this array in preparation for this change.
repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];- Parameters:
value- The playbackmethod to add.- Returns:
- This builder for chaining.
-
addAllPlaybackmethod
public OpenRtb.BidRequest.Imp.Video.Builder addAllPlaybackmethod(Iterable<? extends OpenRtb.PlaybackMethod> values)
Playback methods that may be in use. If none are specified, any method may be used. Only one method is typically used in practice. As a result, this array may be converted to an integer in a future version of the specification. It is strongly advised to use only the first element of this array in preparation for this change.
repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];- Parameters:
values- The playbackmethod to add.- Returns:
- This builder for chaining.
-
clearPlaybackmethod
public OpenRtb.BidRequest.Imp.Video.Builder clearPlaybackmethod()
Playback methods that may be in use. If none are specified, any method may be used. Only one method is typically used in practice. As a result, this array may be converted to an integer in a future version of the specification. It is strongly advised to use only the first element of this array in preparation for this change.
repeated .com.google.openrtb.PlaybackMethod playbackmethod = 15 [packed = true];- Returns:
- This builder for chaining.
-
hasPlaybackend
public boolean hasPlaybackend()
The event that causes playback to end.
optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;- Specified by:
hasPlaybackendin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the playbackend field is set.
-
getPlaybackend
public OpenRtb.PlaybackCessationMode getPlaybackend()
The event that causes playback to end.
optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;- Specified by:
getPlaybackendin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The playbackend.
-
setPlaybackend
public OpenRtb.BidRequest.Imp.Video.Builder setPlaybackend(OpenRtb.PlaybackCessationMode value)
The event that causes playback to end.
optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;- Parameters:
value- The playbackend to set.- Returns:
- This builder for chaining.
-
clearPlaybackend
public OpenRtb.BidRequest.Imp.Video.Builder clearPlaybackend()
The event that causes playback to end.
optional .com.google.openrtb.PlaybackCessationMode playbackend = 27;- Returns:
- This builder for chaining.
-
getDeliveryList
public List<OpenRtb.ContentDeliveryMethod> getDeliveryList()
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];- Specified by:
getDeliveryListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- A list containing the delivery.
-
getDeliveryCount
public int getDeliveryCount()
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];- Specified by:
getDeliveryCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The count of delivery.
-
getDelivery
public OpenRtb.ContentDeliveryMethod getDelivery(int index)
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];- Specified by:
getDeliveryin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The delivery at the given index.
-
setDelivery
public OpenRtb.BidRequest.Imp.Video.Builder setDelivery(int index, OpenRtb.ContentDeliveryMethod value)
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];- Parameters:
index- The index to set the value at.value- The delivery to set.- Returns:
- This builder for chaining.
-
addDelivery
public OpenRtb.BidRequest.Imp.Video.Builder addDelivery(OpenRtb.ContentDeliveryMethod value)
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];- Parameters:
value- The delivery to add.- Returns:
- This builder for chaining.
-
addAllDelivery
public OpenRtb.BidRequest.Imp.Video.Builder addAllDelivery(Iterable<? extends OpenRtb.ContentDeliveryMethod> values)
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];- Parameters:
values- The delivery to add.- Returns:
- This builder for chaining.
-
clearDelivery
public OpenRtb.BidRequest.Imp.Video.Builder clearDelivery()
Supported delivery methods (e.g., streaming, progressive). If none specified, assume all are supported.
repeated .com.google.openrtb.ContentDeliveryMethod delivery = 16 [packed = true];- Returns:
- This builder for chaining.
-
hasPos
public boolean hasPos()
Ad position on screen.
optional .com.google.openrtb.AdPosition pos = 17;- Specified by:
hasPosin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the pos field is set.
-
getPos
public OpenRtb.AdPosition getPos()
Ad position on screen.
optional .com.google.openrtb.AdPosition pos = 17;- Specified by:
getPosin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The pos.
-
setPos
public OpenRtb.BidRequest.Imp.Video.Builder setPos(OpenRtb.AdPosition value)
Ad position on screen.
optional .com.google.openrtb.AdPosition pos = 17;- Parameters:
value- The pos to set.- Returns:
- This builder for chaining.
-
clearPos
public OpenRtb.BidRequest.Imp.Video.Builder clearPos()
Ad position on screen.
optional .com.google.openrtb.AdPosition pos = 17;- Returns:
- This builder for chaining.
-
getCompanionadList
public List<OpenRtb.BidRequest.Imp.Banner> getCompanionadList()
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;- Specified by:
getCompanionadListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder
-
getCompanionadCount
public int getCompanionadCount()
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;- Specified by:
getCompanionadCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder
-
getCompanionad
public OpenRtb.BidRequest.Imp.Banner getCompanionad(int index)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;- Specified by:
getCompanionadin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder
-
setCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder setCompanionad(int index, OpenRtb.BidRequest.Imp.Banner value)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
setCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder setCompanionad(int index, OpenRtb.BidRequest.Imp.Banner.Builder builderForValue)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
addCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder addCompanionad(OpenRtb.BidRequest.Imp.Banner value)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
addCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder addCompanionad(int index, OpenRtb.BidRequest.Imp.Banner value)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
addCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder addCompanionad(OpenRtb.BidRequest.Imp.Banner.Builder builderForValue)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
addCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder addCompanionad(int index, OpenRtb.BidRequest.Imp.Banner.Builder builderForValue)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
addAllCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder addAllCompanionad(Iterable<? extends OpenRtb.BidRequest.Imp.Banner> values)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
clearCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder clearCompanionad()
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
removeCompanionad
public OpenRtb.BidRequest.Imp.Video.Builder removeCompanionad(int index)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
getCompanionadBuilder
public OpenRtb.BidRequest.Imp.Banner.Builder getCompanionadBuilder(int index)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
getCompanionadOrBuilder
public OpenRtb.BidRequest.Imp.BannerOrBuilder getCompanionadOrBuilder(int index)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;- Specified by:
getCompanionadOrBuilderin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder
-
getCompanionadOrBuilderList
public List<? extends OpenRtb.BidRequest.Imp.BannerOrBuilder> getCompanionadOrBuilderList()
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;- Specified by:
getCompanionadOrBuilderListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder
-
addCompanionadBuilder
public OpenRtb.BidRequest.Imp.Banner.Builder addCompanionadBuilder()
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
addCompanionadBuilder
public OpenRtb.BidRequest.Imp.Banner.Builder addCompanionadBuilder(int index)
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
getCompanionadBuilderList
public List<OpenRtb.BidRequest.Imp.Banner.Builder> getCompanionadBuilderList()
Array of Banner objects (Section 3.2.3) if companion ads are available.
repeated .com.google.openrtb.BidRequest.Imp.Banner companionad = 18;
-
getApiList
public List<OpenRtb.APIFramework> getApiList()
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 19 [packed = true];- Specified by:
getApiListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- A list containing the api.
-
getApiCount
public int getApiCount()
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 19 [packed = true];- Specified by:
getApiCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The count of api.
-
getApi
public OpenRtb.APIFramework getApi(int index)
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 19 [packed = true];- Specified by:
getApiin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The api at the given index.
-
setApi
public OpenRtb.BidRequest.Imp.Video.Builder setApi(int index, OpenRtb.APIFramework value)
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 19 [packed = true];- Parameters:
index- The index to set the value at.value- The api to set.- Returns:
- This builder for chaining.
-
addApi
public OpenRtb.BidRequest.Imp.Video.Builder addApi(OpenRtb.APIFramework value)
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 19 [packed = true];- Parameters:
value- The api to add.- Returns:
- This builder for chaining.
-
addAllApi
public OpenRtb.BidRequest.Imp.Video.Builder addAllApi(Iterable<? extends OpenRtb.APIFramework> values)
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 19 [packed = true];- Parameters:
values- The api to add.- Returns:
- This builder for chaining.
-
clearApi
public OpenRtb.BidRequest.Imp.Video.Builder clearApi()
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
repeated .com.google.openrtb.APIFramework api = 19 [packed = true];- Returns:
- This builder for chaining.
-
getCompaniontypeList
public List<OpenRtb.CompanionType> getCompaniontypeList()
Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Specified by:
getCompaniontypeListin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- A list containing the companiontype.
-
getCompaniontypeCount
public int getCompaniontypeCount()
Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Specified by:
getCompaniontypeCountin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The count of companiontype.
-
getCompaniontype
public OpenRtb.CompanionType getCompaniontype(int index)
Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Specified by:
getCompaniontypein interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The companiontype at the given index.
-
setCompaniontype
public OpenRtb.BidRequest.Imp.Video.Builder setCompaniontype(int index, OpenRtb.CompanionType value)
Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Parameters:
index- The index to set the value at.value- The companiontype to set.- Returns:
- This builder for chaining.
-
addCompaniontype
public OpenRtb.BidRequest.Imp.Video.Builder addCompaniontype(OpenRtb.CompanionType value)
Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Parameters:
value- The companiontype to add.- Returns:
- This builder for chaining.
-
addAllCompaniontype
public OpenRtb.BidRequest.Imp.Video.Builder addAllCompaniontype(Iterable<? extends OpenRtb.CompanionType> values)
Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Parameters:
values- The companiontype to add.- Returns:
- This builder for chaining.
-
clearCompaniontype
public OpenRtb.BidRequest.Imp.Video.Builder clearCompaniontype()
Supported VAST companion ad types. Recommended if companion Banner objects are included via the companionad array.
repeated .com.google.openrtb.CompanionType companiontype = 20 [packed = true];- Returns:
- This builder for chaining.
-
hasProtocol
@Deprecated public boolean hasProtocol()
Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated. See openrtb.proto;l=496DEPRECATED in OpenRTB 2.3+. Prefer the field <code>protocols</code>. Video bid response protocol.
optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];- Specified by:
hasProtocolin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the protocol field is set.
-
getProtocol
@Deprecated public OpenRtb.Protocol getProtocol()
Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated. See openrtb.proto;l=496DEPRECATED in OpenRTB 2.3+. Prefer the field <code>protocols</code>. Video bid response protocol.
optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];- Specified by:
getProtocolin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The protocol.
-
setProtocol
@Deprecated public OpenRtb.BidRequest.Imp.Video.Builder setProtocol(OpenRtb.Protocol value)
Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated. See openrtb.proto;l=496DEPRECATED in OpenRTB 2.3+. Prefer the field <code>protocols</code>. Video bid response protocol.
optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];- Parameters:
value- The protocol to set.- Returns:
- This builder for chaining.
-
clearProtocol
@Deprecated public OpenRtb.BidRequest.Imp.Video.Builder clearProtocol()
Deprecated.com.google.openrtb.BidRequest.Imp.Video.protocol is deprecated. See openrtb.proto;l=496DEPRECATED in OpenRTB 2.3+. Prefer the field <code>protocols</code>. Video bid response protocol.
optional .com.google.openrtb.Protocol protocol = 5 [deprecated = true];- Returns:
- This builder for chaining.
-
hasCompanionad21
@Deprecated public boolean hasCompanionad21()
Deprecated.com.google.openrtb.BidRequest.Imp.Video.companionad_21 is deprecated. See openrtb.proto;l=504REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];- Specified by:
hasCompanionad21in interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- Whether the companionad21 field is set.
-
getCompanionad21
@Deprecated public OpenRtb.BidRequest.Imp.Video.CompanionAd getCompanionad21()
Deprecated.com.google.openrtb.BidRequest.Imp.Video.companionad_21 is deprecated. See openrtb.proto;l=504REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];- Specified by:
getCompanionad21in interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder- Returns:
- The companionad21.
-
setCompanionad21
@Deprecated public OpenRtb.BidRequest.Imp.Video.Builder setCompanionad21(OpenRtb.BidRequest.Imp.Video.CompanionAd value)
Deprecated.REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];
-
setCompanionad21
@Deprecated public OpenRtb.BidRequest.Imp.Video.Builder setCompanionad21(OpenRtb.BidRequest.Imp.Video.CompanionAd.Builder builderForValue)
Deprecated.REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];
-
mergeCompanionad21
@Deprecated public OpenRtb.BidRequest.Imp.Video.Builder mergeCompanionad21(OpenRtb.BidRequest.Imp.Video.CompanionAd value)
Deprecated.REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];
-
clearCompanionad21
@Deprecated public OpenRtb.BidRequest.Imp.Video.Builder clearCompanionad21()
Deprecated.REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];
-
getCompanionad21Builder
@Deprecated public OpenRtb.BidRequest.Imp.Video.CompanionAd.Builder getCompanionad21Builder()
Deprecated.REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];
-
getCompanionad21OrBuilder
@Deprecated public OpenRtb.BidRequest.Imp.Video.CompanionAdOrBuilder getCompanionad21OrBuilder()
Deprecated.REMOVED in OpenRTB 2.2+. Prefer the field <code>companionad</code>.
optional .com.google.openrtb.BidRequest.Imp.Video.CompanionAd companionad_21 = 22 [deprecated = true];- Specified by:
getCompanionad21OrBuilderin interfaceOpenRtb.BidRequest.Imp.VideoOrBuilder
-
setUnknownFields
public final OpenRtb.BidRequest.Imp.Video.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Imp.Video.Builder>
-
mergeUnknownFields
public final OpenRtb.BidRequest.Imp.Video.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<OpenRtb.BidRequest.Imp.Video.Builder>
-
-