public static final class UserData.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public UserData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UserData.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public UserData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];