public static class Banner.Protobuf extends Object implements Banner<OpenRtbProtobuf.Banner>
Banner.Avro, Banner.AvroBuilder, Banner.Builder<T>, Banner.Comparator, Banner.NativeImpl, Banner.Protobuf, Banner.ProtobufBuilder, Banner.Thrift, Banner.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Protobuf(byte[] binaryEncoding)
Constructs a new Protobuf instance based on a message's binary encoding.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static Banner<OpenRtbProtobuf.Banner> |
from(byte[] binaryEncoding)
Decodes a Protobuf message.
|
OpenRtbProtobuf.Banner |
get()
Returns underlying object.
|
List<Integer> |
getApi()
List of supported API frameworks for this banner.
|
List<Integer> |
getBattr()
Blocked creative attributes.
|
List<Integer> |
getBtype()
Blocked creative types.
|
List<Integer> |
getExpdir()
Specify properties for an expandable ad.
|
int |
getH()
Height of the impression in pixels.
|
int |
getHmax()
Maximum height of the impression in pixels.
|
int |
getHmin()
Minimum height of the impression in pixels.
|
String |
getId()
Unique identifier for this banner object.
|
List<String> |
getMimes()
Whitelist of content MIME types supported.
|
int |
getPos()
Ad Position.
|
int |
getTopframe()
Specify if the banner is delivered in the top frame or in an iframe.
|
int |
getW()
Width of the impression in pixels.
|
int |
getWmax()
Maximum width of the impression in pixels.
|
int |
getWmin()
Minimum width of the impression in pixels.
|
int |
hashCode() |
boolean |
isDefaultApi() |
boolean |
isDefaultBattr() |
boolean |
isDefaultBtype() |
boolean |
isDefaultExpdir() |
boolean |
isDefaultH() |
boolean |
isDefaultHmax() |
boolean |
isDefaultHmin() |
boolean |
isDefaultId() |
boolean |
isDefaultMimes() |
boolean |
isDefaultPos() |
boolean |
isDefaultTopframe() |
boolean |
isDefaultW() |
boolean |
isDefaultWmax() |
boolean |
isDefaultWmin() |
Banner.Builder<OpenRtbProtobuf.Banner> |
newBuilder()
Creates a new builder based on this object.
|
String |
toString() |
avro, avro, compareTo, getAvroClass, getAvroSchema, getComparator, getProtobufClass, getProtobufDescriptor, getProtobufProtocolClass, getProtobufProtocolDescriptor, getThriftClass, getThriftMetadataMap, isDefault, nativeImpl, newAvroBuilder, newAvroBuilder, newAvroBuilder, newAvroBuilder, newNativeImplBuilder, newNativeImplBuilder, newProtobufBuilder, newProtobufBuilder, newProtobufBuilder, newThriftBuilder, newThriftBuilder, newThriftBuilder, protobuf, protobuf, thrift, thriftpublic static final long serialVersionUID
public Protobuf(byte[] binaryEncoding)
public OpenRtbProtobuf.Banner get()
Bannerget in interface Supplier<OpenRtbProtobuf.Banner>get in interface Banner<OpenRtbProtobuf.Banner>public Banner.Builder<OpenRtbProtobuf.Banner> newBuilder()
BannernewBuilder in interface Banner<OpenRtbProtobuf.Banner>public int getW()
BannergetW in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultW()
isDefaultW in interface Banner<OpenRtbProtobuf.Banner>public int getH()
BannergetH in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultH()
isDefaultH in interface Banner<OpenRtbProtobuf.Banner>public int getWmax()
BannergetWmax in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultWmax()
isDefaultWmax in interface Banner<OpenRtbProtobuf.Banner>public int getHmax()
BannergetHmax in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultHmax()
isDefaultHmax in interface Banner<OpenRtbProtobuf.Banner>public int getWmin()
BannergetWmin in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultWmin()
isDefaultWmin in interface Banner<OpenRtbProtobuf.Banner>public int getHmin()
BannergetHmin in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultHmin()
isDefaultHmin in interface Banner<OpenRtbProtobuf.Banner>public String getId()
BannergetId in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultId()
isDefaultId in interface Banner<OpenRtbProtobuf.Banner>public int getPos()
BannergetPos in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultPos()
isDefaultPos in interface Banner<OpenRtbProtobuf.Banner>public List<Integer> getBtype()
BannergetBtype in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultBtype()
isDefaultBtype in interface Banner<OpenRtbProtobuf.Banner>public List<Integer> getBattr()
BannergetBattr in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultBattr()
isDefaultBattr in interface Banner<OpenRtbProtobuf.Banner>public List<String> getMimes()
BannergetMimes in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultMimes()
isDefaultMimes in interface Banner<OpenRtbProtobuf.Banner>public int getTopframe()
BannergetTopframe in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultTopframe()
isDefaultTopframe in interface Banner<OpenRtbProtobuf.Banner>public List<Integer> getExpdir()
BannergetExpdir in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultExpdir()
isDefaultExpdir in interface Banner<OpenRtbProtobuf.Banner>public List<Integer> getApi()
BannergetApi in interface Banner<OpenRtbProtobuf.Banner>public boolean isDefaultApi()
isDefaultApi in interface Banner<OpenRtbProtobuf.Banner>public static Banner<OpenRtbProtobuf.Banner> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.