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

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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PairData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PairData.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public PairData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PairData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PairData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

public PairData.Builder clone()
Returns
Type Description
PairData.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PairData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PairData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PairData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PairData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PairData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PairData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PairData.Builder
Overrides