Package com.google.openrtb
Class OpenRtb.BidRequest.Imp.Banner
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Imp.Banner>
-
- com.google.openrtb.OpenRtb.BidRequest.Imp.Banner
-
- All Implemented Interfaces:
OpenRtb.BidRequest.Imp.BannerOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Banner>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb.BidRequest.Imp
public static final class OpenRtb.BidRequest.Imp.Banner extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Imp.Banner> implements OpenRtb.BidRequest.Imp.BannerOrBuilder
OpenRTB 2.0: This object represents the most general type of impression. Although the term "banner" may have very specific meaning in other contexts, here it can be many things including a simple static image, an expandable ad unit, or even in-banner video (refer to the Video object in Section 3.2.4 for the more generalized and full featured video ad units). An array of Banner objects can also appear within the Video to describe optional companion ads defined in the VAST specification. The presence of a Banner as a subordinate of the Imp object indicates that this impression is offered as a banner type impression. At the publisher's discretion, that same impression may also be offered as video and/or native by also including as Imp subordinates the Video 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.Banner- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.BidRequest.Imp.Banner.BuilderOpenRTB 2.0: This object represents the most general type of impression.static classOpenRtb.BidRequest.Imp.Banner.FormatOpenRTB 2.4: This object represents an allowed size (i.e., height and width combination) for a banner impression.static interfaceOpenRtb.BidRequest.Imp.Banner.FormatOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAPI_FIELD_NUMBERstatic intBATTR_FIELD_NUMBERstatic intBTYPE_FIELD_NUMBERstatic intEXPDIR_FIELD_NUMBERstatic intFORMAT_FIELD_NUMBERstatic intH_FIELD_NUMBERstatic intHMAX_FIELD_NUMBERstatic intHMIN_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intMIMES_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Banner>PARSERDeprecated.static intPOS_FIELD_NUMBERstatic intTOPFRAME_FIELD_NUMBERstatic intVCM_FIELD_NUMBERstatic intW_FIELD_NUMBERstatic intWMAX_FIELD_NUMBERstatic intWMIN_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)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.OpenRtb.BannerAdTypegetBtype(int index)Blocked banner ad types.intgetBtypeCount()Blocked banner ad types.List<OpenRtb.BannerAdType>getBtypeList()Blocked banner ad types.static OpenRtb.BidRequest.Imp.BannergetDefaultInstance()OpenRtb.BidRequest.Imp.BannergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()OpenRtb.ExpandableDirectiongetExpdir(int index)Directions in which the banner may expand.intgetExpdirCount()Directions in which the banner may expand.List<OpenRtb.ExpandableDirection>getExpdirList()Directions in which the banner may expand.OpenRtb.BidRequest.Imp.Banner.FormatgetFormat(int index)Array of format objects representing the banner sizes permitted.intgetFormatCount()Array of format objects representing the banner sizes permitted.List<OpenRtb.BidRequest.Imp.Banner.Format>getFormatList()Array of format objects representing the banner sizes permitted.OpenRtb.BidRequest.Imp.Banner.FormatOrBuildergetFormatOrBuilder(int index)Array of format objects representing the banner sizes permitted.List<? extends OpenRtb.BidRequest.Imp.Banner.FormatOrBuilder>getFormatOrBuilderList()Array of format objects representing the banner sizes permitted.intgetH()Height in device independent pixels (DIPS).intgetHmax()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.intgetHmin()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.StringgetId()Unique identifier for this banner object.com.google.protobuf.ByteStringgetIdBytes()Unique identifier for this banner object.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.com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Banner>getParserForType()OpenRtb.AdPositiongetPos()Ad position on screen.intgetSerializedSize()booleangetTopframe()Specify if the banner is delivered in the top frame (true) or in an iframe (false).com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetVcm()Relevant only for Banner objects used with a Video object (Section 3.2.7) in an array of companion ads.intgetW()Width in device independent pixels (DIPS).intgetWmax()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.intgetWmin()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.booleanhasH()Height in device independent pixels (DIPS).inthashCode()booleanhasHmax()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated.booleanhasHmin()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated.booleanhasId()Unique identifier for this banner object.booleanhasPos()Ad position on screen.booleanhasTopframe()Specify if the banner is delivered in the top frame (true) or in an iframe (false).booleanhasVcm()Relevant only for Banner objects used with a Video object (Section 3.2.7) in an array of companion ads.booleanhasW()Width in device independent pixels (DIPS).booleanhasWmax()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated.booleanhasWmin()Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.BidRequest.Imp.Banner.BuildernewBuilder()static OpenRtb.BidRequest.Imp.Banner.BuildernewBuilder(OpenRtb.BidRequest.Imp.Banner prototype)OpenRtb.BidRequest.Imp.Banner.BuildernewBuilderForType()protected OpenRtb.BidRequest.Imp.Banner.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.BidRequest.Imp.BannerparseDelimitedFrom(InputStream input)static OpenRtb.BidRequest.Imp.BannerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.BannerparseFrom(byte[] data)static OpenRtb.BidRequest.Imp.BannerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.BannerparseFrom(com.google.protobuf.ByteString data)static OpenRtb.BidRequest.Imp.BannerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.BannerparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.BidRequest.Imp.BannerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.BannerparseFrom(InputStream input)static OpenRtb.BidRequest.Imp.BannerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.BidRequest.Imp.BannerparseFrom(ByteBuffer data)static OpenRtb.BidRequest.Imp.BannerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Banner>parser()OpenRtb.BidRequest.Imp.Banner.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
W_FIELD_NUMBER
public static final int W_FIELD_NUMBER
- See Also:
- Constant Field Values
-
H_FIELD_NUMBER
public static final int H_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORMAT_FIELD_NUMBER
public static final int FORMAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POS_FIELD_NUMBER
public static final int POS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BTYPE_FIELD_NUMBER
public static final int BTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BATTR_FIELD_NUMBER
public static final int BATTR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIMES_FIELD_NUMBER
public static final int MIMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOPFRAME_FIELD_NUMBER
public static final int TOPFRAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPDIR_FIELD_NUMBER
public static final int EXPDIR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_FIELD_NUMBER
public static final int API_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VCM_FIELD_NUMBER
public static final int VCM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WMAX_FIELD_NUMBER
public static final int WMAX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HMAX_FIELD_NUMBER
public static final int HMAX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WMIN_FIELD_NUMBER
public static final int WMIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HMIN_FIELD_NUMBER
public static final int HMIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Banner> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasW
public boolean hasW()
Width in device independent pixels (DIPS). If no format objects are specified, this is an exact width requirement. Otherwise it is a preferred width.
optional int32 w = 1;- Specified by:
hasWin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the w field is set.
-
getW
public int getW()
Width in device independent pixels (DIPS). If no format objects are specified, this is an exact width requirement. Otherwise it is a preferred width.
optional int32 w = 1;- Specified by:
getWin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The w.
-
hasH
public boolean hasH()
Height in device independent pixels (DIPS). If no format objects are specified, this is an exact height requirement. Otherwise it is a preferred height.
optional int32 h = 2;- Specified by:
hasHin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the h field is set.
-
getH
public int getH()
Height in device independent pixels (DIPS). If no format objects are specified, this is an exact height requirement. Otherwise it is a preferred height.
optional int32 h = 2;- Specified by:
getHin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The h.
-
getFormatList
public List<OpenRtb.BidRequest.Imp.Banner.Format> getFormatList()
Array of format objects representing the banner sizes permitted. If none are specified, then use of the h and w attributes is highly recommended.
repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;- Specified by:
getFormatListin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder
-
getFormatOrBuilderList
public List<? extends OpenRtb.BidRequest.Imp.Banner.FormatOrBuilder> getFormatOrBuilderList()
Array of format objects representing the banner sizes permitted. If none are specified, then use of the h and w attributes is highly recommended.
repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;- Specified by:
getFormatOrBuilderListin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder
-
getFormatCount
public int getFormatCount()
Array of format objects representing the banner sizes permitted. If none are specified, then use of the h and w attributes is highly recommended.
repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;- Specified by:
getFormatCountin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder
-
getFormat
public OpenRtb.BidRequest.Imp.Banner.Format getFormat(int index)
Array of format objects representing the banner sizes permitted. If none are specified, then use of the h and w attributes is highly recommended.
repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;- Specified by:
getFormatin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder
-
getFormatOrBuilder
public OpenRtb.BidRequest.Imp.Banner.FormatOrBuilder getFormatOrBuilder(int index)
Array of format objects representing the banner sizes permitted. If none are specified, then use of the h and w attributes is highly recommended.
repeated .com.google.openrtb.BidRequest.Imp.Banner.Format format = 15;- Specified by:
getFormatOrBuilderin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder
-
hasId
public boolean hasId()
Unique identifier for this banner object. Recommended when Banner objects are used with a Video object (Section 3.2.4) to represent an array of companion ads. Values usually start at 1 and increase with each object; should be unique within an impression.
optional string id = 3;- Specified by:
hasIdin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the id field is set.
-
getId
public String getId()
Unique identifier for this banner object. Recommended when Banner objects are used with a Video object (Section 3.2.4) to represent an array of companion ads. Values usually start at 1 and increase with each object; should be unique within an impression.
optional string id = 3;- Specified by:
getIdin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Unique identifier for this banner object. Recommended when Banner objects are used with a Video object (Section 3.2.4) to represent an array of companion ads. Values usually start at 1 and increase with each object; should be unique within an impression.
optional string id = 3;- Specified by:
getIdBytesin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The bytes for id.
-
hasPos
public boolean hasPos()
Ad position on screen.
optional .com.google.openrtb.AdPosition pos = 4;- Specified by:
hasPosin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the pos field is set.
-
getPos
public OpenRtb.AdPosition getPos()
Ad position on screen.
optional .com.google.openrtb.AdPosition pos = 4;- Specified by:
getPosin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The pos.
-
getBtypeList
public List<OpenRtb.BannerAdType> getBtypeList()
Blocked banner ad types.
repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];- Specified by:
getBtypeListin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- A list containing the btype.
-
getBtypeCount
public int getBtypeCount()
Blocked banner ad types.
repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];- Specified by:
getBtypeCountin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The count of btype.
-
getBtype
public OpenRtb.BannerAdType getBtype(int index)
Blocked banner ad types.
repeated .com.google.openrtb.BannerAdType btype = 5 [packed = true];- Specified by:
getBtypein interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The btype at the given index.
-
getBattrList
public List<OpenRtb.CreativeAttribute> getBattrList()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];- Specified by:
getBattrListin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- A list containing the battr.
-
getBattrCount
public int getBattrCount()
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];- Specified by:
getBattrCountin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The count of battr.
-
getBattr
public OpenRtb.CreativeAttribute getBattr(int index)
Blocked creative attributes.
repeated .com.google.openrtb.CreativeAttribute battr = 6 [packed = true];- Specified by:
getBattrin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The battr at the given index.
-
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".
repeated string mimes = 7;- Specified by:
getMimesListin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- 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".
repeated string mimes = 7;- Specified by:
getMimesCountin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- 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".
repeated string mimes = 7;- Specified by:
getMimesin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- 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".
repeated string mimes = 7;- Specified by:
getMimesBytesin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the mimes at the given index.
-
hasTopframe
public boolean hasTopframe()
Specify if the banner is delivered in the top frame (true) or in an iframe (false).
optional bool topframe = 8;- Specified by:
hasTopframein interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the topframe field is set.
-
getTopframe
public boolean getTopframe()
Specify if the banner is delivered in the top frame (true) or in an iframe (false).
optional bool topframe = 8;- Specified by:
getTopframein interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The topframe.
-
getExpdirList
public List<OpenRtb.ExpandableDirection> getExpdirList()
Directions in which the banner may expand.
repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];- Specified by:
getExpdirListin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- A list containing the expdir.
-
getExpdirCount
public int getExpdirCount()
Directions in which the banner may expand.
repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];- Specified by:
getExpdirCountin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The count of expdir.
-
getExpdir
public OpenRtb.ExpandableDirection getExpdir(int index)
Directions in which the banner may expand.
repeated .com.google.openrtb.ExpandableDirection expdir = 9 [packed = true];- Specified by:
getExpdirin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The expdir at the given index.
-
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 = 10 [packed = true];- Specified by:
getApiListin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- 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 = 10 [packed = true];- Specified by:
getApiCountin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- 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 = 10 [packed = true];- Specified by:
getApiin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The api at the given index.
-
hasVcm
public boolean hasVcm()
Relevant only for Banner objects used with a Video object (Section 3.2.7) in an array of companion ads. Indicates the companion banner rendering mode relative to the associated video, where false = concurrent, true = end-card.
optional bool vcm = 16;- Specified by:
hasVcmin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the vcm field is set.
-
getVcm
public boolean getVcm()
Relevant only for Banner objects used with a Video object (Section 3.2.7) in an array of companion ads. Indicates the companion banner rendering mode relative to the associated video, where false = concurrent, true = end-card.
optional bool vcm = 16;- Specified by:
getVcmin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The vcm.
-
hasWmax
@Deprecated public boolean hasWmax()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated. See openrtb.proto;l=355DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Maximum width in device independent pixels (DIPS).
optional int32 wmax = 11 [deprecated = true];- Specified by:
hasWmaxin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the wmax field is set.
-
getWmax
@Deprecated public int getWmax()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmax is deprecated. See openrtb.proto;l=355DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Maximum width in device independent pixels (DIPS).
optional int32 wmax = 11 [deprecated = true];- Specified by:
getWmaxin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The wmax.
-
hasHmax
@Deprecated public boolean hasHmax()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated. See openrtb.proto;l=359DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Maximum height in device independent pixels (DIPS).
optional int32 hmax = 12 [deprecated = true];- Specified by:
hasHmaxin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the hmax field is set.
-
getHmax
@Deprecated public int getHmax()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmax is deprecated. See openrtb.proto;l=359DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Maximum height in device independent pixels (DIPS).
optional int32 hmax = 12 [deprecated = true];- Specified by:
getHmaxin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The hmax.
-
hasWmin
@Deprecated public boolean hasWmin()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated. See openrtb.proto;l=363DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Minimum width in device independent pixels (DIPS).
optional int32 wmin = 13 [deprecated = true];- Specified by:
hasWminin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the wmin field is set.
-
getWmin
@Deprecated public int getWmin()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.wmin is deprecated. See openrtb.proto;l=363DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Minimum width in device independent pixels (DIPS).
optional int32 wmin = 13 [deprecated = true];- Specified by:
getWminin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The wmin.
-
hasHmin
@Deprecated public boolean hasHmin()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated. See openrtb.proto;l=367DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Minimum height in device independent pixels (DIPS).
optional int32 hmin = 14 [deprecated = true];- Specified by:
hasHminin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- Whether the hmin field is set.
-
getHmin
@Deprecated public int getHmin()
Deprecated.com.google.openrtb.BidRequest.Imp.Banner.hmin is deprecated. See openrtb.proto;l=367DEPRECATED in OpenRTB 2.4+. Prefer the field <code>format</code>. Minimum height in device independent pixels (DIPS).
optional int32 hmin = 14 [deprecated = true];- Specified by:
getHminin interfaceOpenRtb.BidRequest.Imp.BannerOrBuilder- Returns:
- The hmin.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.BidRequest.Imp.Banner>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Imp.Banner parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.BidRequest.Imp.Banner parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.BidRequest.Imp.Banner parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.BidRequest.Imp.Banner.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.BidRequest.Imp.Banner.Builder newBuilder()
-
newBuilder
public static OpenRtb.BidRequest.Imp.Banner.Builder newBuilder(OpenRtb.BidRequest.Imp.Banner prototype)
-
toBuilder
public OpenRtb.BidRequest.Imp.Banner.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.BidRequest.Imp.Banner.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.BidRequest.Imp.Banner getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Banner> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.BidRequest.Imp.Banner> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.BidRequest.Imp.Banner getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.BidRequest.Imp.Banner>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-