public final class IngestEventsRequest extends GeneratedMessageV3 implements IngestEventsRequestOrBuilder
Request to upload audience members to the provided destinations. Returns an
IngestEventsResponse.
Protobuf type google.ads.datamanager.v1.IngestEventsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CONSENT_FIELD_NUMBER
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 |
|
EVENTS_FIELD_NUMBER
public static final int EVENTS_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 IngestEventsRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IngestEventsRequest.Builder newBuilder()
newBuilder(IngestEventsRequest prototype)
public static IngestEventsRequest.Builder newBuilder(IngestEventsRequest prototype)
public static IngestEventsRequest parseDelimitedFrom(InputStream input)
public static IngestEventsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IngestEventsRequest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IngestEventsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IngestEventsRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestEventsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IngestEventsRequest parseFrom(CodedInputStream input)
public static IngestEventsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IngestEventsRequest parseFrom(InputStream input)
public static IngestEventsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IngestEventsRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IngestEventsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IngestEventsRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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.
|
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];
getDefaultInstanceForType()
public IngestEventsRequest getDefaultInstanceForType()
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
|
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];
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
|
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];
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];
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 |
|
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];
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
|
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> |
|
getParserForType()
public Parser<IngestEventsRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IngestEventsRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IngestEventsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public IngestEventsRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides