public static final class GoogleUserIdData.Builder extends GeneratedMessage.Builder<GoogleUserIdData.Builder> implements GoogleUserIdDataOrBuilderGoogle user id data holding encrypted google user IDs. At least one google user ID is required.
Protobuf type google.ads.datamanager.v1.GoogleUserIdData
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GoogleUserIdData.BuilderImplements
GoogleUserIdDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGoogleUserIds(Iterable<String> values)
public GoogleUserIdData.Builder addAllGoogleUserIds(Iterable<String> values)Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The googleUserIds to add. |
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
This builder for chaining. |
addGoogleUserIds(String value)
public GoogleUserIdData.Builder addGoogleUserIds(String value)Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe googleUserIds to add. |
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
This builder for chaining. |
addGoogleUserIdsBytes(ByteString value)
public GoogleUserIdData.Builder addGoogleUserIdsBytes(ByteString value)Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the googleUserIds to add. |
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
This builder for chaining. |
build()
public GoogleUserIdData build()| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData |
|
buildPartial()
public GoogleUserIdData buildPartial()| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData |
|
clear()
public GoogleUserIdData.Builder clear()| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
|
clearGoogleUserIds()
public GoogleUserIdData.Builder clearGoogleUserIds()Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GoogleUserIdData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoogleUserIds(int index)
public String getGoogleUserIds(int index)Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The googleUserIds at the given index. |
getGoogleUserIdsBytes(int index)
public ByteString getGoogleUserIdsBytes(int index)Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the googleUserIds at the given index. |
getGoogleUserIdsCount()
public int getGoogleUserIdsCount()Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of googleUserIds. |
getGoogleUserIdsList()
public ProtocolStringList getGoogleUserIdsList()Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the googleUserIds. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GoogleUserIdData other)
public GoogleUserIdData.Builder mergeFrom(GoogleUserIdData other)| Parameter | |
|---|---|
| Name | Description |
other |
GoogleUserIdData |
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GoogleUserIdData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GoogleUserIdData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
|
setGoogleUserIds(int index, String value)
public GoogleUserIdData.Builder setGoogleUserIds(int index, String value)Required. The list of encrypted google user IDs.
repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe googleUserIds to set. |
| Returns | |
|---|---|
| Type | Description |
GoogleUserIdData.Builder |
This builder for chaining. |