public static enum UserThrift._Fields extends Enum<UserThrift._Fields> implements TFieldIdEnum
| Enum Constant and Description |
|---|
BUYERUID
Buyer’s user ID for this user as mapped by exchange for the buyer.
|
CUSTOMDATA
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie.
|
DATA
See Data Object.
|
GENDER
Gender as “M” male, “F” female, “O” Other.
|
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.
|
ID
Unique consumer ID of this user on the exchange.
|
KEYWORDS
Comma separated list of keywords of consumer interests or intent.
|
YOB
Year of birth as a 4-digit integer.
|
| Modifier and Type | Method and Description |
|---|---|
static UserThrift._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static UserThrift._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static UserThrift._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static UserThrift._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserThrift._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserThrift._Fields ID
public static final UserThrift._Fields BUYERUID
public static final UserThrift._Fields YOB
public static final UserThrift._Fields GENDER
public static final UserThrift._Fields KEYWORDS
public static final UserThrift._Fields CUSTOMDATA
public static final UserThrift._Fields GEO
public static final UserThrift._Fields DATA
public static UserThrift._Fields[] values()
for (UserThrift._Fields c : UserThrift._Fields.values()) System.out.println(c);
public static UserThrift._Fields valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static UserThrift._Fields findByThriftId(int fieldId)
public static UserThrift._Fields findByThriftIdOrThrow(int fieldId)
public static UserThrift._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId in interface TFieldIdEnumpublic String getFieldName()
getFieldName in interface TFieldIdEnumCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.