public static class Regulations.Protobuf extends Object implements Regulations<OpenRtbProtobuf.Regulations>
Regulations.Avro, Regulations.AvroBuilder, Regulations.Builder<T>, Regulations.Comparator, Regulations.NativeImpl, Regulations.Protobuf, Regulations.ProtobufBuilder, Regulations.Thrift, Regulations.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 Regulations<OpenRtbProtobuf.Regulations> |
from(byte[] binaryEncoding)
Decodes a Protobuf message.
|
OpenRtbProtobuf.Regulations |
get()
Returns underlying object.
|
int |
getCoppa()
Flag indicating whether or not this request falls under the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes.
|
int |
hashCode() |
boolean |
isDefaultCoppa() |
Regulations.Builder<OpenRtbProtobuf.Regulations> |
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.Regulations get()
Regulationsget in interface Supplier<OpenRtbProtobuf.Regulations>get in interface Regulations<OpenRtbProtobuf.Regulations>public Regulations.Builder<OpenRtbProtobuf.Regulations> newBuilder()
RegulationsnewBuilder in interface Regulations<OpenRtbProtobuf.Regulations>public int getCoppa()
RegulationsgetCoppa in interface Regulations<OpenRtbProtobuf.Regulations>public boolean isDefaultCoppa()
isDefaultCoppa in interface Regulations<OpenRtbProtobuf.Regulations>public static Regulations<OpenRtbProtobuf.Regulations> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.