@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class VideoThrift extends Object implements TBase<VideoThrift,VideoThrift._Fields>, Serializable, Cloneable, Comparable<VideoThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
VideoThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<Short> |
api
List of supported API frameworks for this impression.
|
List<Short> |
battr
Blocked creative attributes.
|
byte |
boxingallowed
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<BannerThrift> |
companionad
If companion ads are available, they can be listed as an array of banner objects.
|
List<Short> |
deliverymethod
List of supported delivery methods (streaming, progressive).
|
int |
h
Height of the player in pixels.
|
short |
linearity
Indicates whether the ad impression must be linear, non- linear or can be of any type (field not set).
|
int |
maxbitrate
Maximum bit rate in Kbps.
|
int |
maxduration
Maximum video ad duration in seconds.
|
int |
maxextended
Maximum extended video ad duration, if extension is allowed.
|
static Map<VideoThrift._Fields,FieldMetaData> |
metaDataMap |
List<String> |
mimes
Content MIME types supported.
|
int |
minbitrate
Minimum bit rate in Kbps.
|
int |
minduration
Minimum video ad duration in seconds.
|
List<Short> |
playbackmethod
List of allowed playback methods.
|
short |
pos
Ad Position (see table 6.5).
|
short |
protocol
Video bid response protocols.
|
List<Short> |
protocols
Video bid response protocols.
|
int |
sequence
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
|
short |
startdelay
Indicates the start delay in seconds for preroll, midroll, or postroll ad placement.
|
List<Short> |
vast_companion_type
Recommended if companion objects are included.
|
int |
w
Width of the player in pixels.
|
| Constructor and Description |
|---|
VideoThrift() |
VideoThrift(VideoThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToApi(short elem) |
void |
addToBattr(short elem) |
void |
addToCompanionad(BannerThrift elem) |
void |
addToDeliverymethod(short elem) |
void |
addToMimes(String elem) |
void |
addToPlaybackmethod(short elem) |
void |
addToProtocols(short elem) |
void |
addToVast_companion_type(short elem) |
void |
clear() |
int |
compareTo(VideoThrift other) |
VideoThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(VideoThrift that) |
VideoThrift._Fields |
fieldForId(int fieldId) |
List<Short> |
getApi()
List of supported API frameworks for this impression.
|
Iterator<Short> |
getApiIterator() |
int |
getApiSize() |
List<Short> |
getBattr()
Blocked creative attributes.
|
Iterator<Short> |
getBattrIterator() |
int |
getBattrSize() |
byte |
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<BannerThrift> |
getCompanionad()
If companion ads are available, they can be listed as an array of banner objects.
|
Iterator<BannerThrift> |
getCompanionadIterator() |
int |
getCompanionadSize() |
List<Short> |
getDeliverymethod()
List of supported delivery methods (streaming, progressive).
|
Iterator<Short> |
getDeliverymethodIterator() |
int |
getDeliverymethodSize() |
Object |
getFieldValue(VideoThrift._Fields field) |
int |
getH()
Height of the player in pixels.
|
short |
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.
|
Iterator<String> |
getMimesIterator() |
int |
getMimesSize() |
int |
getMinbitrate()
Minimum bit rate in Kbps.
|
int |
getMinduration()
Minimum video ad duration in seconds.
|
List<Short> |
getPlaybackmethod()
List of allowed playback methods.
|
Iterator<Short> |
getPlaybackmethodIterator() |
int |
getPlaybackmethodSize() |
short |
getPos()
Ad Position (see table 6.5).
|
short |
getProtocol()
Video bid response protocols.
|
List<Short> |
getProtocols()
Video bid response protocols.
|
Iterator<Short> |
getProtocolsIterator() |
int |
getProtocolsSize() |
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.
|
short |
getStartdelay()
Indicates the start delay in seconds for preroll, midroll, or postroll ad placement.
|
List<Short> |
getVast_companion_type()
Recommended if companion objects are included.
|
Iterator<Short> |
getVast_companion_typeIterator() |
int |
getVast_companion_typeSize() |
int |
getW()
Width of the player in pixels.
|
int |
hashCode() |
boolean |
isSet(VideoThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetApi()
Returns true if field api is set (has been assigned a value) and false otherwise
|
boolean |
isSetBattr()
Returns true if field battr is set (has been assigned a value) and false otherwise
|
boolean |
isSetBoxingallowed()
Returns true if field boxingallowed is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompanionad()
Returns true if field companionad is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeliverymethod()
Returns true if field deliverymethod is set (has been assigned a value) and false otherwise
|
boolean |
isSetH()
Returns true if field h is set (has been assigned a value) and false otherwise
|
boolean |
isSetLinearity()
Returns true if field linearity is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxbitrate()
Returns true if field maxbitrate is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxduration()
Returns true if field maxduration is set (has been assigned a value) and false otherwise
|
boolean |
isSetMaxextended()
Returns true if field maxextended is set (has been assigned a value) and false otherwise
|
boolean |
isSetMimes()
Returns true if field mimes is set (has been assigned a value) and false otherwise
|
boolean |
isSetMinbitrate()
Returns true if field minbitrate is set (has been assigned a value) and false otherwise
|
boolean |
isSetMinduration()
Returns true if field minduration is set (has been assigned a value) and false otherwise
|
boolean |
isSetPlaybackmethod()
Returns true if field playbackmethod is set (has been assigned a value) and false otherwise
|
boolean |
isSetPos()
Returns true if field pos is set (has been assigned a value) and false otherwise
|
boolean |
isSetProtocol()
Returns true if field protocol is set (has been assigned a value) and false otherwise
|
boolean |
isSetProtocols()
Returns true if field protocols is set (has been assigned a value) and false otherwise
|
boolean |
isSetSequence()
Returns true if field sequence is set (has been assigned a value) and false otherwise
|
boolean |
isSetStartdelay()
Returns true if field startdelay is set (has been assigned a value) and false otherwise
|
boolean |
isSetVast_companion_type()
Returns true if field vast_companion_type is set (has been assigned a value) and false otherwise
|
boolean |
isSetW()
Returns true if field w is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
VideoThrift |
setApi(List<Short> api)
List of supported API frameworks for this impression.
|
void |
setApiIsSet(boolean value) |
VideoThrift |
setBattr(List<Short> battr)
Blocked creative attributes.
|
void |
setBattrIsSet(boolean value) |
VideoThrift |
setBoxingallowed(byte boxingallowed)
If exchange publisher has rules preventing letter boxing of 4x3 content to play in a 16x9 window, then this should be set to false.
|
void |
setBoxingallowedIsSet(boolean value) |
VideoThrift |
setCompanionad(List<BannerThrift> companionad)
If companion ads are available, they can be listed as an array of banner objects.
|
void |
setCompanionadIsSet(boolean value) |
VideoThrift |
setDeliverymethod(List<Short> deliverymethod)
List of supported delivery methods (streaming, progressive).
|
void |
setDeliverymethodIsSet(boolean value) |
void |
setFieldValue(VideoThrift._Fields field,
Object value) |
VideoThrift |
setH(int h)
Height of the player in pixels.
|
void |
setHIsSet(boolean value) |
VideoThrift |
setLinearity(short linearity)
Indicates whether the ad impression must be linear, non- linear or can be of any type (field not set).
|
void |
setLinearityIsSet(boolean value) |
VideoThrift |
setMaxbitrate(int maxbitrate)
Maximum bit rate in Kbps.
|
void |
setMaxbitrateIsSet(boolean value) |
VideoThrift |
setMaxduration(int maxduration)
Maximum video ad duration in seconds.
|
void |
setMaxdurationIsSet(boolean value) |
VideoThrift |
setMaxextended(int maxextended)
Maximum extended video ad duration, if extension is allowed.
|
void |
setMaxextendedIsSet(boolean value) |
VideoThrift |
setMimes(List<String> mimes)
Content MIME types supported.
|
void |
setMimesIsSet(boolean value) |
VideoThrift |
setMinbitrate(int minbitrate)
Minimum bit rate in Kbps.
|
void |
setMinbitrateIsSet(boolean value) |
VideoThrift |
setMinduration(int minduration)
Minimum video ad duration in seconds.
|
void |
setMindurationIsSet(boolean value) |
VideoThrift |
setPlaybackmethod(List<Short> playbackmethod)
List of allowed playback methods.
|
void |
setPlaybackmethodIsSet(boolean value) |
VideoThrift |
setPos(short pos)
Ad Position (see table 6.5).
|
void |
setPosIsSet(boolean value) |
VideoThrift |
setProtocol(short protocol)
Video bid response protocols.
|
void |
setProtocolIsSet(boolean value) |
VideoThrift |
setProtocols(List<Short> protocols)
Video bid response protocols.
|
void |
setProtocolsIsSet(boolean value) |
VideoThrift |
setSequence(int sequence)
If multiple ad impressions are offered in the same bid request, the sequence number will allow for the coordinated delivery of multiple creatives.
|
void |
setSequenceIsSet(boolean value) |
VideoThrift |
setStartdelay(short startdelay)
Indicates the start delay in seconds for preroll, midroll, or postroll ad placement.
|
void |
setStartdelayIsSet(boolean value) |
VideoThrift |
setVast_companion_type(List<Short> vast_companion_type)
Recommended if companion objects are included.
|
void |
setVast_companion_typeIsSet(boolean value) |
VideoThrift |
setW(int w)
Width of the player in pixels.
|
void |
setWIsSet(boolean value) |
String |
toString() |
void |
unsetApi() |
void |
unsetBattr() |
void |
unsetBoxingallowed() |
void |
unsetCompanionad() |
void |
unsetDeliverymethod() |
void |
unsetH() |
void |
unsetLinearity() |
void |
unsetMaxbitrate() |
void |
unsetMaxduration() |
void |
unsetMaxextended() |
void |
unsetMimes() |
void |
unsetMinbitrate() |
void |
unsetMinduration() |
void |
unsetPlaybackmethod() |
void |
unsetPos() |
void |
unsetProtocol() |
void |
unsetProtocols() |
void |
unsetSequence() |
void |
unsetStartdelay() |
void |
unsetVast_companion_type() |
void |
unsetW() |
void |
validate() |
void |
write(TProtocol oprot) |
public List<String> mimes
public int minduration
public int maxduration
public short protocol
public List<Short> protocols
public int w
public int h
public short startdelay
public short linearity
public int sequence
public List<Short> battr
public int maxextended
public int minbitrate
public int maxbitrate
public byte boxingallowed
public List<Short> playbackmethod
public List<Short> deliverymethod
public short pos
public List<BannerThrift> companionad
public List<Short> api
public List<Short> vast_companion_type
public static final Map<VideoThrift._Fields,FieldMetaData> metaDataMap
public VideoThrift()
public VideoThrift(VideoThrift other)
public VideoThrift deepCopy()
deepCopy in interface TBase<VideoThrift,VideoThrift._Fields>public void clear()
clear in interface TBase<VideoThrift,VideoThrift._Fields>public int getMimesSize()
public void addToMimes(String elem)
public List<String> getMimes()
public VideoThrift setMimes(List<String> mimes)
public void unsetMimes()
public boolean isSetMimes()
public void setMimesIsSet(boolean value)
public int getMinduration()
public VideoThrift setMinduration(int minduration)
public void unsetMinduration()
public boolean isSetMinduration()
public void setMindurationIsSet(boolean value)
public int getMaxduration()
public VideoThrift setMaxduration(int maxduration)
public void unsetMaxduration()
public boolean isSetMaxduration()
public void setMaxdurationIsSet(boolean value)
public short getProtocol()
public VideoThrift setProtocol(short protocol)
public void unsetProtocol()
public boolean isSetProtocol()
public void setProtocolIsSet(boolean value)
public int getProtocolsSize()
public void addToProtocols(short elem)
public List<Short> getProtocols()
public VideoThrift setProtocols(List<Short> protocols)
public void unsetProtocols()
public boolean isSetProtocols()
public void setProtocolsIsSet(boolean value)
public int getW()
public VideoThrift setW(int w)
public void unsetW()
public boolean isSetW()
public void setWIsSet(boolean value)
public int getH()
public VideoThrift setH(int h)
public void unsetH()
public boolean isSetH()
public void setHIsSet(boolean value)
public short getStartdelay()
public VideoThrift setStartdelay(short startdelay)
public void unsetStartdelay()
public boolean isSetStartdelay()
public void setStartdelayIsSet(boolean value)
public short getLinearity()
public VideoThrift setLinearity(short linearity)
public void unsetLinearity()
public boolean isSetLinearity()
public void setLinearityIsSet(boolean value)
public int getSequence()
public VideoThrift setSequence(int sequence)
public void unsetSequence()
public boolean isSetSequence()
public void setSequenceIsSet(boolean value)
public int getBattrSize()
public void addToBattr(short elem)
public List<Short> getBattr()
public VideoThrift setBattr(List<Short> battr)
public void unsetBattr()
public boolean isSetBattr()
public void setBattrIsSet(boolean value)
public int getMaxextended()
public VideoThrift setMaxextended(int maxextended)
public void unsetMaxextended()
public boolean isSetMaxextended()
public void setMaxextendedIsSet(boolean value)
public int getMinbitrate()
public VideoThrift setMinbitrate(int minbitrate)
public void unsetMinbitrate()
public boolean isSetMinbitrate()
public void setMinbitrateIsSet(boolean value)
public int getMaxbitrate()
public VideoThrift setMaxbitrate(int maxbitrate)
public void unsetMaxbitrate()
public boolean isSetMaxbitrate()
public void setMaxbitrateIsSet(boolean value)
public byte getBoxingallowed()
public VideoThrift setBoxingallowed(byte boxingallowed)
public void unsetBoxingallowed()
public boolean isSetBoxingallowed()
public void setBoxingallowedIsSet(boolean value)
public int getPlaybackmethodSize()
public void addToPlaybackmethod(short elem)
public List<Short> getPlaybackmethod()
public VideoThrift setPlaybackmethod(List<Short> playbackmethod)
public void unsetPlaybackmethod()
public boolean isSetPlaybackmethod()
public void setPlaybackmethodIsSet(boolean value)
public int getDeliverymethodSize()
public void addToDeliverymethod(short elem)
public List<Short> getDeliverymethod()
public VideoThrift setDeliverymethod(List<Short> deliverymethod)
public void unsetDeliverymethod()
public boolean isSetDeliverymethod()
public void setDeliverymethodIsSet(boolean value)
public short getPos()
public VideoThrift setPos(short pos)
public void unsetPos()
public boolean isSetPos()
public void setPosIsSet(boolean value)
public int getCompanionadSize()
public Iterator<BannerThrift> getCompanionadIterator()
public void addToCompanionad(BannerThrift elem)
public List<BannerThrift> getCompanionad()
public VideoThrift setCompanionad(List<BannerThrift> companionad)
public void unsetCompanionad()
public boolean isSetCompanionad()
public void setCompanionadIsSet(boolean value)
public int getApiSize()
public void addToApi(short elem)
public List<Short> getApi()
public VideoThrift setApi(List<Short> api)
public void unsetApi()
public boolean isSetApi()
public void setApiIsSet(boolean value)
public int getVast_companion_typeSize()
public void addToVast_companion_type(short elem)
public List<Short> getVast_companion_type()
public VideoThrift setVast_companion_type(List<Short> vast_companion_type)
public void unsetVast_companion_type()
public boolean isSetVast_companion_type()
public void setVast_companion_typeIsSet(boolean value)
public void setFieldValue(VideoThrift._Fields field, Object value)
setFieldValue in interface TBase<VideoThrift,VideoThrift._Fields>public Object getFieldValue(VideoThrift._Fields field)
getFieldValue in interface TBase<VideoThrift,VideoThrift._Fields>public boolean isSet(VideoThrift._Fields field)
isSet in interface TBase<VideoThrift,VideoThrift._Fields>public boolean equals(VideoThrift that)
public int compareTo(VideoThrift other)
compareTo in interface Comparable<VideoThrift>public VideoThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<VideoThrift,VideoThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<VideoThrift,VideoThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<VideoThrift,VideoThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.