Class UserData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
com.google.ads.googleads.v18.common.UserData.Builder
- All Implemented Interfaces:
UserDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UserData
public static final class UserData.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
implements UserDataOrBuilder
User data holding user identifiers and attributes.Protobuf type
google.ads.googleads.v18.common.UserData-
Method Summary
Modifier and TypeMethodDescriptionaddAllUserIdentifiers(Iterable<? extends UserIdentifier> values) User identification info.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addUserIdentifiers(int index, UserIdentifier value) User identification info.addUserIdentifiers(int index, UserIdentifier.Builder builderForValue) User identification info.addUserIdentifiers(UserIdentifier value) User identification info.addUserIdentifiers(UserIdentifier.Builder builderForValue) User identification info.User identification info.addUserIdentifiersBuilder(int index) User identification info.build()clear()The consent setting for the user.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Additional transactions/attributes associated with the user.Additional attributes associated with the user.User identification info.clone()The consent setting for the user.The consent setting for the user.The consent setting for the user.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAdditional transactions/attributes associated with the user.Additional transactions/attributes associated with the user.Additional transactions/attributes associated with the user.Additional attributes associated with the user.Additional attributes associated with the user.Additional attributes associated with the user.getUserIdentifiers(int index) User identification info.getUserIdentifiersBuilder(int index) User identification info.User identification info.intUser identification info.User identification info.getUserIdentifiersOrBuilder(int index) User identification info.List<? extends UserIdentifierOrBuilder>User identification info.booleanThe consent setting for the user.booleanAdditional transactions/attributes associated with the user.booleanAdditional attributes associated with the user.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeConsent(Consent value) The consent setting for the user.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Additional transactions/attributes associated with the user.final UserData.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUserAttribute(UserAttribute value) Additional attributes associated with the user.removeUserIdentifiers(int index) User identification info.setConsent(Consent value) The consent setting for the user.setConsent(Consent.Builder builderForValue) The consent setting for the user.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Additional transactions/attributes associated with the user.setTransactionAttribute(TransactionAttribute.Builder builderForValue) Additional transactions/attributes associated with the user.final UserData.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserAttribute(UserAttribute value) Additional attributes associated with the user.setUserAttribute(UserAttribute.Builder builderForValue) Additional attributes associated with the user.setUserIdentifiers(int index, UserIdentifier value) User identification info.setUserIdentifiers(int index, UserIdentifier.Builder builderForValue) User identification info.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<UserData.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
setField
public UserData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
setRepeatedField
public UserData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
addRepeatedField
public UserData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
mergeFrom
public UserData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserData.Builder>- Throws:
IOException
-
getUserIdentifiersList
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1;- Specified by:
getUserIdentifiersListin interfaceUserDataOrBuilder
-
getUserIdentifiersCount
public int getUserIdentifiersCount()User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1;- Specified by:
getUserIdentifiersCountin interfaceUserDataOrBuilder
-
getUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1;- Specified by:
getUserIdentifiersin interfaceUserDataOrBuilder
-
setUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
setUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
addUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
addUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
addUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
addUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
addAllUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
clearUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
removeUserIdentifiers
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
getUserIdentifiersBuilder
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
getUserIdentifiersOrBuilder
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1;- Specified by:
getUserIdentifiersOrBuilderin interfaceUserDataOrBuilder
-
getUserIdentifiersOrBuilderList
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1;- Specified by:
getUserIdentifiersOrBuilderListin interfaceUserDataOrBuilder
-
addUserIdentifiersBuilder
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
addUserIdentifiersBuilder
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
getUserIdentifiersBuilderList
User identification info. Required.
repeated .google.ads.googleads.v18.common.UserIdentifier user_identifiers = 1; -
hasTransactionAttribute
public boolean hasTransactionAttribute()Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2;- Specified by:
hasTransactionAttributein interfaceUserDataOrBuilder- Returns:
- Whether the transactionAttribute field is set.
-
getTransactionAttribute
Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2;- Specified by:
getTransactionAttributein interfaceUserDataOrBuilder- Returns:
- The transactionAttribute.
-
setTransactionAttribute
Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2; -
setTransactionAttribute
Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2; -
mergeTransactionAttribute
Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2; -
clearTransactionAttribute
Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2; -
getTransactionAttributeBuilder
Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2; -
getTransactionAttributeOrBuilder
Additional transactions/attributes associated with the user. Required when updating store sales data.
.google.ads.googleads.v18.common.TransactionAttribute transaction_attribute = 2;- Specified by:
getTransactionAttributeOrBuilderin interfaceUserDataOrBuilder
-
hasUserAttribute
public boolean hasUserAttribute()Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3;- Specified by:
hasUserAttributein interfaceUserDataOrBuilder- Returns:
- Whether the userAttribute field is set.
-
getUserAttribute
Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3;- Specified by:
getUserAttributein interfaceUserDataOrBuilder- Returns:
- The userAttribute.
-
setUserAttribute
Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3; -
setUserAttribute
Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3; -
mergeUserAttribute
Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3; -
clearUserAttribute
Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3; -
getUserAttributeBuilder
Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3; -
getUserAttributeOrBuilder
Additional attributes associated with the user. Required when updating customer match attributes. These have an expiration of 540 days.
.google.ads.googleads.v18.common.UserAttribute user_attribute = 3;- Specified by:
getUserAttributeOrBuilderin interfaceUserDataOrBuilder
-
hasConsent
public boolean hasConsent()The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4;- Specified by:
hasConsentin interfaceUserDataOrBuilder- Returns:
- Whether the consent field is set.
-
getConsent
The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4;- Specified by:
getConsentin interfaceUserDataOrBuilder- Returns:
- The consent.
-
setConsent
The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4; -
setConsent
The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4; -
mergeConsent
The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4; -
clearConsent
The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4; -
getConsentBuilder
The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4; -
getConsentOrBuilder
The consent setting for the user. If set, will override the job level consent for this user.
optional .google.ads.googleads.v18.common.Consent consent = 4;- Specified by:
getConsentOrBuilderin interfaceUserDataOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserData.Builder>
-