public interface BidResponse<T> extends Supplier<T>, Comparable<BidResponse<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BidResponse.Avro |
static class |
BidResponse.AvroBuilder |
static interface |
BidResponse.Builder<T> |
static class |
BidResponse.Comparator |
static class |
BidResponse.NativeImpl |
static class |
BidResponse.Protobuf |
static class |
BidResponse.ProtobufBuilder |
static class |
BidResponse.Thrift |
static class |
BidResponse.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static BidResponse.Avro |
avro(BidResponse<?> instance)
Returns a wrapped Avro record based on an instance of BidResponse.
|
static BidResponse.Avro |
avro(BidResponseAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(BidResponse<?> other) |
T |
get()
Returns underlying object.
|
static Class<BidResponseAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
String |
getBidid()
Bid response ID to assist tracking for bidders.
|
static Comparator<BidResponse<?>> |
getComparator()
Returns comparator instance for BidResponse objects.
|
String |
getCur()
Bid currency using ISO-4217 alphabetic codes; default is “USD”.
|
String |
getCustomdata()
This is an optional feature, which allows a bidder to set data in the exchange’s cookie.
|
String |
getId()
ID of the bid request.
|
int |
getNbr()
Reason for not bidding.
|
static Class<OpenRtbProtobuf.BidResponse> |
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.
|
List<SeatBid<?>> |
getSeatbid()
Array of seatbid objects.
|
static Class<BidResponseThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<BidResponseThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
boolean |
isDefaultBidid() |
boolean |
isDefaultCur() |
boolean |
isDefaultCustomdata() |
boolean |
isDefaultId() |
boolean |
isDefaultNbr() |
boolean |
isDefaultSeatbid() |
static BidResponse.NativeImpl |
nativeImpl(BidResponse<?> instance)
Returns a POJO based on an instance of BidResponse.
|
static BidResponse.Builder<BidResponseAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static BidResponse.Builder<BidResponseAvro> |
newAvroBuilder(BidResponse<?> other)
Returns new Avro builder instance based on existing prototype BidResponse.
|
static BidResponse.Builder<BidResponseAvro> |
newAvroBuilder(BidResponseAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static BidResponse.Builder<BidResponseAvro> |
newAvroBuilder(BidResponseAvro other)
Returns new Avro builder instance based on existing prototype.
|
BidResponse.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static BidResponse.Builder<BidResponse.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static BidResponse.Builder<BidResponse.NativeImpl> |
newNativeImplBuilder(BidResponse<?> other)
Returns a POJO builder instance based on existing prototype BidResponse.
|
static BidResponse.Builder<OpenRtbProtobuf.BidResponse> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static BidResponse.Builder<OpenRtbProtobuf.BidResponse> |
newProtobufBuilder(BidResponse<?> other)
Returns new Protobuf builder instance based on existing prototype BidResponse.
|
static BidResponse.Builder<OpenRtbProtobuf.BidResponse> |
newProtobufBuilder(OpenRtbProtobuf.BidResponse other)
Returns new Protobuf builder instance based on existing prototype.
|
static BidResponse.Builder<BidResponseThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static BidResponse.Builder<BidResponseThrift> |
newThriftBuilder(BidResponse<?> other)
Returns new Thrift builder instance based on existing prototype BidResponse.
|
static BidResponse.Builder<BidResponseThrift> |
newThriftBuilder(BidResponseThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static BidResponse.Protobuf |
protobuf(BidResponse<?> instance)
Returns a wrapped Protobuf message based on an instance of BidResponse.
|
static BidResponse.Protobuf |
protobuf(OpenRtbProtobuf.BidResponse wrapped)
Wraps an existing Protobuf message.
|
static BidResponse.Thrift |
thrift(BidResponse<?> instance)
Returns a wrapped Thrift struct based on an instance of BidResponse.
|
static BidResponse.Thrift |
thrift(BidResponseThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
BidResponse.Builder<T> newBuilder()
String getId()
boolean isDefaultId()
boolean isDefaultSeatbid()
String getBidid()
boolean isDefaultBidid()
String getCur()
boolean isDefaultCur()
String getCustomdata()
boolean isDefaultCustomdata()
int getNbr()
boolean isDefaultNbr()
static Comparator<BidResponse<?>> getComparator()
default int compareTo(BidResponse<?> other)
compareTo in interface Comparable<BidResponse<?>>static BidResponse.Builder<BidResponse.NativeImpl> newNativeImplBuilder()
static BidResponse.Builder<BidResponse.NativeImpl> newNativeImplBuilder(BidResponse<?> other)
static BidResponse.NativeImpl nativeImpl(BidResponse<?> instance)
static BidResponse.Builder<BidResponseAvro> newAvroBuilder()
static BidResponse.Builder<BidResponseAvro> newAvroBuilder(BidResponseAvro other)
static BidResponse.Builder<BidResponseAvro> newAvroBuilder(BidResponseAvro.Builder other)
static BidResponse.Builder<BidResponseAvro> newAvroBuilder(BidResponse<?> other)
static BidResponse.Avro avro(BidResponse<?> instance)
static BidResponse.Avro avro(BidResponseAvro wrapped)
static Class<BidResponseAvro> getAvroClass()
static Schema getAvroSchema()
static BidResponse.Builder<OpenRtbProtobuf.BidResponse> newProtobufBuilder()
static BidResponse.Builder<OpenRtbProtobuf.BidResponse> newProtobufBuilder(OpenRtbProtobuf.BidResponse other)
static BidResponse.Builder<OpenRtbProtobuf.BidResponse> newProtobufBuilder(BidResponse<?> other)
static BidResponse.Protobuf protobuf(BidResponse<?> instance)
static BidResponse.Protobuf protobuf(OpenRtbProtobuf.BidResponse wrapped)
static Class<OpenRtbProtobuf.BidResponse> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static BidResponse.Builder<BidResponseThrift> newThriftBuilder()
static BidResponse.Builder<BidResponseThrift> newThriftBuilder(BidResponseThrift other)
static BidResponse.Builder<BidResponseThrift> newThriftBuilder(BidResponse<?> other)
static BidResponse.Thrift thrift(BidResponse<?> instance)
static BidResponse.Thrift thrift(BidResponseThrift instance)
static Class<BidResponseThrift> getThriftClass()
static Map<BidResponseThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.