Package com.google.doubleclick
Class AdxExt.BidRequestExt.PrivacyTreatments
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.doubleclick.AdxExt.BidRequestExt.PrivacyTreatments
-
- All Implemented Interfaces:
AdxExt.BidRequestExt.PrivacyTreatmentsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- AdxExt.BidRequestExt
public static final class AdxExt.BidRequestExt.PrivacyTreatments extends com.google.protobuf.GeneratedMessageV3 implements AdxExt.BidRequestExt.PrivacyTreatmentsOrBuilder
Privacy treatments. Some fields in the bid request can be coarsened or redacted in order to protect user privacy. This message provides information about privacy treatments that apply to an ad opportunity offered via this request.
Protobuf typecom.google.doubleclick.BidRequestExt.PrivacyTreatments- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdxExt.BidRequestExt.PrivacyTreatments.BuilderPrivacy treatments.static classAdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReasonSpecifies the reasons that ads returned in response to this request should not be personalized.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intALLOW_USER_DATA_COLLECTION_FIELD_NUMBERstatic intNON_PERSONALIZED_ADS_REASON_FIELD_NUMBERstatic com.google.protobuf.Parser<AdxExt.BidRequestExt.PrivacyTreatments>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAllowUserDataCollection()True if publisher grants the permission to allow the bidder to use user visitation information from the publisher's site to create interest categories that can be used to serve ads based on those categories.static AdxExt.BidRequestExt.PrivacyTreatmentsgetDefaultInstance()AdxExt.BidRequestExt.PrivacyTreatmentsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReasongetNonPersonalizedAdsReason(int index)repeated .com.google.doubleclick.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason non_personalized_ads_reason = 6 [packed = true];intgetNonPersonalizedAdsReasonCount()repeated .com.google.doubleclick.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason non_personalized_ads_reason = 6 [packed = true];List<AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason>getNonPersonalizedAdsReasonList()repeated .com.google.doubleclick.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason non_personalized_ads_reason = 6 [packed = true];com.google.protobuf.Parser<AdxExt.BidRequestExt.PrivacyTreatments>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAllowUserDataCollection()True if publisher grants the permission to allow the bidder to use user visitation information from the publisher's site to create interest categories that can be used to serve ads based on those categories.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AdxExt.BidRequestExt.PrivacyTreatments.BuildernewBuilder()static AdxExt.BidRequestExt.PrivacyTreatments.BuildernewBuilder(AdxExt.BidRequestExt.PrivacyTreatments prototype)AdxExt.BidRequestExt.PrivacyTreatments.BuildernewBuilderForType()protected AdxExt.BidRequestExt.PrivacyTreatments.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AdxExt.BidRequestExt.PrivacyTreatmentsparseDelimitedFrom(InputStream input)static AdxExt.BidRequestExt.PrivacyTreatmentsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(byte[] data)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(com.google.protobuf.ByteString data)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(com.google.protobuf.CodedInputStream input)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(InputStream input)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(ByteBuffer data)static AdxExt.BidRequestExt.PrivacyTreatmentsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AdxExt.BidRequestExt.PrivacyTreatments>parser()AdxExt.BidRequestExt.PrivacyTreatments.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NON_PERSONALIZED_ADS_REASON_FIELD_NUMBER
public static final int NON_PERSONALIZED_ADS_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOW_USER_DATA_COLLECTION_FIELD_NUMBER
public static final int ALLOW_USER_DATA_COLLECTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<AdxExt.BidRequestExt.PrivacyTreatments> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNonPersonalizedAdsReasonList
public List<AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason> getNonPersonalizedAdsReasonList()
repeated .com.google.doubleclick.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason non_personalized_ads_reason = 6 [packed = true];- Specified by:
getNonPersonalizedAdsReasonListin interfaceAdxExt.BidRequestExt.PrivacyTreatmentsOrBuilder- Returns:
- A list containing the nonPersonalizedAdsReason.
-
getNonPersonalizedAdsReasonCount
public int getNonPersonalizedAdsReasonCount()
repeated .com.google.doubleclick.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason non_personalized_ads_reason = 6 [packed = true];- Specified by:
getNonPersonalizedAdsReasonCountin interfaceAdxExt.BidRequestExt.PrivacyTreatmentsOrBuilder- Returns:
- The count of nonPersonalizedAdsReason.
-
getNonPersonalizedAdsReason
public AdxExt.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason getNonPersonalizedAdsReason(int index)
repeated .com.google.doubleclick.BidRequestExt.PrivacyTreatments.NonPersonalizedAdsReason non_personalized_ads_reason = 6 [packed = true];- Specified by:
getNonPersonalizedAdsReasonin interfaceAdxExt.BidRequestExt.PrivacyTreatmentsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nonPersonalizedAdsReason at the given index.
-
hasAllowUserDataCollection
public boolean hasAllowUserDataCollection()
True if publisher grants the permission to allow the bidder to use user visitation information from the publisher's site to create interest categories that can be used to serve ads based on those categories. To use this data to create interest categories, a bidder must also win a given impression. https://support.google.com/admanager/answer/11956152
optional bool allow_user_data_collection = 7;- Specified by:
hasAllowUserDataCollectionin interfaceAdxExt.BidRequestExt.PrivacyTreatmentsOrBuilder- Returns:
- Whether the allowUserDataCollection field is set.
-
getAllowUserDataCollection
public boolean getAllowUserDataCollection()
True if publisher grants the permission to allow the bidder to use user visitation information from the publisher's site to create interest categories that can be used to serve ads based on those categories. To use this data to create interest categories, a bidder must also win a given impression. https://support.google.com/admanager/answer/11956152
optional bool allow_user_data_collection = 7;- Specified by:
getAllowUserDataCollectionin interfaceAdxExt.BidRequestExt.PrivacyTreatmentsOrBuilder- Returns:
- The allowUserDataCollection.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AdxExt.BidRequestExt.PrivacyTreatments parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AdxExt.BidRequestExt.PrivacyTreatments.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AdxExt.BidRequestExt.PrivacyTreatments.Builder newBuilder()
-
newBuilder
public static AdxExt.BidRequestExt.PrivacyTreatments.Builder newBuilder(AdxExt.BidRequestExt.PrivacyTreatments prototype)
-
toBuilder
public AdxExt.BidRequestExt.PrivacyTreatments.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AdxExt.BidRequestExt.PrivacyTreatments.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AdxExt.BidRequestExt.PrivacyTreatments getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AdxExt.BidRequestExt.PrivacyTreatments> parser()
-
getParserForType
public com.google.protobuf.Parser<AdxExt.BidRequestExt.PrivacyTreatments> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AdxExt.BidRequestExt.PrivacyTreatments getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-