Class IngestEventsRequest.Builder (0.1.0)

public static final class IngestEventsRequest.Builder extends GeneratedMessageV3.Builder<IngestEventsRequest.Builder> implements IngestEventsRequestOrBuilder

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

Protobuf type google.ads.datamanager.v1.IngestEventsRequest

Static Methods

getDescriptor()

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

Methods

addAllDestinations(Iterable<? extends Destination> values)

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

Required. The list of destinations to send the events 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
IngestEventsRequest.Builder

addAllEvents(Iterable<? extends Event> values)

public IngestEventsRequest.Builder addAllEvents(Iterable<? extends Event> values)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

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

addDestinations(Destination value)

public IngestEventsRequest.Builder addDestinations(Destination value)

Required. The list of destinations to send the events to.

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

Parameter
Name Description
value Destination
Returns
Type Description
IngestEventsRequest.Builder

addDestinations(Destination.Builder builderForValue)

public IngestEventsRequest.Builder addDestinations(Destination.Builder builderForValue)

Required. The list of destinations to send the events to.

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

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

addDestinations(int index, Destination value)

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

Required. The list of destinations to send the events to.

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

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

addDestinations(int index, Destination.Builder builderForValue)

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

Required. The list of destinations to send the events 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
IngestEventsRequest.Builder

addDestinationsBuilder()

public Destination.Builder addDestinationsBuilder()

Required. The list of destinations to send the events 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 events to.

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

Parameter
Name Description
index int
Returns
Type Description
Destination.Builder

addEvents(Event value)

public IngestEventsRequest.Builder addEvents(Event value)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameter
Name Description
value Event
Returns
Type Description
IngestEventsRequest.Builder

addEvents(Event.Builder builderForValue)

public IngestEventsRequest.Builder addEvents(Event.Builder builderForValue)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameter
Name Description
builderForValue Event.Builder
Returns
Type Description
IngestEventsRequest.Builder

addEvents(int index, Event value)

public IngestEventsRequest.Builder addEvents(int index, Event value)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameters
Name Description
index int
value Event
Returns
Type Description
IngestEventsRequest.Builder

addEvents(int index, Event.Builder builderForValue)

public IngestEventsRequest.Builder addEvents(int index, Event.Builder builderForValue)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
IngestEventsRequest.Builder

addEventsBuilder()

public Event.Builder addEventsBuilder()

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Returns
Type Description
Event.Builder

addEventsBuilder(int index)

public Event.Builder addEventsBuilder(int index)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestEventsRequest build()
Returns
Type Description
IngestEventsRequest

buildPartial()

public IngestEventsRequest buildPartial()
Returns
Type Description
IngestEventsRequest

clear()

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

clearConsent()

public IngestEventsRequest.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 Event.

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

Returns
Type Description
IngestEventsRequest.Builder

clearDestinations()

public IngestEventsRequest.Builder clearDestinations()

Required. The list of destinations to send the events to.

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

Returns
Type Description
IngestEventsRequest.Builder

clearEncoding()

public IngestEventsRequest.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
IngestEventsRequest.Builder

This builder for chaining.

clearEncryptionInfo()

public IngestEventsRequest.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
IngestEventsRequest.Builder

clearEvents()

public IngestEventsRequest.Builder clearEvents()

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Returns
Type Description
IngestEventsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValidateOnly()

public IngestEventsRequest.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
IngestEventsRequest.Builder

This builder for chaining.

clone()

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

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

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

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

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

Returns
Type Description
ConsentOrBuilder

getDefaultInstanceForType()

public IngestEventsRequest getDefaultInstanceForType()
Returns
Type Description
IngestEventsRequest

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 events 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 events 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 events 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 events 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 events 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 events 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 events 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

getEvents(int index)

public Event getEvents(int index)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameter
Name Description
index int
Returns
Type Description
Event

getEventsBuilder(int index)

public Event.Builder getEventsBuilder(int index)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameter
Name Description
index int
Returns
Type Description
Event.Builder

getEventsBuilderList()

public List<Event.Builder> getEventsBuilderList()

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Returns
Type Description
List<Builder>

getEventsCount()

public int getEventsCount()

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Returns
Type Description
int

getEventsList()

public List<Event> getEventsList()

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Returns
Type Description
List<Event>

getEventsOrBuilder(int index)

public EventOrBuilder getEventsOrBuilder(int index)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameter
Name Description
index int
Returns
Type Description
EventOrBuilder

getEventsOrBuilderList()

public List<? extends EventOrBuilder> getEventsOrBuilderList()

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

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

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public IngestEventsRequest.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 Event.

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

Parameter
Name Description
value Consent
Returns
Type Description
IngestEventsRequest.Builder

mergeEncryptionInfo(EncryptionInfo value)

public IngestEventsRequest.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
IngestEventsRequest.Builder

mergeFrom(IngestEventsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDestinations(int index)

public IngestEventsRequest.Builder removeDestinations(int index)

Required. The list of destinations to send the events to.

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

Parameter
Name Description
index int
Returns
Type Description
IngestEventsRequest.Builder

removeEvents(int index)

public IngestEventsRequest.Builder removeEvents(int index)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameter
Name Description
index int
Returns
Type Description
IngestEventsRequest.Builder
public IngestEventsRequest.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 Event.

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

Parameter
Name Description
value Consent
Returns
Type Description
IngestEventsRequest.Builder
public IngestEventsRequest.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 Event.

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

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

setDestinations(int index, Destination value)

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

Required. The list of destinations to send the events to.

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

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

setDestinations(int index, Destination.Builder builderForValue)

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

Required. The list of destinations to send the events 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
IngestEventsRequest.Builder

setEncoding(Encoding value)

public IngestEventsRequest.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
IngestEventsRequest.Builder

This builder for chaining.

setEncodingValue(int value)

public IngestEventsRequest.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
IngestEventsRequest.Builder

This builder for chaining.

setEncryptionInfo(EncryptionInfo value)

public IngestEventsRequest.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
IngestEventsRequest.Builder

setEncryptionInfo(EncryptionInfo.Builder builderForValue)

public IngestEventsRequest.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
IngestEventsRequest.Builder

setEvents(int index, Event value)

public IngestEventsRequest.Builder setEvents(int index, Event value)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameters
Name Description
index int
value Event
Returns
Type Description
IngestEventsRequest.Builder

setEvents(int index, Event.Builder builderForValue)

public IngestEventsRequest.Builder setEvents(int index, Event.Builder builderForValue)

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

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

Parameters
Name Description
index int
builderForValue Event.Builder
Returns
Type Description
IngestEventsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public IngestEventsRequest.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
IngestEventsRequest.Builder

This builder for chaining.