grpc 1.0.0.pre1-x64-mingw32 → 1.0.0.pre2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/grpc_c.32.ruby +0 -0
- data/grpc_c.64.ruby +0 -0
- data/src/ruby/bin/math_client.rb +1 -1
- data/src/ruby/bin/{math.rb → math_pb.rb} +0 -0
- data/src/ruby/bin/math_server.rb +1 -1
- data/src/ruby/bin/{math_services.rb → math_services_pb.rb} +4 -4
- data/src/ruby/lib/grpc/2.0/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.1/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.2/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/2.3/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/grpc_c.so +0 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/pb/grpc/health/checker.rb +1 -1
- data/src/ruby/pb/grpc/health/v1/{health.rb → health_pb.rb} +0 -0
- data/src/ruby/pb/grpc/health/v1/{health_services.rb → health_services_pb.rb} +1 -1
- data/src/ruby/pb/grpc/testing/duplicate/{echo_duplicate_services.rb → echo_duplicate_services_pb.rb} +2 -2
- data/src/ruby/pb/grpc/testing/{metrics.rb → metrics_pb.rb} +1 -1
- data/src/ruby/pb/grpc/testing/{metrics_services.rb → metrics_services_pb.rb} +2 -2
- data/src/ruby/pb/src/proto/grpc/testing/{empty.rb → empty_pb.rb} +0 -0
- data/src/ruby/pb/src/proto/grpc/testing/{messages.rb → messages_pb.rb} +8 -10
- data/src/ruby/pb/src/proto/grpc/testing/{test.rb → test_pb.rb} +2 -2
- data/src/ruby/pb/src/proto/grpc/testing/{test_services.rb → test_services_pb.rb} +1 -1
- data/src/ruby/pb/test/client.rb +3 -3
- data/src/ruby/pb/test/server.rb +3 -3
- data/src/ruby/spec/pb/duplicate/codegen_spec.rb +2 -2
- data/src/ruby/spec/pb/health/checker_spec.rb +4 -4
- metadata +15 -19
- data/src/ruby/pb/test/proto/empty.rb +0 -15
- data/src/ruby/pb/test/proto/messages.rb +0 -80
- data/src/ruby/pb/test/proto/test.rb +0 -14
- data/src/ruby/pb/test/proto/test_services.rb +0 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e0b7370bd2684ce8b9cd762c62c229aa11237dc
|
4
|
+
data.tar.gz: eb7b44f912630da3111f7bece192ed7b406f548f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48da9373cdc830e9b821279ace358b8f2c042a8aad4ae366f94403ef489822d0f786202424fec0791a4a40420fe5456c0b5fd607e29da82757aec9714a942ae4
|
7
|
+
data.tar.gz: c982f25b2f14a03efe0dc647c0387ca7556a1c0ff0dbc4387f0507c1dcf59b39060ea408fe1a28a79d592d2d5b9e7ee0d5eb7fa331bfd1272b1cfc28a5546f08
|
data/grpc_c.32.ruby
CHANGED
Binary file
|
data/grpc_c.64.ruby
CHANGED
Binary file
|
data/src/ruby/bin/math_client.rb
CHANGED
@@ -40,7 +40,7 @@ $LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
|
|
40
40
|
$LOAD_PATH.unshift(this_dir) unless $LOAD_PATH.include?(this_dir)
|
41
41
|
|
42
42
|
require 'grpc'
|
43
|
-
require '
|
43
|
+
require 'math_services_pb'
|
44
44
|
require 'optparse'
|
45
45
|
|
46
46
|
include GRPC::Core::TimeConsts
|
File without changes
|
data/src/ruby/bin/math_server.rb
CHANGED
@@ -42,7 +42,7 @@ $LOAD_PATH.unshift(this_dir) unless $LOAD_PATH.include?(this_dir)
|
|
42
42
|
require 'forwardable'
|
43
43
|
require 'grpc'
|
44
44
|
require 'logger'
|
45
|
-
require '
|
45
|
+
require 'math_services_pb'
|
46
46
|
require 'optparse'
|
47
47
|
|
48
48
|
# RubyLogger defines a logger for gRPC based on the standard ruby logger.
|
@@ -32,7 +32,7 @@
|
|
32
32
|
#
|
33
33
|
|
34
34
|
require 'grpc'
|
35
|
-
require '
|
35
|
+
require 'math_pb'
|
36
36
|
|
37
37
|
module Math
|
38
38
|
module Math
|
@@ -44,15 +44,15 @@ module Math
|
|
44
44
|
self.unmarshal_class_method = :decode
|
45
45
|
self.service_name = 'math.Math'
|
46
46
|
|
47
|
-
# Div divides
|
48
|
-
# remainder.
|
47
|
+
# Div divides DivArgs.dividend by DivArgs.divisor and returns the quotient
|
48
|
+
# and remainder.
|
49
49
|
rpc :Div, DivArgs, DivReply
|
50
50
|
# DivMany accepts an arbitrary number of division args from the client stream
|
51
51
|
# and sends back the results in the reply stream. The stream continues until
|
52
52
|
# the client closes its end; the server does the same after sending all the
|
53
53
|
# replies. The stream ends immediately if either end aborts.
|
54
54
|
rpc :DivMany, stream(DivArgs), stream(DivReply)
|
55
|
-
# Fib generates numbers in the Fibonacci sequence. If
|
55
|
+
# Fib generates numbers in the Fibonacci sequence. If FibArgs.limit > 0, Fib
|
56
56
|
# generates up to limit numbers; otherwise it continues until the call is
|
57
57
|
# canceled. Unlike Fib above, Fib has no final FibReply.
|
58
58
|
rpc :Fib, FibArgs, stream(Num)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/src/ruby/lib/grpc/grpc_c.so
CHANGED
Binary file
|
File without changes
|
data/src/ruby/pb/grpc/testing/duplicate/{echo_duplicate_services.rb → echo_duplicate_services_pb.rb}
RENAMED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: grpc/testing/duplicate/echo_duplicate.proto for package 'grpc.testing.duplicate'
|
2
|
+
# Source: src/proto/grpc/testing/duplicate/echo_duplicate.proto for package 'grpc.testing.duplicate'
|
3
3
|
# Original file comments:
|
4
4
|
# Copyright 2015, Google Inc.
|
5
5
|
# All rights reserved.
|
@@ -34,7 +34,7 @@
|
|
34
34
|
#
|
35
35
|
|
36
36
|
require 'grpc'
|
37
|
-
require 'grpc/testing/duplicate/
|
37
|
+
require 'src/proto/grpc/testing/duplicate/echo_duplicate_pb'
|
38
38
|
|
39
39
|
module Grpc
|
40
40
|
module Testing
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: grpc/testing/metrics.proto for package 'grpc.testing'
|
2
|
+
# Source: src/proto/grpc/testing/metrics.proto for package 'grpc.testing'
|
3
3
|
# Original file comments:
|
4
4
|
# Copyright 2015-2016, Google Inc.
|
5
5
|
# All rights reserved.
|
@@ -38,7 +38,7 @@
|
|
38
38
|
# service.
|
39
39
|
|
40
40
|
require 'grpc'
|
41
|
-
require 'grpc/testing/
|
41
|
+
require 'src/proto/grpc/testing/metrics_pb'
|
42
42
|
|
43
43
|
module Grpc
|
44
44
|
module Testing
|
File without changes
|
@@ -4,6 +4,9 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "grpc.testing.BoolValue" do
|
8
|
+
optional :value, :bool, 1
|
9
|
+
end
|
7
10
|
add_message "grpc.testing.Payload" do
|
8
11
|
optional :type, :enum, 1, "grpc.testing.PayloadType"
|
9
12
|
optional :body, :bytes, 2
|
@@ -18,8 +21,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
21
|
optional :payload, :message, 3, "grpc.testing.Payload"
|
19
22
|
optional :fill_username, :bool, 4
|
20
23
|
optional :fill_oauth_scope, :bool, 5
|
21
|
-
optional :
|
24
|
+
optional :response_compressed, :message, 6, "grpc.testing.BoolValue"
|
22
25
|
optional :response_status, :message, 7, "grpc.testing.EchoStatus"
|
26
|
+
optional :expect_compressed, :message, 8, "grpc.testing.BoolValue"
|
23
27
|
end
|
24
28
|
add_message "grpc.testing.SimpleResponse" do
|
25
29
|
optional :payload, :message, 1, "grpc.testing.Payload"
|
@@ -28,6 +32,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
28
32
|
end
|
29
33
|
add_message "grpc.testing.StreamingInputCallRequest" do
|
30
34
|
optional :payload, :message, 1, "grpc.testing.Payload"
|
35
|
+
optional :expect_compressed, :message, 2, "grpc.testing.BoolValue"
|
31
36
|
end
|
32
37
|
add_message "grpc.testing.StreamingInputCallResponse" do
|
33
38
|
optional :aggregated_payload_size, :int32, 1
|
@@ -35,12 +40,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
35
40
|
add_message "grpc.testing.ResponseParameters" do
|
36
41
|
optional :size, :int32, 1
|
37
42
|
optional :interval_us, :int32, 2
|
43
|
+
optional :compressed, :message, 3, "grpc.testing.BoolValue"
|
38
44
|
end
|
39
45
|
add_message "grpc.testing.StreamingOutputCallRequest" do
|
40
46
|
optional :response_type, :enum, 1, "grpc.testing.PayloadType"
|
41
47
|
repeated :response_parameters, :message, 2, "grpc.testing.ResponseParameters"
|
42
48
|
optional :payload, :message, 3, "grpc.testing.Payload"
|
43
|
-
optional :response_compression, :enum, 6, "grpc.testing.CompressionType"
|
44
49
|
optional :response_status, :message, 7, "grpc.testing.EchoStatus"
|
45
50
|
end
|
46
51
|
add_message "grpc.testing.StreamingOutputCallResponse" do
|
@@ -55,18 +60,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
55
60
|
end
|
56
61
|
add_enum "grpc.testing.PayloadType" do
|
57
62
|
value :COMPRESSABLE, 0
|
58
|
-
value :UNCOMPRESSABLE, 1
|
59
|
-
value :RANDOM, 2
|
60
|
-
end
|
61
|
-
add_enum "grpc.testing.CompressionType" do
|
62
|
-
value :NONE, 0
|
63
|
-
value :GZIP, 1
|
64
|
-
value :DEFLATE, 2
|
65
63
|
end
|
66
64
|
end
|
67
65
|
|
68
66
|
module Grpc
|
69
67
|
module Testing
|
68
|
+
BoolValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.BoolValue").msgclass
|
70
69
|
Payload = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Payload").msgclass
|
71
70
|
EchoStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.EchoStatus").msgclass
|
72
71
|
SimpleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleRequest").msgclass
|
@@ -79,6 +78,5 @@ module Grpc
|
|
79
78
|
ReconnectParams = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectParams").msgclass
|
80
79
|
ReconnectInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectInfo").msgclass
|
81
80
|
PayloadType = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PayloadType").enummodule
|
82
|
-
CompressionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.CompressionType").enummodule
|
83
81
|
end
|
84
82
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
require 'src/proto/grpc/testing/
|
7
|
-
require 'src/proto/grpc/testing/
|
6
|
+
require 'src/proto/grpc/testing/empty_pb'
|
7
|
+
require 'src/proto/grpc/testing/messages_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
end
|
10
10
|
|
data/src/ruby/pb/test/client.rb
CHANGED
@@ -52,9 +52,9 @@ require_relative '../../lib/grpc'
|
|
52
52
|
require 'googleauth'
|
53
53
|
require 'google/protobuf'
|
54
54
|
|
55
|
-
require_relative 'proto/
|
56
|
-
require_relative 'proto/
|
57
|
-
require_relative 'proto/
|
55
|
+
require_relative '../src/proto/grpc/testing/empty_pb'
|
56
|
+
require_relative '../src/proto/grpc/testing/messages_pb'
|
57
|
+
require_relative '../src/proto/grpc/testing/test_services_pb'
|
58
58
|
|
59
59
|
AUTH_ENV = Google::Auth::CredentialsLoader::ENV_VAR
|
60
60
|
|
data/src/ruby/pb/test/server.rb
CHANGED
@@ -50,9 +50,9 @@ require 'optparse'
|
|
50
50
|
|
51
51
|
require 'grpc'
|
52
52
|
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
require_relative '../src/proto/grpc/testing/empty_pb'
|
54
|
+
require_relative '../src/proto/grpc/testing/messages_pb'
|
55
|
+
require_relative '../src/proto/grpc/testing/test_services_pb'
|
56
56
|
|
57
57
|
# DebugIsTruncated extends the default Logger to truncate debug messages
|
58
58
|
class DebugIsTruncated < Logger
|
@@ -44,7 +44,7 @@ describe 'Ping protobuf code generation' do
|
|
44
44
|
# Get the current content
|
45
45
|
service_path = File.join(root_dir, 'src', 'ruby', 'pb', 'grpc',
|
46
46
|
'testing', 'duplicate',
|
47
|
-
'
|
47
|
+
'echo_duplicate_services_pb.rb')
|
48
48
|
want = nil
|
49
49
|
File.open(service_path) { |f| want = f.read }
|
50
50
|
|
@@ -54,7 +54,7 @@ describe 'Ping protobuf code generation' do
|
|
54
54
|
got = nil
|
55
55
|
Dir.mktmpdir do |tmp_dir|
|
56
56
|
gen_out = File.join(tmp_dir, 'src', 'proto', 'grpc', 'testing',
|
57
|
-
'duplicate', '
|
57
|
+
'duplicate', 'echo_duplicate_services_pb.rb')
|
58
58
|
pid = spawn(
|
59
59
|
'protoc',
|
60
60
|
'-I.',
|
@@ -28,7 +28,7 @@
|
|
28
28
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
29
|
|
30
30
|
require 'grpc'
|
31
|
-
require 'grpc/health/v1/
|
31
|
+
require 'grpc/health/v1/health_pb'
|
32
32
|
require 'grpc/health/checker'
|
33
33
|
require 'open3'
|
34
34
|
require 'tmpdir'
|
@@ -43,7 +43,7 @@ describe 'Health protobuf code generation' do
|
|
43
43
|
skip 'protoc || grpc_ruby_plugin missing, cannot verify health code-gen'
|
44
44
|
else
|
45
45
|
it 'should already be loaded indirectly i.e, used by the other specs' do
|
46
|
-
expect(require('grpc/health/v1/
|
46
|
+
expect(require('grpc/health/v1/health_services_pb')).to be(false)
|
47
47
|
end
|
48
48
|
|
49
49
|
it 'should have the same content as created by code generation' do
|
@@ -52,7 +52,7 @@ describe 'Health protobuf code generation' do
|
|
52
52
|
|
53
53
|
# Get the current content
|
54
54
|
service_path = File.join(root_dir, 'ruby', 'pb', 'grpc',
|
55
|
-
'health', 'v1', '
|
55
|
+
'health', 'v1', 'health_services_pb.rb')
|
56
56
|
want = nil
|
57
57
|
File.open(service_path) { |f| want = f.read }
|
58
58
|
|
@@ -62,7 +62,7 @@ describe 'Health protobuf code generation' do
|
|
62
62
|
got = nil
|
63
63
|
Dir.mktmpdir do |tmp_dir|
|
64
64
|
gen_out = File.join(tmp_dir, 'grpc', 'health', 'v1',
|
65
|
-
'
|
65
|
+
'health_services_pb.rb')
|
66
66
|
pid = spawn(
|
67
67
|
'protoc',
|
68
68
|
'-I.',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.pre2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- gRPC Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: src/ruby/bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0
|
26
|
+
version: '3.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: googleauth
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,10 +191,10 @@ files:
|
|
191
191
|
- src/ruby/bin/apis/pubsub_demo.rb
|
192
192
|
- src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb
|
193
193
|
- src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb
|
194
|
-
- src/ruby/bin/math.rb
|
195
194
|
- src/ruby/bin/math_client.rb
|
195
|
+
- src/ruby/bin/math_pb.rb
|
196
196
|
- src/ruby/bin/math_server.rb
|
197
|
-
- src/ruby/bin/
|
197
|
+
- src/ruby/bin/math_services_pb.rb
|
198
198
|
- src/ruby/bin/noproto_client.rb
|
199
199
|
- src/ruby/bin/noproto_server.rb
|
200
200
|
- src/ruby/ext/grpc/extconf.rb
|
@@ -245,20 +245,16 @@ files:
|
|
245
245
|
- src/ruby/pb/README.md
|
246
246
|
- src/ruby/pb/generate_proto_ruby.sh
|
247
247
|
- src/ruby/pb/grpc/health/checker.rb
|
248
|
-
- src/ruby/pb/grpc/health/v1/
|
249
|
-
- src/ruby/pb/grpc/health/v1/
|
250
|
-
- src/ruby/pb/grpc/testing/duplicate/
|
251
|
-
- src/ruby/pb/grpc/testing/
|
252
|
-
- src/ruby/pb/grpc/testing/
|
253
|
-
- src/ruby/pb/src/proto/grpc/testing/
|
254
|
-
- src/ruby/pb/src/proto/grpc/testing/
|
255
|
-
- src/ruby/pb/src/proto/grpc/testing/
|
256
|
-
- src/ruby/pb/src/proto/grpc/testing/
|
248
|
+
- src/ruby/pb/grpc/health/v1/health_pb.rb
|
249
|
+
- src/ruby/pb/grpc/health/v1/health_services_pb.rb
|
250
|
+
- src/ruby/pb/grpc/testing/duplicate/echo_duplicate_services_pb.rb
|
251
|
+
- src/ruby/pb/grpc/testing/metrics_pb.rb
|
252
|
+
- src/ruby/pb/grpc/testing/metrics_services_pb.rb
|
253
|
+
- src/ruby/pb/src/proto/grpc/testing/empty_pb.rb
|
254
|
+
- src/ruby/pb/src/proto/grpc/testing/messages_pb.rb
|
255
|
+
- src/ruby/pb/src/proto/grpc/testing/test_pb.rb
|
256
|
+
- src/ruby/pb/src/proto/grpc/testing/test_services_pb.rb
|
257
257
|
- src/ruby/pb/test/client.rb
|
258
|
-
- src/ruby/pb/test/proto/empty.rb
|
259
|
-
- src/ruby/pb/test/proto/messages.rb
|
260
|
-
- src/ruby/pb/test/proto/test.rb
|
261
|
-
- src/ruby/pb/test/proto/test_services.rb
|
262
258
|
- src/ruby/pb/test/server.rb
|
263
259
|
- src/ruby/spec/call_credentials_spec.rb
|
264
260
|
- src/ruby/spec/call_spec.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: test/proto/empty.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_message "grpc.testing.Empty" do
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
module Grpc
|
12
|
-
module Testing
|
13
|
-
Empty = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Empty").msgclass
|
14
|
-
end
|
15
|
-
end
|
@@ -1,80 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: test/proto/messages.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
add_message "grpc.testing.Payload" do
|
8
|
-
optional :type, :enum, 1, "grpc.testing.PayloadType"
|
9
|
-
optional :body, :bytes, 2
|
10
|
-
end
|
11
|
-
add_message "grpc.testing.EchoStatus" do
|
12
|
-
optional :code, :int32, 1
|
13
|
-
optional :message, :string, 2
|
14
|
-
end
|
15
|
-
add_message "grpc.testing.SimpleRequest" do
|
16
|
-
optional :response_type, :enum, 1, "grpc.testing.PayloadType"
|
17
|
-
optional :response_size, :int32, 2
|
18
|
-
optional :payload, :message, 3, "grpc.testing.Payload"
|
19
|
-
optional :fill_username, :bool, 4
|
20
|
-
optional :fill_oauth_scope, :bool, 5
|
21
|
-
optional :response_compression, :enum, 6, "grpc.testing.CompressionType"
|
22
|
-
optional :response_status, :message, 7, "grpc.testing.EchoStatus"
|
23
|
-
end
|
24
|
-
add_message "grpc.testing.SimpleResponse" do
|
25
|
-
optional :payload, :message, 1, "grpc.testing.Payload"
|
26
|
-
optional :username, :string, 2
|
27
|
-
optional :oauth_scope, :string, 3
|
28
|
-
end
|
29
|
-
add_message "grpc.testing.StreamingInputCallRequest" do
|
30
|
-
optional :payload, :message, 1, "grpc.testing.Payload"
|
31
|
-
end
|
32
|
-
add_message "grpc.testing.StreamingInputCallResponse" do
|
33
|
-
optional :aggregated_payload_size, :int32, 1
|
34
|
-
end
|
35
|
-
add_message "grpc.testing.ResponseParameters" do
|
36
|
-
optional :size, :int32, 1
|
37
|
-
optional :interval_us, :int32, 2
|
38
|
-
end
|
39
|
-
add_message "grpc.testing.StreamingOutputCallRequest" do
|
40
|
-
optional :response_type, :enum, 1, "grpc.testing.PayloadType"
|
41
|
-
repeated :response_parameters, :message, 2, "grpc.testing.ResponseParameters"
|
42
|
-
optional :payload, :message, 3, "grpc.testing.Payload"
|
43
|
-
optional :response_compression, :enum, 6, "grpc.testing.CompressionType"
|
44
|
-
optional :response_status, :message, 7, "grpc.testing.EchoStatus"
|
45
|
-
end
|
46
|
-
add_message "grpc.testing.StreamingOutputCallResponse" do
|
47
|
-
optional :payload, :message, 1, "grpc.testing.Payload"
|
48
|
-
end
|
49
|
-
add_message "grpc.testing.ReconnectInfo" do
|
50
|
-
optional :passed, :bool, 1
|
51
|
-
repeated :backoff_ms, :int32, 2
|
52
|
-
end
|
53
|
-
add_enum "grpc.testing.PayloadType" do
|
54
|
-
value :COMPRESSABLE, 0
|
55
|
-
value :UNCOMPRESSABLE, 1
|
56
|
-
value :RANDOM, 2
|
57
|
-
end
|
58
|
-
add_enum "grpc.testing.CompressionType" do
|
59
|
-
value :NONE, 0
|
60
|
-
value :GZIP, 1
|
61
|
-
value :DEFLATE, 2
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
module Grpc
|
66
|
-
module Testing
|
67
|
-
Payload = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.Payload").msgclass
|
68
|
-
EchoStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.EchoStatus").msgclass
|
69
|
-
SimpleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleRequest").msgclass
|
70
|
-
SimpleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.SimpleResponse").msgclass
|
71
|
-
StreamingInputCallRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingInputCallRequest").msgclass
|
72
|
-
StreamingInputCallResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingInputCallResponse").msgclass
|
73
|
-
ResponseParameters = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ResponseParameters").msgclass
|
74
|
-
StreamingOutputCallRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingOutputCallRequest").msgclass
|
75
|
-
StreamingOutputCallResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.StreamingOutputCallResponse").msgclass
|
76
|
-
ReconnectInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.ReconnectInfo").msgclass
|
77
|
-
PayloadType = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.PayloadType").enummodule
|
78
|
-
CompressionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.testing.CompressionType").enummodule
|
79
|
-
end
|
80
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: test/proto/test.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'test/proto/empty'
|
7
|
-
require 'test/proto/messages'
|
8
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
end
|
10
|
-
|
11
|
-
module Grpc
|
12
|
-
module Testing
|
13
|
-
end
|
14
|
-
end
|
@@ -1,64 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: test/proto/test.proto for package 'grpc.testing'
|
3
|
-
|
4
|
-
require 'grpc'
|
5
|
-
require 'test/proto/test'
|
6
|
-
|
7
|
-
module Grpc
|
8
|
-
module Testing
|
9
|
-
module TestService
|
10
|
-
|
11
|
-
# TODO: add proto service documentation here
|
12
|
-
class Service
|
13
|
-
|
14
|
-
include GRPC::GenericService
|
15
|
-
|
16
|
-
self.marshal_class_method = :encode
|
17
|
-
self.unmarshal_class_method = :decode
|
18
|
-
self.service_name = 'grpc.testing.TestService'
|
19
|
-
|
20
|
-
rpc :EmptyCall, Empty, Empty
|
21
|
-
rpc :UnaryCall, SimpleRequest, SimpleResponse
|
22
|
-
rpc :StreamingOutputCall, StreamingOutputCallRequest, stream(StreamingOutputCallResponse)
|
23
|
-
rpc :StreamingInputCall, stream(StreamingInputCallRequest), StreamingInputCallResponse
|
24
|
-
rpc :FullDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
|
25
|
-
rpc :HalfDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
|
26
|
-
end
|
27
|
-
|
28
|
-
Stub = Service.rpc_stub_class
|
29
|
-
end
|
30
|
-
module UnimplementedService
|
31
|
-
|
32
|
-
# TODO: add proto service documentation here
|
33
|
-
class Service
|
34
|
-
|
35
|
-
include GRPC::GenericService
|
36
|
-
|
37
|
-
self.marshal_class_method = :encode
|
38
|
-
self.unmarshal_class_method = :decode
|
39
|
-
self.service_name = 'grpc.testing.UnimplementedService'
|
40
|
-
|
41
|
-
rpc :UnimplementedCall, Empty, Empty
|
42
|
-
end
|
43
|
-
|
44
|
-
Stub = Service.rpc_stub_class
|
45
|
-
end
|
46
|
-
module ReconnectService
|
47
|
-
|
48
|
-
# TODO: add proto service documentation here
|
49
|
-
class Service
|
50
|
-
|
51
|
-
include GRPC::GenericService
|
52
|
-
|
53
|
-
self.marshal_class_method = :encode
|
54
|
-
self.unmarshal_class_method = :decode
|
55
|
-
self.service_name = 'grpc.testing.ReconnectService'
|
56
|
-
|
57
|
-
rpc :Start, Empty, Empty
|
58
|
-
rpc :Stop, Empty, ReconnectInfo
|
59
|
-
end
|
60
|
-
|
61
|
-
Stub = Service.rpc_stub_class
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|