Class IngestAudienceMembersRequest.Builder (0.1.0)

public static final class IngestAudienceMembersRequest.Builder extends GeneratedMessageV3.Builder<IngestAudienceMembersRequest.Builder> implements IngestAudienceMembersRequestOrBuilder

Request to upload audience members to the provided destinations. Returns an IngestAudienceMembersResponse.

Protobuf type google.ads.datamanager.v1.IngestAudienceMembersRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAudienceMembers(Iterable<? extends AudienceMember> values)

public IngestAudienceMembersRequest.Builder addAllAudienceMembers(Iterable<? extends AudienceMember> values)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.ads.datamanager.v1.AudienceMember>
Returns
Type Description
IngestAudienceMembersRequest.Builder

addAllDestinations(Iterable<? extends Destination> values)

public IngestAudienceMembersRequest.Builder addAllDestinations(Iterable<? extends Destination> values)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.ads.datamanager.v1.Destination>
Returns
Type Description
IngestAudienceMembersRequest.Builder

addAudienceMembers(AudienceMember value)

public IngestAudienceMembersRequest.Builder addAudienceMembers(AudienceMember value)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AudienceMember
Returns
Type Description
IngestAudienceMembersRequest.Builder

addAudienceMembers(AudienceMember.Builder builderForValue)

public IngestAudienceMembersRequest.Builder addAudienceMembers(AudienceMember.Builder builderForValue)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AudienceMember.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

addAudienceMembers(int index, AudienceMember value)

public IngestAudienceMembersRequest.Builder addAudienceMembers(int index, AudienceMember value)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value AudienceMember
Returns
Type Description
IngestAudienceMembersRequest.Builder

addAudienceMembers(int index, AudienceMember.Builder builderForValue)

public IngestAudienceMembersRequest.Builder addAudienceMembers(int index, AudienceMember.Builder builderForValue)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue AudienceMember.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

addAudienceMembersBuilder()

public AudienceMember.Builder addAudienceMembersBuilder()

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudienceMember.Builder

addAudienceMembersBuilder(int index)

public AudienceMember.Builder addAudienceMembersBuilder(int index)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceMember.Builder

addDestinations(Destination value)

public IngestAudienceMembersRequest.Builder addDestinations(Destination value)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Destination
Returns
Type Description
IngestAudienceMembersRequest.Builder

addDestinations(Destination.Builder builderForValue)

public IngestAudienceMembersRequest.Builder addDestinations(Destination.Builder builderForValue)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Destination.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

addDestinations(int index, Destination value)

public IngestAudienceMembersRequest.Builder addDestinations(int index, Destination value)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Destination
Returns
Type Description
IngestAudienceMembersRequest.Builder

addDestinations(int index, Destination.Builder builderForValue)

public IngestAudienceMembersRequest.Builder addDestinations(int index, Destination.Builder builderForValue)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Destination.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

addDestinationsBuilder()

public Destination.Builder addDestinationsBuilder()

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Destination.Builder

addDestinationsBuilder(int index)

public Destination.Builder addDestinationsBuilder(int index)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Destination.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestAudienceMembersRequest build()
Returns
Type Description
IngestAudienceMembersRequest

buildPartial()

public IngestAudienceMembersRequest buildPartial()
Returns
Type Description
IngestAudienceMembersRequest

clear()

public IngestAudienceMembersRequest.Builder clear()
Returns
Type Description
IngestAudienceMembersRequest.Builder
Overrides

clearAudienceMembers()

public IngestAudienceMembersRequest.Builder clearAudienceMembers()

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IngestAudienceMembersRequest.Builder

clearConsent()

public IngestAudienceMembersRequest.Builder clearConsent()

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestAudienceMembersRequest.Builder

clearDestinations()

public IngestAudienceMembersRequest.Builder clearDestinations()

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IngestAudienceMembersRequest.Builder

clearEncoding()

public IngestAudienceMembersRequest.Builder clearEncoding()

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestAudienceMembersRequest.Builder

This builder for chaining.

clearEncryptionInfo()

public IngestAudienceMembersRequest.Builder clearEncryptionInfo()

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestAudienceMembersRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestAudienceMembersRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IngestAudienceMembersRequest.Builder
Overrides

clearTermsOfService()

public IngestAudienceMembersRequest.Builder clearTermsOfService()

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestAudienceMembersRequest.Builder

clearValidateOnly()

public IngestAudienceMembersRequest.Builder clearValidateOnly()

Optional. For testing purposes. If true, the request is validated but not executed. Only errors are returned, not results.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestAudienceMembersRequest.Builder

This builder for chaining.

clone()

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

getAudienceMembers(int index)

public AudienceMember getAudienceMembers(int index)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceMember

getAudienceMembersBuilder(int index)

public AudienceMember.Builder getAudienceMembersBuilder(int index)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceMember.Builder

getAudienceMembersBuilderList()

public List<AudienceMember.Builder> getAudienceMembersBuilderList()

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getAudienceMembersCount()

public int getAudienceMembersCount()

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getAudienceMembersList()

public List<AudienceMember> getAudienceMembersList()

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<AudienceMember>

getAudienceMembersOrBuilder(int index)

public AudienceMemberOrBuilder getAudienceMembersOrBuilder(int index)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceMemberOrBuilder

getAudienceMembersOrBuilderList()

public List<? extends AudienceMemberOrBuilder> getAudienceMembersOrBuilderList()

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.AudienceMemberOrBuilder>

getConsent()

public Consent getConsent()

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Consent

The consent.

getConsentBuilder()

public Consent.Builder getConsentBuilder()

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Consent.Builder

getConsentOrBuilder()

public ConsentOrBuilder getConsentOrBuilder()

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConsentOrBuilder

getDefaultInstanceForType()

public IngestAudienceMembersRequest getDefaultInstanceForType()
Returns
Type Description
IngestAudienceMembersRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinations(int index)

public Destination getDestinations(int index)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Destination

getDestinationsBuilder(int index)

public Destination.Builder getDestinationsBuilder(int index)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Destination.Builder

getDestinationsBuilderList()

public List<Destination.Builder> getDestinationsBuilderList()

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getDestinationsCount()

public int getDestinationsCount()

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getDestinationsList()

public List<Destination> getDestinationsList()

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Destination>

getDestinationsOrBuilder(int index)

public DestinationOrBuilder getDestinationsOrBuilder(int index)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
DestinationOrBuilder

getDestinationsOrBuilderList()

public List<? extends DestinationOrBuilder> getDestinationsOrBuilderList()

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.ads.datamanager.v1.DestinationOrBuilder>

getEncoding()

public Encoding getEncoding()

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Encoding

The encoding.

getEncodingValue()

public int getEncodingValue()

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for encoding.

getEncryptionInfo()

public EncryptionInfo getEncryptionInfo()

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionInfo

The encryptionInfo.

getEncryptionInfoBuilder()

public EncryptionInfo.Builder getEncryptionInfoBuilder()

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionInfo.Builder

getEncryptionInfoOrBuilder()

public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionInfoOrBuilder

getTermsOfService()

public TermsOfService getTermsOfService()

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TermsOfService

The termsOfService.

getTermsOfServiceBuilder()

public TermsOfService.Builder getTermsOfServiceBuilder()

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TermsOfService.Builder

getTermsOfServiceOrBuilder()

public TermsOfServiceOrBuilder getTermsOfServiceOrBuilder()

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TermsOfServiceOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. For testing purposes. If true, the request is validated but not executed. Only errors are returned, not results.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasConsent()

public boolean hasConsent()

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the consent field is set.

hasEncryptionInfo()

public boolean hasEncryptionInfo()

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the encryptionInfo field is set.

hasTermsOfService()

public boolean hasTermsOfService()

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the termsOfService field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public IngestAudienceMembersRequest.Builder mergeConsent(Consent value)

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Consent
Returns
Type Description
IngestAudienceMembersRequest.Builder

mergeEncryptionInfo(EncryptionInfo value)

public IngestAudienceMembersRequest.Builder mergeEncryptionInfo(EncryptionInfo value)

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionInfo
Returns
Type Description
IngestAudienceMembersRequest.Builder

mergeFrom(IngestAudienceMembersRequest other)

public IngestAudienceMembersRequest.Builder mergeFrom(IngestAudienceMembersRequest other)
Parameter
Name Description
other IngestAudienceMembersRequest
Returns
Type Description
IngestAudienceMembersRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestAudienceMembersRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestAudienceMembersRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestAudienceMembersRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestAudienceMembersRequest.Builder
Overrides

mergeTermsOfService(TermsOfService value)

public IngestAudienceMembersRequest.Builder mergeTermsOfService(TermsOfService value)

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TermsOfService
Returns
Type Description
IngestAudienceMembersRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAudienceMembers(int index)

public IngestAudienceMembersRequest.Builder removeAudienceMembers(int index)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
IngestAudienceMembersRequest.Builder

removeDestinations(int index)

public IngestAudienceMembersRequest.Builder removeDestinations(int index)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
IngestAudienceMembersRequest.Builder

setAudienceMembers(int index, AudienceMember value)

public IngestAudienceMembersRequest.Builder setAudienceMembers(int index, AudienceMember value)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value AudienceMember
Returns
Type Description
IngestAudienceMembersRequest.Builder

setAudienceMembers(int index, AudienceMember.Builder builderForValue)

public IngestAudienceMembersRequest.Builder setAudienceMembers(int index, AudienceMember.Builder builderForValue)

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

repeated .google.ads.datamanager.v1.AudienceMember audience_members = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue AudienceMember.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder
public IngestAudienceMembersRequest.Builder setConsent(Consent value)

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Consent
Returns
Type Description
IngestAudienceMembersRequest.Builder
public IngestAudienceMembersRequest.Builder setConsent(Consent.Builder builderForValue)

Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each AudienceMember.

.google.ads.datamanager.v1.Consent consent = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Consent.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

setDestinations(int index, Destination value)

public IngestAudienceMembersRequest.Builder setDestinations(int index, Destination value)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Destination
Returns
Type Description
IngestAudienceMembersRequest.Builder

setDestinations(int index, Destination.Builder builderForValue)

public IngestAudienceMembersRequest.Builder setDestinations(int index, Destination.Builder builderForValue)

Required. The list of destinations to send the audience members to.

repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Destination.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

setEncoding(Encoding value)

public IngestAudienceMembersRequest.Builder setEncoding(Encoding value)

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Encoding

The encoding to set.

Returns
Type Description
IngestAudienceMembersRequest.Builder

This builder for chaining.

setEncodingValue(int value)

public IngestAudienceMembersRequest.Builder setEncodingValue(int value)

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.Encoding encoding = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for encoding to set.

Returns
Type Description
IngestAudienceMembersRequest.Builder

This builder for chaining.

setEncryptionInfo(EncryptionInfo value)

public IngestAudienceMembersRequest.Builder setEncryptionInfo(EncryptionInfo value)

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EncryptionInfo
Returns
Type Description
IngestAudienceMembersRequest.Builder

setEncryptionInfo(EncryptionInfo.Builder builderForValue)

public IngestAudienceMembersRequest.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

.google.ads.datamanager.v1.EncryptionInfo encryption_info = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EncryptionInfo.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTermsOfService(TermsOfService value)

public IngestAudienceMembersRequest.Builder setTermsOfService(TermsOfService value)

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value TermsOfService
Returns
Type Description
IngestAudienceMembersRequest.Builder

setTermsOfService(TermsOfService.Builder builderForValue)

public IngestAudienceMembersRequest.Builder setTermsOfService(TermsOfService.Builder builderForValue)

Optional. The terms of service that the user has accepted/rejected.

.google.ads.datamanager.v1.TermsOfService terms_of_service = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue TermsOfService.Builder
Returns
Type Description
IngestAudienceMembersRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public IngestAudienceMembersRequest.Builder setValidateOnly(boolean value)

Optional. For testing purposes. If true, the request is validated but not executed. Only errors are returned, not results.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
IngestAudienceMembersRequest.Builder

This builder for chaining.