# Interface EventOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface EventOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAdIdentifiers()

    public abstract AdIdentifiers getAdIdentifiers()

Optional. Identifiers and other information used to match the conversion
event with other online activity (such as ad clicks).

`
.google.ads.datamanager.v1.AdIdentifiers ad_identifiers = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.AdIdentifiers` | The adIdentifiers. |

### getAdIdentifiersOrBuilder()

    public abstract AdIdentifiersOrBuilder getAdIdentifiersOrBuilder()

Optional. Identifiers and other information used to match the conversion
event with other online activity (such as ad clicks).

`
.google.ads.datamanager.v1.AdIdentifiers ad_identifiers = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.AdIdentifiersOrBuilder` |   |

### getAdditionalEventParameters(int index)

    public abstract EventParameter getAdditionalEventParameters(int index)

Optional. A bucket of any [event
parameters](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
to be included within the event that were not already specified using other
structured fields.

`
repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.EventParameter` |   |

### getAdditionalEventParametersCount()

    public abstract int getAdditionalEventParametersCount()

Optional. A bucket of any [event
parameters](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
to be included within the event that were not already specified using other
structured fields.

`
repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getAdditionalEventParametersList()

    public abstract List<EventParameter> getAdditionalEventParametersList()

Optional. A bucket of any [event
parameters](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
to be included within the event that were not already specified using other
structured fields.

`
repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.EventParameter>` |   |

### getAdditionalEventParametersOrBuilder(int index)

    public abstract EventParameterOrBuilder getAdditionalEventParametersOrBuilder(int index)

Optional. A bucket of any [event
parameters](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
to be included within the event that were not already specified using other
structured fields.

`
repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.EventParameterOrBuilder` |   |

### getAdditionalEventParametersOrBuilderList()

    public abstract List<? extends EventParameterOrBuilder> getAdditionalEventParametersOrBuilderList()

Optional. A bucket of any [event
parameters](https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events)
to be included within the event that were not already specified using other
structured fields.

`
repeated .google.ads.datamanager.v1.EventParameter additional_event_parameters = 19 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.ads.datamanager.v1.EventParameterOrBuilder>` |   |

### getAppInstanceId()

    public abstract String getAppInstanceId()

Optional. A unique identifier for the user instance of an app client for
this GA4 app stream.

`string app_instance_id = 22 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The appInstanceId. |

### getAppInstanceIdBytes()

    public abstract ByteString getAppInstanceIdBytes()

Optional. A unique identifier for the user instance of an app client for
this GA4 app stream.

`string app_instance_id = 22 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for appInstanceId. |

### getCartData()

    public abstract CartData getCartData()

Optional. Information about the transaction and items associated with the
event.

`
.google.ads.datamanager.v1.CartData cart_data = 12 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.CartData` | The cartData. |

### getCartDataOrBuilder()

    public abstract CartDataOrBuilder getCartDataOrBuilder()

Optional. Information about the transaction and items associated with the
event.

`
.google.ads.datamanager.v1.CartData cart_data = 12 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.CartDataOrBuilder` |   |

### getClientId()

    public abstract String getClientId()

Optional. A unique identifier for the user instance of a web client for
this GA4 web stream.

`string client_id = 17 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The clientId. |

### getClientIdBytes()

    public abstract ByteString getClientIdBytes()

Optional. A unique identifier for the user instance of a web client for
this GA4 web stream.

`string client_id = 17 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for clientId. |

### getConsent()

    public abstract Consent getConsent()

Optional. Information about whether the associated user has provided
different types of consent.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.Consent` | The consent. |

### getConsentOrBuilder()

    public abstract ConsentOrBuilder getConsentOrBuilder()

Optional. Information about whether the associated user has provided
different types of consent.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ConsentOrBuilder` |   |

### getConversionCount()

    public abstract double getConversionCount()

Optional. The conversion quantity associated with the event, for
counting-based conversions.

`optional double conversion_count = 23 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The conversionCount. |

### getConversionValue()

    public abstract double getConversionValue()

Optional. The conversion value associated with the event, for value-based
conversions.

`optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The conversionValue. |

### getCurrency()

    public abstract String getCurrency()

Optional. The currency code associated with all monetary values within this
event.

`string currency = 8 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The currency. |

### getCurrencyBytes()

    public abstract ByteString getCurrencyBytes()

Optional. The currency code associated with all monetary values within this
event.

`string currency = 8 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for currency. |

### getCustomVariables(int index)

    public abstract CustomVariable getCustomVariables(int index)

Optional. Additional key/value pair information to send to the conversion
containers (conversion action or FL activity).

`
repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.CustomVariable` |   |

### getCustomVariablesCount()

    public abstract int getCustomVariablesCount()

Optional. Additional key/value pair information to send to the conversion
containers (conversion action or FL activity).

`
repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getCustomVariablesList()

    public abstract List<CustomVariable> getCustomVariablesList()

Optional. Additional key/value pair information to send to the conversion
containers (conversion action or FL activity).

`
repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.CustomVariable>` |   |

### getCustomVariablesOrBuilder(int index)

    public abstract CustomVariableOrBuilder getCustomVariablesOrBuilder(int index)

Optional. Additional key/value pair information to send to the conversion
containers (conversion action or FL activity).

`
repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.CustomVariableOrBuilder` |   |

### getCustomVariablesOrBuilderList()

    public abstract List<? extends CustomVariableOrBuilder> getCustomVariablesOrBuilderList()

Optional. Additional key/value pair information to send to the conversion
containers (conversion action or FL activity).

`
repeated .google.ads.datamanager.v1.CustomVariable custom_variables = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.ads.datamanager.v1.CustomVariableOrBuilder>` |   |

### getDestinationReferences(int index)

    public abstract String getDestinationReferences(int index)

Optional. Reference string used to determine the destination. If empty, the
event will be sent to all
destinations
in the request.

`repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The destinationReferences at the given index. |

### getDestinationReferencesBytes(int index)

    public abstract ByteString getDestinationReferencesBytes(int index)

Optional. Reference string used to determine the destination. If empty, the
event will be sent to all
destinations
in the request.

`repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the destinationReferences at the given index. |

### getDestinationReferencesCount()

    public abstract int getDestinationReferencesCount()

Optional. Reference string used to determine the destination. If empty, the
event will be sent to all
destinations
in the request.

`repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of destinationReferences. |

### getDestinationReferencesList()

    public abstract List<String> getDestinationReferencesList()

Optional. Reference string used to determine the destination. If empty, the
event will be sent to all
destinations
in the request.

`repeated string destination_references = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the destinationReferences. |

### getEventDeviceInfo()

    public abstract DeviceInfo getEventDeviceInfo()

Optional. Information gathered about the device being used (if any) when
the event happened.

`
.google.ads.datamanager.v1.DeviceInfo event_device_info = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.DeviceInfo` | The eventDeviceInfo. |

### getEventDeviceInfoOrBuilder()

    public abstract DeviceInfoOrBuilder getEventDeviceInfoOrBuilder()

Optional. Information gathered about the device being used (if any) when
the event happened.

`
.google.ads.datamanager.v1.DeviceInfo event_device_info = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.DeviceInfoOrBuilder` |   |

### getEventLocation()

    public abstract EventLocation getEventLocation()

Optional. Information gathered about the location of the user when this
event occurred.

`
.google.ads.datamanager.v1.EventLocation event_location = 21 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.EventLocation` | The eventLocation. |

### getEventLocationOrBuilder()

    public abstract EventLocationOrBuilder getEventLocationOrBuilder()

Optional. Information gathered about the location of the user when this
event occurred.

`
.google.ads.datamanager.v1.EventLocation event_location = 21 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.EventLocationOrBuilder` |   |

### getEventName()

    public abstract String getEventName()

Optional. The name of the event. Required for GA4 events.

`string event_name = 16 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The eventName. |

### getEventNameBytes()

    public abstract ByteString getEventNameBytes()

Optional. The name of the event. Required for GA4 events.

`string event_name = 16 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for eventName. |

### getEventSource()

    public abstract EventSource getEventSource()

Optional. Signal for where the event happened (web, app, in-store, etc.).

`
.google.ads.datamanager.v1.EventSource event_source = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.EventSource` | The eventSource. |

### getEventSourceValue()

    public abstract int getEventSourceValue()

Optional. Signal for where the event happened (web, app, in-store, etc.).

`
.google.ads.datamanager.v1.EventSource event_source = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for eventSource. |

### getEventTimestamp()

    public abstract Timestamp getEventTimestamp()

Required. The time the event occurred.

`.google.protobuf.Timestamp event_timestamp = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The eventTimestamp. |

### getEventTimestampOrBuilder()

    public abstract TimestampOrBuilder getEventTimestampOrBuilder()

Required. The time the event occurred.

`.google.protobuf.Timestamp event_timestamp = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getExperimentalFields(int index)

    public abstract ExperimentalField getExperimentalFields(int index)

Optional. A list of key/value pairs for experimental fields that may
eventually be promoted to be part of the API.

`
repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ExperimentalField` |   |

### getExperimentalFieldsCount()

    public abstract int getExperimentalFieldsCount()

Optional. A list of key/value pairs for experimental fields that may
eventually be promoted to be part of the API.

`
repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getExperimentalFieldsList()

    public abstract List<ExperimentalField> getExperimentalFieldsList()

Optional. A list of key/value pairs for experimental fields that may
eventually be promoted to be part of the API.

`
repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ExperimentalField>` |   |

### getExperimentalFieldsOrBuilder(int index)

    public abstract ExperimentalFieldOrBuilder getExperimentalFieldsOrBuilder(int index)

Optional. A list of key/value pairs for experimental fields that may
eventually be promoted to be part of the API.

`
repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.ExperimentalFieldOrBuilder` |   |

### getExperimentalFieldsOrBuilderList()

    public abstract List<? extends ExperimentalFieldOrBuilder> getExperimentalFieldsOrBuilderList()

Optional. A list of key/value pairs for experimental fields that may
eventually be promoted to be part of the API.

`
repeated .google.ads.datamanager.v1.ExperimentalField experimental_fields = 14 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.ads.datamanager.v1.ExperimentalFieldOrBuilder>` |   |

### getLastUpdatedTimestamp()

    public abstract Timestamp getLastUpdatedTimestamp()

Optional. The last time the event was updated.

`
.google.protobuf.Timestamp last_updated_timestamp = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The lastUpdatedTimestamp. |

### getLastUpdatedTimestampOrBuilder()

    public abstract TimestampOrBuilder getLastUpdatedTimestampOrBuilder()

Optional. The last time the event was updated.

`
.google.protobuf.Timestamp last_updated_timestamp = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getThirdPartyUserData()

    public abstract UserData getThirdPartyUserData()

Optional. The same type of data provided in user_data, but explicitly
flagged as being provided as owned by a third-party and not first-party
advertiser data.

`
.google.ads.datamanager.v1.UserData third_party_user_data = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserData` | The thirdPartyUserData. |

### getThirdPartyUserDataOrBuilder()

    public abstract UserDataOrBuilder getThirdPartyUserDataOrBuilder()

Optional. The same type of data provided in user_data, but explicitly
flagged as being provided as owned by a third-party and not first-party
advertiser data.

`
.google.ads.datamanager.v1.UserData third_party_user_data = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserDataOrBuilder` |   |

### getTransactionId()

    public abstract String getTransactionId()

Optional. The unique identifier for this event. Required for events sent as
an additional data source for tag conversions.

`string transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The transactionId. |

### getTransactionIdBytes()

    public abstract ByteString getTransactionIdBytes()

Optional. The unique identifier for this event. Required for events sent as
an additional data source for tag conversions.

`string transaction_id = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for transactionId. |

### getUserData()

    public abstract UserData getUserData()

Optional. Pieces of user provided data, representing the user the event is
associated with.

`
.google.ads.datamanager.v1.UserData user_data = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserData` | The userData. |

### getUserDataOrBuilder()

    public abstract UserDataOrBuilder getUserDataOrBuilder()

Optional. Pieces of user provided data, representing the user the event is
associated with.

`
.google.ads.datamanager.v1.UserData user_data = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserDataOrBuilder` |   |

### getUserId()

    public abstract String getUserId()

Optional. A unique identifier for a user, as defined by the advertiser.

`string user_id = 18 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The userId. |

### getUserIdBytes()

    public abstract ByteString getUserIdBytes()

Optional. A unique identifier for a user, as defined by the advertiser.

`string user_id = 18 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for userId. |

### getUserProperties()

    public abstract UserProperties getUserProperties()

Optional. Advertiser-assessed information about the user at the time that
the event happened.

`
.google.ads.datamanager.v1.UserProperties user_properties = 15 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserProperties` | The userProperties. |

### getUserPropertiesOrBuilder()

    public abstract UserPropertiesOrBuilder getUserPropertiesOrBuilder()

Optional. Advertiser-assessed information about the user at the time that
the event happened.

`
.google.ads.datamanager.v1.UserProperties user_properties = 15 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/data-manager/latest/com.google.ads.datamanager.v1.UserPropertiesOrBuilder` |   |

### hasAdIdentifiers()

    public abstract boolean hasAdIdentifiers()

Optional. Identifiers and other information used to match the conversion
event with other online activity (such as ad clicks).

`
.google.ads.datamanager.v1.AdIdentifiers ad_identifiers = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the adIdentifiers field is set. |

### hasCartData()

    public abstract boolean hasCartData()

Optional. Information about the transaction and items associated with the
event.

`
.google.ads.datamanager.v1.CartData cart_data = 12 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the cartData field is set. |

### hasConsent()

    public abstract boolean hasConsent()

Optional. Information about whether the associated user has provided
different types of consent.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the consent field is set. |

### hasConversionCount()

    public abstract boolean hasConversionCount()

Optional. The conversion quantity associated with the event, for
counting-based conversions.

`optional double conversion_count = 23 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the conversionCount field is set. |

### hasConversionValue()

    public abstract boolean hasConversionValue()

Optional. The conversion value associated with the event, for value-based
conversions.

`optional double conversion_value = 9 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the conversionValue field is set. |

### hasEventDeviceInfo()

    public abstract boolean hasEventDeviceInfo()

Optional. Information gathered about the device being used (if any) when
the event happened.

`
.google.ads.datamanager.v1.DeviceInfo event_device_info = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the eventDeviceInfo field is set. |

### hasEventLocation()

    public abstract boolean hasEventLocation()

Optional. Information gathered about the location of the user when this
event occurred.

`
.google.ads.datamanager.v1.EventLocation event_location = 21 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the eventLocation field is set. |

### hasEventTimestamp()

    public abstract boolean hasEventTimestamp()

Required. The time the event occurred.

`.google.protobuf.Timestamp event_timestamp = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the eventTimestamp field is set. |

### hasLastUpdatedTimestamp()

    public abstract boolean hasLastUpdatedTimestamp()

Optional. The last time the event was updated.

`
.google.protobuf.Timestamp last_updated_timestamp = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the lastUpdatedTimestamp field is set. |

### hasThirdPartyUserData()

    public abstract boolean hasThirdPartyUserData()

Optional. The same type of data provided in user_data, but explicitly
flagged as being provided as owned by a third-party and not first-party
advertiser data.

`
.google.ads.datamanager.v1.UserData third_party_user_data = 20 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the thirdPartyUserData field is set. |

### hasUserData()

    public abstract boolean hasUserData()

Optional. Pieces of user provided data, representing the user the event is
associated with.

`
.google.ads.datamanager.v1.UserData user_data = 5 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the userData field is set. |

### hasUserProperties()

    public abstract boolean hasUserProperties()

Optional. Advertiser-assessed information about the user at the time that
the event happened.

`
.google.ads.datamanager.v1.UserProperties user_properties = 15 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the userProperties field is set. |