public static class Video.Avro extends Object implements Video<VideoAvro>
Video.Avro, Video.AvroBuilder, Video.Builder<T>, Video.Comparator, Video.NativeImpl, Video.Protobuf, Video.ProtobufBuilder, Video.Thrift, Video.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Avro(byte[] binaryEncoding)
Constructs a new Avro instance based on a message's binary encoding.
|
| Modifier and Type | Method and Description |
|---|---|
Video.Avro |
encoded() |
boolean |
equals(Object other) |
static Video<VideoAvro> |
from(byte[] binaryEncoding)
Decodes a Avro record.
|
VideoAvro |
get()
Returns underlying object.
|
List<Integer> |
getApi()
List of supported API frameworks for this impression.
|
List<Integer> |
getBattr()
Blocked creative attributes.
|
int |
getBoxingallowed()
If exchange publisher has rules preventing letter boxing of 4x3 content to play in a 16x9 window, then this should be set to false.
|
List<Banner<?>> |
getCompanionad()
If companion ads are available, they can be listed as an array of banner objects.
|
List<Integer> |
getDeliverymethod()
List of supported delivery methods (streaming, progressive).
|
int |
getH()
Height of the player in pixels.
|
int |
getLinearity()
Indicates whether the ad impression must be linear, non- linear or can be of any type (field not set).
|
int |
getMaxbitrate()
Maximum bit rate in Kbps.
|
int |
getMaxduration()
Maximum video ad duration in seconds.
|
int |
getMaxextended()
Maximum extended video ad duration, if extension is allowed.
|
List<String> |
getMimes()
Content MIME types supported.
|
int |
getMinbitrate()
Minimum bit rate in Kbps.
|
int |
getMinduration()
Minimum video ad duration in seconds.
|
List<Integer> |
getPlaybackmethod()
List of allowed playback methods.
|
int |
getPos()
Ad Position (see table 6.5).
|
int |
getProtocol()
Video bid response protocols.
|
List<Integer> |
getProtocols()
Video bid response protocols.
|
int |
getSequence()
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
|
int |
getStartdelay()
Indicates the start delay in seconds for preroll, midroll, or postroll ad placement.
|
List<Integer> |
getVastCompanionType()
Recommended if companion objects are included.
|
int |
getW()
Width of the player in pixels.
|
int |
hashCode() |
boolean |
isDefaultApi() |
boolean |
isDefaultBattr() |
boolean |
isDefaultBoxingallowed() |
boolean |
isDefaultCompanionad() |
boolean |
isDefaultDeliverymethod() |
boolean |
isDefaultH() |
boolean |
isDefaultLinearity() |
boolean |
isDefaultMaxbitrate() |
boolean |
isDefaultMaxduration() |
boolean |
isDefaultMaxextended() |
boolean |
isDefaultMimes() |
boolean |
isDefaultMinbitrate() |
boolean |
isDefaultMinduration() |
boolean |
isDefaultPlaybackmethod() |
boolean |
isDefaultPos() |
boolean |
isDefaultProtocol() |
boolean |
isDefaultProtocols() |
boolean |
isDefaultSequence() |
boolean |
isDefaultStartdelay() |
boolean |
isDefaultVastCompanionType() |
boolean |
isDefaultW() |
Video.Builder<VideoAvro> |
newBuilder()
Creates a new builder based on this object.
|
byte[] |
toByteArray()
Returns an Avro binary encoding of this record.
|
ByteBuffer |
toByteBuffer()
Returns the Avro binary encoding of this record wrapped in a read-only buffer.
|
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 Avro(byte[] binaryEncoding)
public Video.Builder<VideoAvro> newBuilder()
VideonewBuilder in interface Video<VideoAvro>public byte[] toByteArray()
public ByteBuffer toByteBuffer()
public List<String> getMimes()
Videopublic boolean isDefaultMimes()
isDefaultMimes in interface Video<VideoAvro>public int getMinduration()
VideogetMinduration in interface Video<VideoAvro>public boolean isDefaultMinduration()
isDefaultMinduration in interface Video<VideoAvro>public int getMaxduration()
VideogetMaxduration in interface Video<VideoAvro>public boolean isDefaultMaxduration()
isDefaultMaxduration in interface Video<VideoAvro>public int getProtocol()
VideogetProtocol in interface Video<VideoAvro>public boolean isDefaultProtocol()
isDefaultProtocol in interface Video<VideoAvro>public List<Integer> getProtocols()
VideogetProtocols in interface Video<VideoAvro>public boolean isDefaultProtocols()
isDefaultProtocols in interface Video<VideoAvro>public int getW()
Videopublic boolean isDefaultW()
isDefaultW in interface Video<VideoAvro>public int getH()
Videopublic boolean isDefaultH()
isDefaultH in interface Video<VideoAvro>public int getStartdelay()
VideogetStartdelay in interface Video<VideoAvro>public boolean isDefaultStartdelay()
isDefaultStartdelay in interface Video<VideoAvro>public int getLinearity()
VideogetLinearity in interface Video<VideoAvro>public boolean isDefaultLinearity()
isDefaultLinearity in interface Video<VideoAvro>public int getSequence()
VideogetSequence in interface Video<VideoAvro>public boolean isDefaultSequence()
isDefaultSequence in interface Video<VideoAvro>public List<Integer> getBattr()
Videopublic boolean isDefaultBattr()
isDefaultBattr in interface Video<VideoAvro>public int getMaxextended()
VideogetMaxextended in interface Video<VideoAvro>public boolean isDefaultMaxextended()
isDefaultMaxextended in interface Video<VideoAvro>public int getMinbitrate()
VideogetMinbitrate in interface Video<VideoAvro>public boolean isDefaultMinbitrate()
isDefaultMinbitrate in interface Video<VideoAvro>public int getMaxbitrate()
VideogetMaxbitrate in interface Video<VideoAvro>public boolean isDefaultMaxbitrate()
isDefaultMaxbitrate in interface Video<VideoAvro>public int getBoxingallowed()
VideogetBoxingallowed in interface Video<VideoAvro>public boolean isDefaultBoxingallowed()
isDefaultBoxingallowed in interface Video<VideoAvro>public List<Integer> getPlaybackmethod()
VideogetPlaybackmethod in interface Video<VideoAvro>public boolean isDefaultPlaybackmethod()
isDefaultPlaybackmethod in interface Video<VideoAvro>public List<Integer> getDeliverymethod()
VideogetDeliverymethod in interface Video<VideoAvro>public boolean isDefaultDeliverymethod()
isDefaultDeliverymethod in interface Video<VideoAvro>public int getPos()
Videopublic boolean isDefaultPos()
isDefaultPos in interface Video<VideoAvro>public List<Banner<?>> getCompanionad()
VideogetCompanionad in interface Video<VideoAvro>public boolean isDefaultCompanionad()
isDefaultCompanionad in interface Video<VideoAvro>public List<Integer> getApi()
Videopublic boolean isDefaultApi()
isDefaultApi in interface Video<VideoAvro>public List<Integer> getVastCompanionType()
VideogetVastCompanionType in interface Video<VideoAvro>public boolean isDefaultVastCompanionType()
isDefaultVastCompanionType in interface Video<VideoAvro>public Video.Avro encoded()
public static Video<VideoAvro> from(byte[] binaryEncoding) throws IOException
IOExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.