1# Generated by the protocol buffer compiler. DO NOT EDIT! 2# source: src/proto/grpc/testing/messages.proto 3 4require 'google/protobuf' 5 6Google::Protobuf::DescriptorPool.generated_pool.build do 7 add_file("src/proto/grpc/testing/messages.proto", :syntax => :proto3) do 8 add_message "grpc.testing.BoolValue" do 9 optional :value, :bool, 1 10 end 11 add_message "grpc.testing.Payload" do 12 optional :type, :enum, 1, "grpc.testing.PayloadType" 13 optional :body, :bytes, 2 14 end 15 add_message "grpc.testing.EchoStatus" do 16 optional :code, :int32, 1 17 optional :message, :string, 2 18 end 19 add_message "grpc.testing.SimpleRequest" do 20 optional :response_type, :enum, 1, "grpc.testing.PayloadType" 21 optional :response_size, :int32, 2 22 optional :payload, :message, 3, "grpc.testing.Payload" 23 optional :fill_username, :bool, 4 24 optional :fill_oauth_scope, :bool, 5 25 optional :response_compressed, :message, 6, "grpc.testing.BoolValue" 26 optional :response_status, :message, 7, "grpc.testing.EchoStatus" 27 optional :expect_compressed, :message, 8, "grpc.testing.BoolValue" 28 optional :fill_server_id, :bool, 9 29 optional :fill_grpclb_route_type, :bool, 10 30 end 31 add_message "grpc.testing.SimpleResponse" do 32 optional :payload, :message, 1, "grpc.testing.Payload" 33 optional :username, :string, 2 34 optional :oauth_scope, :string, 3 35 optional :server_id, :string, 4 36 optional :grpclb_route_type, :enum, 5, "grpc.testing.GrpclbRouteType" 37 optional :hostname, :string, 6 38 end 39 add_message "grpc.testing.StreamingInputCallRequest" do 40 optional :payload, :message, 1, "grpc.testing.Payload" 41 optional :expect_compressed, :message, 2, "grpc.testing.BoolValue" 42 end 43 add_message "grpc.testing.StreamingInputCallResponse" do 44 optional :aggregated_payload_size, :int32, 1 45 end 46 add_message "grpc.testing.ResponseParameters" do 47 optional :size, :int32, 1 48 optional :interval_us, :int32, 2 49 optional :compressed, :message, 3, "grpc.testing.BoolValue" 50 end 51 add_message "grpc.testing.StreamingOutputCallRequest" do 52 optional :response_type, :enum, 1, "grpc.testing.PayloadType" 53 repeated :response_parameters, :message, 2, "grpc.testing.ResponseParameters" 54 optional :payload, :message, 3, "grpc.testing.Payload" 55 optional :response_status, :message, 7, "grpc.testing.EchoStatus" 56 end 57 add_message "grpc.testing.StreamingOutputCallResponse" do 58 optional :payload, :message, 1, "grpc.testing.Payload" 59 end 60 add_message "grpc.testing.ReconnectParams" do 61 optional :max_reconnect_backoff_ms, :int32, 1 62 end 63 add_message "grpc.testing.ReconnectInfo" do 64 optional :passed, :bool, 1 65 repeated :backoff_ms, :int32, 2 66 end 67 add_message "grpc.testing.LoadBalancerStatsRequest" do 68 optional :num_rpcs, :int32, 1 69 optional :timeout_sec, :int32, 2 70 end 71 add_message "grpc.testing.LoadBalancerStatsResponse" do 72 map :rpcs_by_peer, :string, :int32, 1 73 optional :num_failures, :int32, 2 74 end 75 add_enum "grpc.testing.PayloadType" do 76 value :COMPRESSABLE, 0 77 end 78 add_enum "grpc.testing.GrpclbRouteType" do 79 value :GRPCLB_ROUTE_TYPE_UNKNOWN, 0 80 value :GRPCLB_ROUTE_TYPE_FALLBACK, 1 81 value :GRPCLB_ROUTE_TYPE_BACKEND, 2 82 end 83 end 84end 85 86module Grpc 87 module Testing 88 BoolValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.BoolValue").msgclass 89 Payload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Payload").msgclass 90 EchoStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.EchoStatus").msgclass 91 SimpleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleRequest").msgclass 92 SimpleResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleResponse").msgclass 93 StreamingInputCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingInputCallRequest").msgclass 94 StreamingInputCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingInputCallResponse").msgclass 95 ResponseParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ResponseParameters").msgclass 96 StreamingOutputCallRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingOutputCallRequest").msgclass 97 StreamingOutputCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingOutputCallResponse").msgclass 98 ReconnectParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectParams").msgclass 99 ReconnectInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectInfo").msgclass 100 LoadBalancerStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.LoadBalancerStatsRequest").msgclass 101 LoadBalancerStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.LoadBalancerStatsResponse").msgclass 102 PayloadType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PayloadType").enummodule 103 GrpclbRouteType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.GrpclbRouteType").enummodule 104 end 105end 106