public static final class PairData.Builder extends GeneratedMessage.Builder<PairData.Builder> implements PairDataOrBuilderPAIR IDs for the audience. At least one PAIR ID is required.
Protobuf type google.ads.datamanager.v1.PairData
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PairData.BuilderImplements
PairDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPairIds(Iterable<String> values)
public PairData.Builder addAllPairIds(Iterable<String> values) Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The pairIds to add. |
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
This builder for chaining. |
addPairIds(String value)
public PairData.Builder addPairIds(String value) Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pairIds to add. |
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
This builder for chaining. |
addPairIdsBytes(ByteString value)
public PairData.Builder addPairIdsBytes(ByteString value) Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the pairIds to add. |
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
This builder for chaining. |
build()
public PairData build()| Returns | |
|---|---|
| Type | Description |
PairData |
|
buildPartial()
public PairData buildPartial()| Returns | |
|---|---|
| Type | Description |
PairData |
|
clear()
public PairData.Builder clear()| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
|
clearPairIds()
public PairData.Builder clearPairIds() Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PairData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PairData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPairIds(int index)
public String getPairIds(int index) Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The pairIds at the given index. |
getPairIdsBytes(int index)
public ByteString getPairIdsBytes(int index) Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_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 pairIds at the given index. |
getPairIdsCount()
public int getPairIdsCount() Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of pairIds. |
getPairIdsList()
public ProtocolStringList getPairIdsList() Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the pairIds. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PairData other)
public PairData.Builder mergeFrom(PairData other)| Parameter | |
|---|---|
| Name | Description |
other |
PairData |
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PairData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PairData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
|
setPairIds(int index, String value)
public PairData.Builder setPairIds(int index, String value) Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted
with an EC commutative cipher using publisher key for the
PAIR) user list. At most
10 pairIds can be provided in a single
AudienceMember.
repeated string pair_ids = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe pairIds to set. |
| Returns | |
|---|---|
| Type | Description |
PairData.Builder |
This builder for chaining. |