public interface Bid<T> extends Supplier<T>, Comparable<Bid<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Bid.Avro |
static class |
Bid.AvroBuilder |
static interface |
Bid.Builder<T> |
static class |
Bid.Comparator |
static class |
Bid.NativeImpl |
static class |
Bid.Protobuf |
static class |
Bid.ProtobufBuilder |
static class |
Bid.Thrift |
static class |
Bid.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static Bid.Avro |
avro(Bid<?> instance)
Returns a wrapped Avro record based on an instance of Bid.
|
static Bid.Avro |
avro(BidAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(Bid<?> other) |
T |
get()
Returns underlying object.
|
String |
getAdid()
ID that references the ad to be served if the bid wins.
|
String |
getAdm()
Actual ad markup.
|
List<String> |
getAdomain()
Advertiser’s primary or top-level domain for advertiser checking.
|
List<Integer> |
getAttr()
Array of creative attributes.
|
static Class<BidAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
String |
getCid()
Campaign ID or similar that appears within the ad markup.
|
static Comparator<Bid<?>> |
getComparator()
Returns comparator instance for Bid objects.
|
String |
getCrid()
Creative ID for reporting content issues or defects.
|
String |
getDealid()
A unique identifier for the direct deal associated with the bid.
|
int |
getH()
Height of the ad in pixels.
|
String |
getId()
ID for the bid object chosen by the bidder for tracking and debugging purposes.
|
String |
getImpid()
ID of the impression object to which this bid applies.
|
String |
getLurl()
Sample image URL (without cache busting) for content checking.
|
String |
getNurl()
Win notice URL.
|
double |
getPrice()
Bid price in CPM.
|
static Class<OpenRtbProtobuf.Bid> |
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<BidThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<BidThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
int |
getW()
Width of the ad in pixels.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
boolean |
isDefaultAdid() |
boolean |
isDefaultAdm() |
boolean |
isDefaultAdomain() |
boolean |
isDefaultAttr() |
boolean |
isDefaultCid() |
boolean |
isDefaultCrid() |
boolean |
isDefaultDealid() |
boolean |
isDefaultH() |
boolean |
isDefaultId() |
boolean |
isDefaultImpid() |
boolean |
isDefaultLurl() |
boolean |
isDefaultNurl() |
boolean |
isDefaultPrice() |
boolean |
isDefaultW() |
static Bid.NativeImpl |
nativeImpl(Bid<?> instance)
Returns a POJO based on an instance of Bid.
|
static Bid.Builder<BidAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static Bid.Builder<BidAvro> |
newAvroBuilder(Bid<?> other)
Returns new Avro builder instance based on existing prototype Bid.
|
static Bid.Builder<BidAvro> |
newAvroBuilder(BidAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static Bid.Builder<BidAvro> |
newAvroBuilder(BidAvro other)
Returns new Avro builder instance based on existing prototype.
|
Bid.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static Bid.Builder<Bid.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static Bid.Builder<Bid.NativeImpl> |
newNativeImplBuilder(Bid<?> other)
Returns a POJO builder instance based on existing prototype Bid.
|
static Bid.Builder<OpenRtbProtobuf.Bid> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static Bid.Builder<OpenRtbProtobuf.Bid> |
newProtobufBuilder(Bid<?> other)
Returns new Protobuf builder instance based on existing prototype Bid.
|
static Bid.Builder<OpenRtbProtobuf.Bid> |
newProtobufBuilder(OpenRtbProtobuf.Bid other)
Returns new Protobuf builder instance based on existing prototype.
|
static Bid.Builder<BidThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Bid.Builder<BidThrift> |
newThriftBuilder(Bid<?> other)
Returns new Thrift builder instance based on existing prototype Bid.
|
static Bid.Builder<BidThrift> |
newThriftBuilder(BidThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static Bid.Protobuf |
protobuf(Bid<?> instance)
Returns a wrapped Protobuf message based on an instance of Bid.
|
static Bid.Protobuf |
protobuf(OpenRtbProtobuf.Bid wrapped)
Wraps an existing Protobuf message.
|
static Bid.Thrift |
thrift(Bid<?> instance)
Returns a wrapped Thrift struct based on an instance of Bid.
|
static Bid.Thrift |
thrift(BidThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
Bid.Builder<T> newBuilder()
String getId()
boolean isDefaultId()
String getImpid()
boolean isDefaultImpid()
double getPrice()
boolean isDefaultPrice()
String getAdid()
boolean isDefaultAdid()
String getNurl()
boolean isDefaultNurl()
String getAdm()
boolean isDefaultAdm()
List<String> getAdomain()
boolean isDefaultAdomain()
String getLurl()
boolean isDefaultLurl()
String getCid()
boolean isDefaultCid()
String getCrid()
boolean isDefaultCrid()
boolean isDefaultAttr()
String getDealid()
boolean isDefaultDealid()
int getW()
boolean isDefaultW()
int getH()
boolean isDefaultH()
static Comparator<Bid<?>> getComparator()
default int compareTo(Bid<?> other)
compareTo in interface Comparable<Bid<?>>static Bid.Builder<Bid.NativeImpl> newNativeImplBuilder()
static Bid.Builder<Bid.NativeImpl> newNativeImplBuilder(Bid<?> other)
static Bid.NativeImpl nativeImpl(Bid<?> instance)
static Bid.Builder<BidAvro> newAvroBuilder()
static Bid.Builder<BidAvro> newAvroBuilder(BidAvro other)
static Bid.Builder<BidAvro> newAvroBuilder(BidAvro.Builder other)
static Bid.Builder<BidAvro> newAvroBuilder(Bid<?> other)
static Bid.Avro avro(Bid<?> instance)
static Schema getAvroSchema()
static Bid.Builder<OpenRtbProtobuf.Bid> newProtobufBuilder()
static Bid.Builder<OpenRtbProtobuf.Bid> newProtobufBuilder(OpenRtbProtobuf.Bid other)
static Bid.Builder<OpenRtbProtobuf.Bid> newProtobufBuilder(Bid<?> other)
static Bid.Protobuf protobuf(Bid<?> instance)
static Bid.Protobuf protobuf(OpenRtbProtobuf.Bid wrapped)
static Class<OpenRtbProtobuf.Bid> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static Bid.Builder<BidThrift> newThriftBuilder()
static Bid.Builder<BidThrift> newThriftBuilder(BidThrift other)
static Bid.Builder<BidThrift> newThriftBuilder(Bid<?> other)
static Bid.Thrift thrift(Bid<?> instance)
static Bid.Thrift thrift(BidThrift instance)
static Map<BidThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.