public static class Producer.Thrift extends Object implements Producer<ProducerThrift>
Producer.Avro, Producer.AvroBuilder, Producer.Builder<T>, Producer.Comparator, Producer.NativeImpl, Producer.Protobuf, Producer.ProtobufBuilder, Producer.Thrift, Producer.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Thrift()
Create a new wrapper.
|
Thrift(ProducerThrift wrapped)
Wraps an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
ProducerThrift |
get()
Returns underlying object.
|
List<String> |
getCat()
Array of IAB content categories for the content producer.
|
String |
getDomain()
URL of the content producer.
|
String |
getId()
Content producer or originator ID.
|
String |
getName()
Content producer or originator name (e.g., “Warner Bros”).
|
int |
hashCode() |
boolean |
isDefaultCat() |
boolean |
isDefaultDomain() |
boolean |
isDefaultId() |
boolean |
isDefaultName() |
Producer.Builder<ProducerThrift> |
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 Thrift(ProducerThrift wrapped)
public Thrift()
public ProducerThrift get()
Producerget in interface Supplier<ProducerThrift>get in interface Producer<ProducerThrift>public Producer.Builder<ProducerThrift> newBuilder()
ProducernewBuilder in interface Producer<ProducerThrift>public String getId()
ProducergetId in interface Producer<ProducerThrift>public boolean isDefaultId()
isDefaultId in interface Producer<ProducerThrift>public String getName()
ProducergetName in interface Producer<ProducerThrift>public boolean isDefaultName()
isDefaultName in interface Producer<ProducerThrift>public List<String> getCat()
ProducergetCat in interface Producer<ProducerThrift>public boolean isDefaultCat()
isDefaultCat in interface Producer<ProducerThrift>public String getDomain()
ProducergetDomain in interface Producer<ProducerThrift>public boolean isDefaultDomain()
isDefaultDomain in interface Producer<ProducerThrift>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.