public static class Publisher.Thrift extends Object implements Publisher<PublisherThrift>
Publisher.Avro, Publisher.AvroBuilder, Publisher.Builder<T>, Publisher.Comparator, Publisher.NativeImpl, Publisher.Protobuf, Publisher.ProtobufBuilder, Publisher.Thrift, Publisher.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Thrift()
Create a new wrapper.
|
Thrift(PublisherThrift wrapped)
Wraps an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
PublisherThrift |
get()
Returns underlying object.
|
List<String> |
getCat()
Array of IAB content categories for the publisher.
|
String |
getDomain()
Publisher’s highest level domain name, for example “foopub.com”.
|
String |
getId()
Publisher ID on the exchange.
|
String |
getName()
Publisher name (may be masked at publisher’s request).
|
int |
hashCode() |
boolean |
isDefaultCat() |
boolean |
isDefaultDomain() |
boolean |
isDefaultId() |
boolean |
isDefaultName() |
Publisher.Builder<PublisherThrift> |
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(PublisherThrift wrapped)
public Thrift()
public PublisherThrift get()
Publisherget in interface Supplier<PublisherThrift>get in interface Publisher<PublisherThrift>public Publisher.Builder<PublisherThrift> newBuilder()
PublishernewBuilder in interface Publisher<PublisherThrift>public String getId()
PublishergetId in interface Publisher<PublisherThrift>public boolean isDefaultId()
isDefaultId in interface Publisher<PublisherThrift>public String getName()
PublishergetName in interface Publisher<PublisherThrift>public boolean isDefaultName()
isDefaultName in interface Publisher<PublisherThrift>public List<String> getCat()
PublishergetCat in interface Publisher<PublisherThrift>public boolean isDefaultCat()
isDefaultCat in interface Publisher<PublisherThrift>public String getDomain()
PublishergetDomain in interface Publisher<PublisherThrift>public boolean isDefaultDomain()
isDefaultDomain in interface Publisher<PublisherThrift>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.