public static final class OpenRtbProtobuf.User extends com.google.protobuf.GeneratedMessageV3 implements OpenRtbProtobuf.UserOrBuilder
3.3.12 User Object The “user” object contains information known or derived about the human user of the device. Note that the user ID is an exchange artifact (refer to the “device” object for hardware or platform derived IDs) and may be subject to rotation policies. However, this user ID must be stable long enough to serve reasonably as the basis for frequency capping. The user object itself and all of its parameters are optional, so default values are not provided. If an optional parameter is not specified, it should be considered unknown. If device ID is used as a proxy for unique user ID, use the device object.Protobuf type
open_rtb.User| Modifier and Type | Class and Description |
|---|---|
static class |
OpenRtbProtobuf.User.Builder
3.3.12 User Object
The “user” object contains information known or derived about the human user of the device.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BUYERUID_FIELD_NUMBER |
static int |
CUSTOMDATA_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
GENDER_FIELD_NUMBER |
static int |
GEO_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KEYWORDS_FIELD_NUMBER |
static com.google.protobuf.Parser<OpenRtbProtobuf.User> |
PARSER
Deprecated.
|
static int |
YOB_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBuyeruid()
Buyer’s user ID for this user as mapped by exchange for the buyer.
|
com.google.protobuf.ByteString |
getBuyeruidBytes()
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.
|
com.google.protobuf.ByteString |
getCustomdataBytes()
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie.
|
OpenRtbProtobuf.Data |
getData(int index)
See Data Object.
|
int |
getDataCount()
See Data Object.
|
List<OpenRtbProtobuf.Data> |
getDataList()
See Data Object.
|
OpenRtbProtobuf.DataOrBuilder |
getDataOrBuilder(int index)
See Data Object.
|
List<? extends OpenRtbProtobuf.DataOrBuilder> |
getDataOrBuilderList()
See Data Object.
|
static OpenRtbProtobuf.User |
getDefaultInstance() |
OpenRtbProtobuf.User |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGender()
Gender as “M” male, “F” female, “O” Other.
|
com.google.protobuf.ByteString |
getGenderBytes()
Gender as “M” male, “F” female, “O” Other.
|
OpenRtbProtobuf.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.
|
OpenRtbProtobuf.GeoOrBuilder |
getGeoOrBuilder()
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.
|
com.google.protobuf.ByteString |
getIdBytes()
Unique consumer ID of this user on the exchange.
|
String |
getKeywords()
Comma separated list of keywords of consumer interests or intent.
|
com.google.protobuf.ByteString |
getKeywordsBytes()
Comma separated list of keywords of consumer interests or intent.
|
com.google.protobuf.Parser<OpenRtbProtobuf.User> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getYob()
Year of birth as a 4-digit integer.
|
boolean |
hasBuyeruid()
Buyer’s user ID for this user as mapped by exchange for the buyer.
|
boolean |
hasCustomdata()
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie.
|
boolean |
hasGender()
Gender as “M” male, “F” female, “O” Other.
|
boolean |
hasGeo()
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.
|
int |
hashCode() |
boolean |
hasId()
Unique consumer ID of this user on the exchange.
|
boolean |
hasKeywords()
Comma separated list of keywords of consumer interests or intent.
|
boolean |
hasYob()
Year of birth as a 4-digit integer.
|
boolean |
isInitialized() |
static OpenRtbProtobuf.User.Builder |
newBuilder() |
static OpenRtbProtobuf.User.Builder |
newBuilder(OpenRtbProtobuf.User prototype) |
OpenRtbProtobuf.User.Builder |
newBuilderForType() |
static OpenRtbProtobuf.User |
parseDelimitedFrom(InputStream input) |
static OpenRtbProtobuf.User |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.User |
parseFrom(byte[] data) |
static OpenRtbProtobuf.User |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.User |
parseFrom(com.google.protobuf.ByteString data) |
static OpenRtbProtobuf.User |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.User |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OpenRtbProtobuf.User |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OpenRtbProtobuf.User |
parseFrom(InputStream input) |
static OpenRtbProtobuf.User |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OpenRtbProtobuf.User> |
parser() |
OpenRtbProtobuf.User.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ID_FIELD_NUMBER
public static final int BUYERUID_FIELD_NUMBER
public static final int YOB_FIELD_NUMBER
public static final int GENDER_FIELD_NUMBER
public static final int KEYWORDS_FIELD_NUMBER
public static final int CUSTOMDATA_FIELD_NUMBER
public static final int GEO_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OpenRtbProtobuf.User> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public boolean hasId()
Unique consumer ID of this user on the exchange.
optional string id = 1;hasId in interface OpenRtbProtobuf.UserOrBuilderpublic String getId()
Unique consumer ID of this user on the exchange.
optional string id = 1;getId in interface OpenRtbProtobuf.UserOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Unique consumer ID of this user on the exchange.
optional string id = 1;getIdBytes in interface OpenRtbProtobuf.UserOrBuilderpublic boolean hasBuyeruid()
Buyer’s user ID for this user as mapped by exchange for the buyer. (AdGear cookie)
optional string buyeruid = 2;hasBuyeruid in interface OpenRtbProtobuf.UserOrBuilderpublic String getBuyeruid()
Buyer’s user ID for this user as mapped by exchange for the buyer. (AdGear cookie)
optional string buyeruid = 2;getBuyeruid in interface OpenRtbProtobuf.UserOrBuilderpublic com.google.protobuf.ByteString getBuyeruidBytes()
Buyer’s user ID for this user as mapped by exchange for the buyer. (AdGear cookie)
optional string buyeruid = 2;getBuyeruidBytes in interface OpenRtbProtobuf.UserOrBuilderpublic boolean hasYob()
Year of birth as a 4-digit integer.
optional uint32 yob = 3;hasYob in interface OpenRtbProtobuf.UserOrBuilderpublic int getYob()
Year of birth as a 4-digit integer.
optional uint32 yob = 3;getYob in interface OpenRtbProtobuf.UserOrBuilderpublic boolean hasGender()
Gender as “M” male, “F” female, “O” Other. (Null indicates unknown).
optional string gender = 4;hasGender in interface OpenRtbProtobuf.UserOrBuilderpublic String getGender()
Gender as “M” male, “F” female, “O” Other. (Null indicates unknown).
optional string gender = 4;getGender in interface OpenRtbProtobuf.UserOrBuilderpublic com.google.protobuf.ByteString getGenderBytes()
Gender as “M” male, “F” female, “O” Other. (Null indicates unknown).
optional string gender = 4;getGenderBytes in interface OpenRtbProtobuf.UserOrBuilderpublic boolean hasKeywords()
Comma separated list of keywords of consumer interests or intent.
optional string keywords = 5;hasKeywords in interface OpenRtbProtobuf.UserOrBuilderpublic String getKeywords()
Comma separated list of keywords of consumer interests or intent.
optional string keywords = 5;getKeywords in interface OpenRtbProtobuf.UserOrBuilderpublic com.google.protobuf.ByteString getKeywordsBytes()
Comma separated list of keywords of consumer interests or intent.
optional string keywords = 5;getKeywordsBytes in interface OpenRtbProtobuf.UserOrBuilderpublic boolean hasCustomdata()
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie. The string may be in base85 cookie safe characters, and be in any format. This may useful for storing user features. Note: Proper JSON encoding must be used to include “escaped” quotation marks.
optional string customdata = 6;hasCustomdata in interface OpenRtbProtobuf.UserOrBuilderpublic String getCustomdata()
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie. The string may be in base85 cookie safe characters, and be in any format. This may useful for storing user features. Note: Proper JSON encoding must be used to include “escaped” quotation marks.
optional string customdata = 6;getCustomdata in interface OpenRtbProtobuf.UserOrBuilderpublic com.google.protobuf.ByteString getCustomdataBytes()
If supported by the exchange, this is custom data that the bidder had stored in the exchange’s cookie. The string may be in base85 cookie safe characters, and be in any format. This may useful for storing user features. Note: Proper JSON encoding must be used to include “escaped” quotation marks.
optional string customdata = 6;getCustomdataBytes in interface OpenRtbProtobuf.UserOrBuilderpublic boolean hasGeo()
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.
optional .open_rtb.Geo geo = 7;hasGeo in interface OpenRtbProtobuf.UserOrBuilderpublic OpenRtbProtobuf.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.
optional .open_rtb.Geo geo = 7;getGeo in interface OpenRtbProtobuf.UserOrBuilderpublic OpenRtbProtobuf.GeoOrBuilder getGeoOrBuilder()
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.
optional .open_rtb.Geo geo = 7;getGeoOrBuilder in interface OpenRtbProtobuf.UserOrBuilderpublic List<OpenRtbProtobuf.Data> getDataList()
See Data Object.
repeated .open_rtb.Data data = 8;getDataList in interface OpenRtbProtobuf.UserOrBuilderpublic List<? extends OpenRtbProtobuf.DataOrBuilder> getDataOrBuilderList()
See Data Object.
repeated .open_rtb.Data data = 8;getDataOrBuilderList in interface OpenRtbProtobuf.UserOrBuilderpublic int getDataCount()
See Data Object.
repeated .open_rtb.Data data = 8;getDataCount in interface OpenRtbProtobuf.UserOrBuilderpublic OpenRtbProtobuf.Data getData(int index)
See Data Object.
repeated .open_rtb.Data data = 8;getData in interface OpenRtbProtobuf.UserOrBuilderpublic OpenRtbProtobuf.DataOrBuilder getDataOrBuilder(int index)
See Data Object.
repeated .open_rtb.Data data = 8;getDataOrBuilder in interface OpenRtbProtobuf.UserOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OpenRtbProtobuf.User parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.User parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.User parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OpenRtbProtobuf.User parseFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.User parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.User parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.User parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OpenRtbProtobuf.User parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OpenRtbProtobuf.User parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OpenRtbProtobuf.User.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.User.Builder newBuilder()
public static OpenRtbProtobuf.User.Builder newBuilder(OpenRtbProtobuf.User prototype)
public OpenRtbProtobuf.User.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static OpenRtbProtobuf.User getDefaultInstance()
public static com.google.protobuf.Parser<OpenRtbProtobuf.User> parser()
public com.google.protobuf.Parser<OpenRtbProtobuf.User> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OpenRtbProtobuf.User getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.