# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: opencensus/proto/agent/common/v1/common.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("opencensus/proto/agent/common/v1/common.proto", :syntax => :proto3) do
    add_message "opencensus.proto.agent.common.v1.Node" do
      optional :identifier, :message, 1, "opencensus.proto.agent.common.v1.ProcessIdentifier"
      optional :library_info, :message, 2, "opencensus.proto.agent.common.v1.LibraryInfo"
      optional :service_info, :message, 3, "opencensus.proto.agent.common.v1.ServiceInfo"
      map :attributes, :string, :string, 4
    end
    add_message "opencensus.proto.agent.common.v1.ProcessIdentifier" do
      optional :host_name, :string, 1
      optional :pid, :uint32, 2
      optional :start_timestamp, :message, 3, "google.protobuf.Timestamp"
    end
    add_message "opencensus.proto.agent.common.v1.LibraryInfo" do
      optional :language, :enum, 1, "opencensus.proto.agent.common.v1.LibraryInfo.Language"
      optional :exporter_version, :string, 2
      optional :core_library_version, :string, 3
    end
    add_enum "opencensus.proto.agent.common.v1.LibraryInfo.Language" do
      value :LANGUAGE_UNSPECIFIED, 0
      value :CPP, 1
      value :C_SHARP, 2
      value :ERLANG, 3
      value :GO_LANG, 4
      value :JAVA, 5
      value :NODE_JS, 6
      value :PHP, 7
      value :PYTHON, 8
      value :RUBY, 9
      value :WEB_JS, 10
    end
    add_message "opencensus.proto.agent.common.v1.ServiceInfo" do
      optional :name, :string, 1
    end
  end
end

module OpenCensus
  module Proto
    module Agent
      module Common
        module V1
          Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.common.v1.Node").msgclass
          ProcessIdentifier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.common.v1.ProcessIdentifier").msgclass
          LibraryInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.common.v1.LibraryInfo").msgclass
          LibraryInfo::Language = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.common.v1.LibraryInfo.Language").enummodule
          ServiceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.common.v1.ServiceInfo").msgclass
        end
      end
    end
  end
end
