public interface Banner<T> extends Supplier<T>, Comparable<Banner<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Banner.Avro |
static class |
Banner.AvroBuilder |
static interface |
Banner.Builder<T> |
static class |
Banner.Comparator |
static class |
Banner.NativeImpl |
static class |
Banner.Protobuf |
static class |
Banner.ProtobufBuilder |
static class |
Banner.Thrift |
static class |
Banner.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static Banner.Avro |
avro(Banner<?> instance)
Returns a wrapped Avro record based on an instance of Banner.
|
static Banner.Avro |
avro(BannerAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(Banner<?> other) |
T |
get()
Returns underlying object.
|
List<Integer> |
getApi()
List of supported API frameworks for this banner.
|
static Class<BannerAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
List<Integer> |
getBattr()
Blocked creative attributes.
|
List<Integer> |
getBtype()
Blocked creative types.
|
static Comparator<Banner<?>> |
getComparator()
Returns comparator instance for Banner objects.
|
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.
|
static Class<OpenRtbProtobuf.Banner> |
getProtobufClass()
Returns Protobuf class for this struct.
|
static com.google.protobuf.Descriptors.Descriptor |
getProtobufDescriptor()
Returns Protobuf descriptor for this struct.
|
static Class<AdExchangeProtobuf> |
getProtobufProtocolClass()
Returns Protobuf protocol class for this struct.
|
static com.google.protobuf.Descriptors.FileDescriptor |
getProtobufProtocolDescriptor()
Returns Protobuf protocol descriptor for this struct.
|
static Class<BannerThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<BannerThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
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.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
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() |
static Banner.NativeImpl |
nativeImpl(Banner<?> instance)
Returns a POJO based on an instance of Banner.
|
static Banner.Builder<BannerAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static Banner.Builder<BannerAvro> |
newAvroBuilder(Banner<?> other)
Returns new Avro builder instance based on existing prototype Banner.
|
static Banner.Builder<BannerAvro> |
newAvroBuilder(BannerAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static Banner.Builder<BannerAvro> |
newAvroBuilder(BannerAvro other)
Returns new Avro builder instance based on existing prototype.
|
Banner.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static Banner.Builder<Banner.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static Banner.Builder<Banner.NativeImpl> |
newNativeImplBuilder(Banner<?> other)
Returns a POJO builder instance based on existing prototype Banner.
|
static Banner.Builder<OpenRtbProtobuf.Banner> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static Banner.Builder<OpenRtbProtobuf.Banner> |
newProtobufBuilder(Banner<?> other)
Returns new Protobuf builder instance based on existing prototype Banner.
|
static Banner.Builder<OpenRtbProtobuf.Banner> |
newProtobufBuilder(OpenRtbProtobuf.Banner other)
Returns new Protobuf builder instance based on existing prototype.
|
static Banner.Builder<BannerThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Banner.Builder<BannerThrift> |
newThriftBuilder(Banner<?> other)
Returns new Thrift builder instance based on existing prototype Banner.
|
static Banner.Builder<BannerThrift> |
newThriftBuilder(BannerThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static Banner.Protobuf |
protobuf(Banner<?> instance)
Returns a wrapped Protobuf message based on an instance of Banner.
|
static Banner.Protobuf |
protobuf(OpenRtbProtobuf.Banner wrapped)
Wraps an existing Protobuf message.
|
static Banner.Thrift |
thrift(Banner<?> instance)
Returns a wrapped Thrift struct based on an instance of Banner.
|
static Banner.Thrift |
thrift(BannerThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
Banner.Builder<T> newBuilder()
int getW()
boolean isDefaultW()
int getH()
boolean isDefaultH()
int getWmax()
boolean isDefaultWmax()
int getHmax()
boolean isDefaultHmax()
int getWmin()
boolean isDefaultWmin()
int getHmin()
boolean isDefaultHmin()
String getId()
boolean isDefaultId()
int getPos()
boolean isDefaultPos()
List<Integer> getBtype()
boolean isDefaultBtype()
List<Integer> getBattr()
boolean isDefaultBattr()
List<String> getMimes()
boolean isDefaultMimes()
int getTopframe()
boolean isDefaultTopframe()
List<Integer> getExpdir()
boolean isDefaultExpdir()
List<Integer> getApi()
boolean isDefaultApi()
static Comparator<Banner<?>> getComparator()
default int compareTo(Banner<?> other)
compareTo in interface Comparable<Banner<?>>static Banner.Builder<Banner.NativeImpl> newNativeImplBuilder()
static Banner.Builder<Banner.NativeImpl> newNativeImplBuilder(Banner<?> other)
static Banner.NativeImpl nativeImpl(Banner<?> instance)
static Banner.Builder<BannerAvro> newAvroBuilder()
static Banner.Builder<BannerAvro> newAvroBuilder(BannerAvro other)
static Banner.Builder<BannerAvro> newAvroBuilder(BannerAvro.Builder other)
static Banner.Builder<BannerAvro> newAvroBuilder(Banner<?> other)
static Banner.Avro avro(Banner<?> instance)
static Banner.Avro avro(BannerAvro wrapped)
static Class<BannerAvro> getAvroClass()
static Schema getAvroSchema()
static Banner.Builder<OpenRtbProtobuf.Banner> newProtobufBuilder()
static Banner.Builder<OpenRtbProtobuf.Banner> newProtobufBuilder(OpenRtbProtobuf.Banner other)
static Banner.Builder<OpenRtbProtobuf.Banner> newProtobufBuilder(Banner<?> other)
static Banner.Protobuf protobuf(Banner<?> instance)
static Banner.Protobuf protobuf(OpenRtbProtobuf.Banner wrapped)
static Class<OpenRtbProtobuf.Banner> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static Banner.Builder<BannerThrift> newThriftBuilder()
static Banner.Builder<BannerThrift> newThriftBuilder(BannerThrift other)
static Banner.Builder<BannerThrift> newThriftBuilder(Banner<?> other)
static Banner.Thrift thrift(Banner<?> instance)
static Banner.Thrift thrift(BannerThrift instance)
static Class<BannerThrift> getThriftClass()
static Map<BannerThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.