@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class ProducerThrift extends Object implements TBase<ProducerThrift,ProducerThrift._Fields>, Serializable, Cloneable, Comparable<ProducerThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProducerThrift._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 producer.
|
String |
domain
URL of the content producer.
|
String |
id
Content producer or originator ID.
|
static Map<ProducerThrift._Fields,FieldMetaData> |
metaDataMap |
String |
name
Content producer or originator name (e.g., “Warner Bros”).
|
| Constructor and Description |
|---|
ProducerThrift() |
ProducerThrift(ProducerThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCat(String elem) |
void |
clear() |
int |
compareTo(ProducerThrift other) |
ProducerThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ProducerThrift that) |
ProducerThrift._Fields |
fieldForId(int fieldId) |
List<String> |
getCat()
Array of IAB content categories for the content producer.
|
Iterator<String> |
getCatIterator() |
int |
getCatSize() |
String |
getDomain()
URL of the content producer.
|
Object |
getFieldValue(ProducerThrift._Fields field) |
String |
getId()
Content producer or originator ID.
|
String |
getName()
Content producer or originator name (e.g., “Warner Bros”).
|
int |
hashCode() |
boolean |
isSet(ProducerThrift._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 |
isSetDomain()
Returns true if field domain 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 |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
ProducerThrift |
setCat(List<String> cat)
Array of IAB content categories for the content producer.
|
void |
setCatIsSet(boolean value) |
ProducerThrift |
setDomain(String domain)
URL of the content producer.
|
void |
setDomainIsSet(boolean value) |
void |
setFieldValue(ProducerThrift._Fields field,
Object value) |
ProducerThrift |
setId(String id)
Content producer or originator ID.
|
void |
setIdIsSet(boolean value) |
ProducerThrift |
setName(String name)
Content producer or originator name (e.g., “Warner Bros”).
|
void |
setNameIsSet(boolean value) |
String |
toString() |
void |
unsetCat() |
void |
unsetDomain() |
void |
unsetId() |
void |
unsetName() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public String name
public List<String> cat
public String domain
public static final Map<ProducerThrift._Fields,FieldMetaData> metaDataMap
public ProducerThrift()
public ProducerThrift(ProducerThrift other)
public ProducerThrift deepCopy()
deepCopy in interface TBase<ProducerThrift,ProducerThrift._Fields>public void clear()
clear in interface TBase<ProducerThrift,ProducerThrift._Fields>public String getId()
public ProducerThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public ProducerThrift setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public int getCatSize()
public void addToCat(String elem)
public List<String> getCat()
public ProducerThrift setCat(List<String> cat)
public void unsetCat()
public boolean isSetCat()
public void setCatIsSet(boolean value)
public String getDomain()
public ProducerThrift setDomain(String domain)
public void unsetDomain()
public boolean isSetDomain()
public void setDomainIsSet(boolean value)
public void setFieldValue(ProducerThrift._Fields field, Object value)
setFieldValue in interface TBase<ProducerThrift,ProducerThrift._Fields>public Object getFieldValue(ProducerThrift._Fields field)
getFieldValue in interface TBase<ProducerThrift,ProducerThrift._Fields>public boolean isSet(ProducerThrift._Fields field)
isSet in interface TBase<ProducerThrift,ProducerThrift._Fields>public boolean equals(ProducerThrift that)
public int compareTo(ProducerThrift other)
compareTo in interface Comparable<ProducerThrift>public ProducerThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<ProducerThrift,ProducerThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<ProducerThrift,ProducerThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<ProducerThrift,ProducerThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.