# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/protobuf/api.proto

require 'google/protobuf'

require 'google/protobuf/source_context_pb'
require 'google/protobuf/type_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/protobuf/api.proto", :syntax => :proto3) do
    add_message "google.protobuf.Api" do
      optional :name, :string, 1
      repeated :methods, :message, 2, "google.protobuf.Method"
      repeated :options, :message, 3, "google.protobuf.Option"
      optional :version, :string, 4
      optional :source_context, :message, 5, "google.protobuf.SourceContext"
      repeated :mixins, :message, 6, "google.protobuf.Mixin"
      optional :syntax, :enum, 7, "google.protobuf.Syntax"
    end
    add_message "google.protobuf.Method" do
      optional :name, :string, 1
      optional :request_type_url, :string, 2
      optional :request_streaming, :bool, 3
      optional :response_type_url, :string, 4
      optional :response_streaming, :bool, 5
      repeated :options, :message, 6, "google.protobuf.Option"
      optional :syntax, :enum, 7, "google.protobuf.Syntax"
    end
    add_message "google.protobuf.Mixin" do
      optional :name, :string, 1
      optional :root, :string, 2
    end
  end
end

module Google
  module Protobuf
    Api = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Api").msgclass
    Method = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Method").msgclass
    Mixin = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Mixin").msgclass
  end
end
