twirbet 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +20 -0
  4. data/CHANGELOG.md +5 -0
  5. data/Gemfile +28 -0
  6. data/Gemfile.lock +127 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +144 -0
  9. data/Rakefile +17 -0
  10. data/examples/clientcompat/client +28 -0
  11. data/examples/clientcompat/clientcompat.proto +29 -0
  12. data/examples/clientcompat/clientcompat_pb.rb +36 -0
  13. data/examples/clientcompat/clientcompat_twirbet.rb +57 -0
  14. data/examples/ping/Gemfile +11 -0
  15. data/examples/ping/Gemfile.lock +69 -0
  16. data/examples/ping/bin/puma +27 -0
  17. data/examples/ping/bin/pumactl +27 -0
  18. data/examples/ping/bin/srb +27 -0
  19. data/examples/ping/bin/srb-rbi +27 -0
  20. data/examples/ping/bin/tapioca +27 -0
  21. data/examples/ping/client.rb +14 -0
  22. data/examples/ping/config/application.rb +13 -0
  23. data/examples/ping/config/environment.rb +6 -0
  24. data/examples/ping/config.ru +8 -0
  25. data/examples/ping/proto/ping.proto +15 -0
  26. data/examples/ping/proto/ping_pb.rb +20 -0
  27. data/examples/ping/proto/ping_twirbet.rb +47 -0
  28. data/examples/ping/sorbet/config +4 -0
  29. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/extension_range.rbi +34 -0
  30. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/reserved_range.rbi +22 -0
  31. data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto.rbi +83 -0
  32. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto/enum_reserved_range.rbi +22 -0
  33. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto.rbi +48 -0
  34. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_options.rbi +34 -0
  35. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_descriptor_proto.rbi +34 -0
  36. data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_options.rbi +27 -0
  37. data/examples/ping/sorbet/rbi/dsl/google/protobuf/extension_range_options.rbi +20 -0
  38. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/label.rbi +22 -0
  39. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/type.rbi +37 -0
  40. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto.rbi +90 -0
  41. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/c_type.rbi +22 -0
  42. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/js_type.rbi +22 -0
  43. data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options.rbi +69 -0
  44. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_proto.rbi +97 -0
  45. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_set.rbi +20 -0
  46. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options/optimize_mode.rbi +22 -0
  47. data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options.rbi +160 -0
  48. data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info/annotation.rbi +41 -0
  49. data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info.rbi +20 -0
  50. data/examples/ping/sorbet/rbi/dsl/google/protobuf/map.rbi +12 -0
  51. data/examples/ping/sorbet/rbi/dsl/google/protobuf/message_options.rbi +48 -0
  52. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_descriptor_proto.rbi +55 -0
  53. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options/idempotency_level.rbi +22 -0
  54. data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options.rbi +34 -0
  55. data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_descriptor_proto.rbi +22 -0
  56. data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_options.rbi +20 -0
  57. data/examples/ping/sorbet/rbi/dsl/google/protobuf/repeated_field.rbi +11 -0
  58. data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_descriptor_proto.rbi +34 -0
  59. data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_options.rbi +27 -0
  60. data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info/location.rbi +48 -0
  61. data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info.rbi +20 -0
  62. data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option/name_part.rbi +22 -0
  63. data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option.rbi +62 -0
  64. data/examples/ping/sorbet/rbi/dsl/ping/ping_request.rbi +16 -0
  65. data/examples/ping/sorbet/rbi/dsl/ping/ping_response.rbi +16 -0
  66. data/examples/ping/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  67. data/examples/ping/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +8 -0
  68. data/examples/ping/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +1645 -0
  69. data/examples/ping/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  70. data/examples/ping/sorbet/rbi/gems/nio4r@2.5.8.rbi +8 -0
  71. data/examples/ping/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  72. data/examples/ping/sorbet/rbi/gems/parser@3.1.3.0.rbi +5076 -0
  73. data/examples/ping/sorbet/rbi/gems/puma@6.0.0.rbi +4177 -0
  74. data/examples/ping/sorbet/rbi/gems/rack@3.0.2.rbi +5016 -0
  75. data/examples/ping/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  76. data/examples/ping/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
  77. data/examples/ping/sorbet/rbi/gems/tapioca@0.10.3.rbi +3032 -0
  78. data/examples/ping/sorbet/rbi/gems/thor@1.2.1.rbi +3919 -0
  79. data/examples/ping/sorbet/rbi/gems/twirbet@0.1.0.rbi +528 -0
  80. data/examples/ping/sorbet/rbi/gems/unparser@0.6.5.rbi +8 -0
  81. data/examples/ping/sorbet/rbi/gems/webrick@1.7.0.rbi +2498 -0
  82. data/examples/ping/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +391 -0
  83. data/examples/ping/sorbet/rbi/gems/yard@0.9.28.rbi +17022 -0
  84. data/examples/ping/sorbet/tapioca/config.yml +13 -0
  85. data/examples/ping/sorbet/tapioca/require.rb +5 -0
  86. data/lib/twirbet/client.rb +45 -0
  87. data/lib/twirbet/dsl.rb +84 -0
  88. data/lib/twirbet/encoding.rb +52 -0
  89. data/lib/twirbet/errors.rb +375 -0
  90. data/lib/twirbet/method.rb +34 -0
  91. data/lib/twirbet/service.rb +85 -0
  92. data/lib/twirbet/transport.rb +55 -0
  93. data/lib/twirbet/transports/fake_transport.rb +32 -0
  94. data/lib/twirbet/transports/net_http_transport.rb +20 -0
  95. data/lib/twirbet/version.rb +6 -0
  96. data/lib/twirbet.rb +11 -0
  97. data/sorbet/config +5 -0
  98. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  99. data/sorbet/rbi/custom/ping.rbi +23 -0
  100. data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
  101. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1064 -0
  102. data/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +1645 -0
  103. data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
  104. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  105. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  106. data/sorbet/rbi/gems/parser@3.1.3.0.rbi +6878 -0
  107. data/sorbet/rbi/gems/rack@3.0.2.rbi +5163 -0
  108. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +397 -0
  109. data/sorbet/rbi/gems/rake@13.0.6.rbi +2946 -0
  110. data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  111. data/sorbet/rbi/gems/regexp_parser@2.6.1.rbi +3126 -0
  112. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4660 -0
  113. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10492 -0
  114. data/sorbet/rbi/gems/rspec-expectations@3.12.1.rbi +7817 -0
  115. data/sorbet/rbi/gems/rspec-mocks@3.12.1.rbi +4994 -0
  116. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1477 -0
  117. data/sorbet/rbi/gems/rspec@3.12.0.rbi +10 -0
  118. data/sorbet/rbi/gems/rubocop-ast@1.24.0.rbi +6790 -0
  119. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +354 -0
  120. data/sorbet/rbi/gems/rubocop-rspec@2.16.0.rbi +7650 -0
  121. data/sorbet/rbi/gems/rubocop-shopify@2.10.1.rbi +8 -0
  122. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +1014 -0
  123. data/sorbet/rbi/gems/rubocop@1.40.0.rbi +51560 -0
  124. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1212 -0
  125. data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
  126. data/sorbet/rbi/gems/tapioca@0.10.3.rbi +3032 -0
  127. data/sorbet/rbi/gems/thor@1.2.1.rbi +3950 -0
  128. data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +46 -0
  129. data/sorbet/rbi/gems/unparser@0.6.5.rbi +4265 -0
  130. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2498 -0
  131. data/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +391 -0
  132. data/sorbet/rbi/gems/yard@0.9.28.rbi +17033 -0
  133. data/sorbet/tapioca/config.yml +13 -0
  134. data/sorbet/tapioca/require.rb +4 -0
  135. data/twirbet.gemspec +36 -0
  136. metadata +223 -0
@@ -0,0 +1,22 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::MethodOptions::IdempotencyLevel`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::MethodOptions::IdempotencyLevel`.
6
+
7
+ module Google::Protobuf::MethodOptions::IdempotencyLevel
8
+ class << self
9
+ sig { returns(Google::Protobuf::EnumDescriptor) }
10
+ def descriptor; end
11
+
12
+ sig { params(number: Integer).returns(T.nilable(Symbol)) }
13
+ def lookup(number); end
14
+
15
+ sig { params(symbol: Symbol).returns(T.nilable(Integer)) }
16
+ def resolve(symbol); end
17
+ end
18
+ end
19
+
20
+ Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENCY_UNKNOWN = 0
21
+ Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENT = 2
22
+ Google::Protobuf::MethodOptions::IdempotencyLevel::NO_SIDE_EFFECTS = 1
@@ -0,0 +1,34 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::MethodOptions`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::MethodOptions`.
6
+
7
+ class Google::Protobuf::MethodOptions
8
+ sig do
9
+ params(
10
+ deprecated: T.nilable(T::Boolean),
11
+ idempotency_level: T.nilable(T.any(Symbol, Integer)),
12
+ uninterpreted_option: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption], T::Array[Google::Protobuf::UninterpretedOption]))
13
+ ).void
14
+ end
15
+ def initialize(deprecated: nil, idempotency_level: nil, uninterpreted_option: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::UninterpretedOption)); end
16
+
17
+ sig { returns(T::Boolean) }
18
+ def deprecated; end
19
+
20
+ sig { params(value: T::Boolean).void }
21
+ def deprecated=(value); end
22
+
23
+ sig { returns(T.any(Symbol, Integer)) }
24
+ def idempotency_level; end
25
+
26
+ sig { params(value: T.any(Symbol, Integer)).void }
27
+ def idempotency_level=(value); end
28
+
29
+ sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]) }
30
+ def uninterpreted_option; end
31
+
32
+ sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]).void }
33
+ def uninterpreted_option=(value); end
34
+ end
@@ -0,0 +1,22 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::OneofDescriptorProto`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::OneofDescriptorProto`.
6
+
7
+ class Google::Protobuf::OneofDescriptorProto
8
+ sig { params(name: T.nilable(String), options: T.nilable(Google::Protobuf::OneofOptions)).void }
9
+ def initialize(name: nil, options: nil); end
10
+
11
+ sig { returns(String) }
12
+ def name; end
13
+
14
+ sig { params(value: String).void }
15
+ def name=(value); end
16
+
17
+ sig { returns(T.nilable(Google::Protobuf::OneofOptions)) }
18
+ def options; end
19
+
20
+ sig { params(value: T.nilable(Google::Protobuf::OneofOptions)).void }
21
+ def options=(value); end
22
+ end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::OneofOptions`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::OneofOptions`.
6
+
7
+ class Google::Protobuf::OneofOptions
8
+ sig do
9
+ params(
10
+ uninterpreted_option: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption], T::Array[Google::Protobuf::UninterpretedOption]))
11
+ ).void
12
+ end
13
+ def initialize(uninterpreted_option: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::UninterpretedOption)); end
14
+
15
+ sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]) }
16
+ def uninterpreted_option; end
17
+
18
+ sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]).void }
19
+ def uninterpreted_option=(value); end
20
+ end
@@ -0,0 +1,11 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::RepeatedField`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::RepeatedField`.
6
+
7
+ class Google::Protobuf::RepeatedField
8
+ extend T::Generic
9
+
10
+ Elem = type_member
11
+ end
@@ -0,0 +1,34 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::ServiceDescriptorProto`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::ServiceDescriptorProto`.
6
+
7
+ class Google::Protobuf::ServiceDescriptorProto
8
+ sig do
9
+ params(
10
+ method: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::MethodDescriptorProto], T::Array[Google::Protobuf::MethodDescriptorProto])),
11
+ name: T.nilable(String),
12
+ options: T.nilable(Google::Protobuf::ServiceOptions)
13
+ ).void
14
+ end
15
+ def initialize(method: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::MethodDescriptorProto), name: nil, options: nil); end
16
+
17
+ sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::MethodDescriptorProto]) }
18
+ def method; end
19
+
20
+ sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::MethodDescriptorProto]).void }
21
+ def method=(value); end
22
+
23
+ sig { returns(String) }
24
+ def name; end
25
+
26
+ sig { params(value: String).void }
27
+ def name=(value); end
28
+
29
+ sig { returns(T.nilable(Google::Protobuf::ServiceOptions)) }
30
+ def options; end
31
+
32
+ sig { params(value: T.nilable(Google::Protobuf::ServiceOptions)).void }
33
+ def options=(value); end
34
+ end
@@ -0,0 +1,27 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::ServiceOptions`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::ServiceOptions`.
6
+
7
+ class Google::Protobuf::ServiceOptions
8
+ sig do
9
+ params(
10
+ deprecated: T.nilable(T::Boolean),
11
+ uninterpreted_option: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption], T::Array[Google::Protobuf::UninterpretedOption]))
12
+ ).void
13
+ end
14
+ def initialize(deprecated: nil, uninterpreted_option: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::UninterpretedOption)); end
15
+
16
+ sig { returns(T::Boolean) }
17
+ def deprecated; end
18
+
19
+ sig { params(value: T::Boolean).void }
20
+ def deprecated=(value); end
21
+
22
+ sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]) }
23
+ def uninterpreted_option; end
24
+
25
+ sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]).void }
26
+ def uninterpreted_option=(value); end
27
+ end
@@ -0,0 +1,48 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::SourceCodeInfo::Location`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::SourceCodeInfo::Location`.
6
+
7
+ class Google::Protobuf::SourceCodeInfo::Location
8
+ sig do
9
+ params(
10
+ leading_comments: T.nilable(String),
11
+ leading_detached_comments: T.nilable(T.any(Google::Protobuf::RepeatedField[String], T::Array[String])),
12
+ path: T.nilable(T.any(Google::Protobuf::RepeatedField[Integer], T::Array[Integer])),
13
+ span: T.nilable(T.any(Google::Protobuf::RepeatedField[Integer], T::Array[Integer])),
14
+ trailing_comments: T.nilable(String)
15
+ ).void
16
+ end
17
+ def initialize(leading_comments: nil, leading_detached_comments: Google::Protobuf::RepeatedField.new(:string), path: Google::Protobuf::RepeatedField.new(:int32), span: Google::Protobuf::RepeatedField.new(:int32), trailing_comments: nil); end
18
+
19
+ sig { returns(String) }
20
+ def leading_comments; end
21
+
22
+ sig { params(value: String).void }
23
+ def leading_comments=(value); end
24
+
25
+ sig { returns(Google::Protobuf::RepeatedField[String]) }
26
+ def leading_detached_comments; end
27
+
28
+ sig { params(value: Google::Protobuf::RepeatedField[String]).void }
29
+ def leading_detached_comments=(value); end
30
+
31
+ sig { returns(Google::Protobuf::RepeatedField[Integer]) }
32
+ def path; end
33
+
34
+ sig { params(value: Google::Protobuf::RepeatedField[Integer]).void }
35
+ def path=(value); end
36
+
37
+ sig { returns(Google::Protobuf::RepeatedField[Integer]) }
38
+ def span; end
39
+
40
+ sig { params(value: Google::Protobuf::RepeatedField[Integer]).void }
41
+ def span=(value); end
42
+
43
+ sig { returns(String) }
44
+ def trailing_comments; end
45
+
46
+ sig { params(value: String).void }
47
+ def trailing_comments=(value); end
48
+ end
@@ -0,0 +1,20 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::SourceCodeInfo`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::SourceCodeInfo`.
6
+
7
+ class Google::Protobuf::SourceCodeInfo
8
+ sig do
9
+ params(
10
+ location: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::SourceCodeInfo::Location], T::Array[Google::Protobuf::SourceCodeInfo::Location]))
11
+ ).void
12
+ end
13
+ def initialize(location: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::SourceCodeInfo::Location)); end
14
+
15
+ sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::SourceCodeInfo::Location]) }
16
+ def location; end
17
+
18
+ sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::SourceCodeInfo::Location]).void }
19
+ def location=(value); end
20
+ end
@@ -0,0 +1,22 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::UninterpretedOption::NamePart`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::UninterpretedOption::NamePart`.
6
+
7
+ class Google::Protobuf::UninterpretedOption::NamePart
8
+ sig { params(is_extension: T.nilable(T::Boolean), name_part: T.nilable(String)).void }
9
+ def initialize(is_extension: nil, name_part: nil); end
10
+
11
+ sig { returns(T::Boolean) }
12
+ def is_extension; end
13
+
14
+ sig { params(value: T::Boolean).void }
15
+ def is_extension=(value); end
16
+
17
+ sig { returns(String) }
18
+ def name_part; end
19
+
20
+ sig { params(value: String).void }
21
+ def name_part=(value); end
22
+ end
@@ -0,0 +1,62 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Google::Protobuf::UninterpretedOption`.
5
+ # Please instead update this file by running `bin/tapioca dsl Google::Protobuf::UninterpretedOption`.
6
+
7
+ class Google::Protobuf::UninterpretedOption
8
+ sig do
9
+ params(
10
+ aggregate_value: T.nilable(String),
11
+ double_value: T.nilable(Float),
12
+ identifier_value: T.nilable(String),
13
+ name: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption::NamePart], T::Array[Google::Protobuf::UninterpretedOption::NamePart])),
14
+ negative_int_value: T.nilable(Integer),
15
+ positive_int_value: T.nilable(Integer),
16
+ string_value: T.nilable(String)
17
+ ).void
18
+ end
19
+ def initialize(aggregate_value: nil, double_value: nil, identifier_value: nil, name: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::UninterpretedOption::NamePart), negative_int_value: nil, positive_int_value: nil, string_value: nil); end
20
+
21
+ sig { returns(String) }
22
+ def aggregate_value; end
23
+
24
+ sig { params(value: String).void }
25
+ def aggregate_value=(value); end
26
+
27
+ sig { returns(Float) }
28
+ def double_value; end
29
+
30
+ sig { params(value: Float).void }
31
+ def double_value=(value); end
32
+
33
+ sig { returns(String) }
34
+ def identifier_value; end
35
+
36
+ sig { params(value: String).void }
37
+ def identifier_value=(value); end
38
+
39
+ sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption::NamePart]) }
40
+ def name; end
41
+
42
+ sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption::NamePart]).void }
43
+ def name=(value); end
44
+
45
+ sig { returns(Integer) }
46
+ def negative_int_value; end
47
+
48
+ sig { params(value: Integer).void }
49
+ def negative_int_value=(value); end
50
+
51
+ sig { returns(Integer) }
52
+ def positive_int_value; end
53
+
54
+ sig { params(value: Integer).void }
55
+ def positive_int_value=(value); end
56
+
57
+ sig { returns(String) }
58
+ def string_value; end
59
+
60
+ sig { params(value: String).void }
61
+ def string_value=(value); end
62
+ end
@@ -0,0 +1,16 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Ping::PingRequest`.
5
+ # Please instead update this file by running `bin/tapioca dsl Ping::PingRequest`.
6
+
7
+ class Ping::PingRequest
8
+ sig { params(message: T.nilable(String)).void }
9
+ def initialize(message: nil); end
10
+
11
+ sig { returns(String) }
12
+ def message; end
13
+
14
+ sig { params(value: String).void }
15
+ def message=(value); end
16
+ end
@@ -0,0 +1,16 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for dynamic methods in `Ping::PingResponse`.
5
+ # Please instead update this file by running `bin/tapioca dsl Ping::PingResponse`.
6
+
7
+ class Ping::PingResponse
8
+ sig { params(message: T.nilable(String)).void }
9
+ def initialize(message: nil); end
10
+
11
+ sig { returns(String) }
12
+ def message; end
13
+
14
+ sig { params(value: String).void }
15
+ def message=(value); end
16
+ end