@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-12-21") public class UserThrift extends Object implements TBase<UserThrift,UserThrift._Fields>, Serializable, Cloneable, Comparable<UserThrift>
| Modifier and Type | Class and Description |
|---|---|
static class |
UserThrift._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
buyeruid
Buyer’s user ID for this user as mapped by exchange for the buyer.
|
String |
customdata
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie.
|
List<DataThrift> |
data
See Data Object.
|
String |
gender
Gender as “M” male, “F” female, “O” Other.
|
GeoThrift |
geo
Home geo for the user (e.g., based off of registration data); this is different from the current location of the access device (that is defined by the geo object embedded in the Device Object); see Geo Object.
|
String |
id
Unique consumer ID of this user on the exchange.
|
String |
keywords
Comma separated list of keywords of consumer interests or intent.
|
static Map<UserThrift._Fields,FieldMetaData> |
metaDataMap |
short |
yob
Year of birth as a 4-digit integer.
|
| Constructor and Description |
|---|
UserThrift() |
UserThrift(UserThrift other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToData(DataThrift elem) |
void |
clear() |
int |
compareTo(UserThrift other) |
UserThrift |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(UserThrift that) |
UserThrift._Fields |
fieldForId(int fieldId) |
String |
getBuyeruid()
Buyer’s user ID for this user as mapped by exchange for the buyer.
|
String |
getCustomdata()
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie.
|
List<DataThrift> |
getData()
See Data Object.
|
Iterator<DataThrift> |
getDataIterator() |
int |
getDataSize() |
Object |
getFieldValue(UserThrift._Fields field) |
String |
getGender()
Gender as “M” male, “F” female, “O” Other.
|
GeoThrift |
getGeo()
Home geo for the user (e.g., based off of registration data); this is different from the current location of the access device (that is defined by the geo object embedded in the Device Object); see Geo Object.
|
String |
getId()
Unique consumer ID of this user on the exchange.
|
String |
getKeywords()
Comma separated list of keywords of consumer interests or intent.
|
short |
getYob()
Year of birth as a 4-digit integer.
|
int |
hashCode() |
boolean |
isSet(UserThrift._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBuyeruid()
Returns true if field buyeruid is set (has been assigned a value) and false otherwise
|
boolean |
isSetCustomdata()
Returns true if field customdata is set (has been assigned a value) and false otherwise
|
boolean |
isSetData()
Returns true if field data is set (has been assigned a value) and false otherwise
|
boolean |
isSetGender()
Returns true if field gender is set (has been assigned a value) and false otherwise
|
boolean |
isSetGeo()
Returns true if field geo 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 |
isSetYob()
Returns true if field yob is set (has been assigned a value) and false otherwise
|
void |
read(TProtocol iprot) |
UserThrift |
setBuyeruid(String buyeruid)
Buyer’s user ID for this user as mapped by exchange for the buyer.
|
void |
setBuyeruidIsSet(boolean value) |
UserThrift |
setCustomdata(String customdata)
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie.
|
void |
setCustomdataIsSet(boolean value) |
UserThrift |
setData(List<DataThrift> data)
See Data Object.
|
void |
setDataIsSet(boolean value) |
void |
setFieldValue(UserThrift._Fields field,
Object value) |
UserThrift |
setGender(String gender)
Gender as “M” male, “F” female, “O” Other.
|
void |
setGenderIsSet(boolean value) |
UserThrift |
setGeo(GeoThrift geo)
Home geo for the user (e.g., based off of registration data); this is different from the current location of the access device (that is defined by the geo object embedded in the Device Object); see Geo Object.
|
void |
setGeoIsSet(boolean value) |
UserThrift |
setId(String id)
Unique consumer ID of this user on the exchange.
|
void |
setIdIsSet(boolean value) |
UserThrift |
setKeywords(String keywords)
Comma separated list of keywords of consumer interests or intent.
|
void |
setKeywordsIsSet(boolean value) |
UserThrift |
setYob(short yob)
Year of birth as a 4-digit integer.
|
void |
setYobIsSet(boolean value) |
String |
toString() |
void |
unsetBuyeruid() |
void |
unsetCustomdata() |
void |
unsetData() |
void |
unsetGender() |
void |
unsetGeo() |
void |
unsetId() |
void |
unsetKeywords() |
void |
unsetYob() |
void |
validate() |
void |
write(TProtocol oprot) |
public String id
public String buyeruid
public short yob
public String gender
public String keywords
public String customdata
public GeoThrift geo
public List<DataThrift> data
public static final Map<UserThrift._Fields,FieldMetaData> metaDataMap
public UserThrift()
public UserThrift(UserThrift other)
public UserThrift deepCopy()
deepCopy in interface TBase<UserThrift,UserThrift._Fields>public void clear()
clear in interface TBase<UserThrift,UserThrift._Fields>public String getId()
public UserThrift setId(String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getBuyeruid()
public UserThrift setBuyeruid(String buyeruid)
public void unsetBuyeruid()
public boolean isSetBuyeruid()
public void setBuyeruidIsSet(boolean value)
public short getYob()
public UserThrift setYob(short yob)
public void unsetYob()
public boolean isSetYob()
public void setYobIsSet(boolean value)
public String getGender()
public UserThrift setGender(String gender)
public void unsetGender()
public boolean isSetGender()
public void setGenderIsSet(boolean value)
public String getKeywords()
public UserThrift setKeywords(String keywords)
public void unsetKeywords()
public boolean isSetKeywords()
public void setKeywordsIsSet(boolean value)
public String getCustomdata()
public UserThrift setCustomdata(String customdata)
public void unsetCustomdata()
public boolean isSetCustomdata()
public void setCustomdataIsSet(boolean value)
public GeoThrift getGeo()
public UserThrift setGeo(GeoThrift geo)
public void unsetGeo()
public boolean isSetGeo()
public void setGeoIsSet(boolean value)
public int getDataSize()
public Iterator<DataThrift> getDataIterator()
public void addToData(DataThrift elem)
public List<DataThrift> getData()
public UserThrift setData(List<DataThrift> data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean value)
public void setFieldValue(UserThrift._Fields field, Object value)
setFieldValue in interface TBase<UserThrift,UserThrift._Fields>public Object getFieldValue(UserThrift._Fields field)
getFieldValue in interface TBase<UserThrift,UserThrift._Fields>public boolean isSet(UserThrift._Fields field)
isSet in interface TBase<UserThrift,UserThrift._Fields>public boolean equals(UserThrift that)
public int compareTo(UserThrift other)
compareTo in interface Comparable<UserThrift>public UserThrift._Fields fieldForId(int fieldId)
fieldForId in interface TBase<UserThrift,UserThrift._Fields>public void read(TProtocol iprot) throws TException
read in interface TBase<UserThrift,UserThrift._Fields>TExceptionpublic void write(TProtocol oprot) throws TException
write in interface TBase<UserThrift,UserThrift._Fields>TExceptionpublic void validate()
throws TException
TExceptionCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.