public static final class Openrtb.BidRequest.User extends com.google.protobuf.GeneratedMessage implements Openrtb.BidRequest.UserOrBuilder
openrtb.BidRequest.User
OpenRTB 3.3.12: 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. If device ID is used as a proxy for unique user ID, use the device object.
| Modifier and Type | Class and Description |
|---|---|
static class |
Openrtb.BidRequest.User.Builder
Protobuf type
openrtb.BidRequest.User |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BUYERUID_FIELD_NUMBER |
static int |
CUSTOMDATA_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
EXT_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<Openrtb.BidRequest.User> |
PARSER
Deprecated.
|
static int |
YOB_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getBuyeruid()
optional string buyeruid = 2; |
com.google.protobuf.ByteString |
getBuyeruidBytes()
optional string buyeruid = 2; |
String |
getCustomdata()
optional string customdata = 6; |
com.google.protobuf.ByteString |
getCustomdataBytes()
optional string customdata = 6; |
Openrtb.BidRequest.Data |
getData(int index)
repeated .openrtb.BidRequest.Data data = 8; |
int |
getDataCount()
repeated .openrtb.BidRequest.Data data = 8; |
List<Openrtb.BidRequest.Data> |
getDataList()
repeated .openrtb.BidRequest.Data data = 8; |
Openrtb.BidRequest.DataOrBuilder |
getDataOrBuilder(int index)
repeated .openrtb.BidRequest.Data data = 8; |
List<? extends Openrtb.BidRequest.DataOrBuilder> |
getDataOrBuilderList()
repeated .openrtb.BidRequest.Data data = 8; |
static Openrtb.BidRequest.User |
getDefaultInstance() |
Openrtb.BidRequest.User |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Extension.UserExtensions |
getExt()
optional .openrtb.UserExtensions ext = 1000; |
Extension.UserExtensionsOrBuilder |
getExtOrBuilder()
optional .openrtb.UserExtensions ext = 1000; |
String |
getGender()
optional string gender = 4; |
com.google.protobuf.ByteString |
getGenderBytes()
optional string gender = 4; |
Openrtb.BidRequest.Geo |
getGeo()
optional .openrtb.BidRequest.Geo geo = 7; |
Openrtb.BidRequest.GeoOrBuilder |
getGeoOrBuilder()
optional .openrtb.BidRequest.Geo geo = 7; |
String |
getId()
optional string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
optional string id = 1; |
String |
getKeywords()
optional string keywords = 5; |
com.google.protobuf.ByteString |
getKeywordsBytes()
optional string keywords = 5; |
com.google.protobuf.Parser<Openrtb.BidRequest.User> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getYob()
optional int32 yob = 3; |
boolean |
hasBuyeruid()
optional string buyeruid = 2; |
boolean |
hasCustomdata()
optional string customdata = 6; |
boolean |
hasExt()
optional .openrtb.UserExtensions ext = 1000; |
boolean |
hasGender()
optional string gender = 4; |
boolean |
hasGeo()
optional .openrtb.BidRequest.Geo geo = 7; |
boolean |
hasId()
optional string id = 1; |
boolean |
hasKeywords()
optional string keywords = 5; |
boolean |
hasYob()
optional int32 yob = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Openrtb.BidRequest.User.Builder |
newBuilder() |
static Openrtb.BidRequest.User.Builder |
newBuilder(Openrtb.BidRequest.User prototype) |
Openrtb.BidRequest.User.Builder |
newBuilderForType() |
protected Openrtb.BidRequest.User.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Openrtb.BidRequest.User |
parseDelimitedFrom(InputStream input) |
static Openrtb.BidRequest.User |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.User |
parseFrom(byte[] data) |
static Openrtb.BidRequest.User |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.User |
parseFrom(com.google.protobuf.ByteString data) |
static Openrtb.BidRequest.User |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.User |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Openrtb.BidRequest.User |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Openrtb.BidRequest.User |
parseFrom(InputStream input) |
static Openrtb.BidRequest.User |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Openrtb.BidRequest.User> |
parser() |
Openrtb.BidRequest.User.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
public static final int EXT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Openrtb.BidRequest.User> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasId()
optional string id = 1;
Unique consumer ID of this user on the exchange.
hasId in interface Openrtb.BidRequest.UserOrBuilderpublic String getId()
optional string id = 1;
Unique consumer ID of this user on the exchange.
getId in interface Openrtb.BidRequest.UserOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
optional string id = 1;
Unique consumer ID of this user on the exchange.
getIdBytes in interface Openrtb.BidRequest.UserOrBuilderpublic boolean hasBuyeruid()
optional string buyeruid = 2;
Buyer’s user ID for this user as mapped by exchange for the buyer.
hasBuyeruid in interface Openrtb.BidRequest.UserOrBuilderpublic String getBuyeruid()
optional string buyeruid = 2;
Buyer’s user ID for this user as mapped by exchange for the buyer.
getBuyeruid in interface Openrtb.BidRequest.UserOrBuilderpublic com.google.protobuf.ByteString getBuyeruidBytes()
optional string buyeruid = 2;
Buyer’s user ID for this user as mapped by exchange for the buyer.
getBuyeruidBytes in interface Openrtb.BidRequest.UserOrBuilderpublic boolean hasYob()
optional int32 yob = 3;
Year of birth as a 4-digit integer.
hasYob in interface Openrtb.BidRequest.UserOrBuilderpublic int getYob()
optional int32 yob = 3;
Year of birth as a 4-digit integer.
getYob in interface Openrtb.BidRequest.UserOrBuilderpublic boolean hasGender()
optional string gender = 4;
Gender as “M” male, “F” female, “O” Other. (Null indicates unknown)
hasGender in interface Openrtb.BidRequest.UserOrBuilderpublic String getGender()
optional string gender = 4;
Gender as “M” male, “F” female, “O” Other. (Null indicates unknown)
getGender in interface Openrtb.BidRequest.UserOrBuilderpublic com.google.protobuf.ByteString getGenderBytes()
optional string gender = 4;
Gender as “M” male, “F” female, “O” Other. (Null indicates unknown)
getGenderBytes in interface Openrtb.BidRequest.UserOrBuilderpublic boolean hasKeywords()
optional string keywords = 5;
Comma separated list of keywords of consumer interests or intent.
hasKeywords in interface Openrtb.BidRequest.UserOrBuilderpublic String getKeywords()
optional string keywords = 5;
Comma separated list of keywords of consumer interests or intent.
getKeywords in interface Openrtb.BidRequest.UserOrBuilderpublic com.google.protobuf.ByteString getKeywordsBytes()
optional string keywords = 5;
Comma separated list of keywords of consumer interests or intent.
getKeywordsBytes in interface Openrtb.BidRequest.UserOrBuilderpublic boolean hasCustomdata()
optional string customdata = 6;
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.
hasCustomdata in interface Openrtb.BidRequest.UserOrBuilderpublic String getCustomdata()
optional string customdata = 6;
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.
getCustomdata in interface Openrtb.BidRequest.UserOrBuilderpublic com.google.protobuf.ByteString getCustomdataBytes()
optional string customdata = 6;
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.
getCustomdataBytes in interface Openrtb.BidRequest.UserOrBuilderpublic boolean hasGeo()
optional .openrtb.BidRequest.Geo geo = 7;
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).
hasGeo in interface Openrtb.BidRequest.UserOrBuilderpublic Openrtb.BidRequest.Geo getGeo()
optional .openrtb.BidRequest.Geo geo = 7;
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).
getGeo in interface Openrtb.BidRequest.UserOrBuilderpublic Openrtb.BidRequest.GeoOrBuilder getGeoOrBuilder()
optional .openrtb.BidRequest.Geo geo = 7;
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).
getGeoOrBuilder in interface Openrtb.BidRequest.UserOrBuilderpublic List<Openrtb.BidRequest.Data> getDataList()
repeated .openrtb.BidRequest.Data data = 8;
User's custom Data.
getDataList in interface Openrtb.BidRequest.UserOrBuilderpublic List<? extends Openrtb.BidRequest.DataOrBuilder> getDataOrBuilderList()
repeated .openrtb.BidRequest.Data data = 8;
User's custom Data.
getDataOrBuilderList in interface Openrtb.BidRequest.UserOrBuilderpublic int getDataCount()
repeated .openrtb.BidRequest.Data data = 8;
User's custom Data.
getDataCount in interface Openrtb.BidRequest.UserOrBuilderpublic Openrtb.BidRequest.Data getData(int index)
repeated .openrtb.BidRequest.Data data = 8;
User's custom Data.
getData in interface Openrtb.BidRequest.UserOrBuilderpublic Openrtb.BidRequest.DataOrBuilder getDataOrBuilder(int index)
repeated .openrtb.BidRequest.Data data = 8;
User's custom Data.
getDataOrBuilder in interface Openrtb.BidRequest.UserOrBuilderpublic boolean hasExt()
optional .openrtb.UserExtensions ext = 1000;hasExt in interface Openrtb.BidRequest.UserOrBuilderpublic Extension.UserExtensions getExt()
optional .openrtb.UserExtensions ext = 1000;getExt in interface Openrtb.BidRequest.UserOrBuilderpublic Extension.UserExtensionsOrBuilder getExtOrBuilder()
optional .openrtb.UserExtensions ext = 1000;getExtOrBuilder in interface Openrtb.BidRequest.UserOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static Openrtb.BidRequest.User parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.User parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.User parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.User parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Openrtb.BidRequest.User parseFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.User parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.BidRequest.User parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.User parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Openrtb.BidRequest.User parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Openrtb.BidRequest.User parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Openrtb.BidRequest.User.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Openrtb.BidRequest.User.Builder newBuilder()
public static Openrtb.BidRequest.User.Builder newBuilder(Openrtb.BidRequest.User prototype)
public Openrtb.BidRequest.User.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Openrtb.BidRequest.User.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static Openrtb.BidRequest.User getDefaultInstance()
public static com.google.protobuf.Parser<Openrtb.BidRequest.User> parser()
public com.google.protobuf.Parser<Openrtb.BidRequest.User> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Openrtb.BidRequest.User getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.