# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dataqna/v1alpha/auto_suggestion_service.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/dataqna/v1alpha/annotated_string_pb' require 'google/api/client_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dataqna/v1alpha/auto_suggestion_service.proto", :syntax => :proto3) do add_message "google.cloud.dataqna.v1alpha.SuggestQueriesRequest" do optional :parent, :string, 1 repeated :scopes, :string, 2 optional :query, :string, 3 repeated :suggestion_types, :enum, 4, "google.cloud.dataqna.v1alpha.SuggestionType" end add_message "google.cloud.dataqna.v1alpha.Suggestion" do optional :suggestion_info, :message, 1, "google.cloud.dataqna.v1alpha.SuggestionInfo" optional :ranking_score, :double, 2 optional :suggestion_type, :enum, 3, "google.cloud.dataqna.v1alpha.SuggestionType" end add_message "google.cloud.dataqna.v1alpha.SuggestionInfo" do optional :annotated_suggestion, :message, 1, "google.cloud.dataqna.v1alpha.AnnotatedString" repeated :query_matches, :message, 2, "google.cloud.dataqna.v1alpha.SuggestionInfo.MatchInfo" end add_message "google.cloud.dataqna.v1alpha.SuggestionInfo.MatchInfo" do optional :start_char_index, :int32, 1 optional :length, :int32, 2 end add_message "google.cloud.dataqna.v1alpha.SuggestQueriesResponse" do repeated :suggestions, :message, 1, "google.cloud.dataqna.v1alpha.Suggestion" end add_enum "google.cloud.dataqna.v1alpha.SuggestionType" do value :SUGGESTION_TYPE_UNSPECIFIED, 0 value :ENTITY, 1 value :TEMPLATE, 2 end end end module Google module Cloud module DataQnA module V1alpha SuggestQueriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.SuggestQueriesRequest").msgclass Suggestion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.Suggestion").msgclass SuggestionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.SuggestionInfo").msgclass SuggestionInfo::MatchInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.SuggestionInfo.MatchInfo").msgclass SuggestQueriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.SuggestQueriesResponse").msgclass SuggestionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.SuggestionType").enummodule end end end end