# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dialogflow/v2/knowledge_base.proto require 'google/protobuf' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dialogflow/v2/knowledge_base.proto", :syntax => :proto3) do add_message "google.cloud.dialogflow.v2.KnowledgeBase" do optional :name, :string, 1 optional :display_name, :string, 2 optional :language_code, :string, 4 end add_message "google.cloud.dialogflow.v2.ListKnowledgeBasesRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :filter, :string, 4 end add_message "google.cloud.dialogflow.v2.ListKnowledgeBasesResponse" do repeated :knowledge_bases, :message, 1, "google.cloud.dialogflow.v2.KnowledgeBase" optional :next_page_token, :string, 2 end add_message "google.cloud.dialogflow.v2.GetKnowledgeBaseRequest" do optional :name, :string, 1 end add_message "google.cloud.dialogflow.v2.CreateKnowledgeBaseRequest" do optional :parent, :string, 1 optional :knowledge_base, :message, 2, "google.cloud.dialogflow.v2.KnowledgeBase" end add_message "google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest" do optional :name, :string, 1 optional :force, :bool, 2 end add_message "google.cloud.dialogflow.v2.UpdateKnowledgeBaseRequest" do optional :knowledge_base, :message, 1, "google.cloud.dialogflow.v2.KnowledgeBase" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end end end module Google module Cloud module Dialogflow module V2 KnowledgeBase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.KnowledgeBase").msgclass ListKnowledgeBasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListKnowledgeBasesRequest").msgclass ListKnowledgeBasesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.ListKnowledgeBasesResponse").msgclass GetKnowledgeBaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.GetKnowledgeBaseRequest").msgclass CreateKnowledgeBaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.CreateKnowledgeBaseRequest").msgclass DeleteKnowledgeBaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.DeleteKnowledgeBaseRequest").msgclass UpdateKnowledgeBaseRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.v2.UpdateKnowledgeBaseRequest").msgclass end end end end