public interface Pmp<T> extends Supplier<T>, Comparable<Pmp<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Pmp.Avro |
static class |
Pmp.AvroBuilder |
static interface |
Pmp.Builder<T> |
static class |
Pmp.Comparator |
static class |
Pmp.NativeImpl |
static class |
Pmp.Protobuf |
static class |
Pmp.ProtobufBuilder |
static class |
Pmp.Thrift |
static class |
Pmp.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static Pmp.Avro |
avro(Pmp<?> instance)
Returns a wrapped Avro record based on an instance of Pmp.
|
static Pmp.Avro |
avro(PmpAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(Pmp<?> other) |
T |
get()
Returns underlying object.
|
static Class<PmpAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
static Comparator<Pmp<?>> |
getComparator()
Returns comparator instance for Pmp objects.
|
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.
|
static Class<OpenRtbProtobuf.Pmp> |
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<PmpThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<PmpThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
boolean |
isDefaultDeals() |
boolean |
isDefaultPrivateAuction() |
static Pmp.NativeImpl |
nativeImpl(Pmp<?> instance)
Returns a POJO based on an instance of Pmp.
|
static Pmp.Builder<PmpAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static Pmp.Builder<PmpAvro> |
newAvroBuilder(Pmp<?> other)
Returns new Avro builder instance based on existing prototype Pmp.
|
static Pmp.Builder<PmpAvro> |
newAvroBuilder(PmpAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static Pmp.Builder<PmpAvro> |
newAvroBuilder(PmpAvro other)
Returns new Avro builder instance based on existing prototype.
|
Pmp.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static Pmp.Builder<Pmp.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static Pmp.Builder<Pmp.NativeImpl> |
newNativeImplBuilder(Pmp<?> other)
Returns a POJO builder instance based on existing prototype Pmp.
|
static Pmp.Builder<OpenRtbProtobuf.Pmp> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static Pmp.Builder<OpenRtbProtobuf.Pmp> |
newProtobufBuilder(OpenRtbProtobuf.Pmp other)
Returns new Protobuf builder instance based on existing prototype.
|
static Pmp.Builder<OpenRtbProtobuf.Pmp> |
newProtobufBuilder(Pmp<?> other)
Returns new Protobuf builder instance based on existing prototype Pmp.
|
static Pmp.Builder<PmpThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Pmp.Builder<PmpThrift> |
newThriftBuilder(Pmp<?> other)
Returns new Thrift builder instance based on existing prototype Pmp.
|
static Pmp.Builder<PmpThrift> |
newThriftBuilder(PmpThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static Pmp.Protobuf |
protobuf(OpenRtbProtobuf.Pmp wrapped)
Wraps an existing Protobuf message.
|
static Pmp.Protobuf |
protobuf(Pmp<?> instance)
Returns a wrapped Protobuf message based on an instance of Pmp.
|
static Pmp.Thrift |
thrift(Pmp<?> instance)
Returns a wrapped Thrift struct based on an instance of Pmp.
|
static Pmp.Thrift |
thrift(PmpThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
Pmp.Builder<T> newBuilder()
int getPrivateAuction()
boolean isDefaultPrivateAuction()
List<Deal<?>> getDeals()
boolean isDefaultDeals()
static Comparator<Pmp<?>> getComparator()
default int compareTo(Pmp<?> other)
compareTo in interface Comparable<Pmp<?>>static Pmp.Builder<Pmp.NativeImpl> newNativeImplBuilder()
static Pmp.Builder<Pmp.NativeImpl> newNativeImplBuilder(Pmp<?> other)
static Pmp.NativeImpl nativeImpl(Pmp<?> instance)
static Pmp.Builder<PmpAvro> newAvroBuilder()
static Pmp.Builder<PmpAvro> newAvroBuilder(PmpAvro other)
static Pmp.Builder<PmpAvro> newAvroBuilder(PmpAvro.Builder other)
static Pmp.Builder<PmpAvro> newAvroBuilder(Pmp<?> other)
static Pmp.Avro avro(Pmp<?> instance)
static Schema getAvroSchema()
static Pmp.Builder<OpenRtbProtobuf.Pmp> newProtobufBuilder()
static Pmp.Builder<OpenRtbProtobuf.Pmp> newProtobufBuilder(OpenRtbProtobuf.Pmp other)
static Pmp.Builder<OpenRtbProtobuf.Pmp> newProtobufBuilder(Pmp<?> other)
static Pmp.Protobuf protobuf(Pmp<?> instance)
static Pmp.Protobuf protobuf(OpenRtbProtobuf.Pmp wrapped)
static Class<OpenRtbProtobuf.Pmp> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static Pmp.Builder<PmpThrift> newThriftBuilder()
static Pmp.Builder<PmpThrift> newThriftBuilder(PmpThrift other)
static Pmp.Builder<PmpThrift> newThriftBuilder(Pmp<?> other)
static Pmp.Thrift thrift(Pmp<?> instance)
static Pmp.Thrift thrift(PmpThrift instance)
static Map<PmpThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.