grpc 0.13.0 → 0.13.1.pre1

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.

Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/Makefile +1114 -937
  4. data/include/grpc/census.h +71 -89
  5. data/include/grpc/compression.h +7 -7
  6. data/include/grpc/grpc.h +65 -68
  7. data/include/grpc/grpc_security.h +38 -38
  8. data/include/grpc/impl/codegen/alloc.h +7 -7
  9. data/include/grpc/impl/codegen/byte_buffer.h +13 -13
  10. data/include/grpc/impl/codegen/grpc_types.h +7 -2
  11. data/include/grpc/impl/codegen/log.h +5 -5
  12. data/include/grpc/impl/codegen/port_platform.h +14 -6
  13. data/include/grpc/impl/codegen/slice.h +15 -15
  14. data/include/grpc/impl/codegen/slice_buffer.h +17 -17
  15. data/include/grpc/impl/codegen/sync.h +26 -22
  16. data/include/grpc/impl/codegen/time.h +22 -24
  17. data/include/grpc/support/avl.h +9 -8
  18. data/include/grpc/support/cmdline.h +12 -12
  19. data/include/grpc/support/cpu.h +2 -2
  20. data/include/grpc/support/histogram.h +22 -22
  21. data/include/grpc/support/host_port.h +2 -2
  22. data/include/grpc/support/log_win32.h +1 -1
  23. data/include/grpc/support/string_util.h +2 -2
  24. data/include/grpc/support/subprocess.h +5 -5
  25. data/include/grpc/support/thd.h +9 -9
  26. data/include/grpc/support/useful.h +3 -1
  27. data/src/core/census/context.c +64 -85
  28. data/src/core/census/grpc_filter.c +2 -2
  29. data/src/core/census/mlog.c +600 -0
  30. data/src/core/census/mlog.h +95 -0
  31. data/src/core/channel/channel_args.c +67 -6
  32. data/src/core/channel/channel_args.h +7 -1
  33. data/src/core/channel/client_channel.c +26 -36
  34. data/src/core/channel/client_uchannel.c +1 -1
  35. data/src/core/channel/http_client_filter.c +2 -2
  36. data/src/core/channel/http_server_filter.c +2 -2
  37. data/src/core/channel/subchannel_call_holder.c +5 -7
  38. data/src/core/client_config/connector.c +3 -2
  39. data/src/core/client_config/connector.h +2 -2
  40. data/src/core/client_config/lb_policies/load_balancer_api.c +163 -0
  41. data/src/core/client_config/lb_policies/load_balancer_api.h +85 -0
  42. data/src/core/client_config/lb_policies/pick_first.c +10 -11
  43. data/src/core/client_config/lb_policies/round_robin.c +7 -8
  44. data/src/core/client_config/lb_policy.c +3 -3
  45. data/src/core/client_config/lb_policy.h +3 -2
  46. data/src/core/client_config/subchannel.c +51 -21
  47. data/src/core/client_config/subchannel.h +15 -6
  48. data/src/core/client_config/subchannel_index.c +261 -0
  49. data/src/core/client_config/subchannel_index.h +77 -0
  50. data/src/core/compression/{algorithm.c → compression_algorithm.c} +0 -0
  51. data/src/core/httpcli/httpcli.c +13 -11
  52. data/src/core/httpcli/httpcli.h +3 -2
  53. data/src/core/httpcli/httpcli_security_connector.c +7 -7
  54. data/src/core/iomgr/fd_posix.c +4 -2
  55. data/src/core/iomgr/iocp_windows.c +10 -6
  56. data/src/core/iomgr/iocp_windows.h +9 -2
  57. data/src/core/iomgr/iomgr.c +18 -2
  58. data/src/core/iomgr/iomgr_internal.h +5 -1
  59. data/src/core/iomgr/pollset.h +9 -10
  60. data/src/core/iomgr/pollset_multipoller_with_epoll.c +1 -0
  61. data/src/core/iomgr/pollset_multipoller_with_poll_posix.c +10 -5
  62. data/src/core/iomgr/pollset_posix.c +30 -35
  63. data/src/core/iomgr/pollset_posix.h +10 -6
  64. data/src/core/iomgr/pollset_set.h +3 -9
  65. data/src/core/iomgr/pollset_set_posix.c +23 -3
  66. data/src/core/iomgr/pollset_set_posix.h +2 -18
  67. data/src/core/iomgr/pollset_set_windows.c +3 -3
  68. data/src/core/iomgr/pollset_set_windows.h +2 -2
  69. data/src/core/iomgr/pollset_windows.c +24 -21
  70. data/src/core/iomgr/pollset_windows.h +1 -5
  71. data/src/core/iomgr/tcp_client_posix.c +7 -5
  72. data/src/core/iomgr/tcp_posix.c +4 -2
  73. data/src/core/iomgr/tcp_server_windows.c +1 -2
  74. data/src/core/iomgr/timer.c +2 -3
  75. data/src/core/iomgr/timer.h +21 -1
  76. data/src/core/iomgr/timer_heap.c +10 -12
  77. data/src/core/iomgr/udp_server.c +5 -4
  78. data/src/core/iomgr/udp_server.h +1 -0
  79. data/src/core/iomgr/workqueue_posix.c +1 -0
  80. data/src/core/iomgr/workqueue_posix.h +3 -1
  81. data/src/core/proto/grpc/lb/v0/load_balancer.pb.c +119 -0
  82. data/src/core/proto/grpc/lb/v0/load_balancer.pb.h +182 -0
  83. data/src/core/security/{base64.c → b64.c} +1 -1
  84. data/src/core/security/{base64.h → b64.h} +1 -1
  85. data/src/core/security/client_auth_filter.c +0 -1
  86. data/src/core/security/credentials.c +12 -5
  87. data/src/core/security/credentials.h +3 -3
  88. data/src/core/security/google_default_credentials.c +24 -19
  89. data/src/core/security/handshake.c +15 -7
  90. data/src/core/security/handshake.h +2 -1
  91. data/src/core/security/json_token.c +1 -1
  92. data/src/core/security/jwt_verifier.c +1 -1
  93. data/src/core/security/security_connector.c +84 -64
  94. data/src/core/security/security_connector.h +42 -22
  95. data/src/core/security/security_context.c +8 -3
  96. data/src/core/security/server_auth_filter.c +2 -2
  97. data/src/core/security/server_secure_chttp2.c +7 -7
  98. data/src/core/support/avl.c +2 -2
  99. data/src/core/support/env_linux.c +17 -0
  100. data/src/core/support/{file.c → load_file.c} +2 -2
  101. data/src/core/support/{file.h → load_file.h} +4 -12
  102. data/src/core/support/sync.c +6 -1
  103. data/src/core/support/time_posix.c +1 -1
  104. data/src/core/{iomgr/timer_internal.h → support/tmpfile.h} +17 -23
  105. data/src/core/support/{file_posix.c → tmpfile_posix.c} +2 -2
  106. data/src/core/support/{file_win32.c → tmpfile_win32.c} +2 -2
  107. data/src/core/surface/alarm.c +3 -2
  108. data/src/core/surface/call.c +102 -52
  109. data/src/core/surface/channel_create.c +1 -1
  110. data/src/core/surface/completion_queue.c +73 -41
  111. data/src/core/surface/init.c +4 -0
  112. data/src/core/surface/lame_client.c +1 -2
  113. data/src/core/surface/secure_channel_create.c +6 -7
  114. data/src/core/surface/server.c +13 -5
  115. data/src/core/surface/validate_metadata.c +1 -1
  116. data/src/core/surface/version.c +1 -1
  117. data/src/core/transport/chttp2/internal.h +22 -10
  118. data/src/core/transport/chttp2/parsing.c +3 -3
  119. data/src/core/transport/chttp2/stream_lists.c +39 -21
  120. data/src/core/transport/chttp2/writing.c +19 -28
  121. data/src/core/transport/chttp2_transport.c +80 -37
  122. data/src/core/transport/metadata.c +8 -0
  123. data/src/core/transport/static_metadata.c +17 -17
  124. data/src/core/transport/static_metadata.h +3 -3
  125. data/src/core/transport/transport.c +2 -1
  126. data/src/core/transport/transport.h +12 -5
  127. data/src/ruby/ext/grpc/extconf.rb +1 -0
  128. data/src/ruby/ext/grpc/rb_call.c +6 -0
  129. data/src/ruby/ext/grpc/rb_call_credentials.c +12 -14
  130. data/src/ruby/ext/grpc/rb_channel.c +8 -14
  131. data/src/ruby/ext/grpc/rb_channel_credentials.c +11 -12
  132. data/src/ruby/ext/grpc/rb_grpc.c +19 -18
  133. data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -0
  134. data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +8 -2
  135. data/src/ruby/lib/grpc/core/time_consts.rb +2 -2
  136. data/src/ruby/lib/grpc/errors.rb +2 -2
  137. data/src/ruby/lib/grpc/generic/rpc_server.rb +58 -39
  138. data/src/ruby/lib/grpc/version.rb +1 -1
  139. data/src/ruby/pb/README.md +2 -2
  140. data/src/ruby/pb/generate_proto_ruby.sh +2 -2
  141. data/src/ruby/pb/grpc/health/checker.rb +11 -11
  142. data/src/ruby/pb/grpc/health/v1/health.rb +28 -0
  143. data/src/ruby/pb/grpc/health/{v1alpha → v1}/health_services.rb +4 -4
  144. data/src/ruby/spec/client_server_spec.rb +2 -1
  145. data/src/ruby/spec/generic/rpc_server_spec.rb +3 -22
  146. data/src/ruby/spec/pb/health/checker_spec.rb +22 -36
  147. data/third_party/nanopb/pb.h +547 -0
  148. data/third_party/nanopb/pb_common.c +97 -0
  149. data/third_party/nanopb/pb_common.h +42 -0
  150. data/third_party/nanopb/pb_decode.c +1319 -0
  151. data/third_party/nanopb/pb_decode.h +149 -0
  152. data/third_party/nanopb/pb_encode.c +690 -0
  153. data/third_party/nanopb/pb_encode.h +154 -0
  154. metadata +32 -16
  155. data/src/ruby/pb/grpc/health/v1alpha/health.rb +0 -29
@@ -0,0 +1,154 @@
1
+ /* pb_encode.h: Functions to encode protocol buffers. Depends on pb_encode.c.
2
+ * The main function is pb_encode. You also need an output stream, and the
3
+ * field descriptions created by nanopb_generator.py.
4
+ */
5
+
6
+ #ifndef PB_ENCODE_H_INCLUDED
7
+ #define PB_ENCODE_H_INCLUDED
8
+
9
+ #include "pb.h"
10
+
11
+ #ifdef __cplusplus
12
+ extern "C" {
13
+ #endif
14
+
15
+ /* Structure for defining custom output streams. You will need to provide
16
+ * a callback function to write the bytes to your storage, which can be
17
+ * for example a file or a network socket.
18
+ *
19
+ * The callback must conform to these rules:
20
+ *
21
+ * 1) Return false on IO errors. This will cause encoding to abort.
22
+ * 2) You can use state to store your own data (e.g. buffer pointer).
23
+ * 3) pb_write will update bytes_written after your callback runs.
24
+ * 4) Substreams will modify max_size and bytes_written. Don't use them
25
+ * to calculate any pointers.
26
+ */
27
+ struct pb_ostream_s
28
+ {
29
+ #ifdef PB_BUFFER_ONLY
30
+ /* Callback pointer is not used in buffer-only configuration.
31
+ * Having an int pointer here allows binary compatibility but
32
+ * gives an error if someone tries to assign callback function.
33
+ * Also, NULL pointer marks a 'sizing stream' that does not
34
+ * write anything.
35
+ */
36
+ int *callback;
37
+ #else
38
+ bool (*callback)(pb_ostream_t *stream, const uint8_t *buf, size_t count);
39
+ #endif
40
+ void *state; /* Free field for use by callback implementation. */
41
+ size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */
42
+ size_t bytes_written; /* Number of bytes written so far. */
43
+
44
+ #ifndef PB_NO_ERRMSG
45
+ const char *errmsg;
46
+ #endif
47
+ };
48
+
49
+ /***************************
50
+ * Main encoding functions *
51
+ ***************************/
52
+
53
+ /* Encode a single protocol buffers message from C structure into a stream.
54
+ * Returns true on success, false on any failure.
55
+ * The actual struct pointed to by src_struct must match the description in fields.
56
+ * All required fields in the struct are assumed to have been filled in.
57
+ *
58
+ * Example usage:
59
+ * MyMessage msg = {};
60
+ * uint8_t buffer[64];
61
+ * pb_ostream_t stream;
62
+ *
63
+ * msg.field1 = 42;
64
+ * stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
65
+ * pb_encode(&stream, MyMessage_fields, &msg);
66
+ */
67
+ bool pb_encode(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
68
+
69
+ /* Same as pb_encode, but prepends the length of the message as a varint.
70
+ * Corresponds to writeDelimitedTo() in Google's protobuf API.
71
+ */
72
+ bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
73
+
74
+ /* Encode the message to get the size of the encoded data, but do not store
75
+ * the data. */
76
+ bool pb_get_encoded_size(size_t *size, const pb_field_t fields[], const void *src_struct);
77
+
78
+ /**************************************
79
+ * Functions for manipulating streams *
80
+ **************************************/
81
+
82
+ /* Create an output stream for writing into a memory buffer.
83
+ * The number of bytes written can be found in stream.bytes_written after
84
+ * encoding the message.
85
+ *
86
+ * Alternatively, you can use a custom stream that writes directly to e.g.
87
+ * a file or a network socket.
88
+ */
89
+ pb_ostream_t pb_ostream_from_buffer(uint8_t *buf, size_t bufsize);
90
+
91
+ /* Pseudo-stream for measuring the size of a message without actually storing
92
+ * the encoded data.
93
+ *
94
+ * Example usage:
95
+ * MyMessage msg = {};
96
+ * pb_ostream_t stream = PB_OSTREAM_SIZING;
97
+ * pb_encode(&stream, MyMessage_fields, &msg);
98
+ * printf("Message size is %d\n", stream.bytes_written);
99
+ */
100
+ #ifndef PB_NO_ERRMSG
101
+ #define PB_OSTREAM_SIZING {0,0,0,0,0}
102
+ #else
103
+ #define PB_OSTREAM_SIZING {0,0,0,0}
104
+ #endif
105
+
106
+ /* Function to write into a pb_ostream_t stream. You can use this if you need
107
+ * to append or prepend some custom headers to the message.
108
+ */
109
+ bool pb_write(pb_ostream_t *stream, const uint8_t *buf, size_t count);
110
+
111
+
112
+ /************************************************
113
+ * Helper functions for writing field callbacks *
114
+ ************************************************/
115
+
116
+ /* Encode field header based on type and field number defined in the field
117
+ * structure. Call this from the callback before writing out field contents. */
118
+ bool pb_encode_tag_for_field(pb_ostream_t *stream, const pb_field_t *field);
119
+
120
+ /* Encode field header by manually specifing wire type. You need to use this
121
+ * if you want to write out packed arrays from a callback field. */
122
+ bool pb_encode_tag(pb_ostream_t *stream, pb_wire_type_t wiretype, uint32_t field_number);
123
+
124
+ /* Encode an integer in the varint format.
125
+ * This works for bool, enum, int32, int64, uint32 and uint64 field types. */
126
+ bool pb_encode_varint(pb_ostream_t *stream, uint64_t value);
127
+
128
+ /* Encode an integer in the zig-zagged svarint format.
129
+ * This works for sint32 and sint64. */
130
+ bool pb_encode_svarint(pb_ostream_t *stream, int64_t value);
131
+
132
+ /* Encode a string or bytes type field. For strings, pass strlen(s) as size. */
133
+ bool pb_encode_string(pb_ostream_t *stream, const uint8_t *buffer, size_t size);
134
+
135
+ /* Encode a fixed32, sfixed32 or float value.
136
+ * You need to pass a pointer to a 4-byte wide C variable. */
137
+ bool pb_encode_fixed32(pb_ostream_t *stream, const void *value);
138
+
139
+ /* Encode a fixed64, sfixed64 or double value.
140
+ * You need to pass a pointer to a 8-byte wide C variable. */
141
+ bool pb_encode_fixed64(pb_ostream_t *stream, const void *value);
142
+
143
+ /* Encode a submessage field.
144
+ * You need to pass the pb_field_t array and pointer to struct, just like
145
+ * with pb_encode(). This internally encodes the submessage twice, first to
146
+ * calculate message size and then to actually write it out.
147
+ */
148
+ bool pb_encode_submessage(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct);
149
+
150
+ #ifdef __cplusplus
151
+ } /* extern "C" */
152
+ #endif
153
+
154
+ #endif
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: 0.13.0
4
+ version: 0.13.1.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2016-02-13 00:00:00.000000000 Z
11
+ date: 2016-03-25 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.0.alpha.5.0.2
19
+ version: 3.0.0.alpha.5.0.3
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.0.alpha.5.0.2
26
+ version: 3.0.0.alpha.5.0.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: googleauth
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -177,6 +177,7 @@ extensions:
177
177
  - src/ruby/ext/grpc/extconf.rb
178
178
  extra_rdoc_files: []
179
179
  files:
180
+ - ".yardopts"
180
181
  - Makefile
181
182
  - etc/roots.pem
182
183
  - include/grpc/byte_buffer.h
@@ -242,6 +243,8 @@ files:
242
243
  - src/core/census/grpc_filter.c
243
244
  - src/core/census/grpc_filter.h
244
245
  - src/core/census/initialize.c
246
+ - src/core/census/mlog.c
247
+ - src/core/census/mlog.h
245
248
  - src/core/census/operation.c
246
249
  - src/core/census/placeholders.c
247
250
  - src/core/census/rpc_metric_id.h
@@ -272,6 +275,8 @@ files:
272
275
  - src/core/client_config/default_initial_connect_string.c
273
276
  - src/core/client_config/initial_connect_string.c
274
277
  - src/core/client_config/initial_connect_string.h
278
+ - src/core/client_config/lb_policies/load_balancer_api.c
279
+ - src/core/client_config/lb_policies/load_balancer_api.h
275
280
  - src/core/client_config/lb_policies/pick_first.c
276
281
  - src/core/client_config/lb_policies/pick_first.h
277
282
  - src/core/client_config/lb_policies/round_robin.c
@@ -296,10 +301,12 @@ files:
296
301
  - src/core/client_config/subchannel.h
297
302
  - src/core/client_config/subchannel_factory.c
298
303
  - src/core/client_config/subchannel_factory.h
304
+ - src/core/client_config/subchannel_index.c
305
+ - src/core/client_config/subchannel_index.h
299
306
  - src/core/client_config/uri_parser.c
300
307
  - src/core/client_config/uri_parser.h
301
- - src/core/compression/algorithm.c
302
308
  - src/core/compression/algorithm_metadata.h
309
+ - src/core/compression/compression_algorithm.c
303
310
  - src/core/compression/message_compress.c
304
311
  - src/core/compression/message_compress.h
305
312
  - src/core/debug/trace.c
@@ -374,7 +381,6 @@ files:
374
381
  - src/core/iomgr/timer.h
375
382
  - src/core/iomgr/timer_heap.c
376
383
  - src/core/iomgr/timer_heap.h
377
- - src/core/iomgr/timer_internal.h
378
384
  - src/core/iomgr/udp_server.c
379
385
  - src/core/iomgr/udp_server.h
380
386
  - src/core/iomgr/wakeup_fd_eventfd.c
@@ -399,9 +405,11 @@ files:
399
405
  - src/core/profiling/basic_timers.c
400
406
  - src/core/profiling/stap_timers.c
401
407
  - src/core/profiling/timers.h
408
+ - src/core/proto/grpc/lb/v0/load_balancer.pb.c
409
+ - src/core/proto/grpc/lb/v0/load_balancer.pb.h
402
410
  - src/core/security/auth_filters.h
403
- - src/core/security/base64.c
404
- - src/core/security/base64.h
411
+ - src/core/security/b64.c
412
+ - src/core/security/b64.h
405
413
  - src/core/security/client_auth_filter.c
406
414
  - src/core/security/credentials.c
407
415
  - src/core/security/credentials.h
@@ -437,12 +445,10 @@ files:
437
445
  - src/core/support/env_linux.c
438
446
  - src/core/support/env_posix.c
439
447
  - src/core/support/env_win32.c
440
- - src/core/support/file.c
441
- - src/core/support/file.h
442
- - src/core/support/file_posix.c
443
- - src/core/support/file_win32.c
444
448
  - src/core/support/histogram.c
445
449
  - src/core/support/host_port.c
450
+ - src/core/support/load_file.c
451
+ - src/core/support/load_file.h
446
452
  - src/core/support/log.c
447
453
  - src/core/support/log_android.c
448
454
  - src/core/support/log_linux.c
@@ -474,6 +480,9 @@ files:
474
480
  - src/core/support/time_precise.h
475
481
  - src/core/support/time_win32.c
476
482
  - src/core/support/tls_pthread.c
483
+ - src/core/support/tmpfile.h
484
+ - src/core/support/tmpfile_posix.c
485
+ - src/core/support/tmpfile_win32.c
477
486
  - src/core/support/wrap_memcpy.c
478
487
  - src/core/surface/alarm.c
479
488
  - src/core/surface/api_trace.c
@@ -628,8 +637,8 @@ files:
628
637
  - src/ruby/pb/README.md
629
638
  - src/ruby/pb/generate_proto_ruby.sh
630
639
  - src/ruby/pb/grpc/health/checker.rb
631
- - src/ruby/pb/grpc/health/v1alpha/health.rb
632
- - src/ruby/pb/grpc/health/v1alpha/health_services.rb
640
+ - src/ruby/pb/grpc/health/v1/health.rb
641
+ - src/ruby/pb/grpc/health/v1/health_services.rb
633
642
  - src/ruby/pb/test/client.rb
634
643
  - src/ruby/pb/test/proto/empty.rb
635
644
  - src/ruby/pb/test/proto/messages.rb
@@ -1057,6 +1066,13 @@ files:
1057
1066
  - third_party/boringssl/ssl/test/scoped_types.h
1058
1067
  - third_party/boringssl/ssl/test/test_config.h
1059
1068
  - third_party/boringssl/ssl/tls_record.c
1069
+ - third_party/nanopb/pb.h
1070
+ - third_party/nanopb/pb_common.c
1071
+ - third_party/nanopb/pb_common.h
1072
+ - third_party/nanopb/pb_decode.c
1073
+ - third_party/nanopb/pb_decode.h
1074
+ - third_party/nanopb/pb_encode.c
1075
+ - third_party/nanopb/pb_encode.h
1060
1076
  - third_party/zlib/adler32.c
1061
1077
  - third_party/zlib/compress.c
1062
1078
  - third_party/zlib/crc32.c
@@ -1100,9 +1116,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
1100
1116
  version: 2.0.0
1101
1117
  required_rubygems_version: !ruby/object:Gem::Requirement
1102
1118
  requirements:
1103
- - - ">="
1119
+ - - ">"
1104
1120
  - !ruby/object:Gem::Version
1105
- version: '0'
1121
+ version: 1.3.1
1106
1122
  requirements: []
1107
1123
  rubyforge_project:
1108
1124
  rubygems_version: 2.5.1
@@ -1,29 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: grpc/health/v1alpha/health.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "grpc.health.v1alpha.HealthCheckRequest" do
8
- optional :host, :string, 1
9
- optional :service, :string, 2
10
- end
11
- add_message "grpc.health.v1alpha.HealthCheckResponse" do
12
- optional :status, :enum, 1, "grpc.health.v1alpha.HealthCheckResponse.ServingStatus"
13
- end
14
- add_enum "grpc.health.v1alpha.HealthCheckResponse.ServingStatus" do
15
- value :UNKNOWN, 0
16
- value :SERVING, 1
17
- value :NOT_SERVING, 2
18
- end
19
- end
20
-
21
- module Grpc
22
- module Health
23
- module V1alpha
24
- HealthCheckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1alpha.HealthCheckRequest").msgclass
25
- HealthCheckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1alpha.HealthCheckResponse").msgclass
26
- HealthCheckResponse::ServingStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("grpc.health.v1alpha.HealthCheckResponse.ServingStatus").enummodule
27
- end
28
- end
29
- end