Class IngestAudienceMembersRequest (0.1.0)

public final class IngestAudienceMembersRequest extends GeneratedMessageV3 implements IngestAudienceMembersRequestOrBuilder

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

Protobuf type google.ads.datamanager.v1.IngestAudienceMembersRequest

Static Fields

AUDIENCE_MEMBERS_FIELD_NUMBER

public static final int AUDIENCE_MEMBERS_FIELD_NUMBER
Field Value
Type Description
int
public static final int CONSENT_FIELD_NUMBER
Field Value
Type Description
int

DESTINATIONS_FIELD_NUMBER

public static final int DESTINATIONS_FIELD_NUMBER
Field Value
Type Description
int

ENCODING_FIELD_NUMBER

public static final int ENCODING_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_INFO_FIELD_NUMBER

public static final int ENCRYPTION_INFO_FIELD_NUMBER
Field Value
Type Description
int

TERMS_OF_SERVICE_FIELD_NUMBER

public static final int TERMS_OF_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestAudienceMembersRequest getDefaultInstance()
Returns
Type Description
IngestAudienceMembersRequest

getDescriptor()

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

newBuilder()

public static IngestAudienceMembersRequest.Builder newBuilder()
Returns
Type Description
IngestAudienceMembersRequest.Builder

newBuilder(IngestAudienceMembersRequest prototype)

public static IngestAudienceMembersRequest.Builder newBuilder(IngestAudienceMembersRequest prototype)
Parameter
Name Description
prototype IngestAudienceMembersRequest
Returns
Type Description
IngestAudienceMembersRequest.Builder

parseDelimitedFrom(InputStream input)

public static IngestAudienceMembersRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestAudienceMembersRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IngestAudienceMembersRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestAudienceMembersRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestAudienceMembersRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestAudienceMembersRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestAudienceMembersRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestAudienceMembersRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IngestAudienceMembersRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestAudienceMembersRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IngestAudienceMembersRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestAudienceMembersRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestAudienceMembersRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IngestAudienceMembersRequest> parser()
Returns
Type Description
Parser<IngestAudienceMembersRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

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

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

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.

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

getParserForType()

public Parser<IngestAudienceMembersRequest> getParserForType()
Returns
Type Description
Parser<IngestAudienceMembersRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IngestAudienceMembersRequest.Builder newBuilderForType()
Returns
Type Description
IngestAudienceMembersRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestAudienceMembersRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestAudienceMembersRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IngestAudienceMembersRequest.Builder toBuilder()
Returns
Type Description
IngestAudienceMembersRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException