public static class User.Thrift extends Object implements User<UserThrift>
User.Avro, User.AvroBuilder, User.Builder<T>, User.Comparator, User.NativeImpl, User.Protobuf, User.ProtobufBuilder, User.Thrift, User.ThriftBuilder| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Thrift()
Create a new wrapper.
|
Thrift(UserThrift wrapped)
Wraps an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
UserThrift |
get()
Returns underlying object.
|
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<Data<?>> |
getData()
See Data Object.
|
String |
getGender()
Gender as “M” male, “F” female, “O” Other.
|
Geo<?> |
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.
|
int |
getYob()
Year of birth as a 4-digit integer.
|
int |
hashCode() |
boolean |
isDefaultBuyeruid() |
boolean |
isDefaultCustomdata() |
boolean |
isDefaultData() |
boolean |
isDefaultGender() |
boolean |
isDefaultGeo() |
boolean |
isDefaultId() |
boolean |
isDefaultKeywords() |
boolean |
isDefaultYob() |
User.Builder<UserThrift> |
newBuilder()
Creates a new builder based on this object.
|
String |
toString() |
avro, avro, compareTo, getAvroClass, getAvroSchema, getComparator, getProtobufClass, getProtobufDescriptor, getProtobufProtocolClass, getProtobufProtocolDescriptor, getThriftClass, getThriftMetadataMap, isDefault, nativeImpl, newAvroBuilder, newAvroBuilder, newAvroBuilder, newAvroBuilder, newNativeImplBuilder, newNativeImplBuilder, newProtobufBuilder, newProtobufBuilder, newProtobufBuilder, newThriftBuilder, newThriftBuilder, newThriftBuilder, protobuf, protobuf, thrift, thriftpublic static final long serialVersionUID
public Thrift(UserThrift wrapped)
public Thrift()
public UserThrift get()
Userget in interface Supplier<UserThrift>get in interface User<UserThrift>public User.Builder<UserThrift> newBuilder()
UsernewBuilder in interface User<UserThrift>public String getId()
UsergetId in interface User<UserThrift>public boolean isDefaultId()
isDefaultId in interface User<UserThrift>public String getBuyeruid()
UsergetBuyeruid in interface User<UserThrift>public boolean isDefaultBuyeruid()
isDefaultBuyeruid in interface User<UserThrift>public int getYob()
UsergetYob in interface User<UserThrift>public boolean isDefaultYob()
isDefaultYob in interface User<UserThrift>public String getGender()
UsergetGender in interface User<UserThrift>public boolean isDefaultGender()
isDefaultGender in interface User<UserThrift>public String getKeywords()
UsergetKeywords in interface User<UserThrift>public boolean isDefaultKeywords()
isDefaultKeywords in interface User<UserThrift>public String getCustomdata()
UsergetCustomdata in interface User<UserThrift>public boolean isDefaultCustomdata()
isDefaultCustomdata in interface User<UserThrift>public Geo<?> getGeo()
UsergetGeo in interface User<UserThrift>public boolean isDefaultGeo()
isDefaultGeo in interface User<UserThrift>public List<Data<?>> getData()
UsergetData in interface User<UserThrift>public boolean isDefaultData()
isDefaultData in interface User<UserThrift>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.