Class PairData.Builder (0.1.0)
public static final class PairData.Builder extends GeneratedMessageV3.Builder<PairData.Builder> implements PairDataOrBuilder
PAIR IDs for the audience.
At least one PAIR ID is required.
Protobuf type google.ads.datamanager.v1.PairData
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
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];
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 |
String
The pairIds to add.
|
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 |
ByteString
The bytes of the pairIds to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PairData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public PairData buildPartial()
clear()
public PairData.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PairData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PairData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public PairData.Builder clone()
Overrides
getDefaultInstanceForType()
public PairData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
int
The 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 |
int
The 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];
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PairData other)
public PairData.Builder mergeFrom(PairData other)
| Parameter |
| Name |
Description |
other |
PairData
|
public PairData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PairData.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PairData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PairData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
int
The index to set the value at.
|
value |
String
The pairIds to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PairData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PairData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-19 UTC."],[],[]]