yats-connectors.git

ref: 7c6f17336616581db4f16514e16c16276c21ba94

yats-connector-ruby/yats-grpc_pb.rb


 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: yats-grpc.proto

require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("yats-grpc.proto", :syntax => :proto3) do
    add_message "yats.Metric" do
      optional :id_client, :string, 1
      optional :mtime, :int64, 2
      optional :name, :string, 3
      optional :value, :string, 4
    end
    add_message "yats.Event" do
      optional :id_client, :string, 1
      optional :etime, :int64, 2
      optional :name, :string, 3
    end
    add_message "yats.CreateMetricRequest" do
      optional :metric, :message, 1, "yats.Metric"
    end
    add_message "yats.CreateMetricResponse" do
      optional :metric, :message, 1, "yats.Metric"
    end
    add_message "yats.CreateEventRequest" do
      optional :event, :message, 1, "yats.Event"
    end
    add_message "yats.CreateEventResponse" do
      optional :event, :message, 1, "yats.Event"
    end
  end
end

module Yats
  Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("yats.Metric").msgclass
  Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("yats.Event").msgclass
  CreateMetricRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("yats.CreateMetricRequest").msgclass
  CreateMetricResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("yats.CreateMetricResponse").msgclass
  CreateEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("yats.CreateEventRequest").msgclass
  CreateEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("yats.CreateEventResponse").msgclass
end