twirbet 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/.rubocop.yml +20 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +28 -0
- data/Gemfile.lock +127 -0
- data/LICENSE.txt +21 -0
- data/README.md +144 -0
- data/Rakefile +17 -0
- data/examples/clientcompat/client +28 -0
- data/examples/clientcompat/clientcompat.proto +29 -0
- data/examples/clientcompat/clientcompat_pb.rb +36 -0
- data/examples/clientcompat/clientcompat_twirbet.rb +57 -0
- data/examples/ping/Gemfile +11 -0
- data/examples/ping/Gemfile.lock +69 -0
- data/examples/ping/bin/puma +27 -0
- data/examples/ping/bin/pumactl +27 -0
- data/examples/ping/bin/srb +27 -0
- data/examples/ping/bin/srb-rbi +27 -0
- data/examples/ping/bin/tapioca +27 -0
- data/examples/ping/client.rb +14 -0
- data/examples/ping/config/application.rb +13 -0
- data/examples/ping/config/environment.rb +6 -0
- data/examples/ping/config.ru +8 -0
- data/examples/ping/proto/ping.proto +15 -0
- data/examples/ping/proto/ping_pb.rb +20 -0
- data/examples/ping/proto/ping_twirbet.rb +47 -0
- data/examples/ping/sorbet/config +4 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/extension_range.rbi +34 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto/reserved_range.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/descriptor_proto.rbi +83 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto/enum_reserved_range.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_descriptor_proto.rbi +48 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_options.rbi +34 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_descriptor_proto.rbi +34 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/enum_value_options.rbi +27 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/extension_range_options.rbi +20 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/label.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto/type.rbi +37 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_descriptor_proto.rbi +90 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/c_type.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options/js_type.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/field_options.rbi +69 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_proto.rbi +97 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_descriptor_set.rbi +20 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options/optimize_mode.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/file_options.rbi +160 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info/annotation.rbi +41 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/generated_code_info.rbi +20 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/map.rbi +12 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/message_options.rbi +48 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_descriptor_proto.rbi +55 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options/idempotency_level.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/method_options.rbi +34 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_descriptor_proto.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/oneof_options.rbi +20 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/repeated_field.rbi +11 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_descriptor_proto.rbi +34 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/service_options.rbi +27 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info/location.rbi +48 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/source_code_info.rbi +20 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option/name_part.rbi +22 -0
- data/examples/ping/sorbet/rbi/dsl/google/protobuf/uninterpreted_option.rbi +62 -0
- data/examples/ping/sorbet/rbi/dsl/ping/ping_request.rbi +16 -0
- data/examples/ping/sorbet/rbi/dsl/ping/ping_response.rbi +16 -0
- data/examples/ping/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/examples/ping/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +8 -0
- data/examples/ping/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +1645 -0
- data/examples/ping/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/examples/ping/sorbet/rbi/gems/nio4r@2.5.8.rbi +8 -0
- data/examples/ping/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/examples/ping/sorbet/rbi/gems/parser@3.1.3.0.rbi +5076 -0
- data/examples/ping/sorbet/rbi/gems/puma@6.0.0.rbi +4177 -0
- data/examples/ping/sorbet/rbi/gems/rack@3.0.2.rbi +5016 -0
- data/examples/ping/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/examples/ping/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
- data/examples/ping/sorbet/rbi/gems/tapioca@0.10.3.rbi +3032 -0
- data/examples/ping/sorbet/rbi/gems/thor@1.2.1.rbi +3919 -0
- data/examples/ping/sorbet/rbi/gems/twirbet@0.1.0.rbi +528 -0
- data/examples/ping/sorbet/rbi/gems/unparser@0.6.5.rbi +8 -0
- data/examples/ping/sorbet/rbi/gems/webrick@1.7.0.rbi +2498 -0
- data/examples/ping/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +391 -0
- data/examples/ping/sorbet/rbi/gems/yard@0.9.28.rbi +17022 -0
- data/examples/ping/sorbet/tapioca/config.yml +13 -0
- data/examples/ping/sorbet/tapioca/require.rb +5 -0
- data/lib/twirbet/client.rb +45 -0
- data/lib/twirbet/dsl.rb +84 -0
- data/lib/twirbet/encoding.rb +52 -0
- data/lib/twirbet/errors.rb +375 -0
- data/lib/twirbet/method.rb +34 -0
- data/lib/twirbet/service.rb +85 -0
- data/lib/twirbet/transport.rb +55 -0
- data/lib/twirbet/transports/fake_transport.rb +32 -0
- data/lib/twirbet/transports/net_http_transport.rb +20 -0
- data/lib/twirbet/version.rb +6 -0
- data/lib/twirbet.rb +11 -0
- data/sorbet/config +5 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/custom/ping.rbi +23 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1064 -0
- data/sorbet/rbi/gems/google-protobuf@3.21.12.rbi +1645 -0
- data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.1.3.0.rbi +6878 -0
- data/sorbet/rbi/gems/rack@3.0.2.rbi +5163 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +397 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2946 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/regexp_parser@2.6.1.rbi +3126 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4660 -0
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10492 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.1.rbi +7817 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.1.rbi +4994 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1477 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +10 -0
- data/sorbet/rbi/gems/rubocop-ast@1.24.0.rbi +6790 -0
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +354 -0
- data/sorbet/rbi/gems/rubocop-rspec@2.16.0.rbi +7650 -0
- data/sorbet/rbi/gems/rubocop-shopify@2.10.1.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +1014 -0
- data/sorbet/rbi/gems/rubocop@1.40.0.rbi +51560 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1212 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
- data/sorbet/rbi/gems/tapioca@0.10.3.rbi +3032 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3950 -0
- data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +46 -0
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +4265 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2498 -0
- data/sorbet/rbi/gems/yard-sorbet@0.7.0.rbi +391 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17033 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/twirbet.gemspec +36 -0
- metadata +223 -0
@@ -0,0 +1,90 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for dynamic methods in `Google::Protobuf::FieldDescriptorProto`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FieldDescriptorProto`.
|
6
|
+
|
7
|
+
class Google::Protobuf::FieldDescriptorProto
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
default_value: T.nilable(String),
|
11
|
+
extendee: T.nilable(String),
|
12
|
+
json_name: T.nilable(String),
|
13
|
+
label: T.nilable(T.any(Symbol, Integer)),
|
14
|
+
name: T.nilable(String),
|
15
|
+
number: T.nilable(Integer),
|
16
|
+
oneof_index: T.nilable(Integer),
|
17
|
+
options: T.nilable(Google::Protobuf::FieldOptions),
|
18
|
+
proto3_optional: T.nilable(T::Boolean),
|
19
|
+
type: T.nilable(T.any(Symbol, Integer)),
|
20
|
+
type_name: T.nilable(String)
|
21
|
+
).void
|
22
|
+
end
|
23
|
+
def initialize(default_value: nil, extendee: nil, json_name: nil, label: nil, name: nil, number: nil, oneof_index: nil, options: nil, proto3_optional: nil, type: nil, type_name: nil); end
|
24
|
+
|
25
|
+
sig { returns(String) }
|
26
|
+
def default_value; end
|
27
|
+
|
28
|
+
sig { params(value: String).void }
|
29
|
+
def default_value=(value); end
|
30
|
+
|
31
|
+
sig { returns(String) }
|
32
|
+
def extendee; end
|
33
|
+
|
34
|
+
sig { params(value: String).void }
|
35
|
+
def extendee=(value); end
|
36
|
+
|
37
|
+
sig { returns(String) }
|
38
|
+
def json_name; end
|
39
|
+
|
40
|
+
sig { params(value: String).void }
|
41
|
+
def json_name=(value); end
|
42
|
+
|
43
|
+
sig { returns(T.any(Symbol, Integer)) }
|
44
|
+
def label; end
|
45
|
+
|
46
|
+
sig { params(value: T.any(Symbol, Integer)).void }
|
47
|
+
def label=(value); end
|
48
|
+
|
49
|
+
sig { returns(String) }
|
50
|
+
def name; end
|
51
|
+
|
52
|
+
sig { params(value: String).void }
|
53
|
+
def name=(value); end
|
54
|
+
|
55
|
+
sig { returns(Integer) }
|
56
|
+
def number; end
|
57
|
+
|
58
|
+
sig { params(value: Integer).void }
|
59
|
+
def number=(value); end
|
60
|
+
|
61
|
+
sig { returns(Integer) }
|
62
|
+
def oneof_index; end
|
63
|
+
|
64
|
+
sig { params(value: Integer).void }
|
65
|
+
def oneof_index=(value); end
|
66
|
+
|
67
|
+
sig { returns(T.nilable(Google::Protobuf::FieldOptions)) }
|
68
|
+
def options; end
|
69
|
+
|
70
|
+
sig { params(value: T.nilable(Google::Protobuf::FieldOptions)).void }
|
71
|
+
def options=(value); end
|
72
|
+
|
73
|
+
sig { returns(T::Boolean) }
|
74
|
+
def proto3_optional; end
|
75
|
+
|
76
|
+
sig { params(value: T::Boolean).void }
|
77
|
+
def proto3_optional=(value); end
|
78
|
+
|
79
|
+
sig { returns(T.any(Symbol, Integer)) }
|
80
|
+
def type; end
|
81
|
+
|
82
|
+
sig { params(value: T.any(Symbol, Integer)).void }
|
83
|
+
def type=(value); end
|
84
|
+
|
85
|
+
sig { returns(String) }
|
86
|
+
def type_name; end
|
87
|
+
|
88
|
+
sig { params(value: String).void }
|
89
|
+
def type_name=(value); end
|
90
|
+
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::FieldOptions::CType`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FieldOptions::CType`.
|
6
|
+
|
7
|
+
module Google::Protobuf::FieldOptions::CType
|
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::FieldOptions::CType::CORD = 1
|
21
|
+
Google::Protobuf::FieldOptions::CType::STRING = 0
|
22
|
+
Google::Protobuf::FieldOptions::CType::STRING_PIECE = 2
|
@@ -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::FieldOptions::JSType`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FieldOptions::JSType`.
|
6
|
+
|
7
|
+
module Google::Protobuf::FieldOptions::JSType
|
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::FieldOptions::JSType::JS_NORMAL = 0
|
21
|
+
Google::Protobuf::FieldOptions::JSType::JS_NUMBER = 2
|
22
|
+
Google::Protobuf::FieldOptions::JSType::JS_STRING = 1
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for dynamic methods in `Google::Protobuf::FieldOptions`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FieldOptions`.
|
6
|
+
|
7
|
+
class Google::Protobuf::FieldOptions
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
ctype: T.nilable(T.any(Symbol, Integer)),
|
11
|
+
deprecated: T.nilable(T::Boolean),
|
12
|
+
jstype: T.nilable(T.any(Symbol, Integer)),
|
13
|
+
lazy: T.nilable(T::Boolean),
|
14
|
+
packed: T.nilable(T::Boolean),
|
15
|
+
uninterpreted_option: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption], T::Array[Google::Protobuf::UninterpretedOption])),
|
16
|
+
unverified_lazy: T.nilable(T::Boolean),
|
17
|
+
weak: T.nilable(T::Boolean)
|
18
|
+
).void
|
19
|
+
end
|
20
|
+
def initialize(ctype: nil, deprecated: nil, jstype: nil, lazy: nil, packed: nil, uninterpreted_option: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::UninterpretedOption), unverified_lazy: nil, weak: nil); end
|
21
|
+
|
22
|
+
sig { returns(T.any(Symbol, Integer)) }
|
23
|
+
def ctype; end
|
24
|
+
|
25
|
+
sig { params(value: T.any(Symbol, Integer)).void }
|
26
|
+
def ctype=(value); end
|
27
|
+
|
28
|
+
sig { returns(T::Boolean) }
|
29
|
+
def deprecated; end
|
30
|
+
|
31
|
+
sig { params(value: T::Boolean).void }
|
32
|
+
def deprecated=(value); end
|
33
|
+
|
34
|
+
sig { returns(T.any(Symbol, Integer)) }
|
35
|
+
def jstype; end
|
36
|
+
|
37
|
+
sig { params(value: T.any(Symbol, Integer)).void }
|
38
|
+
def jstype=(value); end
|
39
|
+
|
40
|
+
sig { returns(T::Boolean) }
|
41
|
+
def lazy; end
|
42
|
+
|
43
|
+
sig { params(value: T::Boolean).void }
|
44
|
+
def lazy=(value); end
|
45
|
+
|
46
|
+
sig { returns(T::Boolean) }
|
47
|
+
def packed; end
|
48
|
+
|
49
|
+
sig { params(value: T::Boolean).void }
|
50
|
+
def packed=(value); end
|
51
|
+
|
52
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]) }
|
53
|
+
def uninterpreted_option; end
|
54
|
+
|
55
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]).void }
|
56
|
+
def uninterpreted_option=(value); end
|
57
|
+
|
58
|
+
sig { returns(T::Boolean) }
|
59
|
+
def unverified_lazy; end
|
60
|
+
|
61
|
+
sig { params(value: T::Boolean).void }
|
62
|
+
def unverified_lazy=(value); end
|
63
|
+
|
64
|
+
sig { returns(T::Boolean) }
|
65
|
+
def weak; end
|
66
|
+
|
67
|
+
sig { params(value: T::Boolean).void }
|
68
|
+
def weak=(value); end
|
69
|
+
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for dynamic methods in `Google::Protobuf::FileDescriptorProto`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FileDescriptorProto`.
|
6
|
+
|
7
|
+
class Google::Protobuf::FileDescriptorProto
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
dependency: T.nilable(T.any(Google::Protobuf::RepeatedField[String], T::Array[String])),
|
11
|
+
enum_type: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::EnumDescriptorProto], T::Array[Google::Protobuf::EnumDescriptorProto])),
|
12
|
+
extension: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::FieldDescriptorProto], T::Array[Google::Protobuf::FieldDescriptorProto])),
|
13
|
+
message_type: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::DescriptorProto], T::Array[Google::Protobuf::DescriptorProto])),
|
14
|
+
name: T.nilable(String),
|
15
|
+
options: T.nilable(Google::Protobuf::FileOptions),
|
16
|
+
package: T.nilable(String),
|
17
|
+
public_dependency: T.nilable(T.any(Google::Protobuf::RepeatedField[Integer], T::Array[Integer])),
|
18
|
+
service: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::ServiceDescriptorProto], T::Array[Google::Protobuf::ServiceDescriptorProto])),
|
19
|
+
source_code_info: T.nilable(Google::Protobuf::SourceCodeInfo),
|
20
|
+
syntax: T.nilable(String),
|
21
|
+
weak_dependency: T.nilable(T.any(Google::Protobuf::RepeatedField[Integer], T::Array[Integer]))
|
22
|
+
).void
|
23
|
+
end
|
24
|
+
def initialize(dependency: Google::Protobuf::RepeatedField.new(:string), enum_type: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::EnumDescriptorProto), extension: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::FieldDescriptorProto), message_type: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::DescriptorProto), name: nil, options: nil, package: nil, public_dependency: Google::Protobuf::RepeatedField.new(:int32), service: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::ServiceDescriptorProto), source_code_info: nil, syntax: nil, weak_dependency: Google::Protobuf::RepeatedField.new(:int32)); end
|
25
|
+
|
26
|
+
sig { returns(Google::Protobuf::RepeatedField[String]) }
|
27
|
+
def dependency; end
|
28
|
+
|
29
|
+
sig { params(value: Google::Protobuf::RepeatedField[String]).void }
|
30
|
+
def dependency=(value); end
|
31
|
+
|
32
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::EnumDescriptorProto]) }
|
33
|
+
def enum_type; end
|
34
|
+
|
35
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::EnumDescriptorProto]).void }
|
36
|
+
def enum_type=(value); end
|
37
|
+
|
38
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::FieldDescriptorProto]) }
|
39
|
+
def extension; end
|
40
|
+
|
41
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::FieldDescriptorProto]).void }
|
42
|
+
def extension=(value); end
|
43
|
+
|
44
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::DescriptorProto]) }
|
45
|
+
def message_type; end
|
46
|
+
|
47
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::DescriptorProto]).void }
|
48
|
+
def message_type=(value); end
|
49
|
+
|
50
|
+
sig { returns(String) }
|
51
|
+
def name; end
|
52
|
+
|
53
|
+
sig { params(value: String).void }
|
54
|
+
def name=(value); end
|
55
|
+
|
56
|
+
sig { returns(T.nilable(Google::Protobuf::FileOptions)) }
|
57
|
+
def options; end
|
58
|
+
|
59
|
+
sig { params(value: T.nilable(Google::Protobuf::FileOptions)).void }
|
60
|
+
def options=(value); end
|
61
|
+
|
62
|
+
sig { returns(String) }
|
63
|
+
def package; end
|
64
|
+
|
65
|
+
sig { params(value: String).void }
|
66
|
+
def package=(value); end
|
67
|
+
|
68
|
+
sig { returns(Google::Protobuf::RepeatedField[Integer]) }
|
69
|
+
def public_dependency; end
|
70
|
+
|
71
|
+
sig { params(value: Google::Protobuf::RepeatedField[Integer]).void }
|
72
|
+
def public_dependency=(value); end
|
73
|
+
|
74
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::ServiceDescriptorProto]) }
|
75
|
+
def service; end
|
76
|
+
|
77
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::ServiceDescriptorProto]).void }
|
78
|
+
def service=(value); end
|
79
|
+
|
80
|
+
sig { returns(T.nilable(Google::Protobuf::SourceCodeInfo)) }
|
81
|
+
def source_code_info; end
|
82
|
+
|
83
|
+
sig { params(value: T.nilable(Google::Protobuf::SourceCodeInfo)).void }
|
84
|
+
def source_code_info=(value); end
|
85
|
+
|
86
|
+
sig { returns(String) }
|
87
|
+
def syntax; end
|
88
|
+
|
89
|
+
sig { params(value: String).void }
|
90
|
+
def syntax=(value); end
|
91
|
+
|
92
|
+
sig { returns(Google::Protobuf::RepeatedField[Integer]) }
|
93
|
+
def weak_dependency; end
|
94
|
+
|
95
|
+
sig { params(value: Google::Protobuf::RepeatedField[Integer]).void }
|
96
|
+
def weak_dependency=(value); end
|
97
|
+
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::FileDescriptorSet`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FileDescriptorSet`.
|
6
|
+
|
7
|
+
class Google::Protobuf::FileDescriptorSet
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
file: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::FileDescriptorProto], T::Array[Google::Protobuf::FileDescriptorProto]))
|
11
|
+
).void
|
12
|
+
end
|
13
|
+
def initialize(file: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::FileDescriptorProto)); end
|
14
|
+
|
15
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::FileDescriptorProto]) }
|
16
|
+
def file; end
|
17
|
+
|
18
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::FileDescriptorProto]).void }
|
19
|
+
def file=(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::FileOptions::OptimizeMode`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FileOptions::OptimizeMode`.
|
6
|
+
|
7
|
+
module Google::Protobuf::FileOptions::OptimizeMode
|
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::FileOptions::OptimizeMode::CODE_SIZE = 2
|
21
|
+
Google::Protobuf::FileOptions::OptimizeMode::LITE_RUNTIME = 3
|
22
|
+
Google::Protobuf::FileOptions::OptimizeMode::SPEED = 1
|
@@ -0,0 +1,160 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for dynamic methods in `Google::Protobuf::FileOptions`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::FileOptions`.
|
6
|
+
|
7
|
+
class Google::Protobuf::FileOptions
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
cc_enable_arenas: T.nilable(T::Boolean),
|
11
|
+
cc_generic_services: T.nilable(T::Boolean),
|
12
|
+
csharp_namespace: T.nilable(String),
|
13
|
+
deprecated: T.nilable(T::Boolean),
|
14
|
+
go_package: T.nilable(String),
|
15
|
+
java_generate_equals_and_hash: T.nilable(T::Boolean),
|
16
|
+
java_generic_services: T.nilable(T::Boolean),
|
17
|
+
java_multiple_files: T.nilable(T::Boolean),
|
18
|
+
java_outer_classname: T.nilable(String),
|
19
|
+
java_package: T.nilable(String),
|
20
|
+
java_string_check_utf8: T.nilable(T::Boolean),
|
21
|
+
objc_class_prefix: T.nilable(String),
|
22
|
+
optimize_for: T.nilable(T.any(Symbol, Integer)),
|
23
|
+
php_class_prefix: T.nilable(String),
|
24
|
+
php_generic_services: T.nilable(T::Boolean),
|
25
|
+
php_metadata_namespace: T.nilable(String),
|
26
|
+
php_namespace: T.nilable(String),
|
27
|
+
py_generic_services: T.nilable(T::Boolean),
|
28
|
+
ruby_package: T.nilable(String),
|
29
|
+
swift_prefix: T.nilable(String),
|
30
|
+
uninterpreted_option: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption], T::Array[Google::Protobuf::UninterpretedOption]))
|
31
|
+
).void
|
32
|
+
end
|
33
|
+
def initialize(cc_enable_arenas: nil, cc_generic_services: nil, csharp_namespace: nil, deprecated: nil, go_package: nil, java_generate_equals_and_hash: nil, java_generic_services: nil, java_multiple_files: nil, java_outer_classname: nil, java_package: nil, java_string_check_utf8: nil, objc_class_prefix: nil, optimize_for: nil, php_class_prefix: nil, php_generic_services: nil, php_metadata_namespace: nil, php_namespace: nil, py_generic_services: nil, ruby_package: nil, swift_prefix: nil, uninterpreted_option: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::UninterpretedOption)); end
|
34
|
+
|
35
|
+
sig { returns(T::Boolean) }
|
36
|
+
def cc_enable_arenas; end
|
37
|
+
|
38
|
+
sig { params(value: T::Boolean).void }
|
39
|
+
def cc_enable_arenas=(value); end
|
40
|
+
|
41
|
+
sig { returns(T::Boolean) }
|
42
|
+
def cc_generic_services; end
|
43
|
+
|
44
|
+
sig { params(value: T::Boolean).void }
|
45
|
+
def cc_generic_services=(value); end
|
46
|
+
|
47
|
+
sig { returns(String) }
|
48
|
+
def csharp_namespace; end
|
49
|
+
|
50
|
+
sig { params(value: String).void }
|
51
|
+
def csharp_namespace=(value); end
|
52
|
+
|
53
|
+
sig { returns(T::Boolean) }
|
54
|
+
def deprecated; end
|
55
|
+
|
56
|
+
sig { params(value: T::Boolean).void }
|
57
|
+
def deprecated=(value); end
|
58
|
+
|
59
|
+
sig { returns(String) }
|
60
|
+
def go_package; end
|
61
|
+
|
62
|
+
sig { params(value: String).void }
|
63
|
+
def go_package=(value); end
|
64
|
+
|
65
|
+
sig { returns(T::Boolean) }
|
66
|
+
def java_generate_equals_and_hash; end
|
67
|
+
|
68
|
+
sig { params(value: T::Boolean).void }
|
69
|
+
def java_generate_equals_and_hash=(value); end
|
70
|
+
|
71
|
+
sig { returns(T::Boolean) }
|
72
|
+
def java_generic_services; end
|
73
|
+
|
74
|
+
sig { params(value: T::Boolean).void }
|
75
|
+
def java_generic_services=(value); end
|
76
|
+
|
77
|
+
sig { returns(T::Boolean) }
|
78
|
+
def java_multiple_files; end
|
79
|
+
|
80
|
+
sig { params(value: T::Boolean).void }
|
81
|
+
def java_multiple_files=(value); end
|
82
|
+
|
83
|
+
sig { returns(String) }
|
84
|
+
def java_outer_classname; end
|
85
|
+
|
86
|
+
sig { params(value: String).void }
|
87
|
+
def java_outer_classname=(value); end
|
88
|
+
|
89
|
+
sig { returns(String) }
|
90
|
+
def java_package; end
|
91
|
+
|
92
|
+
sig { params(value: String).void }
|
93
|
+
def java_package=(value); end
|
94
|
+
|
95
|
+
sig { returns(T::Boolean) }
|
96
|
+
def java_string_check_utf8; end
|
97
|
+
|
98
|
+
sig { params(value: T::Boolean).void }
|
99
|
+
def java_string_check_utf8=(value); end
|
100
|
+
|
101
|
+
sig { returns(String) }
|
102
|
+
def objc_class_prefix; end
|
103
|
+
|
104
|
+
sig { params(value: String).void }
|
105
|
+
def objc_class_prefix=(value); end
|
106
|
+
|
107
|
+
sig { returns(T.any(Symbol, Integer)) }
|
108
|
+
def optimize_for; end
|
109
|
+
|
110
|
+
sig { params(value: T.any(Symbol, Integer)).void }
|
111
|
+
def optimize_for=(value); end
|
112
|
+
|
113
|
+
sig { returns(String) }
|
114
|
+
def php_class_prefix; end
|
115
|
+
|
116
|
+
sig { params(value: String).void }
|
117
|
+
def php_class_prefix=(value); end
|
118
|
+
|
119
|
+
sig { returns(T::Boolean) }
|
120
|
+
def php_generic_services; end
|
121
|
+
|
122
|
+
sig { params(value: T::Boolean).void }
|
123
|
+
def php_generic_services=(value); end
|
124
|
+
|
125
|
+
sig { returns(String) }
|
126
|
+
def php_metadata_namespace; end
|
127
|
+
|
128
|
+
sig { params(value: String).void }
|
129
|
+
def php_metadata_namespace=(value); end
|
130
|
+
|
131
|
+
sig { returns(String) }
|
132
|
+
def php_namespace; end
|
133
|
+
|
134
|
+
sig { params(value: String).void }
|
135
|
+
def php_namespace=(value); end
|
136
|
+
|
137
|
+
sig { returns(T::Boolean) }
|
138
|
+
def py_generic_services; end
|
139
|
+
|
140
|
+
sig { params(value: T::Boolean).void }
|
141
|
+
def py_generic_services=(value); end
|
142
|
+
|
143
|
+
sig { returns(String) }
|
144
|
+
def ruby_package; end
|
145
|
+
|
146
|
+
sig { params(value: String).void }
|
147
|
+
def ruby_package=(value); end
|
148
|
+
|
149
|
+
sig { returns(String) }
|
150
|
+
def swift_prefix; end
|
151
|
+
|
152
|
+
sig { params(value: String).void }
|
153
|
+
def swift_prefix=(value); end
|
154
|
+
|
155
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]) }
|
156
|
+
def uninterpreted_option; end
|
157
|
+
|
158
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]).void }
|
159
|
+
def uninterpreted_option=(value); end
|
160
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for dynamic methods in `Google::Protobuf::GeneratedCodeInfo::Annotation`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::GeneratedCodeInfo::Annotation`.
|
6
|
+
|
7
|
+
class Google::Protobuf::GeneratedCodeInfo::Annotation
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
begin: T.nilable(Integer),
|
11
|
+
end: T.nilable(Integer),
|
12
|
+
path: T.nilable(T.any(Google::Protobuf::RepeatedField[Integer], T::Array[Integer])),
|
13
|
+
source_file: T.nilable(String)
|
14
|
+
).void
|
15
|
+
end
|
16
|
+
def initialize(begin: nil, end: nil, path: Google::Protobuf::RepeatedField.new(:int32), source_file: nil); end
|
17
|
+
|
18
|
+
sig { returns(Integer) }
|
19
|
+
def begin; end
|
20
|
+
|
21
|
+
sig { params(value: Integer).void }
|
22
|
+
def begin=(value); end
|
23
|
+
|
24
|
+
sig { returns(Integer) }
|
25
|
+
def end; end
|
26
|
+
|
27
|
+
sig { params(value: Integer).void }
|
28
|
+
def end=(value); end
|
29
|
+
|
30
|
+
sig { returns(Google::Protobuf::RepeatedField[Integer]) }
|
31
|
+
def path; end
|
32
|
+
|
33
|
+
sig { params(value: Google::Protobuf::RepeatedField[Integer]).void }
|
34
|
+
def path=(value); end
|
35
|
+
|
36
|
+
sig { returns(String) }
|
37
|
+
def source_file; end
|
38
|
+
|
39
|
+
sig { params(value: String).void }
|
40
|
+
def source_file=(value); end
|
41
|
+
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::GeneratedCodeInfo`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::GeneratedCodeInfo`.
|
6
|
+
|
7
|
+
class Google::Protobuf::GeneratedCodeInfo
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
annotation: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::GeneratedCodeInfo::Annotation], T::Array[Google::Protobuf::GeneratedCodeInfo::Annotation]))
|
11
|
+
).void
|
12
|
+
end
|
13
|
+
def initialize(annotation: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::GeneratedCodeInfo::Annotation)); end
|
14
|
+
|
15
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::GeneratedCodeInfo::Annotation]) }
|
16
|
+
def annotation; end
|
17
|
+
|
18
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::GeneratedCodeInfo::Annotation]).void }
|
19
|
+
def annotation=(value); end
|
20
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for dynamic methods in `Google::Protobuf::Map`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::Map`.
|
6
|
+
|
7
|
+
class Google::Protobuf::Map
|
8
|
+
extend T::Generic
|
9
|
+
|
10
|
+
Key = type_member
|
11
|
+
Value = type_member
|
12
|
+
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::MessageOptions`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::MessageOptions`.
|
6
|
+
|
7
|
+
class Google::Protobuf::MessageOptions
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
deprecated: T.nilable(T::Boolean),
|
11
|
+
map_entry: T.nilable(T::Boolean),
|
12
|
+
message_set_wire_format: T.nilable(T::Boolean),
|
13
|
+
no_standard_descriptor_accessor: T.nilable(T::Boolean),
|
14
|
+
uninterpreted_option: T.nilable(T.any(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption], T::Array[Google::Protobuf::UninterpretedOption]))
|
15
|
+
).void
|
16
|
+
end
|
17
|
+
def initialize(deprecated: nil, map_entry: nil, message_set_wire_format: nil, no_standard_descriptor_accessor: nil, uninterpreted_option: Google::Protobuf::RepeatedField.new(:message, Google::Protobuf::UninterpretedOption)); end
|
18
|
+
|
19
|
+
sig { returns(T::Boolean) }
|
20
|
+
def deprecated; end
|
21
|
+
|
22
|
+
sig { params(value: T::Boolean).void }
|
23
|
+
def deprecated=(value); end
|
24
|
+
|
25
|
+
sig { returns(T::Boolean) }
|
26
|
+
def map_entry; end
|
27
|
+
|
28
|
+
sig { params(value: T::Boolean).void }
|
29
|
+
def map_entry=(value); end
|
30
|
+
|
31
|
+
sig { returns(T::Boolean) }
|
32
|
+
def message_set_wire_format; end
|
33
|
+
|
34
|
+
sig { params(value: T::Boolean).void }
|
35
|
+
def message_set_wire_format=(value); end
|
36
|
+
|
37
|
+
sig { returns(T::Boolean) }
|
38
|
+
def no_standard_descriptor_accessor; end
|
39
|
+
|
40
|
+
sig { params(value: T::Boolean).void }
|
41
|
+
def no_standard_descriptor_accessor=(value); end
|
42
|
+
|
43
|
+
sig { returns(Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]) }
|
44
|
+
def uninterpreted_option; end
|
45
|
+
|
46
|
+
sig { params(value: Google::Protobuf::RepeatedField[Google::Protobuf::UninterpretedOption]).void }
|
47
|
+
def uninterpreted_option=(value); end
|
48
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for dynamic methods in `Google::Protobuf::MethodDescriptorProto`.
|
5
|
+
# Please instead update this file by running `bin/tapioca dsl Google::Protobuf::MethodDescriptorProto`.
|
6
|
+
|
7
|
+
class Google::Protobuf::MethodDescriptorProto
|
8
|
+
sig do
|
9
|
+
params(
|
10
|
+
client_streaming: T.nilable(T::Boolean),
|
11
|
+
input_type: T.nilable(String),
|
12
|
+
name: T.nilable(String),
|
13
|
+
options: T.nilable(Google::Protobuf::MethodOptions),
|
14
|
+
output_type: T.nilable(String),
|
15
|
+
server_streaming: T.nilable(T::Boolean)
|
16
|
+
).void
|
17
|
+
end
|
18
|
+
def initialize(client_streaming: nil, input_type: nil, name: nil, options: nil, output_type: nil, server_streaming: nil); end
|
19
|
+
|
20
|
+
sig { returns(T::Boolean) }
|
21
|
+
def client_streaming; end
|
22
|
+
|
23
|
+
sig { params(value: T::Boolean).void }
|
24
|
+
def client_streaming=(value); end
|
25
|
+
|
26
|
+
sig { returns(String) }
|
27
|
+
def input_type; end
|
28
|
+
|
29
|
+
sig { params(value: String).void }
|
30
|
+
def input_type=(value); end
|
31
|
+
|
32
|
+
sig { returns(String) }
|
33
|
+
def name; end
|
34
|
+
|
35
|
+
sig { params(value: String).void }
|
36
|
+
def name=(value); end
|
37
|
+
|
38
|
+
sig { returns(T.nilable(Google::Protobuf::MethodOptions)) }
|
39
|
+
def options; end
|
40
|
+
|
41
|
+
sig { params(value: T.nilable(Google::Protobuf::MethodOptions)).void }
|
42
|
+
def options=(value); end
|
43
|
+
|
44
|
+
sig { returns(String) }
|
45
|
+
def output_type; end
|
46
|
+
|
47
|
+
sig { params(value: String).void }
|
48
|
+
def output_type=(value); end
|
49
|
+
|
50
|
+
sig { returns(T::Boolean) }
|
51
|
+
def server_streaming; end
|
52
|
+
|
53
|
+
sig { params(value: T::Boolean).void }
|
54
|
+
def server_streaming=(value); end
|
55
|
+
end
|