public interface Video<T> extends Supplier<T>, Comparable<Video<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Video.Avro |
static class |
Video.AvroBuilder |
static interface |
Video.Builder<T> |
static class |
Video.Comparator |
static class |
Video.NativeImpl |
static class |
Video.Protobuf |
static class |
Video.ProtobufBuilder |
static class |
Video.Thrift |
static class |
Video.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static Video.Avro |
avro(Video<?> instance)
Returns a wrapped Avro record based on an instance of Video.
|
static Video.Avro |
avro(VideoAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(Video<?> other) |
T |
get()
Returns underlying object.
|
List<Integer> |
getApi()
List of supported API frameworks for this impression.
|
static Class<VideoAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
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.
|
static Comparator<Video<?>> |
getComparator()
Returns comparator instance for Video 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).
|
static Class<OpenRtbProtobuf.Video> |
getProtobufClass()
Returns Protobuf class for this struct.
|
static com.google.protobuf.Descriptors.Descriptor |
getProtobufDescriptor()
Returns Protobuf descriptor for this struct.
|
static Class<AdExchangeProtobuf> |
getProtobufProtocolClass()
Returns Protobuf protocol class for this struct.
|
static com.google.protobuf.Descriptors.FileDescriptor |
getProtobufProtocolDescriptor()
Returns Protobuf protocol descriptor for this struct.
|
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.
|
static Class<VideoThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<VideoThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
List<Integer> |
getVastCompanionType()
Recommended if companion objects are included.
|
int |
getW()
Width of the player in pixels.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
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() |
static Video.NativeImpl |
nativeImpl(Video<?> instance)
Returns a POJO based on an instance of Video.
|
static Video.Builder<VideoAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static Video.Builder<VideoAvro> |
newAvroBuilder(Video<?> other)
Returns new Avro builder instance based on existing prototype Video.
|
static Video.Builder<VideoAvro> |
newAvroBuilder(VideoAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static Video.Builder<VideoAvro> |
newAvroBuilder(VideoAvro other)
Returns new Avro builder instance based on existing prototype.
|
Video.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static Video.Builder<Video.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static Video.Builder<Video.NativeImpl> |
newNativeImplBuilder(Video<?> other)
Returns a POJO builder instance based on existing prototype Video.
|
static Video.Builder<OpenRtbProtobuf.Video> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static Video.Builder<OpenRtbProtobuf.Video> |
newProtobufBuilder(OpenRtbProtobuf.Video other)
Returns new Protobuf builder instance based on existing prototype.
|
static Video.Builder<OpenRtbProtobuf.Video> |
newProtobufBuilder(Video<?> other)
Returns new Protobuf builder instance based on existing prototype Video.
|
static Video.Builder<VideoThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Video.Builder<VideoThrift> |
newThriftBuilder(Video<?> other)
Returns new Thrift builder instance based on existing prototype Video.
|
static Video.Builder<VideoThrift> |
newThriftBuilder(VideoThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static Video.Protobuf |
protobuf(OpenRtbProtobuf.Video wrapped)
Wraps an existing Protobuf message.
|
static Video.Protobuf |
protobuf(Video<?> instance)
Returns a wrapped Protobuf message based on an instance of Video.
|
static Video.Thrift |
thrift(Video<?> instance)
Returns a wrapped Thrift struct based on an instance of Video.
|
static Video.Thrift |
thrift(VideoThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
Video.Builder<T> newBuilder()
List<String> getMimes()
boolean isDefaultMimes()
int getMinduration()
boolean isDefaultMinduration()
int getMaxduration()
boolean isDefaultMaxduration()
int getProtocol()
boolean isDefaultProtocol()
List<Integer> getProtocols()
boolean isDefaultProtocols()
int getW()
boolean isDefaultW()
int getH()
boolean isDefaultH()
int getStartdelay()
boolean isDefaultStartdelay()
int getLinearity()
boolean isDefaultLinearity()
int getSequence()
boolean isDefaultSequence()
List<Integer> getBattr()
boolean isDefaultBattr()
int getMaxextended()
boolean isDefaultMaxextended()
int getMinbitrate()
boolean isDefaultMinbitrate()
int getMaxbitrate()
boolean isDefaultMaxbitrate()
int getBoxingallowed()
boolean isDefaultBoxingallowed()
List<Integer> getPlaybackmethod()
boolean isDefaultPlaybackmethod()
List<Integer> getDeliverymethod()
boolean isDefaultDeliverymethod()
int getPos()
boolean isDefaultPos()
List<Banner<?>> getCompanionad()
boolean isDefaultCompanionad()
List<Integer> getApi()
boolean isDefaultApi()
List<Integer> getVastCompanionType()
boolean isDefaultVastCompanionType()
static Comparator<Video<?>> getComparator()
default int compareTo(Video<?> other)
compareTo in interface Comparable<Video<?>>static Video.Builder<Video.NativeImpl> newNativeImplBuilder()
static Video.Builder<Video.NativeImpl> newNativeImplBuilder(Video<?> other)
static Video.NativeImpl nativeImpl(Video<?> instance)
static Video.Builder<VideoAvro> newAvroBuilder()
static Video.Builder<VideoAvro> newAvroBuilder(VideoAvro other)
static Video.Builder<VideoAvro> newAvroBuilder(VideoAvro.Builder other)
static Video.Builder<VideoAvro> newAvroBuilder(Video<?> other)
static Video.Avro avro(Video<?> instance)
static Video.Avro avro(VideoAvro wrapped)
static Schema getAvroSchema()
static Video.Builder<OpenRtbProtobuf.Video> newProtobufBuilder()
static Video.Builder<OpenRtbProtobuf.Video> newProtobufBuilder(OpenRtbProtobuf.Video other)
static Video.Builder<OpenRtbProtobuf.Video> newProtobufBuilder(Video<?> other)
static Video.Protobuf protobuf(Video<?> instance)
static Video.Protobuf protobuf(OpenRtbProtobuf.Video wrapped)
static Class<OpenRtbProtobuf.Video> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static Video.Builder<VideoThrift> newThriftBuilder()
static Video.Builder<VideoThrift> newThriftBuilder(VideoThrift other)
static Video.Builder<VideoThrift> newThriftBuilder(Video<?> other)
static Video.Thrift thrift(Video<?> instance)
static Video.Thrift thrift(VideoThrift instance)
static Class<VideoThrift> getThriftClass()
static Map<VideoThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.