public static final class PpidData.Builder extends GeneratedMessage.Builder<PpidData.Builder> implements PpidDataOrBuilderPublisher provided identifiers data holding the ppids. At least one ppid is required.
This feature is only available to data partners.
Protobuf type google.ads.datamanager.v1.PpidData
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PpidData.BuilderImplements
PpidDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPpids(Iterable<String> values)
public PpidData.Builder addAllPpids(Iterable<String> values)Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The ppids to add. |
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
This builder for chaining. |
addPpids(String value)
public PpidData.Builder addPpids(String value)Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe ppids to add. |
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
This builder for chaining. |
addPpidsBytes(ByteString value)
public PpidData.Builder addPpidsBytes(ByteString value)Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the ppids to add. |
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
This builder for chaining. |
build()
public PpidData build()| Returns | |
|---|---|
| Type | Description |
PpidData |
|
buildPartial()
public PpidData buildPartial()| Returns | |
|---|---|
| Type | Description |
PpidData |
|
clear()
public PpidData.Builder clear()| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
|
clearPpids()
public PpidData.Builder clearPpids()Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PpidData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PpidData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPpids(int index)
public String getPpids(int index)Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The ppids at the given index. |
getPpidsBytes(int index)
public ByteString getPpidsBytes(int index)Required. The list of publisher provided identifiers for a user.
repeated string ppids = 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 ppids at the given index. |
getPpidsCount()
public int getPpidsCount()Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of ppids. |
getPpidsList()
public ProtocolStringList getPpidsList()Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the ppids. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PpidData other)
public PpidData.Builder mergeFrom(PpidData other)| Parameter | |
|---|---|
| Name | Description |
other |
PpidData |
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PpidData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PpidData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
|
setPpids(int index, String value)
public PpidData.Builder setPpids(int index, String value)Required. The list of publisher provided identifiers for a user.
repeated string ppids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe ppids to set. |
| Returns | |
|---|---|
| Type | Description |
PpidData.Builder |
This builder for chaining. |