Uses of Class
com.google.cloud.retail.v2alpha.UserEvent.Builder
-
Uses of UserEvent.Builder in com.google.cloud.retail.v2alpha
Methods in com.google.cloud.retail.v2alpha that return UserEvent.BuilderModifier and TypeMethodDescriptionUserEvent.Builder.addAllExperimentIds(Iterable<String> values) A list of identifiers for the independent experiment groups this user event belongs to.UserEvent.Builder.addAllPageCategories(Iterable<String> values) The categories associated with a category page.UserEvent.Builder.addAllProductDetails(Iterable<? extends ProductDetail> values) The main product details related to the event.UserEvent.Builder.addExperimentIds(String value) A list of identifiers for the independent experiment groups this user event belongs to.UserEvent.Builder.addExperimentIdsBytes(com.google.protobuf.ByteString value) A list of identifiers for the independent experiment groups this user event belongs to.UserEvent.Builder.addPageCategories(String value) The categories associated with a category page.UserEvent.Builder.addPageCategoriesBytes(com.google.protobuf.ByteString value) The categories associated with a category page.UserEvent.Builder.addProductDetails(int index, ProductDetail value) The main product details related to the event.UserEvent.Builder.addProductDetails(int index, ProductDetail.Builder builderForValue) The main product details related to the event.UserEvent.Builder.addProductDetails(ProductDetail value) The main product details related to the event.UserEvent.Builder.addProductDetails(ProductDetail.Builder builderForValue) The main product details related to the event.UserEventInlineSource.Builder.addUserEventsBuilder()Required.UserEventInlineSource.Builder.addUserEventsBuilder(int index) Required.UserEvent.Builder.clear()UserEvent.Builder.clearAttributes()UserEvent.Builder.clearAttributionToken()Highly recommended for user events that are the result of [PredictionService.Predict][google.cloud.retail.v2alpha.PredictionService.Predict].UserEvent.Builder.clearCartId()The ID or name of the associated shopping cart.UserEvent.Builder.clearCompletionDetail()The main auto-completion details related to the event.UserEvent.Builder.clearEntity()The entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc.UserEvent.Builder.clearEventTime()Only required for [UserEventService.ImportUserEvents][google.cloud.retail.v2alpha.UserEventService.ImportUserEvents] method.UserEvent.Builder.clearEventType()Required.UserEvent.Builder.clearExperimentIds()A list of identifiers for the independent experiment groups this user event belongs to.UserEvent.Builder.clearFilter()The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered.UserEvent.Builder.clearOffset()An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant).UserEvent.Builder.clearOrderBy()The order in which products are returned.UserEvent.Builder.clearPageCategories()The categories associated with a category page.UserEvent.Builder.clearPageViewId()A unique ID of a web page view.UserEvent.Builder.clearProductDetails()The main product details related to the event.UserEvent.Builder.clearPurchaseTransaction()A transaction represents the entire purchase transaction.UserEvent.Builder.clearReferrerUri()The referrer URL of the current page.UserEvent.Builder.clearSearchQuery()The user's search query.UserEvent.Builder.clearSessionId()A unique identifier for tracking a visitor session with a length limit of 128 bytes.UserEvent.Builder.clearUri()Complete URL (window.location.href) of the user's current page.UserEvent.Builder.clearUserInfo()User information.UserEvent.Builder.clearVisitorId()Required.PredictRequest.Builder.getUserEventBuilder()Required.WriteUserEventRequest.Builder.getUserEventBuilder()Required.UserEventInlineSource.Builder.getUserEventsBuilder(int index) Required.UserEvent.Builder.mergeCompletionDetail(CompletionDetail value) The main auto-completion details related to the event.UserEvent.Builder.mergeEventTime(com.google.protobuf.Timestamp value) Only required for [UserEventService.ImportUserEvents][google.cloud.retail.v2alpha.UserEventService.ImportUserEvents] method.UserEvent.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) UserEvent.Builder.mergeFrom(com.google.protobuf.Message other) UserEvent.Builder.mergePurchaseTransaction(PurchaseTransaction value) A transaction represents the entire purchase transaction.UserEvent.Builder.mergeUserInfo(UserInfo value) User information.static UserEvent.BuilderUserEvent.newBuilder()static UserEvent.BuilderUserEvent.newBuilder(UserEvent prototype) UserEvent.newBuilderForType()protected UserEvent.BuilderUserEvent.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) UserEvent.Builder.putAllAttributes(Map<String, CustomAttribute> values) Extra user event features to include in the recommendation model.UserEvent.Builder.putAttributes(String key, CustomAttribute value) Extra user event features to include in the recommendation model.UserEvent.Builder.removeAttributes(String key) Extra user event features to include in the recommendation model.UserEvent.Builder.removeProductDetails(int index) The main product details related to the event.UserEvent.Builder.setAttributionToken(String value) Highly recommended for user events that are the result of [PredictionService.Predict][google.cloud.retail.v2alpha.PredictionService.Predict].UserEvent.Builder.setAttributionTokenBytes(com.google.protobuf.ByteString value) Highly recommended for user events that are the result of [PredictionService.Predict][google.cloud.retail.v2alpha.PredictionService.Predict].The ID or name of the associated shopping cart.UserEvent.Builder.setCartIdBytes(com.google.protobuf.ByteString value) The ID or name of the associated shopping cart.UserEvent.Builder.setCompletionDetail(CompletionDetail value) The main auto-completion details related to the event.UserEvent.Builder.setCompletionDetail(CompletionDetail.Builder builderForValue) The main auto-completion details related to the event.The entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc.UserEvent.Builder.setEntityBytes(com.google.protobuf.ByteString value) The entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc.UserEvent.Builder.setEventTime(com.google.protobuf.Timestamp value) Only required for [UserEventService.ImportUserEvents][google.cloud.retail.v2alpha.UserEventService.ImportUserEvents] method.UserEvent.Builder.setEventTime(com.google.protobuf.Timestamp.Builder builderForValue) Only required for [UserEventService.ImportUserEvents][google.cloud.retail.v2alpha.UserEventService.ImportUserEvents] method.UserEvent.Builder.setEventType(String value) Required.UserEvent.Builder.setEventTypeBytes(com.google.protobuf.ByteString value) Required.UserEvent.Builder.setExperimentIds(int index, String value) A list of identifiers for the independent experiment groups this user event belongs to.The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered.UserEvent.Builder.setFilterBytes(com.google.protobuf.ByteString value) The filter syntax consists of an expression language for constructing a predicate from one or more fields of the products being filtered.UserEvent.Builder.setOffset(int value) An integer that specifies the current offset for pagination (the 0-indexed starting location, amongst the products deemed by the API as relevant).UserEvent.Builder.setOrderBy(String value) The order in which products are returned.UserEvent.Builder.setOrderByBytes(com.google.protobuf.ByteString value) The order in which products are returned.UserEvent.Builder.setPageCategories(int index, String value) The categories associated with a category page.UserEvent.Builder.setPageViewId(String value) A unique ID of a web page view.UserEvent.Builder.setPageViewIdBytes(com.google.protobuf.ByteString value) A unique ID of a web page view.UserEvent.Builder.setProductDetails(int index, ProductDetail value) The main product details related to the event.UserEvent.Builder.setProductDetails(int index, ProductDetail.Builder builderForValue) The main product details related to the event.UserEvent.Builder.setPurchaseTransaction(PurchaseTransaction value) A transaction represents the entire purchase transaction.UserEvent.Builder.setPurchaseTransaction(PurchaseTransaction.Builder builderForValue) A transaction represents the entire purchase transaction.UserEvent.Builder.setReferrerUri(String value) The referrer URL of the current page.UserEvent.Builder.setReferrerUriBytes(com.google.protobuf.ByteString value) The referrer URL of the current page.UserEvent.Builder.setSearchQuery(String value) The user's search query.UserEvent.Builder.setSearchQueryBytes(com.google.protobuf.ByteString value) The user's search query.UserEvent.Builder.setSessionId(String value) A unique identifier for tracking a visitor session with a length limit of 128 bytes.UserEvent.Builder.setSessionIdBytes(com.google.protobuf.ByteString value) A unique identifier for tracking a visitor session with a length limit of 128 bytes.Complete URL (window.location.href) of the user's current page.UserEvent.Builder.setUriBytes(com.google.protobuf.ByteString value) Complete URL (window.location.href) of the user's current page.UserEvent.Builder.setUserInfo(UserInfo value) User information.UserEvent.Builder.setUserInfo(UserInfo.Builder builderForValue) User information.UserEvent.Builder.setVisitorId(String value) Required.UserEvent.Builder.setVisitorIdBytes(com.google.protobuf.ByteString value) Required.UserEvent.toBuilder()Methods in com.google.cloud.retail.v2alpha that return types with arguments of type UserEvent.BuilderModifier and TypeMethodDescriptionUserEventInlineSource.Builder.getUserEventsBuilderList()Required.Methods in com.google.cloud.retail.v2alpha with parameters of type UserEvent.BuilderModifier and TypeMethodDescriptionUserEventInlineSource.Builder.addUserEvents(int index, UserEvent.Builder builderForValue) Required.UserEventInlineSource.Builder.addUserEvents(UserEvent.Builder builderForValue) Required.PredictRequest.Builder.setUserEvent(UserEvent.Builder builderForValue) Required.WriteUserEventRequest.Builder.setUserEvent(UserEvent.Builder builderForValue) Required.UserEventInlineSource.Builder.setUserEvents(int index, UserEvent.Builder builderForValue) Required.