public static class Publisher.Protobuf extends Object implements Publisher<OpenRtbProtobuf.Publisher>
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 |
|---|
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 Publisher<OpenRtbProtobuf.Publisher> |
from(byte[] binaryEncoding)
Decodes a Protobuf message.
|
OpenRtbProtobuf.Publisher |
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<OpenRtbProtobuf.Publisher> |
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.Publisher get()
Publisherget in interface Supplier<OpenRtbProtobuf.Publisher>get in interface Publisher<OpenRtbProtobuf.Publisher>public Publisher.Builder<OpenRtbProtobuf.Publisher> newBuilder()
PublishernewBuilder in interface Publisher<OpenRtbProtobuf.Publisher>public String getId()
PublishergetId in interface Publisher<OpenRtbProtobuf.Publisher>public boolean isDefaultId()
isDefaultId in interface Publisher<OpenRtbProtobuf.Publisher>public String getName()
PublishergetName in interface Publisher<OpenRtbProtobuf.Publisher>public boolean isDefaultName()
isDefaultName in interface Publisher<OpenRtbProtobuf.Publisher>public List<String> getCat()
PublishergetCat in interface Publisher<OpenRtbProtobuf.Publisher>public boolean isDefaultCat()
isDefaultCat in interface Publisher<OpenRtbProtobuf.Publisher>public String getDomain()
PublishergetDomain in interface Publisher<OpenRtbProtobuf.Publisher>public boolean isDefaultDomain()
isDefaultDomain in interface Publisher<OpenRtbProtobuf.Publisher>public static Publisher<OpenRtbProtobuf.Publisher> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.