- 0.85.0 (latest)
 - 0.83.0
 - 0.82.0
 - 0.81.0
 - 0.80.0
 - 0.79.0
 - 0.77.0
 - 0.75.0
 - 0.74.0
 - 0.71.0
 - 0.70.0
 - 0.69.0
 - 0.67.0
 - 0.66.0
 - 0.65.0
 - 0.64.0
 - 0.63.0
 - 0.62.0
 - 0.61.0
 - 0.60.0
 - 0.59.0
 - 0.58.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.53.0
 - 0.52.0
 - 0.51.0
 - 0.50.0
 - 0.49.0
 - 0.48.0
 - 0.47.0
 - 0.46.0
 - 0.44.0
 - 0.43.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.35.0
 - 0.34.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.23.0
 - 0.22.0
 - 0.21.0
 - 0.20.0
 - 0.19.0
 - 0.18.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.4
 - 0.8.10
 
public static final class UserEvent.Builder extends GeneratedMessageV3.Builder<UserEvent.Builder> implements UserEventOrBuilderUserEvent captures all metadata information recommendation engine needs to know about how end users interact with customers' website.
 Protobuf type google.cloud.recommendationengine.v1beta1.UserEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UserEvent.BuilderImplements
UserEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| UserEvent.Builder | 
build()
public UserEvent build()| Type | Description | 
| UserEvent | 
buildPartial()
public UserEvent buildPartial()| Type | Description | 
| UserEvent | 
clear()
public UserEvent.Builder clear()| Type | Description | 
| UserEvent.Builder | 
clearEventDetail()
public UserEvent.Builder clearEventDetail()Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| UserEvent.Builder | 
clearEventSource()
public UserEvent.Builder clearEventSource() Optional. This field should not be set when using JavaScript pixel
 or the Recommendations AI Tag. Defaults to EVENT_SOURCE_UNSPECIFIED.
 
 .google.cloud.recommendationengine.v1beta1.UserEvent.EventSource event_source = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| UserEvent.Builder | This builder for chaining.  | 
      
clearEventTime()
public UserEvent.Builder clearEventTime()Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| UserEvent.Builder | 
clearEventType()
public UserEvent.Builder clearEventType()Required. User event type. Allowed values are:
add-to-cartProducts being added to cart.add-to-listItems being added to a list (shopping list, favorites etc).category-page-viewSpecial pages such as sale or promotion pages viewed.checkout-startUser starting a checkout process.detail-page-viewProducts detail page viewed.home-page-viewHomepage viewed.page-visitGeneric page visits not included in the event types above.purchase-completeUser finishing a purchase.refundPurchased items being refunded or returned.remove-from-cartProducts being removed from cart.remove-from-listItems being removed from a list.searchProduct search.shopping-cart-page-viewUser viewing a shopping cart.impressionList of items displayed. Used by Google Tag Manager.
 string event_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description | 
| UserEvent.Builder | This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public UserEvent.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| UserEvent.Builder | 
clearOneof(Descriptors.OneofDescriptor oneof)
public UserEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| UserEvent.Builder | 
clearProductEventDetail()
public UserEvent.Builder clearProductEventDetail()Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| UserEvent.Builder | 
clearUserInfo()
public UserEvent.Builder clearUserInfo()Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| UserEvent.Builder | 
clone()
public UserEvent.Builder clone()| Type | Description | 
| UserEvent.Builder | 
getDefaultInstanceForType()
public UserEvent getDefaultInstanceForType()| Type | Description | 
| UserEvent | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getEventDetail()
public EventDetail getEventDetail()Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| EventDetail | The eventDetail.  | 
      
getEventDetailBuilder()
public EventDetail.Builder getEventDetailBuilder()Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| EventDetail.Builder | 
getEventDetailOrBuilder()
public EventDetailOrBuilder getEventDetailOrBuilder()Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| EventDetailOrBuilder | 
getEventSource()
public UserEvent.EventSource getEventSource() Optional. This field should not be set when using JavaScript pixel
 or the Recommendations AI Tag. Defaults to EVENT_SOURCE_UNSPECIFIED.
 
 .google.cloud.recommendationengine.v1beta1.UserEvent.EventSource event_source = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| UserEvent.EventSource | The eventSource.  | 
      
getEventSourceValue()
public int getEventSourceValue() Optional. This field should not be set when using JavaScript pixel
 or the Recommendations AI Tag. Defaults to EVENT_SOURCE_UNSPECIFIED.
 
 .google.cloud.recommendationengine.v1beta1.UserEvent.EventSource event_source = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| int | The enum numeric value on the wire for eventSource.  | 
      
getEventTime()
public Timestamp getEventTime()Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Timestamp | The eventTime.  | 
      
getEventTimeBuilder()
public Timestamp.Builder getEventTimeBuilder()Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| Builder | 
getEventTimeOrBuilder()
public TimestampOrBuilder getEventTimeOrBuilder()Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| TimestampOrBuilder | 
getEventType()
public String getEventType()Required. User event type. Allowed values are:
add-to-cartProducts being added to cart.add-to-listItems being added to a list (shopping list, favorites etc).category-page-viewSpecial pages such as sale or promotion pages viewed.checkout-startUser starting a checkout process.detail-page-viewProducts detail page viewed.home-page-viewHomepage viewed.page-visitGeneric page visits not included in the event types above.purchase-completeUser finishing a purchase.refundPurchased items being refunded or returned.remove-from-cartProducts being removed from cart.remove-from-listItems being removed from a list.searchProduct search.shopping-cart-page-viewUser viewing a shopping cart.impressionList of items displayed. Used by Google Tag Manager.
 string event_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description | 
| String | The eventType.  | 
      
getEventTypeBytes()
public ByteString getEventTypeBytes()Required. User event type. Allowed values are:
add-to-cartProducts being added to cart.add-to-listItems being added to a list (shopping list, favorites etc).category-page-viewSpecial pages such as sale or promotion pages viewed.checkout-startUser starting a checkout process.detail-page-viewProducts detail page viewed.home-page-viewHomepage viewed.page-visitGeneric page visits not included in the event types above.purchase-completeUser finishing a purchase.refundPurchased items being refunded or returned.remove-from-cartProducts being removed from cart.remove-from-listItems being removed from a list.searchProduct search.shopping-cart-page-viewUser viewing a shopping cart.impressionList of items displayed. Used by Google Tag Manager.
 string event_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description | 
| ByteString | The bytes for eventType.  | 
      
getProductEventDetail()
public ProductEventDetail getProductEventDetail()Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| ProductEventDetail | The productEventDetail.  | 
      
getProductEventDetailBuilder()
public ProductEventDetail.Builder getProductEventDetailBuilder()Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| ProductEventDetail.Builder | 
getProductEventDetailOrBuilder()
public ProductEventDetailOrBuilder getProductEventDetailOrBuilder()Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| ProductEventDetailOrBuilder | 
getUserInfo()
public UserInfo getUserInfo()Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| UserInfo | The userInfo.  | 
      
getUserInfoBuilder()
public UserInfo.Builder getUserInfoBuilder()Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| UserInfo.Builder | 
getUserInfoOrBuilder()
public UserInfoOrBuilder getUserInfoOrBuilder()Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| UserInfoOrBuilder | 
hasEventDetail()
public boolean hasEventDetail()Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| boolean | Whether the eventDetail field is set.  | 
      
hasEventTime()
public boolean hasEventTime()Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| boolean | Whether the eventTime field is set.  | 
      
hasProductEventDetail()
public boolean hasProductEventDetail()Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Type | Description | 
| boolean | Whether the productEventDetail field is set.  | 
      
hasUserInfo()
public boolean hasUserInfo()Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Type | Description | 
| boolean | Whether the userInfo field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeEventDetail(EventDetail value)
public UserEvent.Builder mergeEventDetail(EventDetail value)Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | EventDetail | 
      
| Type | Description | 
| UserEvent.Builder | 
mergeEventTime(Timestamp value)
public UserEvent.Builder mergeEventTime(Timestamp value)Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| UserEvent.Builder | 
mergeFrom(UserEvent other)
public UserEvent.Builder mergeFrom(UserEvent other)| Name | Description | 
| other | UserEvent | 
      
| Type | Description | 
| UserEvent.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| UserEvent.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public UserEvent.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| UserEvent.Builder | 
mergeProductEventDetail(ProductEventDetail value)
public UserEvent.Builder mergeProductEventDetail(ProductEventDetail value)Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | ProductEventDetail | 
      
| Type | Description | 
| UserEvent.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| UserEvent.Builder | 
mergeUserInfo(UserInfo value)
public UserEvent.Builder mergeUserInfo(UserInfo value)Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Name | Description | 
| value | UserInfo | 
      
| Type | Description | 
| UserEvent.Builder | 
setEventDetail(EventDetail value)
public UserEvent.Builder setEventDetail(EventDetail value)Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | EventDetail | 
      
| Type | Description | 
| UserEvent.Builder | 
setEventDetail(EventDetail.Builder builderForValue)
public UserEvent.Builder setEventDetail(EventDetail.Builder builderForValue)Optional. User event detailed information common across different recommendation types.
 
 .google.cloud.recommendationengine.v1beta1.EventDetail event_detail = 3 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| builderForValue | EventDetail.Builder | 
      
| Type | Description | 
| UserEvent.Builder | 
setEventSource(UserEvent.EventSource value)
public UserEvent.Builder setEventSource(UserEvent.EventSource value) Optional. This field should not be set when using JavaScript pixel
 or the Recommendations AI Tag. Defaults to EVENT_SOURCE_UNSPECIFIED.
 
 .google.cloud.recommendationengine.v1beta1.UserEvent.EventSource event_source = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | UserEvent.EventSourceThe eventSource to set.  | 
      
| Type | Description | 
| UserEvent.Builder | This builder for chaining.  | 
      
setEventSourceValue(int value)
public UserEvent.Builder setEventSourceValue(int value) Optional. This field should not be set when using JavaScript pixel
 or the Recommendations AI Tag. Defaults to EVENT_SOURCE_UNSPECIFIED.
 
 .google.cloud.recommendationengine.v1beta1.UserEvent.EventSource event_source = 6 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | intThe enum numeric value on the wire for eventSource to set.  | 
      
| Type | Description | 
| UserEvent.Builder | This builder for chaining.  | 
      
setEventTime(Timestamp value)
public UserEvent.Builder setEventTime(Timestamp value)Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| UserEvent.Builder | 
setEventTime(Timestamp.Builder builderForValue)
public UserEvent.Builder setEventTime(Timestamp.Builder builderForValue)Optional. Only required for ImportUserEvents method. Timestamp of user event created.
 .google.protobuf.Timestamp event_time = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| UserEvent.Builder | 
setEventType(String value)
public UserEvent.Builder setEventType(String value)Required. User event type. Allowed values are:
add-to-cartProducts being added to cart.add-to-listItems being added to a list (shopping list, favorites etc).category-page-viewSpecial pages such as sale or promotion pages viewed.checkout-startUser starting a checkout process.detail-page-viewProducts detail page viewed.home-page-viewHomepage viewed.page-visitGeneric page visits not included in the event types above.purchase-completeUser finishing a purchase.refundPurchased items being refunded or returned.remove-from-cartProducts being removed from cart.remove-from-listItems being removed from a list.searchProduct search.shopping-cart-page-viewUser viewing a shopping cart.impressionList of items displayed. Used by Google Tag Manager.
 string event_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description | 
| value | StringThe eventType to set.  | 
      
| Type | Description | 
| UserEvent.Builder | This builder for chaining.  | 
      
setEventTypeBytes(ByteString value)
public UserEvent.Builder setEventTypeBytes(ByteString value)Required. User event type. Allowed values are:
add-to-cartProducts being added to cart.add-to-listItems being added to a list (shopping list, favorites etc).category-page-viewSpecial pages such as sale or promotion pages viewed.checkout-startUser starting a checkout process.detail-page-viewProducts detail page viewed.home-page-viewHomepage viewed.page-visitGeneric page visits not included in the event types above.purchase-completeUser finishing a purchase.refundPurchased items being refunded or returned.remove-from-cartProducts being removed from cart.remove-from-listItems being removed from a list.searchProduct search.shopping-cart-page-viewUser viewing a shopping cart.impressionList of items displayed. Used by Google Tag Manager.
 string event_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description | 
| value | ByteStringThe bytes for eventType to set.  | 
      
| Type | Description | 
| UserEvent.Builder | This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public UserEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| UserEvent.Builder | 
setProductEventDetail(ProductEventDetail value)
public UserEvent.Builder setProductEventDetail(ProductEventDetail value)Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| value | ProductEventDetail | 
      
| Type | Description | 
| UserEvent.Builder | 
setProductEventDetail(ProductEventDetail.Builder builderForValue)
public UserEvent.Builder setProductEventDetail(ProductEventDetail.Builder builderForValue)Optional. Retail product specific user event metadata. This field is required for the following event types:
add-to-cartadd-to-listcategory-page-viewcheckout-startdetail-page-viewpurchase-completerefundremove-from-cartremove-from-listsearchThis field is optional for the following event types:page-visitshopping-cart-page-view- note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following event types:home-page-view
 
 .google.cloud.recommendationengine.v1beta1.ProductEventDetail product_event_detail = 4 [(.google.api.field_behavior) = OPTIONAL];
 
| Name | Description | 
| builderForValue | ProductEventDetail.Builder | 
      
| Type | Description | 
| UserEvent.Builder | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| UserEvent.Builder | 
setUnknownFields(UnknownFieldSet unknownFields)
public final UserEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| UserEvent.Builder | 
setUserInfo(UserInfo value)
public UserEvent.Builder setUserInfo(UserInfo value)Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Name | Description | 
| value | UserInfo | 
      
| Type | Description | 
| UserEvent.Builder | 
setUserInfo(UserInfo.Builder builderForValue)
public UserEvent.Builder setUserInfo(UserInfo.Builder builderForValue)Required. User information.
 
 .google.cloud.recommendationengine.v1beta1.UserInfo user_info = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Name | Description | 
| builderForValue | UserInfo.Builder | 
      
| Type | Description | 
| UserEvent.Builder |