public static class Pmp.Protobuf extends Object implements Pmp<OpenRtbProtobuf.Pmp>
Pmp.Avro, Pmp.AvroBuilder, Pmp.Builder<T>, Pmp.Comparator, Pmp.NativeImpl, Pmp.Protobuf, Pmp.ProtobufBuilder, Pmp.Thrift, Pmp.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 Pmp<OpenRtbProtobuf.Pmp> |
from(byte[] binaryEncoding)
Decodes a Protobuf message.
|
OpenRtbProtobuf.Pmp |
get()
Returns underlying object.
|
List<Deal<?>> |
getDeals()
A collection of “deal” objects encapsulating a list of direct deals eligible for this impression.
|
int |
getPrivateAuction()
An integer flag indicating that this impression is a private auction eligible only to seats named in the Direct Deals object.
|
int |
hashCode() |
boolean |
isDefaultDeals() |
boolean |
isDefaultPrivateAuction() |
Pmp.Builder<OpenRtbProtobuf.Pmp> |
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.Pmp get()
Pmpget in interface Supplier<OpenRtbProtobuf.Pmp>get in interface Pmp<OpenRtbProtobuf.Pmp>public Pmp.Builder<OpenRtbProtobuf.Pmp> newBuilder()
PmpnewBuilder in interface Pmp<OpenRtbProtobuf.Pmp>public int getPrivateAuction()
PmpgetPrivateAuction in interface Pmp<OpenRtbProtobuf.Pmp>public boolean isDefaultPrivateAuction()
isDefaultPrivateAuction in interface Pmp<OpenRtbProtobuf.Pmp>public List<Deal<?>> getDeals()
PmpgetDeals in interface Pmp<OpenRtbProtobuf.Pmp>public boolean isDefaultDeals()
isDefaultDeals in interface Pmp<OpenRtbProtobuf.Pmp>public static Pmp<OpenRtbProtobuf.Pmp> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.