@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class PublisherThrift extends Object implements TBase<PublisherThrift,PublisherThrift._Fields>, Serializable, Cloneable, Comparable<PublisherThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
PublisherThrift._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 publisher.
|
String |
domain
Publisher’s highest level domain name, for example “foopub.com”.
|
String |
id
Publisher ID on the exchange.
|
static Map<PublisherThrift._Fields,FieldMetaData> |
metaDataMap |
String |
name
Publisher name (may be masked at publisher’s request).
|
| Constructor and Description |
|---|
PublisherThrift() |
PublisherThrift(PublisherThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToCat(String elem) |
void |
clear() |
int |
compareTo(PublisherThrift other) |
PublisherThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PublisherThrift that) |
PublisherThrift._Fields |
fieldForId(int fieldId) |
List<String> |
getCat()
Array of IAB content categories for the publisher.
|
Iterator<String> |
getCatIterator() |
int |
getCatSize() |
String |
getDomain()
Publisher’s highest level domain name, for example “foopub.com”.
|
Object |
getFieldValue(PublisherThrift._Fields field) |
String |
getId()
Publisher ID on the exchange.
|
String |
getName()
Publisher name (may be masked at publisher’s request).
|
int |
hashCode() |
boolean |
isSet(PublisherThrift._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) |
PublisherThrift |
setCat(List<String> cat)
Array of IAB content categories for the publisher.
|
void |
setCatIsSet(boolean value) |
PublisherThrift |
setDomain(String domain)
Publisher’s highest level domain name, for example “foopub.com”.
|
void |
setDomainIsSet(boolean value) |
void |
setFieldValue(PublisherThrift._Fields field,
Object value) |
PublisherThrift |
setId(String id)
Publisher ID on the exchange.
|
void |
setIdIsSet(boolean value) |
PublisherThrift |
setName(String name)
Publisher name (may be masked at publisher’s request).
|
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<PublisherThrift._Fields,FieldMetaData> metaDataMap
public PublisherThrift()
public PublisherThrift(PublisherThrift other)
public PublisherThrift deepCopy()
deepCopy in interface TBase<PublisherThrift,PublisherThrift._Fields>public void clear()
clear in interface TBase<PublisherThrift,PublisherThrift._Fields>public String getId()
public PublisherThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public PublisherThrift 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 PublisherThrift setCat(List<String> cat)
public void unsetCat()
public boolean isSetCat()
public void setCatIsSet(boolean value)
public String getDomain()
public PublisherThrift setDomain(String domain)
public void unsetDomain()
public boolean isSetDomain()
public void setDomainIsSet(boolean value)
public void setFieldValue(PublisherThrift._Fields field, Object value)
setFieldValue in interface TBase<PublisherThrift,PublisherThrift._Fields>public Object getFieldValue(PublisherThrift._Fields field)
getFieldValue in interface TBase<PublisherThrift,PublisherThrift._Fields>public boolean isSet(PublisherThrift._Fields field)
isSet in interface TBase<PublisherThrift,PublisherThrift._Fields>public boolean equals(PublisherThrift that)
public int compareTo(PublisherThrift other)
compareTo in interface Comparable<PublisherThrift>public PublisherThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<PublisherThrift,PublisherThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<PublisherThrift,PublisherThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<PublisherThrift,PublisherThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.