public static final class UserData.Builder extends GeneratedMessage.Builder<UserData.Builder> implements UserDataOrBuilder
Data that identifies the user. At least one identifier is required.
Protobuf type google.ads.datamanager.v1.UserData
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllUserIdentifiers(Iterable<? extends UserIdentifier> values)
public UserData.Builder addAllUserIdentifiers(Iterable<? extends UserIdentifier> values)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.ads.datamanager.v1.UserIdentifier>
|
addUserIdentifiers(UserIdentifier value)
public UserData.Builder addUserIdentifiers(UserIdentifier value)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
addUserIdentifiers(UserIdentifier.Builder builderForValue)
public UserData.Builder addUserIdentifiers(UserIdentifier.Builder builderForValue)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
addUserIdentifiers(int index, UserIdentifier value)
public UserData.Builder addUserIdentifiers(int index, UserIdentifier value)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
addUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
public UserData.Builder addUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
addUserIdentifiersBuilder()
public UserIdentifier.Builder addUserIdentifiersBuilder()
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
addUserIdentifiersBuilder(int index)
public UserIdentifier.Builder addUserIdentifiersBuilder(int index)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
build()
buildPartial()
public UserData buildPartial()
clear()
public UserData.Builder clear()
Overrides
clearUserIdentifiers()
public UserData.Builder clearUserIdentifiers()
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UserData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUserIdentifiers(int index)
public UserIdentifier getUserIdentifiers(int index)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getUserIdentifiersBuilder(int index)
public UserIdentifier.Builder getUserIdentifiersBuilder(int index)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getUserIdentifiersBuilderList()
public List<UserIdentifier.Builder> getUserIdentifiersBuilderList()
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
getUserIdentifiersCount()
public int getUserIdentifiersCount()
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
|
getUserIdentifiersList()
public List<UserIdentifier> getUserIdentifiersList()
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
getUserIdentifiersOrBuilder(int index)
public UserIdentifierOrBuilder getUserIdentifiersOrBuilder(int index)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
getUserIdentifiersOrBuilderList()
public List<? extends UserIdentifierOrBuilder> getUserIdentifiersOrBuilderList()
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
List<? extends com.google.ads.datamanager.v1.UserIdentifierOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UserData other)
public UserData.Builder mergeFrom(UserData other)
| Parameter |
| Name |
Description |
other |
UserData
|
public UserData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UserData.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeUserIdentifiers(int index)
public UserData.Builder removeUserIdentifiers(int index)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
index |
int
|
setUserIdentifiers(int index, UserIdentifier value)
public UserData.Builder setUserIdentifiers(int index, UserIdentifier value)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];
setUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
public UserData.Builder setUserIdentifiers(int index, UserIdentifier.Builder builderForValue)
Required. The identifiers for the user. It's possible to provide multiple
instances of the same type of data (for example, multiple email addresses).
To increase the likelihood of a match, provide as many identifiers as
possible. At most 10 userIdentifiers can be provided in a single
AudienceMember or
Event.
repeated .google.ads.datamanager.v1.UserIdentifier user_identifiers = 1 [(.google.api.field_behavior) = REQUIRED];