@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class ContentThrift extends Object implements TBase<ContentThrift,ContentThrift._Fields>, Serializable, Cloneable, Comparable<ContentThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
ContentThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<String> |
cat
Array of IAB content categories for the content.
|
String |
contentrating
Content rating (e.g., MPAA)
|
String |
context
Specifies the type of content (game, video, text, etc.).
|
byte |
embeddable
From QAG Video Addendum.
|
int |
episode
Content episode number (typically applies to video content).
|
String |
id
ID uniquely identifying the content.
|
String |
keywords
Comma separated list of keywords describing the content.
|
String |
language
Language of the content.
|
int |
len
Length of content (appropriate for video or audio) in seconds.
|
byte |
livestream
Is content live? E.g., live video stream, live blog.
|
static Map<ContentThrift._Fields,FieldMetaData> |
metaDataMap |
ProducerThrift |
producer
See Producer Object.
|
short |
qagmediarating
Media rating of the content, per QAG guidelines.
|
String |
season
Content season.
|
String |
series
Content series.
|
byte |
sourcerelationship
1 for “direct”; 0 for “indirect”.
|
String |
title
Content title.
|
String |
url
Original URL of the content, for buy-side contextualization or review.
|
String |
userrating
User rating of the content (e.g., number of stars, likes, etc.).
|
short |
videoquality
Video quality per the IAB’s classification.
|
| Constructor and Description |
|---|
ContentThrift() |
ContentThrift(ContentThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCat(String elem) |
void |
clear() |
int |
compareTo(ContentThrift other) |
ContentThrift |
deepCopy() |
boolean |
equals(ContentThrift that) |
boolean |
equals(Object that) |
ContentThrift._Fields |
fieldForId(int fieldId) |
List<String> |
getCat()
Array of IAB content categories for the content.
|
Iterator<String> |
getCatIterator() |
int |
getCatSize() |
String |
getContentrating()
Content rating (e.g., MPAA)
|
String |
getContext()
Specifies the type of content (game, video, text, etc.).
|
byte |
getEmbeddable()
From QAG Video Addendum.
|
int |
getEpisode()
Content episode number (typically applies to video content).
|
Object |
getFieldValue(ContentThrift._Fields field) |
String |
getId()
ID uniquely identifying the content.
|
String |
getKeywords()
Comma separated list of keywords describing the content.
|
String |
getLanguage()
Language of the content.
|
int |
getLen()
Length of content (appropriate for video or audio) in seconds.
|
byte |
getLivestream()
Is content live? E.g., live video stream, live blog.
|
ProducerThrift |
getProducer()
See Producer Object.
|
short |
getQagmediarating()
Media rating of the content, per QAG guidelines.
|
String |
getSeason()
Content season.
|
String |
getSeries()
Content series.
|
byte |
getSourcerelationship()
1 for “direct”; 0 for “indirect”.
|
String |
getTitle()
Content title.
|
String |
getUrl()
Original URL of the content, for buy-side contextualization or review.
|
String |
getUserrating()
User rating of the content (e.g., number of stars, likes, etc.).
|
short |
getVideoquality()
Video quality per the IAB’s classification.
|
int |
hashCode() |
boolean |
isSet(ContentThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCat()
Returns true if field cat is set (has been assigned a value) and false otherwise
|
boolean |
isSetContentrating()
Returns true if field contentrating is set (has been assigned a value) and false otherwise
|
boolean |
isSetContext()
Returns true if field context is set (has been assigned a value) and false otherwise
|
boolean |
isSetEmbeddable()
Returns true if field embeddable is set (has been assigned a value) and false otherwise
|
boolean |
isSetEpisode()
Returns true if field episode is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetKeywords()
Returns true if field keywords is set (has been assigned a value) and false otherwise
|
boolean |
isSetLanguage()
Returns true if field language is set (has been assigned a value) and false otherwise
|
boolean |
isSetLen()
Returns true if field len is set (has been assigned a value) and false otherwise
|
boolean |
isSetLivestream()
Returns true if field livestream is set (has been assigned a value) and false otherwise
|
boolean |
isSetProducer()
Returns true if field producer is set (has been assigned a value) and false otherwise
|
boolean |
isSetQagmediarating()
Returns true if field qagmediarating is set (has been assigned a value) and false otherwise
|
boolean |
isSetSeason()
Returns true if field season is set (has been assigned a value) and false otherwise
|
boolean |
isSetSeries()
Returns true if field series is set (has been assigned a value) and false otherwise
|
boolean |
isSetSourcerelationship()
Returns true if field sourcerelationship is set (has been assigned a value) and false otherwise
|
boolean |
isSetTitle()
Returns true if field title is set (has been assigned a value) and false otherwise
|
boolean |
isSetUrl()
Returns true if field url is set (has been assigned a value) and false otherwise
|
boolean |
isSetUserrating()
Returns true if field userrating is set (has been assigned a value) and false otherwise
|
boolean |
isSetVideoquality()
Returns true if field videoquality is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
ContentThrift |
setCat(List<String> cat)
Array of IAB content categories for the content.
|
void |
setCatIsSet(boolean value) |
ContentThrift |
setContentrating(String contentrating)
Content rating (e.g., MPAA)
|
void |
setContentratingIsSet(boolean value) |
ContentThrift |
setContext(String context)
Specifies the type of content (game, video, text, etc.).
|
void |
setContextIsSet(boolean value) |
ContentThrift |
setEmbeddable(byte embeddable)
From QAG Video Addendum.
|
void |
setEmbeddableIsSet(boolean value) |
ContentThrift |
setEpisode(int episode)
Content episode number (typically applies to video content).
|
void |
setEpisodeIsSet(boolean value) |
void |
setFieldValue(ContentThrift._Fields field,
Object value) |
ContentThrift |
setId(String id)
ID uniquely identifying the content.
|
void |
setIdIsSet(boolean value) |
ContentThrift |
setKeywords(String keywords)
Comma separated list of keywords describing the content.
|
void |
setKeywordsIsSet(boolean value) |
ContentThrift |
setLanguage(String language)
Language of the content.
|
void |
setLanguageIsSet(boolean value) |
ContentThrift |
setLen(int len)
Length of content (appropriate for video or audio) in seconds.
|
void |
setLenIsSet(boolean value) |
ContentThrift |
setLivestream(byte livestream)
Is content live? E.g., live video stream, live blog.
|
void |
setLivestreamIsSet(boolean value) |
ContentThrift |
setProducer(ProducerThrift producer)
See Producer Object.
|
void |
setProducerIsSet(boolean value) |
ContentThrift |
setQagmediarating(short qagmediarating)
Media rating of the content, per QAG guidelines.
|
void |
setQagmediaratingIsSet(boolean value) |
ContentThrift |
setSeason(String season)
Content season.
|
void |
setSeasonIsSet(boolean value) |
ContentThrift |
setSeries(String series)
Content series.
|
void |
setSeriesIsSet(boolean value) |
ContentThrift |
setSourcerelationship(byte sourcerelationship)
1 for “direct”; 0 for “indirect”.
|
void |
setSourcerelationshipIsSet(boolean value) |
ContentThrift |
setTitle(String title)
Content title.
|
void |
setTitleIsSet(boolean value) |
ContentThrift |
setUrl(String url)
Original URL of the content, for buy-side contextualization or review.
|
void |
setUrlIsSet(boolean value) |
ContentThrift |
setUserrating(String userrating)
User rating of the content (e.g., number of stars, likes, etc.).
|
void |
setUserratingIsSet(boolean value) |
ContentThrift |
setVideoquality(short videoquality)
Video quality per the IAB’s classification.
|
void |
setVideoqualityIsSet(boolean value) |
String |
toString() |
void |
unsetCat() |
void |
unsetContentrating() |
void |
unsetContext() |
void |
unsetEmbeddable() |
void |
unsetEpisode() |
void |
unsetId() |
void |
unsetKeywords() |
void |
unsetLanguage() |
void |
unsetLen() |
void |
unsetLivestream() |
void |
unsetProducer() |
void |
unsetQagmediarating() |
void |
unsetSeason() |
void |
unsetSeries() |
void |
unsetSourcerelationship() |
void |
unsetTitle() |
void |
unsetUrl() |
void |
unsetUserrating() |
void |
unsetVideoquality() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public int episode
public String title
public String series
public String season
public String url
public List<String> cat
public short videoquality
public String keywords
public String contentrating
public String userrating
public String context
public byte livestream
public byte sourcerelationship
public ProducerThrift producer
public int len
public short qagmediarating
public byte embeddable
public String language
public static final Map<ContentThrift._Fields,FieldMetaData> metaDataMap
public ContentThrift()
public ContentThrift(ContentThrift other)
public ContentThrift deepCopy()
deepCopy in interface TBase<ContentThrift,ContentThrift._Fields>public void clear()
clear in interface TBase<ContentThrift,ContentThrift._Fields>public String getId()
public ContentThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public int getEpisode()
public ContentThrift setEpisode(int episode)
public void unsetEpisode()
public boolean isSetEpisode()
public void setEpisodeIsSet(boolean value)
public String getTitle()
public ContentThrift setTitle(String title)
public void unsetTitle()
public boolean isSetTitle()
public void setTitleIsSet(boolean value)
public String getSeries()
public ContentThrift setSeries(String series)
public void unsetSeries()
public boolean isSetSeries()
public void setSeriesIsSet(boolean value)
public String getSeason()
public ContentThrift setSeason(String season)
public void unsetSeason()
public boolean isSetSeason()
public void setSeasonIsSet(boolean value)
public String getUrl()
public ContentThrift setUrl(String url)
public void unsetUrl()
public boolean isSetUrl()
public void setUrlIsSet(boolean value)
public int getCatSize()
public void addToCat(String elem)
public List<String> getCat()
public ContentThrift setCat(List<String> cat)
public void unsetCat()
public boolean isSetCat()
public void setCatIsSet(boolean value)
public short getVideoquality()
public ContentThrift setVideoquality(short videoquality)
public void unsetVideoquality()
public boolean isSetVideoquality()
public void setVideoqualityIsSet(boolean value)
public String getKeywords()
public ContentThrift setKeywords(String keywords)
public void unsetKeywords()
public boolean isSetKeywords()
public void setKeywordsIsSet(boolean value)
public String getContentrating()
public ContentThrift setContentrating(String contentrating)
public void unsetContentrating()
public boolean isSetContentrating()
public void setContentratingIsSet(boolean value)
public String getUserrating()
public ContentThrift setUserrating(String userrating)
public void unsetUserrating()
public boolean isSetUserrating()
public void setUserratingIsSet(boolean value)
public String getContext()
public ContentThrift setContext(String context)
public void unsetContext()
public boolean isSetContext()
public void setContextIsSet(boolean value)
public byte getLivestream()
public ContentThrift setLivestream(byte livestream)
public void unsetLivestream()
public boolean isSetLivestream()
public void setLivestreamIsSet(boolean value)
public byte getSourcerelationship()
public ContentThrift setSourcerelationship(byte sourcerelationship)
public void unsetSourcerelationship()
public boolean isSetSourcerelationship()
public void setSourcerelationshipIsSet(boolean value)
public ProducerThrift getProducer()
public ContentThrift setProducer(ProducerThrift producer)
public void unsetProducer()
public boolean isSetProducer()
public void setProducerIsSet(boolean value)
public int getLen()
public ContentThrift setLen(int len)
public void unsetLen()
public boolean isSetLen()
public void setLenIsSet(boolean value)
public short getQagmediarating()
public ContentThrift setQagmediarating(short qagmediarating)
public void unsetQagmediarating()
public boolean isSetQagmediarating()
public void setQagmediaratingIsSet(boolean value)
public byte getEmbeddable()
public ContentThrift setEmbeddable(byte embeddable)
public void unsetEmbeddable()
public boolean isSetEmbeddable()
public void setEmbeddableIsSet(boolean value)
public String getLanguage()
public ContentThrift setLanguage(String language)
public void unsetLanguage()
public boolean isSetLanguage()
public void setLanguageIsSet(boolean value)
public void setFieldValue(ContentThrift._Fields field, Object value)
setFieldValue in interface TBase<ContentThrift,ContentThrift._Fields>public Object getFieldValue(ContentThrift._Fields field)
getFieldValue in interface TBase<ContentThrift,ContentThrift._Fields>public boolean isSet(ContentThrift._Fields field)
isSet in interface TBase<ContentThrift,ContentThrift._Fields>public boolean equals(ContentThrift that)
public int compareTo(ContentThrift other)
compareTo in interface Comparable<ContentThrift>public ContentThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<ContentThrift,ContentThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<ContentThrift,ContentThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<ContentThrift,ContentThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.