File: trace_service_pb.rb

package info (click to toggle)
golang-github-census-instrumentation-opencensus-proto 0.2.1%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 824 kB
  • sloc: sh: 165; python: 37; makefile: 10
file content (41 lines) | stat: -rw-r--r-- 2,009 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: opencensus/proto/agent/trace/v1/trace_service.proto

require 'google/protobuf'

require 'opencensus/proto/agent/common/v1/common_pb'
require 'opencensus/proto/resource/v1/resource_pb'
require 'opencensus/proto/trace/v1/trace_pb'
require 'opencensus/proto/trace/v1/trace_config_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "opencensus.proto.agent.trace.v1.CurrentLibraryConfig" do
    optional :node, :message, 1, "opencensus.proto.agent.common.v1.Node"
    optional :config, :message, 2, "opencensus.proto.trace.v1.TraceConfig"
  end
  add_message "opencensus.proto.agent.trace.v1.UpdatedLibraryConfig" do
    optional :node, :message, 1, "opencensus.proto.agent.common.v1.Node"
    optional :config, :message, 2, "opencensus.proto.trace.v1.TraceConfig"
  end
  add_message "opencensus.proto.agent.trace.v1.ExportTraceServiceRequest" do
    optional :node, :message, 1, "opencensus.proto.agent.common.v1.Node"
    repeated :spans, :message, 2, "opencensus.proto.trace.v1.Span"
    optional :resource, :message, 3, "opencensus.proto.resource.v1.Resource"
  end
  add_message "opencensus.proto.agent.trace.v1.ExportTraceServiceResponse" do
  end
end

module OpenCensus
  module Proto
    module Agent
      module Trace
        module V1
          CurrentLibraryConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.trace.v1.CurrentLibraryConfig").msgclass
          UpdatedLibraryConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.trace.v1.UpdatedLibraryConfig").msgclass
          ExportTraceServiceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.trace.v1.ExportTraceServiceRequest").msgclass
          ExportTraceServiceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("opencensus.proto.agent.trace.v1.ExportTraceServiceResponse").msgclass
        end
      end
    end
  end
end