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