# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/retail/v2/completion_service.proto require 'google/api/annotations_pb' require 'google/api/client_pb' 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' require 'google/longrunning/operations_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/retail/v2/completion_service.proto", :syntax => :proto3) do add_message "google.cloud.retail.v2.CompleteQueryRequest" do optional :catalog, :string, 1 optional :query, :string, 2 optional :visitor_id, :string, 7 repeated :language_codes, :string, 3 optional :device_type, :string, 4 optional :dataset, :string, 6 optional :max_suggestions, :int32, 5 end add_message "google.cloud.retail.v2.CompleteQueryResponse" do repeated :completion_results, :message, 1, "google.cloud.retail.v2.CompleteQueryResponse.CompletionResult" optional :attribution_token, :string, 2 repeated :recent_search_results, :message, 3, "google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult" end add_message "google.cloud.retail.v2.CompleteQueryResponse.CompletionResult" do optional :suggestion, :string, 1 map :attributes, :string, :message, 2, "google.cloud.retail.v2.CustomAttribute" end add_message "google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult" do optional :recent_search, :string, 1 end end end module Google module Cloud module Retail module V2 CompleteQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CompleteQueryRequest").msgclass CompleteQueryResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CompleteQueryResponse").msgclass CompleteQueryResponse::CompletionResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CompleteQueryResponse.CompletionResult").msgclass CompleteQueryResponse::RecentSearchResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.retail.v2.CompleteQueryResponse.RecentSearchResult").msgclass end end end end