public static class Deal.Avro extends Object implements Deal<DealAvro>
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 |
|---|
Avro(byte[] binaryEncoding)
Constructs a new Avro instance based on a message's binary encoding.
|
| Modifier and Type | Method and Description |
|---|---|
Deal.Avro |
encoded() |
boolean |
equals(Object other) |
static Deal<DealAvro> |
from(byte[] binaryEncoding)
Decodes a Avro record.
|
DealAvro |
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<DealAvro> |
newBuilder()
Creates a new builder based on this object.
|
byte[] |
toByteArray()
Returns an Avro binary encoding of this record.
|
ByteBuffer |
toByteBuffer()
Returns the Avro binary encoding of this record wrapped in a read-only buffer.
|
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 Avro(byte[] binaryEncoding)
public Deal.Builder<DealAvro> newBuilder()
DealnewBuilder in interface Deal<DealAvro>public byte[] toByteArray()
public ByteBuffer toByteBuffer()
public String getId()
Dealpublic boolean isDefaultId()
isDefaultId in interface Deal<DealAvro>public double getBidfloor()
DealgetBidfloor in interface Deal<DealAvro>public boolean isDefaultBidfloor()
isDefaultBidfloor in interface Deal<DealAvro>public String getBidfloorcur()
DealgetBidfloorcur in interface Deal<DealAvro>public boolean isDefaultBidfloorcur()
isDefaultBidfloorcur in interface Deal<DealAvro>public List<String> getWseat()
Dealpublic boolean isDefaultWseat()
isDefaultWseat in interface Deal<DealAvro>public List<String> getWadomain()
DealgetWadomain in interface Deal<DealAvro>public boolean isDefaultWadomain()
isDefaultWadomain in interface Deal<DealAvro>public int getAt()
Dealpublic boolean isDefaultAt()
isDefaultAt in interface Deal<DealAvro>public Deal.Avro encoded()
public static Deal<DealAvro> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.