regenerate ruby protos

pull/22703/head
Jan Tattermusch 5 years ago
parent 2a7f2e8f2c
commit 555804bb94
  1. 11
      src/ruby/pb/src/proto/grpc/testing/messages_pb.rb
  2. 16
      src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb
  3. 2
      src/ruby/qps/src/proto/grpc/testing/control_pb.rb
  4. 11
      src/ruby/qps/src/proto/grpc/testing/messages_pb.rb

@ -34,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :oauth_scope, :string, 3
optional :server_id, :string, 4
optional :grpclb_route_type, :enum, 5, "grpc.testing.GrpclbRouteType"
optional :hostname, :string, 6
end
add_message "grpc.testing.StreamingInputCallRequest" do
optional :payload, :message, 1, "grpc.testing.Payload"
@ -63,6 +64,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :passed, :bool, 1
repeated :backoff_ms, :int32, 2
end
add_message "grpc.testing.LoadBalancerStatsRequest" do
optional :num_rpcs, :int32, 1
optional :timeout_sec, :int32, 2
end
add_message "grpc.testing.LoadBalancerStatsResponse" do
map :rpcs_by_peer, :string, :int32, 1
optional :num_failures, :int32, 2
end
add_enum "grpc.testing.PayloadType" do
value :COMPRESSABLE, 0
end
@ -88,6 +97,8 @@ module Grpc
StreamingOutputCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingOutputCallResponse").msgclass
ReconnectParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectParams").msgclass
ReconnectInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectInfo").msgclass
LoadBalancerStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.LoadBalancerStatsRequest").msgclass
LoadBalancerStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.LoadBalancerStatsResponse").msgclass
PayloadType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PayloadType").enummodule
GrpclbRouteType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.GrpclbRouteType").enummodule
end

@ -96,6 +96,22 @@ module Grpc
rpc :Stop, Empty, ReconnectInfo
end
Stub = Service.rpc_stub_class
end
module LoadBalancerStatsService
# A service used to obtain stats for verifying LB behavior.
class Service
include GRPC::GenericService
self.marshal_class_method = :encode
self.unmarshal_class_method = :decode
self.service_name = 'grpc.testing.LoadBalancerStatsService'
# Gets the backend distribution for RPCs sent by a test client.
rpc :GetClientStats, LoadBalancerStatsRequest, LoadBalancerStatsResponse
end
Stub = Service.rpc_stub_class
end
end

@ -49,6 +49,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :messages_per_stream, :int32, 18
optional :use_coalesce_api, :bool, 19
optional :median_latency_collection_interval_millis, :int32, 20
optional :client_processes, :int32, 21
end
add_message "grpc.testing.ClientStatus" do
optional :stats, :message, 1, "grpc.testing.ClientStats"
@ -74,6 +75,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :threads_per_cq, :int32, 12
optional :resource_quota_size, :int32, 1001
repeated :channel_args, :message, 1002, "grpc.testing.ChannelArg"
optional :server_processes, :int32, 21
end
add_message "grpc.testing.ServerArgs" do
oneof :argtype do

@ -34,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :oauth_scope, :string, 3
optional :server_id, :string, 4
optional :grpclb_route_type, :enum, 5, "grpc.testing.GrpclbRouteType"
optional :hostname, :string, 6
end
add_message "grpc.testing.StreamingInputCallRequest" do
optional :payload, :message, 1, "grpc.testing.Payload"
@ -63,6 +64,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :passed, :bool, 1
repeated :backoff_ms, :int32, 2
end
add_message "grpc.testing.LoadBalancerStatsRequest" do
optional :num_rpcs, :int32, 1
optional :timeout_sec, :int32, 2
end
add_message "grpc.testing.LoadBalancerStatsResponse" do
map :rpcs_by_peer, :string, :int32, 1
optional :num_failures, :int32, 2
end
add_enum "grpc.testing.PayloadType" do
value :COMPRESSABLE, 0
end
@ -88,6 +97,8 @@ module Grpc
StreamingOutputCallResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingOutputCallResponse").msgclass
ReconnectParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectParams").msgclass
ReconnectInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectInfo").msgclass
LoadBalancerStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.LoadBalancerStatsRequest").msgclass
LoadBalancerStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.LoadBalancerStatsResponse").msgclass
PayloadType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PayloadType").enummodule
GrpclbRouteType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.GrpclbRouteType").enummodule
end

Loading…
Cancel
Save