public static class Deal.Protobuf extends Object implements Deal<OpenRtbProtobuf.Deal>
Deal.Avro, Deal.AvroBuilder, Deal.Builder<T>, Deal.Comparator, Deal.NativeImpl, Deal.Protobuf, Deal.ProtobufBuilder, Deal.Thrift, Deal.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 Deal<OpenRtbProtobuf.Deal> |
from(byte[] binaryEncoding)
Decodes a Protobuf message.
|
OpenRtbProtobuf.Deal |
get()
Returns underlying object.
|
int |
getAt()
Auction type.
|
double |
getBidfloor()
Bid floor for this impression (in CPM of bidfloorcur).
|
String |
getBidfloorcur()
If bid floor is specified and multiple currencies supported per bid request, then currency should be specified here using ISO- 4217 alphabetic codes.
|
String |
getId()
A unique identifier for the direct deal.
|
List<String> |
getWadomain()
Array of advertiser domains allowed to bid on this Direct Deal.
|
List<String> |
getWseat()
Array of buyer seats allowed to bid on this Direct Deal.
|
int |
hashCode() |
boolean |
isDefaultAt() |
boolean |
isDefaultBidfloor() |
boolean |
isDefaultBidfloorcur() |
boolean |
isDefaultId() |
boolean |
isDefaultWadomain() |
boolean |
isDefaultWseat() |
Deal.Builder<OpenRtbProtobuf.Deal> |
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.Deal get()
Dealget in interface Supplier<OpenRtbProtobuf.Deal>get in interface Deal<OpenRtbProtobuf.Deal>public Deal.Builder<OpenRtbProtobuf.Deal> newBuilder()
DealnewBuilder in interface Deal<OpenRtbProtobuf.Deal>public String getId()
DealgetId in interface Deal<OpenRtbProtobuf.Deal>public boolean isDefaultId()
isDefaultId in interface Deal<OpenRtbProtobuf.Deal>public double getBidfloor()
DealgetBidfloor in interface Deal<OpenRtbProtobuf.Deal>public boolean isDefaultBidfloor()
isDefaultBidfloor in interface Deal<OpenRtbProtobuf.Deal>public String getBidfloorcur()
DealgetBidfloorcur in interface Deal<OpenRtbProtobuf.Deal>public boolean isDefaultBidfloorcur()
isDefaultBidfloorcur in interface Deal<OpenRtbProtobuf.Deal>public List<String> getWseat()
DealgetWseat in interface Deal<OpenRtbProtobuf.Deal>public boolean isDefaultWseat()
isDefaultWseat in interface Deal<OpenRtbProtobuf.Deal>public List<String> getWadomain()
DealgetWadomain in interface Deal<OpenRtbProtobuf.Deal>public boolean isDefaultWadomain()
isDefaultWadomain in interface Deal<OpenRtbProtobuf.Deal>public int getAt()
DealgetAt in interface Deal<OpenRtbProtobuf.Deal>public boolean isDefaultAt()
isDefaultAt in interface Deal<OpenRtbProtobuf.Deal>public static Deal<OpenRtbProtobuf.Deal> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.