Class PairData.Builder (0.6.0)

public static final class PairData.Builder extends GeneratedMessage.Builder<PairData.Builder> implements PairDataOrBuilder

PAIR IDs for the audience. At least one PAIR ID is required.

Protobuf type google.ads.datamanager.v1.PairData

Implements

PairDataOrBuilder

Static 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 String

The 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 ByteString

The 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
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];

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
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];

Returns
Type Description
ProtocolStringList

A list containing the pairIds.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PairData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PairData.Builder
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.

Returns
Type Description
PairData.Builder

This builder for chaining.