# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/recommendationengine/v1beta1/catalog.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/cloud/recommendationengine/v1beta1/common_pb' descriptor_data = "\n7google/cloud/recommendationengine/v1beta1/catalog.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x36google/cloud/recommendationengine/v1beta1/common.proto\"\x88\x04\n\x0b\x43\x61talogItem\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12l\n\x14\x63\x61tegory_hierarchies\x18\x02 \x03(\x0b\x32H.google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchyB\x04\xe2\x41\x01\x02\x12\x13\n\x05title\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12T\n\x0fitem_attributes\x18\x05 \x01(\x0b\x32\x35.google.cloud.recommendationengine.v1beta1.FeatureMapB\x04\xe2\x41\x01\x01\x12\x1b\n\rlanguage_code\x18\x06 \x01(\tB\x04\xe2\x41\x01\x01\x12\x12\n\x04tags\x18\x08 \x03(\tB\x04\xe2\x41\x01\x01\x12\x1b\n\ritem_group_id\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12_\n\x10product_metadata\x18\n \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ProductCatalogItemB\x04\xe2\x41\x01\x01H\x00\x1a-\n\x11\x43\x61tegoryHierarchy\x12\x18\n\ncategories\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\x42\x15\n\x13recommendation_type\"\xf2\x06\n\x12ProductCatalogItem\x12\x65\n\x0b\x65xact_price\x18\x01 \x01(\x0b\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.ExactPriceB\x04\xe2\x41\x01\x01H\x00\x12\x65\n\x0bprice_range\x18\x02 \x01(\x0b\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.PriceRangeB\x04\xe2\x41\x01\x01H\x00\x12]\n\x05\x63osts\x18\x03 \x03(\x0b\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.CostsEntryB\x04\xe2\x41\x01\x01\x12\x1b\n\rcurrency_code\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x63\n\x0bstock_state\x18\x05 \x01(\x0e\x32H.google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockStateB\x04\xe2\x41\x01\x01\x12 \n\x12\x61vailable_quantity\x18\x06 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12#\n\x15\x63\x61nonical_product_uri\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12\x46\n\x06images\x18\x08 \x03(\x0b\x32\x30.google.cloud.recommendationengine.v1beta1.ImageB\x04\xe2\x41\x01\x01\x1aG\n\nExactPrice\x12\x1b\n\rdisplay_price\x18\x01 \x01(\x02\x42\x04\xe2\x41\x01\x01\x12\x1c\n\x0eoriginal_price\x18\x02 \x01(\x02\x42\x04\xe2\x41\x01\x01\x1a\x32\n\nPriceRange\x12\x11\n\x03min\x18\x01 \x01(\x02\x42\x04\xe2\x41\x01\x02\x12\x11\n\x03max\x18\x02 \x01(\x02\x42\x04\xe2\x41\x01\x02\x1a,\n\nCostsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x02:\x02\x38\x01\"j\n\nStockState\x12\x1b\n\x17STOCK_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08IN_STOCK\x10\x00\x12\x10\n\x0cOUT_OF_STOCK\x10\x01\x12\x0c\n\x08PREORDER\x10\x02\x12\r\n\tBACKORDER\x10\x03\x1a\x02\x10\x01\x42\x07\n\x05price\"E\n\x05Image\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x06height\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01\x12\x13\n\x05width\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01\x42\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.cloud.recommendationengine.v1beta1.FeatureMap", "google/cloud/recommendationengine/v1beta1/common.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module RecommendationEngine module V1beta1 CatalogItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.CatalogItem").msgclass CatalogItem::CategoryHierarchy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.CatalogItem.CategoryHierarchy").msgclass ProductCatalogItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ProductCatalogItem").msgclass ProductCatalogItem::ExactPrice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ProductCatalogItem.ExactPrice").msgclass ProductCatalogItem::PriceRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ProductCatalogItem.PriceRange").msgclass ProductCatalogItem::StockState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.ProductCatalogItem.StockState").enummodule Image = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.recommendationengine.v1beta1.Image").msgclass end end end end