com.google.cloud.retail.v2beta.ProductProto 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-v2beta Show documentation
Show all versions of proto-google-cloud-retail-v2beta 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/v2beta/product.proto
// Protobuf Java Version: 3.25.2
package com.google.cloud.retail.v2beta;
public final class ProductProto {
private ProductProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_retail_v2beta_Product_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_retail_v2beta_Product_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_retail_v2beta_Product_AttributesEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_retail_v2beta_Product_AttributesEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
static {
java.lang.String[] descriptorData = {
"\n(google/cloud/retail/v2beta/product.pro"
+ "to\022\032google.cloud.retail.v2beta\032\037google/a"
+ "pi/field_behavior.proto\032\031google/api/reso"
+ "urce.proto\032\'google/cloud/retail/v2beta/c"
+ "ommon.proto\032*google/cloud/retail/v2beta/"
+ "promotion.proto\032\036google/protobuf/duratio"
+ "n.proto\032 google/protobuf/field_mask.prot"
+ "o\032\037google/protobuf/timestamp.proto\032\036goog"
+ "le/protobuf/wrappers.proto\"\217\016\n\007Product\0221"
+ "\n\013expire_time\030\020 \001(\0132\032.google.protobuf.Ti"
+ "mestampH\000\022-\n\003ttl\030\021 \001(\0132\031.google.protobuf"
+ ".DurationB\003\340A\004H\000\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\017\n\002i"
+ "d\030\002 \001(\tB\003\340A\005\022;\n\004type\030\003 \001(\0162(.google.clou"
+ "d.retail.v2beta.Product.TypeB\003\340A\005\022\032\n\022pri"
+ "mary_product_id\030\004 \001(\t\022\035\n\025collection_memb"
+ "er_ids\030\005 \003(\t\022\014\n\004gtin\030\006 \001(\t\022\022\n\ncategories"
+ "\030\007 \003(\t\022\022\n\005title\030\010 \001(\tB\003\340A\002\022\016\n\006brands\030\t \003"
+ "(\t\022\023\n\013description\030\n \001(\t\022\025\n\rlanguage_code"
+ "\030\013 \001(\t\022G\n\nattributes\030\014 \003(\01323.google.clou"
+ "d.retail.v2beta.Product.AttributesEntry\022"
+ "\014\n\004tags\030\r \003(\t\0229\n\nprice_info\030\016 \001(\0132%.goog"
+ "le.cloud.retail.v2beta.PriceInfo\0222\n\006rati"
+ "ng\030\017 \001(\0132\".google.cloud.retail.v2beta.Ra"
+ "ting\0222\n\016available_time\030\022 \001(\0132\032.google.pr"
+ "otobuf.Timestamp\022F\n\014availability\030\023 \001(\01620"
+ ".google.cloud.retail.v2beta.Product.Avai"
+ "lability\0227\n\022available_quantity\030\024 \001(\0132\033.g"
+ "oogle.protobuf.Int32Value\022E\n\020fulfillment"
+ "_info\030\025 \003(\0132+.google.cloud.retail.v2beta"
+ ".FulfillmentInfo\022\013\n\003uri\030\026 \001(\t\0221\n\006images\030"
+ "\027 \003(\0132!.google.cloud.retail.v2beta.Image"
+ "\0226\n\010audience\030\030 \001(\0132$.google.cloud.retail"
+ ".v2beta.Audience\0229\n\ncolor_info\030\031 \001(\0132%.g"
+ "oogle.cloud.retail.v2beta.ColorInfo\022\r\n\005s"
+ "izes\030\032 \003(\t\022\021\n\tmaterials\030\033 \003(\t\022\020\n\010pattern"
+ "s\030\034 \003(\t\022\022\n\nconditions\030\035 \003(\t\0229\n\npromotion"
+ "s\030\" \003(\0132%.google.cloud.retail.v2beta.Pro"
+ "motion\0220\n\014publish_time\030! \001(\0132\032.google.pr"
+ "otobuf.Timestamp\022:\n\022retrievable_fields\030\036"
+ " \001(\0132\032.google.protobuf.FieldMaskB\002\030\001\022:\n\010"
+ "variants\030\037 \003(\0132#.google.cloud.retail.v2b"
+ "eta.ProductB\003\340A\003\022J\n\021local_inventories\030# "
+ "\003(\0132*.google.cloud.retail.v2beta.LocalIn"
+ "ventoryB\003\340A\003\032^\n\017AttributesEntry\022\013\n\003key\030\001"
+ " \001(\t\022:\n\005value\030\002 \001(\0132+.google.cloud.retai"
+ "l.v2beta.CustomAttribute:\0028\001\"F\n\004Type\022\024\n\020"
+ "TYPE_UNSPECIFIED\020\000\022\013\n\007PRIMARY\020\001\022\013\n\007VARIA"
+ "NT\020\002\022\016\n\nCOLLECTION\020\003\"i\n\014Availability\022\034\n\030"
+ "AVAILABILITY_UNSPECIFIED\020\000\022\014\n\010IN_STOCK\020\001"
+ "\022\020\n\014OUT_OF_STOCK\020\002\022\014\n\010PREORDER\020\003\022\r\n\tBACK"
+ "ORDER\020\004:\204\001\352A\200\001\n\035retail.googleapis.com/Pr"
+ "oduct\022_projects/{project}/locations/{loc"
+ "ation}/catalogs/{catalog}/branches/{bran"
+ "ch}/products/{product}B\014\n\nexpirationB\272\002\n"
+ "\036com.google.cloud.retail.v2betaB\014Product"
+ "ProtoP\001Z6cloud.google.com/go/retail/apiv"
+ "2beta/retailpb;retailpb\242\002\006RETAIL\252\002\032Googl"
+ "e.Cloud.Retail.V2Beta\312\002\032Google\\Cloud\\Ret"
+ "ail\\V2beta\352\002\035Google::Cloud::Retail::V2be"
+ "ta\352Al\n\034retail.googleapis.com/Branch\022Lpro"
+ "jects/{project}/locations/{location}/cat"
+ "alogs/{catalog}/branches/{branch}b\006proto"
+ "3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.retail.v2beta.CommonProto.getDescriptor(),
com.google.cloud.retail.v2beta.PromotionProto.getDescriptor(),
com.google.protobuf.DurationProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.protobuf.WrappersProto.getDescriptor(),
});
internal_static_google_cloud_retail_v2beta_Product_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_cloud_retail_v2beta_Product_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_retail_v2beta_Product_descriptor,
new java.lang.String[] {
"ExpireTime",
"Ttl",
"Name",
"Id",
"Type",
"PrimaryProductId",
"CollectionMemberIds",
"Gtin",
"Categories",
"Title",
"Brands",
"Description",
"LanguageCode",
"Attributes",
"Tags",
"PriceInfo",
"Rating",
"AvailableTime",
"Availability",
"AvailableQuantity",
"FulfillmentInfo",
"Uri",
"Images",
"Audience",
"ColorInfo",
"Sizes",
"Materials",
"Patterns",
"Conditions",
"Promotions",
"PublishTime",
"RetrievableFields",
"Variants",
"LocalInventories",
"Expiration",
});
internal_static_google_cloud_retail_v2beta_Product_AttributesEntry_descriptor =
internal_static_google_cloud_retail_v2beta_Product_descriptor.getNestedTypes().get(0);
internal_static_google_cloud_retail_v2beta_Product_AttributesEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_retail_v2beta_Product_AttributesEntry_descriptor,
new java.lang.String[] {
"Key", "Value",
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.ResourceProto.resource);
registry.add(com.google.api.ResourceProto.resourceDefinition);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.retail.v2beta.CommonProto.getDescriptor();
com.google.cloud.retail.v2beta.PromotionProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.protobuf.WrappersProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy