twirbet 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/lib/twirbet/version.rb +1 -1
  3. metadata +1 -122
  4. data/.rspec +0 -3
  5. data/.rubocop.yml +0 -20
  6. data/CHANGELOG.md +0 -5
  7. data/Gemfile +0 -28
  8. data/Gemfile.lock +0 -127
  9. data/Rakefile +0 -17
  10. data/examples/clientcompat/client +0 -28
  11. data/examples/clientcompat/clientcompat.proto +0 -29
  12. data/examples/clientcompat/clientcompat_pb.rb +0 -36
  13. data/examples/clientcompat/clientcompat_twirbet.rb +0 -57
  14. data/examples/ping/Gemfile +0 -11
  15. data/examples/ping/Gemfile.lock +0 -69
  16. data/examples/ping/bin/puma +0 -27
  17. data/examples/ping/bin/pumactl +0 -27
  18. data/examples/ping/bin/srb +0 -27
  19. data/examples/ping/bin/srb-rbi +0 -27
  20. data/examples/ping/bin/tapioca +0 -27
  21. data/examples/ping/client.rb +0 -14
  22. data/examples/ping/config/application.rb +0 -13
  23. data/examples/ping/config/environment.rb +0 -6
  24. data/examples/ping/config.ru +0 -8
  25. data/examples/ping/proto/ping.proto +0 -15
  26. data/examples/ping/proto/ping_pb.rb +0 -20
  27. data/examples/ping/proto/ping_twirbet.rb +0 -47
  28. data/examples/ping/sorbet/config +0 -4
  29. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/extension_range.rbi +0 -34
  30. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/reserved_range.rbi +0 -22
  31. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto.rbi +0 -83
  32. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto/enum_reserved_range.rbi +0 -22
  33. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto.rbi +0 -48
  34. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_options.rbi +0 -34
  35. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_descriptor_proto.rbi +0 -34
  36. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_options.rbi +0 -27
  37. data/examples/ping/sorbet/rbi/dsl/google/protobuf/extension_range_options.rbi +0 -20
  38. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/label.rbi +0 -22
  39. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/type.rbi +0 -37
  40. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto.rbi +0 -90
  41. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/c_type.rbi +0 -22
  42. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/js_type.rbi +0 -22
  43. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options.rbi +0 -69
  44. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_proto.rbi +0 -97
  45. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_set.rbi +0 -20
  46. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options/optimize_mode.rbi +0 -22
  47. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options.rbi +0 -160
  48. data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info/annotation.rbi +0 -41
  49. data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info.rbi +0 -20
  50. data/examples/ping/sorbet/rbi/dsl/google/protobuf/map.rbi +0 -12
  51. data/examples/ping/sorbet/rbi/dsl/google/protobuf/message_options.rbi +0 -48
  52. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_descriptor_proto.rbi +0 -55
  53. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options/idempotency_level.rbi +0 -22
  54. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options.rbi +0 -34
  55. data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_descriptor_proto.rbi +0 -22
  56. data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_options.rbi +0 -20
  57. data/examples/ping/sorbet/rbi/dsl/google/protobuf/repeated_field.rbi +0 -11
  58. data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_descriptor_proto.rbi +0 -34
  59. data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_options.rbi +0 -27
  60. data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info/location.rbi +0 -48
  61. data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info.rbi +0 -20
  62. data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option/name_part.rbi +0 -22
  63. data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option.rbi +0 -62
  64. data/examples/ping/sorbet/rbi/dsl/ping/ping_request.rbi +0 -16
  65. data/examples/ping/sorbet/rbi/dsl/ping/ping_response.rbi +0 -16
  66. data/examples/ping/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  67. data/examples/ping/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -8
  68. data/examples/ping/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +0 -1645
  69. data/examples/ping/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  70. data/examples/ping/sorbet/rbi/gems/nio4r@2.5.8.rbi +0 -8
  71. data/examples/ping/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -277
  72. data/examples/ping/sorbet/rbi/gems/parser@3.1.3.0.rbi +0 -5076
  73. data/examples/ping/sorbet/rbi/gems/puma@6.0.0.rbi +0 -4177
  74. data/examples/ping/sorbet/rbi/gems/rack@3.0.2.rbi +0 -5016
  75. data/examples/ping/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -3008
  76. data/examples/ping/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -2383
  77. data/examples/ping/sorbet/rbi/gems/tapioca@0.10.3.rbi +0 -3032
  78. data/examples/ping/sorbet/rbi/gems/thor@1.2.1.rbi +0 -3919
  79. data/examples/ping/sorbet/rbi/gems/twirbet@0.1.0.rbi +0 -528
  80. data/examples/ping/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -8
  81. data/examples/ping/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
  82. data/examples/ping/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +0 -391
  83. data/examples/ping/sorbet/rbi/gems/yard@0.9.28.rbi +0 -17022
  84. data/examples/ping/sorbet/tapioca/config.yml +0 -13
  85. data/examples/ping/sorbet/tapioca/require.rb +0 -5
  86. data/sorbet/config +0 -5
  87. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  88. data/sorbet/rbi/custom/ping.rbi +0 -23
  89. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  90. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1064
  91. data/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +0 -1645
  92. data/sorbet/rbi/gems/json@2.6.3.rbi +0 -1541
  93. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  94. data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -277
  95. data/sorbet/rbi/gems/parser@3.1.3.0.rbi +0 -6878
  96. data/sorbet/rbi/gems/rack@3.0.2.rbi +0 -5163
  97. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -397
  98. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -2946
  99. data/sorbet/rbi/gems/rbi@0.0.16.rbi +0 -3008
  100. data/sorbet/rbi/gems/regexp_parser@2.6.1.rbi +0 -3126
  101. data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -4660
  102. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +0 -10492
  103. data/sorbet/rbi/gems/rspec-expectations@3.12.1.rbi +0 -7817
  104. data/sorbet/rbi/gems/rspec-mocks@3.12.1.rbi +0 -4994
  105. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +0 -1477
  106. data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -10
  107. data/sorbet/rbi/gems/rubocop-ast@1.24.0.rbi +0 -6790
  108. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -354
  109. data/sorbet/rbi/gems/rubocop-rspec@2.16.0.rbi +0 -7650
  110. data/sorbet/rbi/gems/rubocop-shopify@2.10.1.rbi +0 -8
  111. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +0 -1014
  112. data/sorbet/rbi/gems/rubocop@1.40.0.rbi +0 -51560
  113. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -1212
  114. data/sorbet/rbi/gems/spoom@1.1.15.rbi +0 -2383
  115. data/sorbet/rbi/gems/tapioca@0.10.3.rbi +0 -3032
  116. data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -3950
  117. data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +0 -46
  118. data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -4265
  119. data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -2498
  120. data/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +0 -391
  121. data/sorbet/rbi/gems/yard@0.9.28.rbi +0 -17033
  122. data/sorbet/tapioca/config.yml +0 -13
  123. data/sorbet/tapioca/require.rb +0 -4
  124. data/twirbet.gemspec +0 -36
@@ -1,1645 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `google-protobuf` gem.
5
- # Please instead update this file by running `bin/tapioca gem google-protobuf`.
6
-
7
- # We define these before requiring the platform-specific modules.
8
- # That way the module init can grab references to these.
9
- #
10
- # source://google-protobuf//lib/google/protobuf/message_exts.rb#31
11
- module Google; end
12
-
13
- # source://google-protobuf//lib/google/protobuf/message_exts.rb#32
14
- module Google::Protobuf
15
- class << self
16
- # source://google-protobuf//lib/google/protobuf.rb#70
17
- def decode(klass, proto, options = T.unsafe(nil)); end
18
-
19
- # source://google-protobuf//lib/google/protobuf.rb#74
20
- def decode_json(klass, json, options = T.unsafe(nil)); end
21
-
22
- def deep_copy(_arg0); end
23
- def discard_unknown(_arg0); end
24
-
25
- # source://google-protobuf//lib/google/protobuf.rb#62
26
- def encode(msg, options = T.unsafe(nil)); end
27
-
28
- # source://google-protobuf//lib/google/protobuf.rb#66
29
- def encode_json(msg, options = T.unsafe(nil)); end
30
- end
31
- end
32
-
33
- class Google::Protobuf::Descriptor
34
- include ::Enumerable
35
-
36
- def initialize(_arg0, _arg1, _arg2); end
37
-
38
- def each; end
39
- def each_oneof; end
40
- def file_descriptor; end
41
- def lookup(_arg0); end
42
- def lookup_oneof(_arg0); end
43
- def msgclass; end
44
- def name; end
45
- end
46
-
47
- # Re-open the class (the rest of the class is implemented in C)
48
- #
49
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#457
50
- class Google::Protobuf::DescriptorPool
51
- def add_serialized_file(_arg0); end
52
-
53
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#458
54
- def build(&block); end
55
-
56
- def lookup(_arg0); end
57
-
58
- class << self
59
- def generated_pool; end
60
- end
61
- end
62
-
63
- class Google::Protobuf::DescriptorProto
64
- include ::Google::Protobuf::MessageExts
65
- extend ::Google::Protobuf::MessageExts::ClassMethods
66
-
67
- def initialize(*_arg0); end
68
-
69
- def ==(_arg0); end
70
- def [](_arg0); end
71
- def []=(_arg0, _arg1); end
72
- def clone; end
73
- def dup; end
74
- def eql?(_arg0); end
75
- def freeze; end
76
- def hash; end
77
- def inspect; end
78
- def method_missing(*_arg0); end
79
- def to_h; end
80
- def to_s; end
81
-
82
- private
83
-
84
- def respond_to_missing?(*_arg0); end
85
-
86
- class << self
87
- def decode(*_arg0); end
88
- def decode_json(*_arg0); end
89
- def descriptor; end
90
- def encode(*_arg0); end
91
- def encode_json(*_arg0); end
92
- end
93
- end
94
-
95
- class Google::Protobuf::DescriptorProto::ExtensionRange
96
- include ::Google::Protobuf::MessageExts
97
- extend ::Google::Protobuf::MessageExts::ClassMethods
98
-
99
- def initialize(*_arg0); end
100
-
101
- def ==(_arg0); end
102
- def [](_arg0); end
103
- def []=(_arg0, _arg1); end
104
- def clone; end
105
- def dup; end
106
- def eql?(_arg0); end
107
- def freeze; end
108
- def hash; end
109
- def inspect; end
110
- def method_missing(*_arg0); end
111
- def to_h; end
112
- def to_s; end
113
-
114
- private
115
-
116
- def respond_to_missing?(*_arg0); end
117
-
118
- class << self
119
- def decode(*_arg0); end
120
- def decode_json(*_arg0); end
121
- def descriptor; end
122
- def encode(*_arg0); end
123
- def encode_json(*_arg0); end
124
- end
125
- end
126
-
127
- class Google::Protobuf::DescriptorProto::ReservedRange
128
- include ::Google::Protobuf::MessageExts
129
- extend ::Google::Protobuf::MessageExts::ClassMethods
130
-
131
- def initialize(*_arg0); end
132
-
133
- def ==(_arg0); end
134
- def [](_arg0); end
135
- def []=(_arg0, _arg1); end
136
- def clone; end
137
- def dup; end
138
- def eql?(_arg0); end
139
- def freeze; end
140
- def hash; end
141
- def inspect; end
142
- def method_missing(*_arg0); end
143
- def to_h; end
144
- def to_s; end
145
-
146
- private
147
-
148
- def respond_to_missing?(*_arg0); end
149
-
150
- class << self
151
- def decode(*_arg0); end
152
- def decode_json(*_arg0); end
153
- def descriptor; end
154
- def encode(*_arg0); end
155
- def encode_json(*_arg0); end
156
- end
157
- end
158
-
159
- class Google::Protobuf::EnumDescriptor
160
- include ::Enumerable
161
-
162
- def initialize(_arg0, _arg1, _arg2); end
163
-
164
- def each; end
165
- def enummodule; end
166
- def file_descriptor; end
167
- def lookup_name(_arg0); end
168
- def lookup_value(_arg0); end
169
- def name; end
170
- end
171
-
172
- class Google::Protobuf::EnumDescriptorProto
173
- include ::Google::Protobuf::MessageExts
174
- extend ::Google::Protobuf::MessageExts::ClassMethods
175
-
176
- def initialize(*_arg0); end
177
-
178
- def ==(_arg0); end
179
- def [](_arg0); end
180
- def []=(_arg0, _arg1); end
181
- def clone; end
182
- def dup; end
183
- def eql?(_arg0); end
184
- def freeze; end
185
- def hash; end
186
- def inspect; end
187
- def method_missing(*_arg0); end
188
- def to_h; end
189
- def to_s; end
190
-
191
- private
192
-
193
- def respond_to_missing?(*_arg0); end
194
-
195
- class << self
196
- def decode(*_arg0); end
197
- def decode_json(*_arg0); end
198
- def descriptor; end
199
- def encode(*_arg0); end
200
- def encode_json(*_arg0); end
201
- end
202
- end
203
-
204
- class Google::Protobuf::EnumDescriptorProto::EnumReservedRange
205
- include ::Google::Protobuf::MessageExts
206
- extend ::Google::Protobuf::MessageExts::ClassMethods
207
-
208
- def initialize(*_arg0); end
209
-
210
- def ==(_arg0); end
211
- def [](_arg0); end
212
- def []=(_arg0, _arg1); end
213
- def clone; end
214
- def dup; end
215
- def eql?(_arg0); end
216
- def freeze; end
217
- def hash; end
218
- def inspect; end
219
- def method_missing(*_arg0); end
220
- def to_h; end
221
- def to_s; end
222
-
223
- private
224
-
225
- def respond_to_missing?(*_arg0); end
226
-
227
- class << self
228
- def decode(*_arg0); end
229
- def decode_json(*_arg0); end
230
- def descriptor; end
231
- def encode(*_arg0); end
232
- def encode_json(*_arg0); end
233
- end
234
- end
235
-
236
- class Google::Protobuf::EnumOptions
237
- include ::Google::Protobuf::MessageExts
238
- extend ::Google::Protobuf::MessageExts::ClassMethods
239
-
240
- def initialize(*_arg0); end
241
-
242
- def ==(_arg0); end
243
- def [](_arg0); end
244
- def []=(_arg0, _arg1); end
245
- def clone; end
246
- def dup; end
247
- def eql?(_arg0); end
248
- def freeze; end
249
- def hash; end
250
- def inspect; end
251
- def method_missing(*_arg0); end
252
- def to_h; end
253
- def to_s; end
254
-
255
- private
256
-
257
- def respond_to_missing?(*_arg0); end
258
-
259
- class << self
260
- def decode(*_arg0); end
261
- def decode_json(*_arg0); end
262
- def descriptor; end
263
- def encode(*_arg0); end
264
- def encode_json(*_arg0); end
265
- end
266
- end
267
-
268
- class Google::Protobuf::EnumValueDescriptorProto
269
- include ::Google::Protobuf::MessageExts
270
- extend ::Google::Protobuf::MessageExts::ClassMethods
271
-
272
- def initialize(*_arg0); end
273
-
274
- def ==(_arg0); end
275
- def [](_arg0); end
276
- def []=(_arg0, _arg1); end
277
- def clone; end
278
- def dup; end
279
- def eql?(_arg0); end
280
- def freeze; end
281
- def hash; end
282
- def inspect; end
283
- def method_missing(*_arg0); end
284
- def to_h; end
285
- def to_s; end
286
-
287
- private
288
-
289
- def respond_to_missing?(*_arg0); end
290
-
291
- class << self
292
- def decode(*_arg0); end
293
- def decode_json(*_arg0); end
294
- def descriptor; end
295
- def encode(*_arg0); end
296
- def encode_json(*_arg0); end
297
- end
298
- end
299
-
300
- class Google::Protobuf::EnumValueOptions
301
- include ::Google::Protobuf::MessageExts
302
- extend ::Google::Protobuf::MessageExts::ClassMethods
303
-
304
- def initialize(*_arg0); end
305
-
306
- def ==(_arg0); end
307
- def [](_arg0); end
308
- def []=(_arg0, _arg1); end
309
- def clone; end
310
- def dup; end
311
- def eql?(_arg0); end
312
- def freeze; end
313
- def hash; end
314
- def inspect; end
315
- def method_missing(*_arg0); end
316
- def to_h; end
317
- def to_s; end
318
-
319
- private
320
-
321
- def respond_to_missing?(*_arg0); end
322
-
323
- class << self
324
- def decode(*_arg0); end
325
- def decode_json(*_arg0); end
326
- def descriptor; end
327
- def encode(*_arg0); end
328
- def encode_json(*_arg0); end
329
- end
330
- end
331
-
332
- # source://google-protobuf//lib/google/protobuf.rb#38
333
- class Google::Protobuf::Error < ::StandardError; end
334
-
335
- class Google::Protobuf::ExtensionRangeOptions
336
- include ::Google::Protobuf::MessageExts
337
- extend ::Google::Protobuf::MessageExts::ClassMethods
338
-
339
- def initialize(*_arg0); end
340
-
341
- def ==(_arg0); end
342
- def [](_arg0); end
343
- def []=(_arg0, _arg1); end
344
- def clone; end
345
- def dup; end
346
- def eql?(_arg0); end
347
- def freeze; end
348
- def hash; end
349
- def inspect; end
350
- def method_missing(*_arg0); end
351
- def to_h; end
352
- def to_s; end
353
-
354
- private
355
-
356
- def respond_to_missing?(*_arg0); end
357
-
358
- class << self
359
- def decode(*_arg0); end
360
- def decode_json(*_arg0); end
361
- def descriptor; end
362
- def encode(*_arg0); end
363
- def encode_json(*_arg0); end
364
- end
365
- end
366
-
367
- class Google::Protobuf::FieldDescriptor
368
- def initialize(_arg0, _arg1, _arg2); end
369
-
370
- def clear(_arg0); end
371
- def default; end
372
- def get(_arg0); end
373
- def has?(_arg0); end
374
- def json_name; end
375
- def label; end
376
- def name; end
377
- def number; end
378
- def set(_arg0, _arg1); end
379
- def submsg_name; end
380
- def subtype; end
381
- def type; end
382
- end
383
-
384
- class Google::Protobuf::FieldDescriptorProto
385
- include ::Google::Protobuf::MessageExts
386
- extend ::Google::Protobuf::MessageExts::ClassMethods
387
-
388
- def initialize(*_arg0); end
389
-
390
- def ==(_arg0); end
391
- def [](_arg0); end
392
- def []=(_arg0, _arg1); end
393
- def clone; end
394
- def dup; end
395
- def eql?(_arg0); end
396
- def freeze; end
397
- def hash; end
398
- def inspect; end
399
- def method_missing(*_arg0); end
400
- def to_h; end
401
- def to_s; end
402
-
403
- private
404
-
405
- def respond_to_missing?(*_arg0); end
406
-
407
- class << self
408
- def decode(*_arg0); end
409
- def decode_json(*_arg0); end
410
- def descriptor; end
411
- def encode(*_arg0); end
412
- def encode_json(*_arg0); end
413
- end
414
- end
415
-
416
- module Google::Protobuf::FieldDescriptorProto::Label
417
- class << self
418
- def descriptor; end
419
- def lookup(_arg0); end
420
- def resolve(_arg0); end
421
- end
422
- end
423
-
424
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#19
425
- Google::Protobuf::FieldDescriptorProto::Label::LABEL_OPTIONAL = T.let(T.unsafe(nil), Integer)
426
-
427
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#19
428
- Google::Protobuf::FieldDescriptorProto::Label::LABEL_REPEATED = T.let(T.unsafe(nil), Integer)
429
-
430
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#19
431
- Google::Protobuf::FieldDescriptorProto::Label::LABEL_REQUIRED = T.let(T.unsafe(nil), Integer)
432
-
433
- module Google::Protobuf::FieldDescriptorProto::Type
434
- class << self
435
- def descriptor; end
436
- def lookup(_arg0); end
437
- def resolve(_arg0); end
438
- end
439
- end
440
-
441
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
442
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_BOOL = T.let(T.unsafe(nil), Integer)
443
-
444
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
445
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_BYTES = T.let(T.unsafe(nil), Integer)
446
-
447
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
448
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_DOUBLE = T.let(T.unsafe(nil), Integer)
449
-
450
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
451
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_ENUM = T.let(T.unsafe(nil), Integer)
452
-
453
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
454
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_FIXED32 = T.let(T.unsafe(nil), Integer)
455
-
456
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
457
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_FIXED64 = T.let(T.unsafe(nil), Integer)
458
-
459
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
460
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_FLOAT = T.let(T.unsafe(nil), Integer)
461
-
462
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
463
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_GROUP = T.let(T.unsafe(nil), Integer)
464
-
465
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
466
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_INT32 = T.let(T.unsafe(nil), Integer)
467
-
468
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
469
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_INT64 = T.let(T.unsafe(nil), Integer)
470
-
471
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
472
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_MESSAGE = T.let(T.unsafe(nil), Integer)
473
-
474
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
475
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_SFIXED32 = T.let(T.unsafe(nil), Integer)
476
-
477
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
478
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_SFIXED64 = T.let(T.unsafe(nil), Integer)
479
-
480
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
481
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_SINT32 = T.let(T.unsafe(nil), Integer)
482
-
483
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
484
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_SINT64 = T.let(T.unsafe(nil), Integer)
485
-
486
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
487
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_STRING = T.let(T.unsafe(nil), Integer)
488
-
489
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
490
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_UINT32 = T.let(T.unsafe(nil), Integer)
491
-
492
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#18
493
- Google::Protobuf::FieldDescriptorProto::Type::TYPE_UINT64 = T.let(T.unsafe(nil), Integer)
494
-
495
- class Google::Protobuf::FieldOptions
496
- include ::Google::Protobuf::MessageExts
497
- extend ::Google::Protobuf::MessageExts::ClassMethods
498
-
499
- def initialize(*_arg0); end
500
-
501
- def ==(_arg0); end
502
- def [](_arg0); end
503
- def []=(_arg0, _arg1); end
504
- def clone; end
505
- def dup; end
506
- def eql?(_arg0); end
507
- def freeze; end
508
- def hash; end
509
- def inspect; end
510
- def method_missing(*_arg0); end
511
- def to_h; end
512
- def to_s; end
513
-
514
- private
515
-
516
- def respond_to_missing?(*_arg0); end
517
-
518
- class << self
519
- def decode(*_arg0); end
520
- def decode_json(*_arg0); end
521
- def descriptor; end
522
- def encode(*_arg0); end
523
- def encode_json(*_arg0); end
524
- end
525
- end
526
-
527
- module Google::Protobuf::FieldOptions::CType
528
- class << self
529
- def descriptor; end
530
- def lookup(_arg0); end
531
- def resolve(_arg0); end
532
- end
533
- end
534
-
535
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#30
536
- Google::Protobuf::FieldOptions::CType::CORD = T.let(T.unsafe(nil), Integer)
537
-
538
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#30
539
- Google::Protobuf::FieldOptions::CType::STRING = T.let(T.unsafe(nil), Integer)
540
-
541
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#30
542
- Google::Protobuf::FieldOptions::CType::STRING_PIECE = T.let(T.unsafe(nil), Integer)
543
-
544
- module Google::Protobuf::FieldOptions::JSType
545
- class << self
546
- def descriptor; end
547
- def lookup(_arg0); end
548
- def resolve(_arg0); end
549
- end
550
- end
551
-
552
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#31
553
- Google::Protobuf::FieldOptions::JSType::JS_NORMAL = T.let(T.unsafe(nil), Integer)
554
-
555
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#31
556
- Google::Protobuf::FieldOptions::JSType::JS_NUMBER = T.let(T.unsafe(nil), Integer)
557
-
558
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#31
559
- Google::Protobuf::FieldOptions::JSType::JS_STRING = T.let(T.unsafe(nil), Integer)
560
-
561
- class Google::Protobuf::FileDescriptor
562
- def initialize(_arg0, _arg1, _arg2); end
563
-
564
- def name; end
565
- def syntax; end
566
- end
567
-
568
- class Google::Protobuf::FileDescriptorProto
569
- include ::Google::Protobuf::MessageExts
570
- extend ::Google::Protobuf::MessageExts::ClassMethods
571
-
572
- def initialize(*_arg0); end
573
-
574
- def ==(_arg0); end
575
- def [](_arg0); end
576
- def []=(_arg0, _arg1); end
577
- def clone; end
578
- def dup; end
579
- def eql?(_arg0); end
580
- def freeze; end
581
- def hash; end
582
- def inspect; end
583
- def method_missing(*_arg0); end
584
- def to_h; end
585
- def to_s; end
586
-
587
- private
588
-
589
- def respond_to_missing?(*_arg0); end
590
-
591
- class << self
592
- def decode(*_arg0); end
593
- def decode_json(*_arg0); end
594
- def descriptor; end
595
- def encode(*_arg0); end
596
- def encode_json(*_arg0); end
597
- end
598
- end
599
-
600
- class Google::Protobuf::FileDescriptorSet
601
- include ::Google::Protobuf::MessageExts
602
- extend ::Google::Protobuf::MessageExts::ClassMethods
603
-
604
- def initialize(*_arg0); end
605
-
606
- def ==(_arg0); end
607
- def [](_arg0); end
608
- def []=(_arg0, _arg1); end
609
- def clone; end
610
- def dup; end
611
- def eql?(_arg0); end
612
- def freeze; end
613
- def hash; end
614
- def inspect; end
615
- def method_missing(*_arg0); end
616
- def to_h; end
617
- def to_s; end
618
-
619
- private
620
-
621
- def respond_to_missing?(*_arg0); end
622
-
623
- class << self
624
- def decode(*_arg0); end
625
- def decode_json(*_arg0); end
626
- def descriptor; end
627
- def encode(*_arg0); end
628
- def encode_json(*_arg0); end
629
- end
630
- end
631
-
632
- class Google::Protobuf::FileOptions
633
- include ::Google::Protobuf::MessageExts
634
- extend ::Google::Protobuf::MessageExts::ClassMethods
635
-
636
- def initialize(*_arg0); end
637
-
638
- def ==(_arg0); end
639
- def [](_arg0); end
640
- def []=(_arg0, _arg1); end
641
- def clone; end
642
- def dup; end
643
- def eql?(_arg0); end
644
- def freeze; end
645
- def hash; end
646
- def inspect; end
647
- def method_missing(*_arg0); end
648
- def to_h; end
649
- def to_s; end
650
-
651
- private
652
-
653
- def respond_to_missing?(*_arg0); end
654
-
655
- class << self
656
- def decode(*_arg0); end
657
- def decode_json(*_arg0); end
658
- def descriptor; end
659
- def encode(*_arg0); end
660
- def encode_json(*_arg0); end
661
- end
662
- end
663
-
664
- module Google::Protobuf::FileOptions::OptimizeMode
665
- class << self
666
- def descriptor; end
667
- def lookup(_arg0); end
668
- def resolve(_arg0); end
669
- end
670
- end
671
-
672
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#27
673
- Google::Protobuf::FileOptions::OptimizeMode::CODE_SIZE = T.let(T.unsafe(nil), Integer)
674
-
675
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#27
676
- Google::Protobuf::FileOptions::OptimizeMode::LITE_RUNTIME = T.let(T.unsafe(nil), Integer)
677
-
678
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#27
679
- Google::Protobuf::FileOptions::OptimizeMode::SPEED = T.let(T.unsafe(nil), Integer)
680
-
681
- class Google::Protobuf::GeneratedCodeInfo
682
- include ::Google::Protobuf::MessageExts
683
- extend ::Google::Protobuf::MessageExts::ClassMethods
684
-
685
- def initialize(*_arg0); end
686
-
687
- def ==(_arg0); end
688
- def [](_arg0); end
689
- def []=(_arg0, _arg1); end
690
- def clone; end
691
- def dup; end
692
- def eql?(_arg0); end
693
- def freeze; end
694
- def hash; end
695
- def inspect; end
696
- def method_missing(*_arg0); end
697
- def to_h; end
698
- def to_s; end
699
-
700
- private
701
-
702
- def respond_to_missing?(*_arg0); end
703
-
704
- class << self
705
- def decode(*_arg0); end
706
- def decode_json(*_arg0); end
707
- def descriptor; end
708
- def encode(*_arg0); end
709
- def encode_json(*_arg0); end
710
- end
711
- end
712
-
713
- class Google::Protobuf::GeneratedCodeInfo::Annotation
714
- include ::Google::Protobuf::MessageExts
715
- extend ::Google::Protobuf::MessageExts::ClassMethods
716
-
717
- def initialize(*_arg0); end
718
-
719
- def ==(_arg0); end
720
- def [](_arg0); end
721
- def []=(_arg0, _arg1); end
722
- def clone; end
723
- def dup; end
724
- def eql?(_arg0); end
725
- def freeze; end
726
- def hash; end
727
- def inspect; end
728
- def method_missing(*_arg0); end
729
- def to_h; end
730
- def to_s; end
731
-
732
- private
733
-
734
- def respond_to_missing?(*_arg0); end
735
-
736
- class << self
737
- def decode(*_arg0); end
738
- def decode_json(*_arg0); end
739
- def descriptor; end
740
- def encode(*_arg0); end
741
- def encode_json(*_arg0); end
742
- end
743
- end
744
-
745
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#16
746
- module Google::Protobuf::Internal; end
747
-
748
- class Google::Protobuf::Internal::Arena; end
749
-
750
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#17
751
- class Google::Protobuf::Internal::AtomicCounter
752
- # @return [AtomicCounter] a new instance of AtomicCounter
753
- #
754
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#18
755
- def initialize; end
756
-
757
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#23
758
- def get_and_increment; end
759
- end
760
-
761
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#32
762
- class Google::Protobuf::Internal::Builder
763
- # @return [Builder] a new instance of Builder
764
- #
765
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#35
766
- def initialize(pool); end
767
-
768
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#50
769
- def add_enum(name, &block); end
770
-
771
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#40
772
- def add_file(name, options = T.unsafe(nil), &block); end
773
-
774
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#46
775
- def add_message(name, &block); end
776
-
777
- # ---- Internal methods, not part of the DSL ----
778
- #
779
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#56
780
- def build; end
781
-
782
- private
783
-
784
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#62
785
- def internal_add_file(file_builder); end
786
-
787
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#68
788
- def internal_default_file; end
789
- end
790
-
791
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#437
792
- class Google::Protobuf::Internal::EnumBuilder
793
- # @return [EnumBuilder] a new instance of EnumBuilder
794
- #
795
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#438
796
- def initialize(name, file_proto); end
797
-
798
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#445
799
- def value(name, number); end
800
- end
801
-
802
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#75
803
- class Google::Protobuf::Internal::FileBuilder
804
- # @return [FileBuilder] a new instance of FileBuilder
805
- #
806
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#76
807
- def initialize(pool, name, options = T.unsafe(nil)); end
808
-
809
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#90
810
- def add_enum(name, &block); end
811
-
812
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#84
813
- def add_message(name, &block); end
814
-
815
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#282
816
- def build; end
817
-
818
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#240
819
- def fix_nesting; end
820
-
821
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#232
822
- def get_parent_msg(msgs_by_name, name, parent_name); end
823
-
824
- # The DSL can omit a package name; here we infer what the package is if
825
- # was not specified.
826
- #
827
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#101
828
- def infer_package(names); end
829
-
830
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#278
831
- def internal_file_proto; end
832
-
833
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#118
834
- def rewrite_enum_default(field); end
835
-
836
- # Historically we allowed enum defaults to be specified as a number.
837
- # In retrospect this was a mistake as descriptors require defaults to
838
- # be specified as a label. This can make a difference if multiple
839
- # labels have the same number.
840
- #
841
- # Here we do a pass over all enum defaults and rewrite numeric defaults
842
- # by looking up their labels. This is complicated by the fact that the
843
- # enum definition can live in either the symtab or the file_proto.
844
- #
845
- # We take advantage of the fact that this is called *before* enums or
846
- # messages are nested in other messages, so we only have to iterate
847
- # one level deep.
848
- #
849
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#175
850
- def rewrite_enum_defaults; end
851
-
852
- # We have to do some relatively complicated logic here for backward
853
- # compatibility.
854
- #
855
- # In descriptor.proto, messages are nested inside other messages if that is
856
- # what the original .proto file looks like. For example, suppose we have this
857
- # foo.proto:
858
- #
859
- # package foo;
860
- # message Bar {
861
- # message Baz {}
862
- # }
863
- #
864
- # The descriptor for this must look like this:
865
- #
866
- # file {
867
- # name: "test.proto"
868
- # package: "foo"
869
- # message_type {
870
- # name: "Bar"
871
- # nested_type {
872
- # name: "Baz"
873
- # }
874
- # }
875
- # }
876
- #
877
- # However, the Ruby generated code has always generated messages in a flat,
878
- # non-nested way:
879
- #
880
- # Google::Protobuf::DescriptorPool.generated_pool.build do
881
- # add_message "foo.Bar" do
882
- # end
883
- # add_message "foo.Bar.Baz" do
884
- # end
885
- # end
886
- #
887
- # Here we need to do a translation where we turn this generated code into the
888
- # above descriptor. We need to infer that "foo" is the package name, and not
889
- # a message itself. */
890
- #
891
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#222
892
- def split_parent_name(msg_or_enum); end
893
- end
894
-
895
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#289
896
- class Google::Protobuf::Internal::MessageBuilder
897
- # @return [MessageBuilder] a new instance of MessageBuilder
898
- #
899
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#290
900
- def initialize(name, file_builder, file_proto); end
901
-
902
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#366
903
- def internal_add_field(label, name, type, number, type_class, options, oneof_index: T.unsafe(nil), proto3_optional: T.unsafe(nil)); end
904
-
905
- # ---- Internal methods, not part of the DSL ----
906
- #
907
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#343
908
- def internal_add_synthetic_oneofs; end
909
-
910
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#414
911
- def internal_msg_proto; end
912
-
913
- # Defines a new map field on this message type with the given key and
914
- # value types, tag number, and type class (for message and enum value
915
- # types). The key type must be :int32/:uint32/:int64/:uint64, :bool, or
916
- # :string. The value type type must be a Ruby symbol (as accepted by
917
- # FieldDescriptor#type=) and the type_class must be a string, if
918
- # present (as accepted by FieldDescriptor#submsg_name=).
919
- #
920
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#325
921
- def map(name, key_type, value_type, number, value_type_class = T.unsafe(nil)); end
922
-
923
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#315
924
- def oneof(name, &block); end
925
-
926
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#298
927
- def optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end
928
-
929
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#302
930
- def proto3_optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end
931
-
932
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#311
933
- def repeated(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end
934
-
935
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#307
936
- def required(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end
937
- end
938
-
939
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#419
940
- class Google::Protobuf::Internal::OneofBuilder
941
- # @return [OneofBuilder] a new instance of OneofBuilder
942
- #
943
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#420
944
- def initialize(name, msg_builder); end
945
-
946
- # source://google-protobuf//lib/google/protobuf/descriptor_dsl.rb#430
947
- def optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end
948
- end
949
-
950
- class Google::Protobuf::Map
951
- include ::Enumerable
952
-
953
- def initialize(*_arg0); end
954
-
955
- def ==(_arg0); end
956
- def [](_arg0); end
957
- def []=(_arg0, _arg1); end
958
- def clear; end
959
- def clone; end
960
- def delete(_arg0); end
961
- def dup; end
962
- def each; end
963
- def freeze; end
964
- def has_key?(_arg0); end
965
- def hash; end
966
- def inspect; end
967
- def keys; end
968
- def length; end
969
- def merge(_arg0); end
970
- def size; end
971
- def to_h; end
972
- def values; end
973
- end
974
-
975
- # source://google-protobuf//lib/google/protobuf/message_exts.rb#33
976
- module Google::Protobuf::MessageExts
977
- mixes_in_class_methods ::Google::Protobuf::MessageExts::ClassMethods
978
-
979
- # source://google-protobuf//lib/google/protobuf/message_exts.rb#43
980
- def to_json(options = T.unsafe(nil)); end
981
-
982
- # source://google-protobuf//lib/google/protobuf/message_exts.rb#47
983
- def to_proto(options = T.unsafe(nil)); end
984
-
985
- class << self
986
- # this is only called in jruby; mri loades the ClassMethods differently
987
- #
988
- # source://google-protobuf//lib/google/protobuf/message_exts.rb#36
989
- def included(klass); end
990
- end
991
- end
992
-
993
- # source://google-protobuf//lib/google/protobuf/message_exts.rb#40
994
- module Google::Protobuf::MessageExts::ClassMethods; end
995
-
996
- class Google::Protobuf::MessageOptions
997
- include ::Google::Protobuf::MessageExts
998
- extend ::Google::Protobuf::MessageExts::ClassMethods
999
-
1000
- def initialize(*_arg0); end
1001
-
1002
- def ==(_arg0); end
1003
- def [](_arg0); end
1004
- def []=(_arg0, _arg1); end
1005
- def clone; end
1006
- def dup; end
1007
- def eql?(_arg0); end
1008
- def freeze; end
1009
- def hash; end
1010
- def inspect; end
1011
- def method_missing(*_arg0); end
1012
- def to_h; end
1013
- def to_s; end
1014
-
1015
- private
1016
-
1017
- def respond_to_missing?(*_arg0); end
1018
-
1019
- class << self
1020
- def decode(*_arg0); end
1021
- def decode_json(*_arg0); end
1022
- def descriptor; end
1023
- def encode(*_arg0); end
1024
- def encode_json(*_arg0); end
1025
- end
1026
- end
1027
-
1028
- class Google::Protobuf::MethodDescriptorProto
1029
- include ::Google::Protobuf::MessageExts
1030
- extend ::Google::Protobuf::MessageExts::ClassMethods
1031
-
1032
- def initialize(*_arg0); end
1033
-
1034
- def ==(_arg0); end
1035
- def [](_arg0); end
1036
- def []=(_arg0, _arg1); end
1037
- def clone; end
1038
- def dup; end
1039
- def eql?(_arg0); end
1040
- def freeze; end
1041
- def hash; end
1042
- def inspect; end
1043
- def method_missing(*_arg0); end
1044
- def to_h; end
1045
- def to_s; end
1046
-
1047
- private
1048
-
1049
- def respond_to_missing?(*_arg0); end
1050
-
1051
- class << self
1052
- def decode(*_arg0); end
1053
- def decode_json(*_arg0); end
1054
- def descriptor; end
1055
- def encode(*_arg0); end
1056
- def encode_json(*_arg0); end
1057
- end
1058
- end
1059
-
1060
- class Google::Protobuf::MethodOptions
1061
- include ::Google::Protobuf::MessageExts
1062
- extend ::Google::Protobuf::MessageExts::ClassMethods
1063
-
1064
- def initialize(*_arg0); end
1065
-
1066
- def ==(_arg0); end
1067
- def [](_arg0); end
1068
- def []=(_arg0, _arg1); end
1069
- def clone; end
1070
- def dup; end
1071
- def eql?(_arg0); end
1072
- def freeze; end
1073
- def hash; end
1074
- def inspect; end
1075
- def method_missing(*_arg0); end
1076
- def to_h; end
1077
- def to_s; end
1078
-
1079
- private
1080
-
1081
- def respond_to_missing?(*_arg0); end
1082
-
1083
- class << self
1084
- def decode(*_arg0); end
1085
- def decode_json(*_arg0); end
1086
- def descriptor; end
1087
- def encode(*_arg0); end
1088
- def encode_json(*_arg0); end
1089
- end
1090
- end
1091
-
1092
- module Google::Protobuf::MethodOptions::IdempotencyLevel
1093
- class << self
1094
- def descriptor; end
1095
- def lookup(_arg0); end
1096
- def resolve(_arg0); end
1097
- end
1098
- end
1099
-
1100
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#37
1101
- Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENCY_UNKNOWN = T.let(T.unsafe(nil), Integer)
1102
-
1103
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#37
1104
- Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENT = T.let(T.unsafe(nil), Integer)
1105
-
1106
- # source://google-protobuf//lib/google/protobuf/descriptor_pb.rb#37
1107
- Google::Protobuf::MethodOptions::IdempotencyLevel::NO_SIDE_EFFECTS = T.let(T.unsafe(nil), Integer)
1108
-
1109
- class Google::Protobuf::OneofDescriptor
1110
- include ::Enumerable
1111
-
1112
- def initialize(_arg0, _arg1, _arg2); end
1113
-
1114
- def each; end
1115
- def name; end
1116
- end
1117
-
1118
- class Google::Protobuf::OneofDescriptorProto
1119
- include ::Google::Protobuf::MessageExts
1120
- extend ::Google::Protobuf::MessageExts::ClassMethods
1121
-
1122
- def initialize(*_arg0); end
1123
-
1124
- def ==(_arg0); end
1125
- def [](_arg0); end
1126
- def []=(_arg0, _arg1); end
1127
- def clone; end
1128
- def dup; end
1129
- def eql?(_arg0); end
1130
- def freeze; end
1131
- def hash; end
1132
- def inspect; end
1133
- def method_missing(*_arg0); end
1134
- def to_h; end
1135
- def to_s; end
1136
-
1137
- private
1138
-
1139
- def respond_to_missing?(*_arg0); end
1140
-
1141
- class << self
1142
- def decode(*_arg0); end
1143
- def decode_json(*_arg0); end
1144
- def descriptor; end
1145
- def encode(*_arg0); end
1146
- def encode_json(*_arg0); end
1147
- end
1148
- end
1149
-
1150
- class Google::Protobuf::OneofOptions
1151
- include ::Google::Protobuf::MessageExts
1152
- extend ::Google::Protobuf::MessageExts::ClassMethods
1153
-
1154
- def initialize(*_arg0); end
1155
-
1156
- def ==(_arg0); end
1157
- def [](_arg0); end
1158
- def []=(_arg0, _arg1); end
1159
- def clone; end
1160
- def dup; end
1161
- def eql?(_arg0); end
1162
- def freeze; end
1163
- def hash; end
1164
- def inspect; end
1165
- def method_missing(*_arg0); end
1166
- def to_h; end
1167
- def to_s; end
1168
-
1169
- private
1170
-
1171
- def respond_to_missing?(*_arg0); end
1172
-
1173
- class << self
1174
- def decode(*_arg0); end
1175
- def decode_json(*_arg0); end
1176
- def descriptor; end
1177
- def encode(*_arg0); end
1178
- def encode_json(*_arg0); end
1179
- end
1180
- end
1181
-
1182
- # source://google-protobuf//lib/google/protobuf.rb#39
1183
- class Google::Protobuf::ParseError < ::Google::Protobuf::Error; end
1184
-
1185
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#50
1186
- class Google::Protobuf::RepeatedField
1187
- include ::Enumerable
1188
- extend ::Forwardable
1189
-
1190
- def initialize(*_arg0); end
1191
-
1192
- # source://forwardable/1.3.2/forwardable.rb#229
1193
- def &(*args, **_arg1, &block); end
1194
-
1195
- # source://forwardable/1.3.2/forwardable.rb#229
1196
- def *(*args, **_arg1, &block); end
1197
-
1198
- def +(_arg0); end
1199
-
1200
- # source://forwardable/1.3.2/forwardable.rb#229
1201
- def -(*args, **_arg1, &block); end
1202
-
1203
- def <<(_arg0); end
1204
-
1205
- # source://forwardable/1.3.2/forwardable.rb#229
1206
- def <=>(*args, **_arg1, &block); end
1207
-
1208
- def ==(_arg0); end
1209
- def [](*_arg0); end
1210
- def []=(_arg0, _arg1); end
1211
-
1212
- # source://forwardable/1.3.2/forwardable.rb#229
1213
- def assoc(*args, **_arg1, &block); end
1214
-
1215
- def at(*_arg0); end
1216
-
1217
- # source://forwardable/1.3.2/forwardable.rb#229
1218
- def bsearch(*args, **_arg1, &block); end
1219
-
1220
- # source://forwardable/1.3.2/forwardable.rb#229
1221
- def bsearch_index(*args, **_arg1, &block); end
1222
-
1223
- def clear; end
1224
- def clone; end
1225
-
1226
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1227
- def collect!(*args, &block); end
1228
-
1229
- # source://forwardable/1.3.2/forwardable.rb#229
1230
- def combination(*args, **_arg1, &block); end
1231
-
1232
- # source://forwardable/1.3.2/forwardable.rb#229
1233
- def compact(*args, **_arg1, &block); end
1234
-
1235
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1236
- def compact!(*args, &block); end
1237
-
1238
- def concat(_arg0); end
1239
-
1240
- # source://forwardable/1.3.2/forwardable.rb#229
1241
- def count(*args, **_arg1, &block); end
1242
-
1243
- # source://forwardable/1.3.2/forwardable.rb#229
1244
- def cycle(*args, **_arg1, &block); end
1245
-
1246
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#128
1247
- def delete(*args, &block); end
1248
-
1249
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#128
1250
- def delete_at(*args, &block); end
1251
-
1252
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1253
- def delete_if(*args, &block); end
1254
-
1255
- # source://forwardable/1.3.2/forwardable.rb#229
1256
- def dig(*args, **_arg1, &block); end
1257
-
1258
- # source://forwardable/1.3.2/forwardable.rb#229
1259
- def drop(*args, **_arg1, &block); end
1260
-
1261
- # source://forwardable/1.3.2/forwardable.rb#229
1262
- def drop_while(*args, **_arg1, &block); end
1263
-
1264
- def dup; end
1265
- def each; end
1266
-
1267
- # array aliases into enumerable
1268
- def each_index(*_arg0); end
1269
-
1270
- # @return [Boolean]
1271
- #
1272
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#115
1273
- def empty?; end
1274
-
1275
- # source://forwardable/1.3.2/forwardable.rb#229
1276
- def eql?(*args, **_arg1, &block); end
1277
-
1278
- # source://forwardable/1.3.2/forwardable.rb#229
1279
- def fetch(*args, **_arg1, &block); end
1280
-
1281
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1282
- def fill(*args, &block); end
1283
-
1284
- # source://forwardable/1.3.2/forwardable.rb#229
1285
- def find_index(*args, **_arg1, &block); end
1286
-
1287
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#81
1288
- def first(n = T.unsafe(nil)); end
1289
-
1290
- # source://forwardable/1.3.2/forwardable.rb#229
1291
- def flatten(*args, **_arg1, &block); end
1292
-
1293
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1294
- def flatten!(*args, &block); end
1295
-
1296
- def freeze; end
1297
- def hash; end
1298
-
1299
- # source://forwardable/1.3.2/forwardable.rb#229
1300
- def include?(*args, **_arg1, &block); end
1301
-
1302
- # source://forwardable/1.3.2/forwardable.rb#229
1303
- def index(*args, **_arg1, &block); end
1304
-
1305
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1306
- def insert(*args, &block); end
1307
-
1308
- # source://forwardable/1.3.2/forwardable.rb#229
1309
- def inspect(*args, **_arg1, &block); end
1310
-
1311
- # source://forwardable/1.3.2/forwardable.rb#229
1312
- def join(*args, **_arg1, &block); end
1313
-
1314
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1315
- def keep_if(*args, &block); end
1316
-
1317
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#92
1318
- def last(n = T.unsafe(nil)); end
1319
-
1320
- def length; end
1321
- def map; end
1322
-
1323
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1324
- def map!(*args, &block); end
1325
-
1326
- # source://forwardable/1.3.2/forwardable.rb#229
1327
- def pack(*args, **_arg1, &block); end
1328
-
1329
- # source://forwardable/1.3.2/forwardable.rb#229
1330
- def permutation(*args, **_arg1, &block); end
1331
-
1332
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#104
1333
- def pop(n = T.unsafe(nil)); end
1334
-
1335
- # source://forwardable/1.3.2/forwardable.rb#229
1336
- def pretty_print(*args, **_arg1, &block); end
1337
-
1338
- # source://forwardable/1.3.2/forwardable.rb#229
1339
- def pretty_print_cycle(*args, **_arg1, &block); end
1340
-
1341
- # source://forwardable/1.3.2/forwardable.rb#229
1342
- def product(*args, **_arg1, &block); end
1343
-
1344
- def push(*_arg0); end
1345
-
1346
- # source://forwardable/1.3.2/forwardable.rb#229
1347
- def rassoc(*args, **_arg1, &block); end
1348
-
1349
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1350
- def reject!(*args, &block); end
1351
-
1352
- # source://forwardable/1.3.2/forwardable.rb#229
1353
- def repeated_combination(*args, **_arg1, &block); end
1354
-
1355
- # source://forwardable/1.3.2/forwardable.rb#229
1356
- def repeated_permutation(*args, **_arg1, &block); end
1357
-
1358
- def replace(_arg0); end
1359
-
1360
- # source://forwardable/1.3.2/forwardable.rb#229
1361
- def reverse(*args, **_arg1, &block); end
1362
-
1363
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1364
- def reverse!(*args, &block); end
1365
-
1366
- # source://forwardable/1.3.2/forwardable.rb#229
1367
- def rindex(*args, **_arg1, &block); end
1368
-
1369
- # source://forwardable/1.3.2/forwardable.rb#229
1370
- def rotate(*args, **_arg1, &block); end
1371
-
1372
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1373
- def rotate!(*args, &block); end
1374
-
1375
- # source://forwardable/1.3.2/forwardable.rb#229
1376
- def sample(*args, **_arg1, &block); end
1377
-
1378
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1379
- def select!(*args, &block); end
1380
-
1381
- # source://forwardable/1.3.2/forwardable.rb#229
1382
- def shelljoin(*args, **_arg1, &block); end
1383
-
1384
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#128
1385
- def shift(*args, &block); end
1386
-
1387
- # source://forwardable/1.3.2/forwardable.rb#229
1388
- def shuffle(*args, **_arg1, &block); end
1389
-
1390
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1391
- def shuffle!(*args, &block); end
1392
-
1393
- def size; end
1394
- def slice(*_arg0); end
1395
-
1396
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#128
1397
- def slice!(*args, &block); end
1398
-
1399
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1400
- def sort!(*args, &block); end
1401
-
1402
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1403
- def sort_by!(*args, &block); end
1404
-
1405
- def to_ary; end
1406
-
1407
- # source://forwardable/1.3.2/forwardable.rb#229
1408
- def to_s(*args, **_arg1, &block); end
1409
-
1410
- # source://forwardable/1.3.2/forwardable.rb#229
1411
- def transpose(*args, **_arg1, &block); end
1412
-
1413
- # source://forwardable/1.3.2/forwardable.rb#229
1414
- def uniq(*args, **_arg1, &block); end
1415
-
1416
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#140
1417
- def uniq!(*args, &block); end
1418
-
1419
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#128
1420
- def unshift(*args, &block); end
1421
-
1422
- def values_at; end
1423
-
1424
- # source://forwardable/1.3.2/forwardable.rb#229
1425
- def |(*args, **_arg1, &block); end
1426
-
1427
- private
1428
-
1429
- def pop_one; end
1430
-
1431
- class << self
1432
- private
1433
-
1434
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#127
1435
- def define_array_wrapper_method(method_name); end
1436
-
1437
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#139
1438
- def define_array_wrapper_with_result_method(method_name); end
1439
- end
1440
- end
1441
-
1442
- # propagates changes made by user of enumerator back to the original repeated field.
1443
- # This only applies in cases where the calling function which created the enumerator,
1444
- # such as #sort!, modifies itself rather than a new array, such as #sort
1445
- #
1446
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#183
1447
- class Google::Protobuf::RepeatedField::ProxyingEnumerator < ::Struct
1448
- # source://google-protobuf//lib/google/protobuf/repeated_field.rb#184
1449
- def each(*args, &block); end
1450
- end
1451
-
1452
- class Google::Protobuf::ServiceDescriptorProto
1453
- include ::Google::Protobuf::MessageExts
1454
- extend ::Google::Protobuf::MessageExts::ClassMethods
1455
-
1456
- def initialize(*_arg0); end
1457
-
1458
- def ==(_arg0); end
1459
- def [](_arg0); end
1460
- def []=(_arg0, _arg1); end
1461
- def clone; end
1462
- def dup; end
1463
- def eql?(_arg0); end
1464
- def freeze; end
1465
- def hash; end
1466
- def inspect; end
1467
- def method_missing(*_arg0); end
1468
- def to_h; end
1469
- def to_s; end
1470
-
1471
- private
1472
-
1473
- def respond_to_missing?(*_arg0); end
1474
-
1475
- class << self
1476
- def decode(*_arg0); end
1477
- def decode_json(*_arg0); end
1478
- def descriptor; end
1479
- def encode(*_arg0); end
1480
- def encode_json(*_arg0); end
1481
- end
1482
- end
1483
-
1484
- class Google::Protobuf::ServiceOptions
1485
- include ::Google::Protobuf::MessageExts
1486
- extend ::Google::Protobuf::MessageExts::ClassMethods
1487
-
1488
- def initialize(*_arg0); end
1489
-
1490
- def ==(_arg0); end
1491
- def [](_arg0); end
1492
- def []=(_arg0, _arg1); end
1493
- def clone; end
1494
- def dup; end
1495
- def eql?(_arg0); end
1496
- def freeze; end
1497
- def hash; end
1498
- def inspect; end
1499
- def method_missing(*_arg0); end
1500
- def to_h; end
1501
- def to_s; end
1502
-
1503
- private
1504
-
1505
- def respond_to_missing?(*_arg0); end
1506
-
1507
- class << self
1508
- def decode(*_arg0); end
1509
- def decode_json(*_arg0); end
1510
- def descriptor; end
1511
- def encode(*_arg0); end
1512
- def encode_json(*_arg0); end
1513
- end
1514
- end
1515
-
1516
- class Google::Protobuf::SourceCodeInfo
1517
- include ::Google::Protobuf::MessageExts
1518
- extend ::Google::Protobuf::MessageExts::ClassMethods
1519
-
1520
- def initialize(*_arg0); end
1521
-
1522
- def ==(_arg0); end
1523
- def [](_arg0); end
1524
- def []=(_arg0, _arg1); end
1525
- def clone; end
1526
- def dup; end
1527
- def eql?(_arg0); end
1528
- def freeze; end
1529
- def hash; end
1530
- def inspect; end
1531
- def method_missing(*_arg0); end
1532
- def to_h; end
1533
- def to_s; end
1534
-
1535
- private
1536
-
1537
- def respond_to_missing?(*_arg0); end
1538
-
1539
- class << self
1540
- def decode(*_arg0); end
1541
- def decode_json(*_arg0); end
1542
- def descriptor; end
1543
- def encode(*_arg0); end
1544
- def encode_json(*_arg0); end
1545
- end
1546
- end
1547
-
1548
- class Google::Protobuf::SourceCodeInfo::Location
1549
- include ::Google::Protobuf::MessageExts
1550
- extend ::Google::Protobuf::MessageExts::ClassMethods
1551
-
1552
- def initialize(*_arg0); end
1553
-
1554
- def ==(_arg0); end
1555
- def [](_arg0); end
1556
- def []=(_arg0, _arg1); end
1557
- def clone; end
1558
- def dup; end
1559
- def eql?(_arg0); end
1560
- def freeze; end
1561
- def hash; end
1562
- def inspect; end
1563
- def method_missing(*_arg0); end
1564
- def to_h; end
1565
- def to_s; end
1566
-
1567
- private
1568
-
1569
- def respond_to_missing?(*_arg0); end
1570
-
1571
- class << self
1572
- def decode(*_arg0); end
1573
- def decode_json(*_arg0); end
1574
- def descriptor; end
1575
- def encode(*_arg0); end
1576
- def encode_json(*_arg0); end
1577
- end
1578
- end
1579
-
1580
- # source://google-protobuf//lib/google/protobuf.rb#40
1581
- class Google::Protobuf::TypeError < ::TypeError; end
1582
-
1583
- class Google::Protobuf::UninterpretedOption
1584
- include ::Google::Protobuf::MessageExts
1585
- extend ::Google::Protobuf::MessageExts::ClassMethods
1586
-
1587
- def initialize(*_arg0); end
1588
-
1589
- def ==(_arg0); end
1590
- def [](_arg0); end
1591
- def []=(_arg0, _arg1); end
1592
- def clone; end
1593
- def dup; end
1594
- def eql?(_arg0); end
1595
- def freeze; end
1596
- def hash; end
1597
- def inspect; end
1598
- def method_missing(*_arg0); end
1599
- def to_h; end
1600
- def to_s; end
1601
-
1602
- private
1603
-
1604
- def respond_to_missing?(*_arg0); end
1605
-
1606
- class << self
1607
- def decode(*_arg0); end
1608
- def decode_json(*_arg0); end
1609
- def descriptor; end
1610
- def encode(*_arg0); end
1611
- def encode_json(*_arg0); end
1612
- end
1613
- end
1614
-
1615
- class Google::Protobuf::UninterpretedOption::NamePart
1616
- include ::Google::Protobuf::MessageExts
1617
- extend ::Google::Protobuf::MessageExts::ClassMethods
1618
-
1619
- def initialize(*_arg0); end
1620
-
1621
- def ==(_arg0); end
1622
- def [](_arg0); end
1623
- def []=(_arg0, _arg1); end
1624
- def clone; end
1625
- def dup; end
1626
- def eql?(_arg0); end
1627
- def freeze; end
1628
- def hash; end
1629
- def inspect; end
1630
- def method_missing(*_arg0); end
1631
- def to_h; end
1632
- def to_s; end
1633
-
1634
- private
1635
-
1636
- def respond_to_missing?(*_arg0); end
1637
-
1638
- class << self
1639
- def decode(*_arg0); end
1640
- def decode_json(*_arg0); end
1641
- def descriptor; end
1642
- def encode(*_arg0); end
1643
- def encode_json(*_arg0); end
1644
- end
1645
- end