Imported Upstream version 1.27.0
[platform/upstream/grpc.git] / src / ruby / qps / src / proto / grpc / testing / payloads_pb.rb
1 # Generated by the protocol buffer compiler.  DO NOT EDIT!
2 # source: src/proto/grpc/testing/payloads.proto
3
4 require 'google/protobuf'
5
6 Google::Protobuf::DescriptorPool.generated_pool.build do
7   add_file("src/proto/grpc/testing/payloads.proto", :syntax => :proto3) do
8     add_message "grpc.testing.ByteBufferParams" do
9       optional :req_size, :int32, 1
10       optional :resp_size, :int32, 2
11     end
12     add_message "grpc.testing.SimpleProtoParams" do
13       optional :req_size, :int32, 1
14       optional :resp_size, :int32, 2
15     end
16     add_message "grpc.testing.ComplexProtoParams" do
17     end
18     add_message "grpc.testing.PayloadConfig" do
19       oneof :payload do
20         optional :bytebuf_params, :message, 1, "grpc.testing.ByteBufferParams"
21         optional :simple_params, :message, 2, "grpc.testing.SimpleProtoParams"
22         optional :complex_params, :message, 3, "grpc.testing.ComplexProtoParams"
23       end
24     end
25   end
26 end
27
28 module Grpc
29   module Testing
30     ByteBufferParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ByteBufferParams").msgclass
31     SimpleProtoParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleProtoParams").msgclass
32     ComplexProtoParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ComplexProtoParams").msgclass
33     PayloadConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PayloadConfig").msgclass
34   end
35 end