public interface ProductDetailOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Product |
getProduct()
Required.
|
ProductOrBuilder |
getProductOrBuilder()
Required.
|
com.google.protobuf.Int32Value |
getQuantity()
Quantity of the product associated with the user event.
|
com.google.protobuf.Int32ValueOrBuilder |
getQuantityOrBuilder()
Quantity of the product associated with the user event.
|
boolean |
hasProduct()
Required.
|
boolean |
hasQuantity()
Quantity of the product associated with the user event.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasProduct()
Required. [Product][google.cloud.retail.v2alpha.Product] information. Required field(s): * [Product.id][google.cloud.retail.v2alpha.Product.id] Optional override field(s): * [Product.price_info][google.cloud.retail.v2alpha.Product.price_info] If any supported optional fields are provided, we will treat them as a full override when looking up product information from the catalog. Thus, it is important to ensure that the overriding fields are accurate and complete. All other product fields are ignored and instead populated via catalog lookup after event ingestion.
.google.cloud.retail.v2alpha.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
Product getProduct()
Required. [Product][google.cloud.retail.v2alpha.Product] information. Required field(s): * [Product.id][google.cloud.retail.v2alpha.Product.id] Optional override field(s): * [Product.price_info][google.cloud.retail.v2alpha.Product.price_info] If any supported optional fields are provided, we will treat them as a full override when looking up product information from the catalog. Thus, it is important to ensure that the overriding fields are accurate and complete. All other product fields are ignored and instead populated via catalog lookup after event ingestion.
.google.cloud.retail.v2alpha.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
ProductOrBuilder getProductOrBuilder()
Required. [Product][google.cloud.retail.v2alpha.Product] information. Required field(s): * [Product.id][google.cloud.retail.v2alpha.Product.id] Optional override field(s): * [Product.price_info][google.cloud.retail.v2alpha.Product.price_info] If any supported optional fields are provided, we will treat them as a full override when looking up product information from the catalog. Thus, it is important to ensure that the overriding fields are accurate and complete. All other product fields are ignored and instead populated via catalog lookup after event ingestion.
.google.cloud.retail.v2alpha.Product product = 1 [(.google.api.field_behavior) = REQUIRED];
boolean hasQuantity()
Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `purchase-complete` event. Required for `add-to-cart` and `purchase-complete` event types.
.google.protobuf.Int32Value quantity = 2;com.google.protobuf.Int32Value getQuantity()
Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `purchase-complete` event. Required for `add-to-cart` and `purchase-complete` event types.
.google.protobuf.Int32Value quantity = 2;com.google.protobuf.Int32ValueOrBuilder getQuantityOrBuilder()
Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `purchase-complete` event. Required for `add-to-cart` and `purchase-complete` event types.
.google.protobuf.Int32Value quantity = 2;Copyright © 2024 Google LLC. All rights reserved.