aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/qps
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2016-04-21 00:33:46 -0700
committerGravatar vjpai <vpai@google.com>2016-04-21 00:33:46 -0700
commit8ecd4d7aa6a522c68ba96d0362a778cdc98f4550 (patch)
treec96750bd06ee6fb4a00e95033abfd0cea503e0f7 /src/ruby/qps
parentdde6dfbb0bd1dfb3deac0b4f703d63528e1dc798 (diff)
Add support for an "OTHER" value in client_type, server_type, and add a string to
represent the name of the desired system api. This allows expansion without putting an upper-limit based on some foressen variants.
Diffstat (limited to 'src/ruby/qps')
-rw-r--r--src/ruby/qps/src/proto/grpc/testing/control.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ruby/qps/src/proto/grpc/testing/control.rb b/src/ruby/qps/src/proto/grpc/testing/control.rb
index b81e22659d..958fca320b 100644
--- a/src/ruby/qps/src/proto/grpc/testing/control.rb
+++ b/src/ruby/qps/src/proto/grpc/testing/control.rb
@@ -34,6 +34,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :histogram_params, :message, 12, "grpc.testing.HistogramParams"
repeated :core_list, :int32, 13
optional :core_limit, :int32, 14
+ optional :other_client_api, :string, 15
end
add_message "grpc.testing.ClientStatus" do
optional :stats, :message, 1, "grpc.testing.ClientStats"
@@ -55,6 +56,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
optional :core_limit, :int32, 8
optional :payload_config, :message, 9, "grpc.testing.PayloadConfig"
repeated :core_list, :int32, 10
+ optional :other_server_api, :string, 11
end
add_message "grpc.testing.ServerArgs" do
oneof :argtype do
@@ -111,11 +113,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
add_enum "grpc.testing.ClientType" do
value :SYNC_CLIENT, 0
value :ASYNC_CLIENT, 1
+ value :OTHER_CLIENT, 2
end
add_enum "grpc.testing.ServerType" do
value :SYNC_SERVER, 0
value :ASYNC_SERVER, 1
value :ASYNC_GENERIC_SERVER, 2
+ value :OTHER_SERVER, 3
end
add_enum "grpc.testing.RpcType" do
value :UNARY, 0