Class IngestAdEventsRequest (0.16.0)

public final class IngestAdEventsRequest extends GeneratedMessage implements IngestAdEventsRequestOrBuilder

Request to upload ad events.

Protobuf type google.ads.datamanager.v1.IngestAdEventsRequest

Static Fields

AD_EVENTS_FIELD_NUMBER

public static final int AD_EVENTS_FIELD_NUMBER
Field Value
Type Description
int

ENCRYPTION_INFO_FIELD_NUMBER

public static final int ENCRYPTION_INFO_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 IngestAdEventsRequest getDefaultInstance()
Returns
Type Description
IngestAdEventsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(IngestAdEventsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdEvents(int index)

public AdEvent getAdEvents(int index)

Required. Required (at least 1). A list of ad events.

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

Parameter
Name Description
index int
Returns
Type Description
AdEvent

getAdEventsCount()

public int getAdEventsCount()

Required. Required (at least 1). A list of ad events.

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

Returns
Type Description
int

getAdEventsList()

public List<AdEvent> getAdEventsList()

Required. Required (at least 1). A list of ad events.

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

Returns
Type Description
List<AdEvent>

getAdEventsOrBuilder(int index)

public AdEventOrBuilder getAdEventsOrBuilder(int index)

Required. Required (at least 1). A list of ad events.

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

Parameter
Name Description
index int
Returns
Type Description
AdEventOrBuilder

getAdEventsOrBuilderList()

public List<? extends AdEventOrBuilder> getAdEventsOrBuilderList()

Required. Required (at least 1). A list of ad events.

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

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

getDefaultInstanceForType()

public IngestAdEventsRequest getDefaultInstanceForType()
Returns
Type Description
IngestAdEventsRequest

getEncryptionInfo()

public EncryptionInfo getEncryptionInfo()

Optional. Information about encryption keys which are used to encrypt the data.

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

Returns
Type Description
EncryptionInfo

The encryptionInfo.

getEncryptionInfoOrBuilder()

public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()

Optional. Information about encryption keys which are used to encrypt the data.

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

Returns
Type Description
EncryptionInfoOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValidateOnly()

public boolean getValidateOnly()

Optional. If true, the request is validated, but not executed.

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

Returns
Type Description
boolean

The validateOnly.

hasEncryptionInfo()

public boolean hasEncryptionInfo()

Optional. Information about encryption keys which are used to encrypt the data.

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

Returns
Type Description
boolean

Whether the encryptionInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected IngestAdEventsRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestAdEventsRequest.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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