• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_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
26end
27
28module 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
35end
36