com.google.cloud.retail.v2alpha.ProductDetailOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-retail-v2alpha Show documentation
Show all versions of proto-google-cloud-retail-v2alpha Show documentation
Proto library for google-cloud-retail
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/retail/v2alpha/user_event.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.retail.v2alpha;
public interface ProductDetailOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.retail.v2alpha.ProductDetail)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
*
* @return Whether the product field is set.
*/
boolean 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];
*
*
* @return The product.
*/
com.google.cloud.retail.v2alpha.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];
*
*/
com.google.cloud.retail.v2alpha.ProductOrBuilder getProductOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the quantity field is set.
*/
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;
*
* @return The quantity.
*/
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();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy