# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/retail/v2/catalog.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/retail/v2/common_pb' require 'google/cloud/retail/v2/import_config_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/retail/v2/catalog.proto", :syntax => :proto3) do add_message "google.cloud.retail.v2.ProductLevelConfig" do optional :ingestion_product_type, :string, 1 optional :merchant_center_product_id_field, :string, 2 end add_message "google.cloud.retail.v2.CatalogAttribute" do optional :key, :string, 1 optional :in_use, :bool, 9 optional :type, :enum, 10, "google.cloud.retail.v2.CatalogAttribute.AttributeType" optional :indexable_option, :enum, 5, "google.cloud.retail.v2.CatalogAttribute.IndexableOption" optional :dynamic_facetable_option, :enum, 6, "google.cloud.retail.v2.CatalogAttribute.DynamicFacetableOption" optional :searchable_option, :enum, 7, "google.cloud.retail.v2.CatalogAttribute.SearchableOption" optional :exact_searchable_option, :enum, 11, "google.cloud.retail.v2.CatalogAttribute.ExactSearchableOption" optional :retrievable_option, :enum, 12, "google.cloud.retail.v2.CatalogAttribute.RetrievableOption" end add_enum "google.cloud.retail.v2.CatalogAttribute.AttributeType" do value :UNKNOWN, 0 value :TEXTUAL, 1 value :NUMERICAL, 2 end add_enum "google.cloud.retail.v2.CatalogAttribute.IndexableOption" do value :INDEXABLE_OPTION_UNSPECIFIED, 0 value :INDEXABLE_ENABLED, 1 value :INDEXABLE_DISABLED, 2 end add_enum "google.cloud.retail.v2.CatalogAttribute.DynamicFacetableOption" do value :DYNAMIC_FACETABLE_OPTION_UNSPECIFIED, 0 value :DYNAMIC_FACETABLE_ENABLED, 1 value :DYNAMIC_FACETABLE_DISABLED, 2 end add_enum "google.cloud.retail.v2.CatalogAttribute.SearchableOption" do value :SEARCHABLE_OPTION_UNSPECIFIED, 0 value :SEARCHABLE_ENABLED, 1 value :SEARCHABLE_DISABLED, 2 end add_enum "google.cloud.retail.v2.CatalogAttribute.ExactSearchableOption" do value :EXACT_SEARCHABLE_OPTION_UNSPECIFIED, 0 value :EXACT_SEARCHABLE_ENABLED, 1 value :EXACT_SEARCHABLE_DISABLED, 2 end add_enum "google.cloud.retail.v2.CatalogAttribute.RetrievableOption" do value :RETRIEVABLE_OPTION_UNSPECIFIED, 0 value :RETRIEVABLE_ENABLED, 1 value :RETRIEVABLE_DISABLED, 2 end add_message "google.cloud.retail.v2.AttributesConfig" do optional :name, :string, 1 map :catalog_attributes, :string, :message, 2, "google.cloud.retail.v2.CatalogAttribute" optional :attribute_config_level, :enum, 3, "google.cloud.retail.v2.AttributeConfigLevel" end add_message "google.cloud.retail.v2.CompletionConfig" do optional :name, :string, 1 optional :matching_order, :string, 2 optional :max_suggestions, :int32, 3 optional :min_prefix_length, :int32, 4 optional :auto_learning, :bool, 11 optional :suggestions_input_config, :message, 5, "google.cloud.retail.v2.CompletionDataInputConfig" optional :last_suggestions_import_operation, :string, 6 optional :denylist_input_config, :message, 7, "google.cloud.retail.v2.CompletionDataInputConfig" optional :last_denylist_import_operation, :string, 8 optional :allowlist_input_config, :message, 9, "google.cloud.retail.v2.CompletionDataInputConfig" optional :last_allowlist_import_operation, :string, 10 end add_message "google.cloud.retail.v2.Catalog" do optional :name, :string, 1 optional :display_name, :string, 2 optional :product_level_config, :message, 4, "google.cloud.retail.v2.ProductLevelConfig" end end end module Google module Cloud module Retail module V2 ProductLevelConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.ProductLevelConfig").msgclass CatalogAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CatalogAttribute").msgclass CatalogAttribute::AttributeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CatalogAttribute.AttributeType").enummodule CatalogAttribute::IndexableOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CatalogAttribute.IndexableOption").enummodule CatalogAttribute::DynamicFacetableOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CatalogAttribute.DynamicFacetableOption").enummodule CatalogAttribute::SearchableOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CatalogAttribute.SearchableOption").enummodule CatalogAttribute::ExactSearchableOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CatalogAttribute.ExactSearchableOption").enummodule CatalogAttribute::RetrievableOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CatalogAttribute.RetrievableOption").enummodule AttributesConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.AttributesConfig").msgclass CompletionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CompletionConfig").msgclass Catalog = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.Catalog").msgclass end end end end