ipt 1.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/test.yml +41 -0
- data/.gitignore +0 -1
- data/Gemfile.lock +318 -0
- data/README.md +1 -1
- data/bin/tapioca +29 -0
- data/ipt.gemspec +15 -8
- data/lib/pt.rb +8 -9
- data/lib/pt/action.rb +42 -24
- data/lib/pt/cli.rb +1 -1
- data/lib/pt/client.rb +2 -3
- data/lib/pt/configuration.rb +1 -1
- data/lib/pt/data_row.rb +1 -0
- data/lib/pt/data_table.rb +1 -2
- data/lib/pt/io.rb +16 -7
- data/lib/pt/version.rb +2 -1
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/activesupport.rbi +671 -0
- data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
- data/sorbet/rbi/gems/addressable.rbi +147 -0
- data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/anyway_config.rbi +197 -0
- data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
- data/sorbet/rbi/gems/aruba.rbi +917 -0
- data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
- data/sorbet/rbi/gems/childprocess.rbi +107 -0
- data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/colorize.rbi +82 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
- data/sorbet/rbi/gems/config.rbi +124 -0
- data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
- data/sorbet/rbi/gems/contracts.rbi +391 -0
- data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
- data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
- data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
- data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
- data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
- data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
- data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber.rbi +1876 -0
- data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
- data/sorbet/rbi/gems/declarative.rbi +75 -0
- data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
- data/sorbet/rbi/gems/deep_merge.rbi +26 -0
- data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
- data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
- data/sorbet/rbi/gems/equalizer.rbi +23 -0
- data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
- data/sorbet/rbi/gems/equatable.rbi +26 -0
- data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/excon.rbi +378 -0
- data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday.rbi +606 -0
- data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
- data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
- data/sorbet/rbi/gems/formatador.rbi +52 -0
- data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
- data/sorbet/rbi/gems/guard.rbi +397 -0
- data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
- data/sorbet/rbi/gems/highline.rbi +567 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
- data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
- data/sorbet/rbi/gems/lumberjack.rbi +299 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/middleware.rbi +32 -0
- data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
- data/sorbet/rbi/gems/mime-types.rbi +218 -0
- data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/multi_test.rbi +28 -0
- data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
- data/sorbet/rbi/gems/necromancer.rbi +135 -0
- data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/nenv.rbi +60 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
- data/sorbet/rbi/gems/notiffany.rbi +215 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
- data/sorbet/rbi/gems/paint.rbi +31 -0
- data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
- data/sorbet/rbi/gems/parlour.rbi +840 -0
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
- data/sorbet/rbi/gems/parser.rbi +1517 -0
- data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
- data/sorbet/rbi/gems/pastel.rbi +128 -0
- data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
- data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
- data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake.rbi +647 -0
- data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/representable.rbi +227 -0
- data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
- data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/shellany.rbi +29 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
- data/sorbet/rbi/gems/spoom.rbi +872 -0
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
- data/sorbet/rbi/gems/sys-uname.rbi +66 -0
- data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
- data/sorbet/rbi/gems/tapioca.rbi +39 -0
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
- data/sorbet/rbi/gems/terminal-table.rbi +166 -0
- data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
- data/sorbet/rbi/gems/thor.rbi +537 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
- data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
- data/sorbet/rbi/gems/tracker_api.rbi +33 -0
- data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
- data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
- data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-color.rbi +41 -0
- data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-pager.rbi +41 -0
- data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-platform.rbi +36 -0
- data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
- data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-screen.rbi +40 -0
- data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
- data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-table.rbi +417 -0
- data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-which.rbi +22 -0
- data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty.rbi +126 -0
- data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tzinfo.rbi +588 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
- data/sorbet/rbi/gems/uber.rbi +18 -0
- data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
- data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
- data/sorbet/rbi/gems/vcr.rbi +582 -0
- data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
- data/sorbet/rbi/gems/verse.rbi +87 -0
- data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
- data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
- data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
- data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +23 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +341 -23
@@ -0,0 +1,128 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/pastel/all/pastel.rbi
|
9
|
+
#
|
10
|
+
# pastel-0.6.1
|
11
|
+
|
12
|
+
module Pastel
|
13
|
+
def new(options = nil); end
|
14
|
+
def self.new(options = nil); end
|
15
|
+
end
|
16
|
+
module Pastel::ANSI
|
17
|
+
def background?(code); end
|
18
|
+
def foreground?(code); end
|
19
|
+
def self.background?(code); end
|
20
|
+
def self.foreground?(code); end
|
21
|
+
def self.style?(code); end
|
22
|
+
def style?(code); end
|
23
|
+
end
|
24
|
+
class Pastel::AliasImporter
|
25
|
+
def color; end
|
26
|
+
def env; end
|
27
|
+
def import; end
|
28
|
+
def initialize(color, env, output = nil); end
|
29
|
+
def output; end
|
30
|
+
end
|
31
|
+
class Pastel::Color
|
32
|
+
def alias_color(alias_name, color); end
|
33
|
+
def apply_codes(string, ansi_colors); end
|
34
|
+
def blank?(value); end
|
35
|
+
def clear; end
|
36
|
+
def code(*colors); end
|
37
|
+
def colored?(string); end
|
38
|
+
def compare?(comparator, other); end
|
39
|
+
def decorate(string, *colors); end
|
40
|
+
def disable!; end
|
41
|
+
def eachline; end
|
42
|
+
def enabled; end
|
43
|
+
def enabled?; end
|
44
|
+
def hash; end
|
45
|
+
def initialize(options = nil); end
|
46
|
+
def inspect; end
|
47
|
+
def lookup(*colors); end
|
48
|
+
def strip(*strings); end
|
49
|
+
def style_names; end
|
50
|
+
def styles; end
|
51
|
+
def valid?(*colors); end
|
52
|
+
def validate(*colors); end
|
53
|
+
extend Equatable
|
54
|
+
include Equatable
|
55
|
+
include Equatable::Methods
|
56
|
+
include Pastel::ANSI
|
57
|
+
end
|
58
|
+
class Pastel::ColorParser
|
59
|
+
def self.ansi_for(ansi); end
|
60
|
+
def self.attribute_for(ansi); end
|
61
|
+
def self.parse(text); end
|
62
|
+
def self.unpack_ansi(ansi_stack); end
|
63
|
+
include Pastel::ANSI
|
64
|
+
end
|
65
|
+
class Pastel::ColorResolver
|
66
|
+
def color; end
|
67
|
+
def initialize(color); end
|
68
|
+
def resolve(base, unprocessed_string); end
|
69
|
+
end
|
70
|
+
class Pastel::Delegator
|
71
|
+
def alias_color(*args, &block); end
|
72
|
+
def base; end
|
73
|
+
def colored?(*args, &block); end
|
74
|
+
def compare?(comparator, other); end
|
75
|
+
def decorate(*args, &block); end
|
76
|
+
def enabled?(*args, &block); end
|
77
|
+
def evaluate_block(&block); end
|
78
|
+
def hash; end
|
79
|
+
def initialize(resolver, base); end
|
80
|
+
def inspect; end
|
81
|
+
def lookup(*args, &block); end
|
82
|
+
def method_missing(method_name, *args, &block); end
|
83
|
+
def parse(*args, &block); end
|
84
|
+
def resolver; end
|
85
|
+
def respond_to_missing?(name, include_all = nil); end
|
86
|
+
def self.for(resolver, base); end
|
87
|
+
def strip(*args, &block); end
|
88
|
+
def styles(*args, &block); end
|
89
|
+
def to_s; end
|
90
|
+
def undecorate(*args, &block); end
|
91
|
+
def valid?(*args, &block); end
|
92
|
+
def wrap(base); end
|
93
|
+
extend Equatable
|
94
|
+
extend Forwardable
|
95
|
+
include Equatable
|
96
|
+
include Equatable::Methods
|
97
|
+
end
|
98
|
+
class Pastel::Detached
|
99
|
+
def [](*args); end
|
100
|
+
def call(*args); end
|
101
|
+
def compare?(comparator, other); end
|
102
|
+
def hash; end
|
103
|
+
def initialize(color, *styles); end
|
104
|
+
def inspect; end
|
105
|
+
def styles; end
|
106
|
+
def to_proc; end
|
107
|
+
extend Equatable
|
108
|
+
include Equatable
|
109
|
+
include Equatable::Methods
|
110
|
+
end
|
111
|
+
class Pastel::DecoratorChain
|
112
|
+
def add(decorator); end
|
113
|
+
def compare?(comparator, other); end
|
114
|
+
def decorators; end
|
115
|
+
def each(&block); end
|
116
|
+
def hash; end
|
117
|
+
def initialize(decorators = nil); end
|
118
|
+
def inspect; end
|
119
|
+
def self.empty; end
|
120
|
+
extend Equatable
|
121
|
+
include Enumerable
|
122
|
+
include Equatable
|
123
|
+
include Equatable::Methods
|
124
|
+
end
|
125
|
+
class Pastel::InvalidAttributeNameError < ArgumentError
|
126
|
+
end
|
127
|
+
class Pastel::InvalidAliasNameError < ArgumentError
|
128
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `pastel` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
|
@@ -0,0 +1,1520 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: ignore
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/protobuf-cucumber/all/protobuf-cucumber.rbi
|
9
|
+
#
|
10
|
+
# protobuf-cucumber-3.10.8
|
11
|
+
|
12
|
+
module Protobuf
|
13
|
+
def self.after_server_bind(&block); end
|
14
|
+
def self.before_server_bind(&block); end
|
15
|
+
def self.client_host; end
|
16
|
+
def self.client_host=(arg0); end
|
17
|
+
def self.connector_type_class; end
|
18
|
+
def self.connector_type_class=(type_class); end
|
19
|
+
def self.deprecator; end
|
20
|
+
def self.field_deprecator; end
|
21
|
+
def self.gc_pause_server_request=(value); end
|
22
|
+
def self.gc_pause_server_request?; end
|
23
|
+
def self.ignore_unknown_fields=(value); end
|
24
|
+
def self.ignore_unknown_fields?; end
|
25
|
+
def self.print_deprecation_warnings=(value); end
|
26
|
+
def self.print_deprecation_warnings?; end
|
27
|
+
end
|
28
|
+
module Protobuf::WireType
|
29
|
+
end
|
30
|
+
module Protobuf::VarintPure
|
31
|
+
def cached_varint(value); end
|
32
|
+
def decode(stream); end
|
33
|
+
def encode(value, use_cache = nil); end
|
34
|
+
end
|
35
|
+
class Protobuf::Varint
|
36
|
+
extend Protobuf::VarintPure
|
37
|
+
end
|
38
|
+
class Protobuf::Error < StandardError
|
39
|
+
end
|
40
|
+
class Protobuf::InvalidWireType < Protobuf::Error
|
41
|
+
end
|
42
|
+
class Protobuf::NotInitializedError < Protobuf::Error
|
43
|
+
end
|
44
|
+
class Protobuf::TagCollisionError < Protobuf::Error
|
45
|
+
end
|
46
|
+
class Protobuf::SerializationError < StandardError
|
47
|
+
end
|
48
|
+
class Protobuf::FieldNotDefinedError < StandardError
|
49
|
+
end
|
50
|
+
class Protobuf::DuplicateFieldNameError < StandardError
|
51
|
+
end
|
52
|
+
class Protobuf::DeprecationBase < ActiveSupport::Deprecation
|
53
|
+
def self.deprecate_methods(**, &&); end
|
54
|
+
def self.deprecation_warning(**, &&); end
|
55
|
+
end
|
56
|
+
class Protobuf::Deprecation < Protobuf::DeprecationBase
|
57
|
+
def self.define_deprecated_methods(**, &&); end
|
58
|
+
end
|
59
|
+
class Protobuf::FieldDeprecation < Protobuf::DeprecationBase
|
60
|
+
def self.deprecate_method(**, &&); end
|
61
|
+
def self.deprecated_method_warning(**, &&); end
|
62
|
+
end
|
63
|
+
module Protobuf::Logging
|
64
|
+
def log_exception(ex); end
|
65
|
+
def log_signature; end
|
66
|
+
def logger; end
|
67
|
+
def self.initialize_logger(log_target = nil, log_level = nil); end
|
68
|
+
def self.logger; end
|
69
|
+
def self.logger=(arg0); end
|
70
|
+
def sign_message(message); end
|
71
|
+
end
|
72
|
+
class Protobuf::Encoder
|
73
|
+
def self.encode(message, stream); end
|
74
|
+
end
|
75
|
+
class Protobuf::Decoder
|
76
|
+
def self.decode_each_field(stream); end
|
77
|
+
end
|
78
|
+
module Protobuf::Optionable
|
79
|
+
def get_option!(name); end
|
80
|
+
def get_option(name); end
|
81
|
+
def self.inject(base_class, extend_class = nil, &block); end
|
82
|
+
end
|
83
|
+
module Protobuf::Optionable::ClassMethods
|
84
|
+
def get_option!(name); end
|
85
|
+
def get_option(name); end
|
86
|
+
def set_option(name, value = nil); end
|
87
|
+
end
|
88
|
+
module Protobuf::Field
|
89
|
+
def self.build(message_class, rule, type, name, tag, simple_name, options = nil); end
|
90
|
+
def self.field_class(type); end
|
91
|
+
def self.field_type(type); end
|
92
|
+
end
|
93
|
+
class Protobuf::Field::FieldArray < Array
|
94
|
+
def <<(val); end
|
95
|
+
def []=(nth, val); end
|
96
|
+
def field; end
|
97
|
+
def initialize(field); end
|
98
|
+
def normalize(value); end
|
99
|
+
def push(val); end
|
100
|
+
def raise_type_error(val); end
|
101
|
+
def replace(val); end
|
102
|
+
def to_hash_value; end
|
103
|
+
def to_json_hash_value(options = nil); end
|
104
|
+
def to_s; end
|
105
|
+
def unshift(val); end
|
106
|
+
end
|
107
|
+
class Protobuf::Field::FieldHash < Hash
|
108
|
+
def []=(key, val); end
|
109
|
+
def fetch_enum(type, val); end
|
110
|
+
def field; end
|
111
|
+
def initialize(field); end
|
112
|
+
def key_field; end
|
113
|
+
def merge!(other); end
|
114
|
+
def normalize(what, value, normalize_field); end
|
115
|
+
def normalize_key(key); end
|
116
|
+
def normalize_val(value); end
|
117
|
+
def raise_type_error(val); end
|
118
|
+
def replace(val); end
|
119
|
+
def store(key, val); end
|
120
|
+
def to_hash_value; end
|
121
|
+
def to_json_hash_value(options = nil); end
|
122
|
+
def to_s; end
|
123
|
+
def update(other); end
|
124
|
+
def value_field; end
|
125
|
+
end
|
126
|
+
module Protobuf::Field::BaseFieldObjectDefinitions
|
127
|
+
end
|
128
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::ToHashValueToMessageHashWithStringKey
|
129
|
+
def call(values, result); end
|
130
|
+
def initialize(selph); end
|
131
|
+
end
|
132
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseToMessageHashWithStringKey
|
133
|
+
def call(values, result); end
|
134
|
+
def initialize(selph); end
|
135
|
+
end
|
136
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::ToHashValueToMessageHash
|
137
|
+
def call(values, result); end
|
138
|
+
def initialize(selph); end
|
139
|
+
end
|
140
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseToMessageHash
|
141
|
+
def call(values, result); end
|
142
|
+
def initialize(selph); end
|
143
|
+
end
|
144
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedPackedEncodeToStream
|
145
|
+
def call(value, stream); end
|
146
|
+
def initialize(selph); end
|
147
|
+
end
|
148
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BytesEncodeToStream
|
149
|
+
def call(value, stream); end
|
150
|
+
def initialize(selph); end
|
151
|
+
end
|
152
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::StringEncodeToStream
|
153
|
+
def call(value, stream); end
|
154
|
+
def initialize(selph); end
|
155
|
+
end
|
156
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseEncodeToStream
|
157
|
+
def call(value, stream); end
|
158
|
+
def initialize(selph); end
|
159
|
+
end
|
160
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedNotPackedEncodeToStream
|
161
|
+
def call(value, stream); end
|
162
|
+
def initialize(selph); end
|
163
|
+
end
|
164
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseSetMethod
|
165
|
+
def call(message_instance, bytes); end
|
166
|
+
def initialize(selph); end
|
167
|
+
end
|
168
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::MapSetMethod
|
169
|
+
def call(message_instance, bytes); end
|
170
|
+
def initialize(selph); end
|
171
|
+
end
|
172
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedNotPackedSetMethod
|
173
|
+
def call(message_instance, bytes); end
|
174
|
+
def initialize(selph); end
|
175
|
+
end
|
176
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedPackedSetMethod
|
177
|
+
def call(message_instance, bytes); end
|
178
|
+
def initialize(selph); end
|
179
|
+
end
|
180
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RequiredMapSetField
|
181
|
+
def call(values, value, _ignore_nil_for_repeated, message_instance); end
|
182
|
+
def initialize(selph); end
|
183
|
+
end
|
184
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::MapSetField
|
185
|
+
def call(values, value, _ignore_nil_for_repeated, _message_instance); end
|
186
|
+
def initialize(selph); end
|
187
|
+
end
|
188
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RequiredRepeatedSetField
|
189
|
+
def call(values, value, ignore_nil_for_repeated, message_instance); end
|
190
|
+
def initialize(selph); end
|
191
|
+
end
|
192
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedSetField
|
193
|
+
def call(values, value, ignore_nil_for_repeated, _message_instance); end
|
194
|
+
def initialize(selph); end
|
195
|
+
end
|
196
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RequiredStringSetField
|
197
|
+
def call(values, value, _ignore_nil_for_repeated, message_instance); end
|
198
|
+
def initialize(selph); end
|
199
|
+
end
|
200
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::StringSetField
|
201
|
+
def call(values, value, _ignore_nil_for_repeated, _message_instance); end
|
202
|
+
def initialize(selph); end
|
203
|
+
end
|
204
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RequiredBaseSetField
|
205
|
+
def call(values, value, _ignore_nil_for_repeated, message_instance); end
|
206
|
+
def initialize(selph); end
|
207
|
+
end
|
208
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseSetField
|
209
|
+
def call(values, value, _ignore_nil_for_repeated, _message_instance); end
|
210
|
+
def initialize(selph); end
|
211
|
+
end
|
212
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseFieldAndPresentPredicate
|
213
|
+
def call(values); end
|
214
|
+
def initialize(selph); end
|
215
|
+
end
|
216
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BoolFieldAndPresentPredicate
|
217
|
+
def call(values); end
|
218
|
+
def initialize(selph); end
|
219
|
+
end
|
220
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseFieldPredicate
|
221
|
+
def call(values); end
|
222
|
+
def initialize(selph); end
|
223
|
+
end
|
224
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedFieldPredicate
|
225
|
+
def call(values); end
|
226
|
+
def initialize(selph); end
|
227
|
+
end
|
228
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BoolFieldValueFromValues
|
229
|
+
def call(values); end
|
230
|
+
def initialize(selph); end
|
231
|
+
end
|
232
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BoolFieldValueFromValuesForSerialization
|
233
|
+
def call(values); end
|
234
|
+
def initialize(selph); end
|
235
|
+
end
|
236
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseFieldValueFromValues
|
237
|
+
def call(values); end
|
238
|
+
def initialize(selph); end
|
239
|
+
end
|
240
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::BaseFieldValueFromValuesForSerialization
|
241
|
+
def call(values); end
|
242
|
+
def initialize(selph); end
|
243
|
+
end
|
244
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::MapValueFromValues
|
245
|
+
def call(values); end
|
246
|
+
def initialize(selph); end
|
247
|
+
end
|
248
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::MapValueFromValuesForSerialization
|
249
|
+
def call(values); end
|
250
|
+
def initialize(selph); end
|
251
|
+
end
|
252
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedFieldValueFromValues
|
253
|
+
def call(values); end
|
254
|
+
def initialize(selph); end
|
255
|
+
end
|
256
|
+
class Protobuf::Field::BaseFieldObjectDefinitions::RepeatedFieldValueFromValuesForSerialization
|
257
|
+
def call(values); end
|
258
|
+
def initialize(selph); end
|
259
|
+
end
|
260
|
+
class Protobuf::Field::BaseField
|
261
|
+
def acceptable?(_value); end
|
262
|
+
def coerce!(value); end
|
263
|
+
def decode(_bytes); end
|
264
|
+
def default; end
|
265
|
+
def default_value; end
|
266
|
+
def define_accessor(simple_field_name, fully_qualified_field_name); end
|
267
|
+
def define_encode_to_stream!; end
|
268
|
+
def define_field_and_present_predicate!; end
|
269
|
+
def define_field_predicate!; end
|
270
|
+
def define_set_field!; end
|
271
|
+
def define_set_method!; end
|
272
|
+
def define_to_message_hash!; end
|
273
|
+
def define_value_from_values!; end
|
274
|
+
def define_value_from_values_for_serialization!; end
|
275
|
+
def deprecated?; end
|
276
|
+
def encode(_value); end
|
277
|
+
def encode_to_stream(value, stream); end
|
278
|
+
def enum?; end
|
279
|
+
def extension?; end
|
280
|
+
def field?(values); end
|
281
|
+
def field_and_present?(values); end
|
282
|
+
def fully_qualified_name; end
|
283
|
+
def fully_qualified_name_only!; end
|
284
|
+
def initialize(message_class, rule, type_class, fully_qualified_name, tag, simple_name, options); end
|
285
|
+
def map?; end
|
286
|
+
def message?; end
|
287
|
+
def message_class; end
|
288
|
+
def name; end
|
289
|
+
def optionable_descriptor_class; end
|
290
|
+
def optional?; end
|
291
|
+
def options; end
|
292
|
+
def packed?; end
|
293
|
+
def repeated?; end
|
294
|
+
def repeated_message?; end
|
295
|
+
def required?; end
|
296
|
+
def rule; end
|
297
|
+
def self.default; end
|
298
|
+
def set(message_instance, bytes); end
|
299
|
+
def set_default_value!; end
|
300
|
+
def set_field(values, value, ignore_nil_for_repeated, message_instance); end
|
301
|
+
def set_map!; end
|
302
|
+
def set_repeated_message!; end
|
303
|
+
def tag; end
|
304
|
+
def tag_encoded; end
|
305
|
+
def to_message_hash(values, result); end
|
306
|
+
def to_message_hash_with_string_key(values, result); end
|
307
|
+
def to_s; end
|
308
|
+
def type(*args, &block); end
|
309
|
+
def type_class; end
|
310
|
+
def typed_default_value; end
|
311
|
+
def validate_packed_field; end
|
312
|
+
def value_from_values(values); end
|
313
|
+
def value_from_values_for_serialization(values); end
|
314
|
+
def wire_type; end
|
315
|
+
include Protobuf::Logging
|
316
|
+
include Protobuf::Optionable::ClassMethods
|
317
|
+
end
|
318
|
+
class Protobuf::Field::BytesField < Protobuf::Field::BaseField
|
319
|
+
def acceptable?(val); end
|
320
|
+
def coerce!(value); end
|
321
|
+
def decode(bytes); end
|
322
|
+
def encode(value); end
|
323
|
+
def json_encode(value, options = nil); end
|
324
|
+
def self.default; end
|
325
|
+
def wire_type; end
|
326
|
+
end
|
327
|
+
class Protobuf::Field::FloatField < Protobuf::Field::BaseField
|
328
|
+
def acceptable?(val); end
|
329
|
+
def coerce!(val); end
|
330
|
+
def decode(bytes); end
|
331
|
+
def encode(value); end
|
332
|
+
def self.default; end
|
333
|
+
def wire_type; end
|
334
|
+
end
|
335
|
+
class Protobuf::Field::MessageField < Protobuf::Field::BaseField
|
336
|
+
def acceptable?(val); end
|
337
|
+
def coerce!(value); end
|
338
|
+
def decode(bytes); end
|
339
|
+
def encode(value); end
|
340
|
+
def message?; end
|
341
|
+
def wire_type; end
|
342
|
+
end
|
343
|
+
class Protobuf::Field::VarintField < Protobuf::Field::BaseField
|
344
|
+
def acceptable?(val); end
|
345
|
+
def coerce!(val); end
|
346
|
+
def decode(value); end
|
347
|
+
def encode(value); end
|
348
|
+
def self.default; end
|
349
|
+
def self.encode(value); end
|
350
|
+
def wire_type; end
|
351
|
+
end
|
352
|
+
class Protobuf::Field::StringField < Protobuf::Field::BytesField
|
353
|
+
def acceptable?(val); end
|
354
|
+
def coerce!(value); end
|
355
|
+
def decode(bytes); end
|
356
|
+
def encode(value); end
|
357
|
+
def json_encode(value, options = nil); end
|
358
|
+
end
|
359
|
+
class Protobuf::Field::DoubleField < Protobuf::Field::FloatField
|
360
|
+
def decode(bytes); end
|
361
|
+
def encode(value); end
|
362
|
+
def wire_type; end
|
363
|
+
end
|
364
|
+
class Protobuf::Field::IntegerField < Protobuf::Field::VarintField
|
365
|
+
def decode(value); end
|
366
|
+
def encode(value); end
|
367
|
+
end
|
368
|
+
class Protobuf::Field::EnumField < Protobuf::Field::IntegerField
|
369
|
+
def acceptable?(val); end
|
370
|
+
def coerce!(value); end
|
371
|
+
def decode(value); end
|
372
|
+
def encode(value); end
|
373
|
+
def enum?; end
|
374
|
+
def json_encode(value, options = nil); end
|
375
|
+
def self.default; end
|
376
|
+
def typed_default_value; end
|
377
|
+
end
|
378
|
+
class Protobuf::Field::SignedIntegerField < Protobuf::Field::VarintField
|
379
|
+
def decode(value); end
|
380
|
+
def encode(value); end
|
381
|
+
end
|
382
|
+
class Protobuf::Field::Uint32Field < Protobuf::Field::VarintField
|
383
|
+
def self.max; end
|
384
|
+
def self.min; end
|
385
|
+
end
|
386
|
+
class Protobuf::Field::Uint64Field < Protobuf::Field::VarintField
|
387
|
+
def json_encode(value, options = nil); end
|
388
|
+
def self.max; end
|
389
|
+
def self.min; end
|
390
|
+
end
|
391
|
+
class Protobuf::Field::Int32Field < Protobuf::Field::IntegerField
|
392
|
+
def self.max; end
|
393
|
+
def self.min; end
|
394
|
+
end
|
395
|
+
class Protobuf::Field::Int64Field < Protobuf::Field::IntegerField
|
396
|
+
def acceptable?(val); end
|
397
|
+
def json_encode(value, options = nil); end
|
398
|
+
def self.max; end
|
399
|
+
def self.min; end
|
400
|
+
end
|
401
|
+
class Protobuf::Field::Sint32Field < Protobuf::Field::SignedIntegerField
|
402
|
+
def self.max; end
|
403
|
+
def self.min; end
|
404
|
+
end
|
405
|
+
class Protobuf::Field::Sint64Field < Protobuf::Field::SignedIntegerField
|
406
|
+
def json_encode(value, options = nil); end
|
407
|
+
def self.max; end
|
408
|
+
def self.min; end
|
409
|
+
end
|
410
|
+
class Protobuf::Field::BoolField < Protobuf::Field::VarintField
|
411
|
+
def acceptable?(val); end
|
412
|
+
def coerce!(val); end
|
413
|
+
def decode(value); end
|
414
|
+
def define_accessor(simple_field_name, _fully_qualified_field_name); end
|
415
|
+
def encode(value); end
|
416
|
+
def self.default; end
|
417
|
+
end
|
418
|
+
class Protobuf::Field::Sfixed32Field < Protobuf::Field::Int32Field
|
419
|
+
def decode(bytes); end
|
420
|
+
def encode(value); end
|
421
|
+
def wire_type; end
|
422
|
+
end
|
423
|
+
class Protobuf::Field::Sfixed64Field < Protobuf::Field::Int64Field
|
424
|
+
def decode(bytes); end
|
425
|
+
def encode(value); end
|
426
|
+
def wire_type; end
|
427
|
+
end
|
428
|
+
class Protobuf::Field::Fixed32Field < Protobuf::Field::Uint32Field
|
429
|
+
def decode(bytes); end
|
430
|
+
def encode(value); end
|
431
|
+
def wire_type; end
|
432
|
+
end
|
433
|
+
class Protobuf::Field::Fixed64Field < Protobuf::Field::Uint64Field
|
434
|
+
def decode(bytes); end
|
435
|
+
def encode(value); end
|
436
|
+
def wire_type; end
|
437
|
+
end
|
438
|
+
class Numeric
|
439
|
+
def value(*args, &block); end
|
440
|
+
end
|
441
|
+
class Protobuf::Enum < SimpleDelegator
|
442
|
+
def ==(other); end
|
443
|
+
def class; end
|
444
|
+
def eql?(other); end
|
445
|
+
def initialize(parent_class, name, tag); end
|
446
|
+
def inspect; end
|
447
|
+
def name; end
|
448
|
+
def name=(arg0); end
|
449
|
+
def parent_class; end
|
450
|
+
def parent_class=(arg0); end
|
451
|
+
def self.aliases_allowed?; end
|
452
|
+
def self.all_tags; end
|
453
|
+
def self.define(name, tag); end
|
454
|
+
def self.enum_by_value(*args, &block); end
|
455
|
+
def self.enum_for_name(name); end
|
456
|
+
def self.enum_for_tag(tag); end
|
457
|
+
def self.enum_for_tag_integer(tag); end
|
458
|
+
def self.enums; end
|
459
|
+
def self.enums_for_tag(tag); end
|
460
|
+
def self.fetch(candidate); end
|
461
|
+
def self.get_name_by_tag(*args, &block); end
|
462
|
+
def self.mapped_enums; end
|
463
|
+
def self.name_by_value(*args, &block); end
|
464
|
+
def self.name_for_tag(tag); end
|
465
|
+
def self.optionable_descriptor_class; end
|
466
|
+
def self.valid_tag?(tag); end
|
467
|
+
def self.value_by_name(*args, &block); end
|
468
|
+
def self.values(*args, &block); end
|
469
|
+
def tag; end
|
470
|
+
def tag=(arg0); end
|
471
|
+
def to_hash_value; end
|
472
|
+
def to_i; end
|
473
|
+
def to_int; end
|
474
|
+
def to_json(*arg0); end
|
475
|
+
def to_json_hash_value; end
|
476
|
+
def to_s(format = nil); end
|
477
|
+
def try(*args, &block); end
|
478
|
+
def value(*args, &block); end
|
479
|
+
extend Protobuf::Optionable::ClassMethods
|
480
|
+
include Protobuf::Optionable
|
481
|
+
end
|
482
|
+
class Protobuf::Message
|
483
|
+
def ==(other); end
|
484
|
+
def [](name); end
|
485
|
+
def []=(name, value); end
|
486
|
+
def clear!; end
|
487
|
+
def clone; end
|
488
|
+
def copy_to(object, method); end
|
489
|
+
def dup; end
|
490
|
+
def each_field; end
|
491
|
+
def each_field_for_serialization; end
|
492
|
+
def field?(name); end
|
493
|
+
def has_field?(*args, &block); end
|
494
|
+
def initialize(fields = nil); end
|
495
|
+
def inspect; end
|
496
|
+
def respond_to_and_has?(name); end
|
497
|
+
def respond_to_and_has_and_present?(key); end
|
498
|
+
def respond_to_and_has_present?(key); end
|
499
|
+
def respond_to_has?(name); end
|
500
|
+
def respond_to_has_and_present?(key); end
|
501
|
+
def respond_to_has_present?(key); end
|
502
|
+
def responds_to_and_has?(name); end
|
503
|
+
def responds_to_and_has_and_present?(key); end
|
504
|
+
def responds_to_and_has_present?(key); end
|
505
|
+
def responds_to_has?(name); end
|
506
|
+
def responds_to_has_present?(key); end
|
507
|
+
def self.from_json(json); end
|
508
|
+
def self.get_ext_field_by_name(*args, &block); end
|
509
|
+
def self.get_ext_field_by_tag(*args, &block); end
|
510
|
+
def self.get_field_by_name(*args, &block); end
|
511
|
+
def self.get_field_by_tag(*args, &block); end
|
512
|
+
def self.normalize_json(ob); end
|
513
|
+
def self.optionable_descriptor_class; end
|
514
|
+
def self.to_json; end
|
515
|
+
def set_field(name, value, ignore_nil_for_repeated, field = nil); end
|
516
|
+
def to_hash; end
|
517
|
+
def to_hash_value; end
|
518
|
+
def to_hash_with_string_keys; end
|
519
|
+
def to_json(options = nil); end
|
520
|
+
def to_json_hash(options = nil); end
|
521
|
+
def to_json_hash_value(options = nil); end
|
522
|
+
def to_proto; end
|
523
|
+
def to_proto_hash; end
|
524
|
+
extend Protobuf::Message::Fields
|
525
|
+
extend Protobuf::Message::Fields::ClassMethods
|
526
|
+
extend Protobuf::Message::Serialization::ClassMethods
|
527
|
+
extend Protobuf::Optionable::ClassMethods
|
528
|
+
include Protobuf::Message::Serialization
|
529
|
+
include Protobuf::Optionable
|
530
|
+
end
|
531
|
+
module Protobuf::Message::Fields
|
532
|
+
def self.extended(other); end
|
533
|
+
end
|
534
|
+
module Protobuf::Message::Fields::ClassMethods
|
535
|
+
def all_fields; end
|
536
|
+
def define_field(rule, type_class, fully_qualified_field_name, tag, options); end
|
537
|
+
def extension_fields; end
|
538
|
+
def extension_ranges; end
|
539
|
+
def extension_tag?(tag); end
|
540
|
+
def extensions(range); end
|
541
|
+
def field_store; end
|
542
|
+
def field_tag?(tag, allow_extension = nil); end
|
543
|
+
def fields; end
|
544
|
+
def get_extension_field(name_or_tag); end
|
545
|
+
def get_field(name_or_tag, allow_extension = nil); end
|
546
|
+
def inherit_fields!(subclass); end
|
547
|
+
def inherited(subclass); end
|
548
|
+
def map(key_type_class, value_type_class, name, tag, options = nil); end
|
549
|
+
def optional(type_class, name, tag, options = nil); end
|
550
|
+
def raise_if_name_collision(field_name); end
|
551
|
+
def raise_if_tag_collision(tag, field_name); end
|
552
|
+
def remove_existing_accessors(accessor); end
|
553
|
+
def repeated(type_class, name, tag, options = nil); end
|
554
|
+
def required(type_class, name, tag, options = nil); end
|
555
|
+
def required_field_tags; end
|
556
|
+
end
|
557
|
+
module Protobuf::Message::Serialization
|
558
|
+
def bytes; end
|
559
|
+
def decode(bytes); end
|
560
|
+
def decode_from(stream); end
|
561
|
+
def deserialize(bytes); end
|
562
|
+
def deserialize_from(stream); end
|
563
|
+
def encode; end
|
564
|
+
def encode_to(stream); end
|
565
|
+
def parse_from(stream); end
|
566
|
+
def parse_from_string(bytes); end
|
567
|
+
def self.included(other); end
|
568
|
+
def serialize; end
|
569
|
+
def serialize_to(stream); end
|
570
|
+
def serialize_to_string; end
|
571
|
+
def set_field_bytes(tag, bytes); end
|
572
|
+
def to_s; end
|
573
|
+
end
|
574
|
+
module Protobuf::Message::Serialization::ClassMethods
|
575
|
+
def decode(bytes); end
|
576
|
+
def decode_from(stream); end
|
577
|
+
def encode(fields = nil); end
|
578
|
+
end
|
579
|
+
module Google
|
580
|
+
end
|
581
|
+
module Google::Protobuf
|
582
|
+
def self.optionable_descriptor_class; end
|
583
|
+
extend Protobuf::Optionable::ClassMethods
|
584
|
+
include Protobuf::Optionable
|
585
|
+
end
|
586
|
+
class Google::Protobuf::FileDescriptorSet < Protobuf::Message
|
587
|
+
def _protobuf_message_field; end
|
588
|
+
def _protobuf_message_unset_required_field_tags; end
|
589
|
+
def file!; end
|
590
|
+
def file; end
|
591
|
+
def file=(v); end
|
592
|
+
end
|
593
|
+
class Google::Protobuf::FileDescriptorProto < Protobuf::Message
|
594
|
+
def _protobuf_message_field; end
|
595
|
+
def _protobuf_message_unset_required_field_tags; end
|
596
|
+
def dependency!; end
|
597
|
+
def dependency; end
|
598
|
+
def dependency=(v); end
|
599
|
+
def enum_type!; end
|
600
|
+
def enum_type; end
|
601
|
+
def enum_type=(v); end
|
602
|
+
def extension!; end
|
603
|
+
def extension; end
|
604
|
+
def extension=(v); end
|
605
|
+
def message_type!; end
|
606
|
+
def message_type; end
|
607
|
+
def message_type=(v); end
|
608
|
+
def name!; end
|
609
|
+
def name; end
|
610
|
+
def name=(v); end
|
611
|
+
def options!; end
|
612
|
+
def options; end
|
613
|
+
def options=(v); end
|
614
|
+
def package!; end
|
615
|
+
def package; end
|
616
|
+
def package=(v); end
|
617
|
+
def public_dependency!; end
|
618
|
+
def public_dependency; end
|
619
|
+
def public_dependency=(v); end
|
620
|
+
def service!; end
|
621
|
+
def service; end
|
622
|
+
def service=(v); end
|
623
|
+
def source_code_info!; end
|
624
|
+
def source_code_info; end
|
625
|
+
def source_code_info=(v); end
|
626
|
+
def syntax!; end
|
627
|
+
def syntax; end
|
628
|
+
def syntax=(v); end
|
629
|
+
def weak_dependency!; end
|
630
|
+
def weak_dependency; end
|
631
|
+
def weak_dependency=(v); end
|
632
|
+
end
|
633
|
+
class Google::Protobuf::DescriptorProto < Protobuf::Message
|
634
|
+
def _protobuf_message_field; end
|
635
|
+
def _protobuf_message_unset_required_field_tags; end
|
636
|
+
def enum_type!; end
|
637
|
+
def enum_type; end
|
638
|
+
def enum_type=(v); end
|
639
|
+
def extension!; end
|
640
|
+
def extension; end
|
641
|
+
def extension=(v); end
|
642
|
+
def extension_range!; end
|
643
|
+
def extension_range; end
|
644
|
+
def extension_range=(v); end
|
645
|
+
def field!; end
|
646
|
+
def field; end
|
647
|
+
def field=(v); end
|
648
|
+
def name!; end
|
649
|
+
def name; end
|
650
|
+
def name=(v); end
|
651
|
+
def nested_type!; end
|
652
|
+
def nested_type; end
|
653
|
+
def nested_type=(v); end
|
654
|
+
def oneof_decl!; end
|
655
|
+
def oneof_decl; end
|
656
|
+
def oneof_decl=(v); end
|
657
|
+
def options!; end
|
658
|
+
def options; end
|
659
|
+
def options=(v); end
|
660
|
+
def reserved_name!; end
|
661
|
+
def reserved_name; end
|
662
|
+
def reserved_name=(v); end
|
663
|
+
def reserved_range!; end
|
664
|
+
def reserved_range; end
|
665
|
+
def reserved_range=(v); end
|
666
|
+
end
|
667
|
+
class Google::Protobuf::DescriptorProto::ExtensionRange < Protobuf::Message
|
668
|
+
def _protobuf_message_field; end
|
669
|
+
def _protobuf_message_unset_required_field_tags; end
|
670
|
+
def end!; end
|
671
|
+
def end; end
|
672
|
+
def end=(v); end
|
673
|
+
def start!; end
|
674
|
+
def start; end
|
675
|
+
def start=(v); end
|
676
|
+
end
|
677
|
+
class Google::Protobuf::DescriptorProto::ReservedRange < Protobuf::Message
|
678
|
+
def _protobuf_message_field; end
|
679
|
+
def _protobuf_message_unset_required_field_tags; end
|
680
|
+
def end!; end
|
681
|
+
def end; end
|
682
|
+
def end=(v); end
|
683
|
+
def start!; end
|
684
|
+
def start; end
|
685
|
+
def start=(v); end
|
686
|
+
end
|
687
|
+
class Google::Protobuf::FieldDescriptorProto < Protobuf::Message
|
688
|
+
def _protobuf_message_field; end
|
689
|
+
def _protobuf_message_unset_required_field_tags; end
|
690
|
+
def default_value!; end
|
691
|
+
def default_value; end
|
692
|
+
def default_value=(v); end
|
693
|
+
def extendee!; end
|
694
|
+
def extendee; end
|
695
|
+
def extendee=(v); end
|
696
|
+
def json_name!; end
|
697
|
+
def json_name; end
|
698
|
+
def json_name=(v); end
|
699
|
+
def label!; end
|
700
|
+
def label; end
|
701
|
+
def label=(v); end
|
702
|
+
def name!; end
|
703
|
+
def name; end
|
704
|
+
def name=(v); end
|
705
|
+
def number!; end
|
706
|
+
def number; end
|
707
|
+
def number=(v); end
|
708
|
+
def oneof_index!; end
|
709
|
+
def oneof_index; end
|
710
|
+
def oneof_index=(v); end
|
711
|
+
def options!; end
|
712
|
+
def options; end
|
713
|
+
def options=(v); end
|
714
|
+
def type!; end
|
715
|
+
def type; end
|
716
|
+
def type=(v); end
|
717
|
+
def type_name!; end
|
718
|
+
def type_name; end
|
719
|
+
def type_name=(v); end
|
720
|
+
end
|
721
|
+
class Google::Protobuf::FieldDescriptorProto::Type < Protobuf::Enum
|
722
|
+
end
|
723
|
+
class Google::Protobuf::FieldDescriptorProto::Label < Protobuf::Enum
|
724
|
+
end
|
725
|
+
class Google::Protobuf::OneofDescriptorProto < Protobuf::Message
|
726
|
+
def _protobuf_message_field; end
|
727
|
+
def _protobuf_message_unset_required_field_tags; end
|
728
|
+
def name!; end
|
729
|
+
def name; end
|
730
|
+
def name=(v); end
|
731
|
+
end
|
732
|
+
class Google::Protobuf::EnumDescriptorProto < Protobuf::Message
|
733
|
+
def _protobuf_message_field; end
|
734
|
+
def _protobuf_message_unset_required_field_tags; end
|
735
|
+
def name!; end
|
736
|
+
def name; end
|
737
|
+
def name=(v); end
|
738
|
+
def options!; end
|
739
|
+
def options; end
|
740
|
+
def options=(v); end
|
741
|
+
def value!; end
|
742
|
+
def value; end
|
743
|
+
def value=(v); end
|
744
|
+
end
|
745
|
+
class Google::Protobuf::EnumValueDescriptorProto < Protobuf::Message
|
746
|
+
def _protobuf_message_field; end
|
747
|
+
def _protobuf_message_unset_required_field_tags; end
|
748
|
+
def name!; end
|
749
|
+
def name; end
|
750
|
+
def name=(v); end
|
751
|
+
def number!; end
|
752
|
+
def number; end
|
753
|
+
def number=(v); end
|
754
|
+
def options!; end
|
755
|
+
def options; end
|
756
|
+
def options=(v); end
|
757
|
+
end
|
758
|
+
class Google::Protobuf::ServiceDescriptorProto < Protobuf::Message
|
759
|
+
def _protobuf_message_field; end
|
760
|
+
def _protobuf_message_unset_required_field_tags; end
|
761
|
+
def method!; end
|
762
|
+
def method; end
|
763
|
+
def method=(v); end
|
764
|
+
def name!; end
|
765
|
+
def name; end
|
766
|
+
def name=(v); end
|
767
|
+
def options!; end
|
768
|
+
def options; end
|
769
|
+
def options=(v); end
|
770
|
+
end
|
771
|
+
class Google::Protobuf::MethodDescriptorProto < Protobuf::Message
|
772
|
+
def _protobuf_message_field; end
|
773
|
+
def _protobuf_message_unset_required_field_tags; end
|
774
|
+
def client_streaming!; end
|
775
|
+
def client_streaming; end
|
776
|
+
def client_streaming=(v); end
|
777
|
+
def client_streaming?; end
|
778
|
+
def input_type!; end
|
779
|
+
def input_type; end
|
780
|
+
def input_type=(v); end
|
781
|
+
def name!; end
|
782
|
+
def name; end
|
783
|
+
def name=(v); end
|
784
|
+
def options!; end
|
785
|
+
def options; end
|
786
|
+
def options=(v); end
|
787
|
+
def output_type!; end
|
788
|
+
def output_type; end
|
789
|
+
def output_type=(v); end
|
790
|
+
def server_streaming!; end
|
791
|
+
def server_streaming; end
|
792
|
+
def server_streaming=(v); end
|
793
|
+
def server_streaming?; end
|
794
|
+
end
|
795
|
+
class Google::Protobuf::FileOptions < Protobuf::Message
|
796
|
+
def _protobuf_message_field; end
|
797
|
+
def _protobuf_message_unset_required_field_tags; end
|
798
|
+
def cc_enable_arenas!; end
|
799
|
+
def cc_enable_arenas; end
|
800
|
+
def cc_enable_arenas=(v); end
|
801
|
+
def cc_enable_arenas?; end
|
802
|
+
def cc_generic_services!; end
|
803
|
+
def cc_generic_services; end
|
804
|
+
def cc_generic_services=(v); end
|
805
|
+
def cc_generic_services?; end
|
806
|
+
def csharp_namespace!; end
|
807
|
+
def csharp_namespace; end
|
808
|
+
def csharp_namespace=(v); end
|
809
|
+
def deprecated!; end
|
810
|
+
def deprecated; end
|
811
|
+
def deprecated=(v); end
|
812
|
+
def deprecated?; end
|
813
|
+
def go_package!; end
|
814
|
+
def go_package; end
|
815
|
+
def go_package=(v); end
|
816
|
+
def java_generate_equals_and_hash!; end
|
817
|
+
def java_generate_equals_and_hash; end
|
818
|
+
def java_generate_equals_and_hash=(v); end
|
819
|
+
def java_generate_equals_and_hash?; end
|
820
|
+
def java_generic_services!; end
|
821
|
+
def java_generic_services; end
|
822
|
+
def java_generic_services=(v); end
|
823
|
+
def java_generic_services?; end
|
824
|
+
def java_multiple_files!; end
|
825
|
+
def java_multiple_files; end
|
826
|
+
def java_multiple_files=(v); end
|
827
|
+
def java_multiple_files?; end
|
828
|
+
def java_outer_classname!; end
|
829
|
+
def java_outer_classname; end
|
830
|
+
def java_outer_classname=(v); end
|
831
|
+
def java_package!; end
|
832
|
+
def java_package; end
|
833
|
+
def java_package=(v); end
|
834
|
+
def java_string_check_utf8!; end
|
835
|
+
def java_string_check_utf8; end
|
836
|
+
def java_string_check_utf8=(v); end
|
837
|
+
def java_string_check_utf8?; end
|
838
|
+
def javanano_use_deprecated_package!; end
|
839
|
+
def javanano_use_deprecated_package; end
|
840
|
+
def javanano_use_deprecated_package=(v); end
|
841
|
+
def javanano_use_deprecated_package?; end
|
842
|
+
def objc_class_prefix!; end
|
843
|
+
def objc_class_prefix; end
|
844
|
+
def objc_class_prefix=(v); end
|
845
|
+
def optimize_for!; end
|
846
|
+
def optimize_for; end
|
847
|
+
def optimize_for=(v); end
|
848
|
+
def py_generic_services!; end
|
849
|
+
def py_generic_services; end
|
850
|
+
def py_generic_services=(v); end
|
851
|
+
def py_generic_services?; end
|
852
|
+
def uninterpreted_option!; end
|
853
|
+
def uninterpreted_option; end
|
854
|
+
def uninterpreted_option=(v); end
|
855
|
+
end
|
856
|
+
class Google::Protobuf::FileOptions::OptimizeMode < Protobuf::Enum
|
857
|
+
end
|
858
|
+
class Google::Protobuf::MessageOptions < Protobuf::Message
|
859
|
+
def _protobuf_message_field; end
|
860
|
+
def _protobuf_message_unset_required_field_tags; end
|
861
|
+
def deprecated!; end
|
862
|
+
def deprecated; end
|
863
|
+
def deprecated=(v); end
|
864
|
+
def deprecated?; end
|
865
|
+
def map_entry!; end
|
866
|
+
def map_entry; end
|
867
|
+
def map_entry=(v); end
|
868
|
+
def map_entry?; end
|
869
|
+
def message_set_wire_format!; end
|
870
|
+
def message_set_wire_format; end
|
871
|
+
def message_set_wire_format=(v); end
|
872
|
+
def message_set_wire_format?; end
|
873
|
+
def no_standard_descriptor_accessor!; end
|
874
|
+
def no_standard_descriptor_accessor; end
|
875
|
+
def no_standard_descriptor_accessor=(v); end
|
876
|
+
def no_standard_descriptor_accessor?; end
|
877
|
+
def uninterpreted_option!; end
|
878
|
+
def uninterpreted_option; end
|
879
|
+
def uninterpreted_option=(v); end
|
880
|
+
end
|
881
|
+
class Google::Protobuf::FieldOptions < Protobuf::Message
|
882
|
+
def _protobuf_message_field; end
|
883
|
+
def _protobuf_message_unset_required_field_tags; end
|
884
|
+
def ctype!; end
|
885
|
+
def ctype; end
|
886
|
+
def ctype=(v); end
|
887
|
+
def deprecated!; end
|
888
|
+
def deprecated; end
|
889
|
+
def deprecated=(v); end
|
890
|
+
def deprecated?; end
|
891
|
+
def jstype!; end
|
892
|
+
def jstype; end
|
893
|
+
def jstype=(v); end
|
894
|
+
def lazy!; end
|
895
|
+
def lazy; end
|
896
|
+
def lazy=(v); end
|
897
|
+
def lazy?; end
|
898
|
+
def packed!; end
|
899
|
+
def packed; end
|
900
|
+
def packed=(v); end
|
901
|
+
def packed?; end
|
902
|
+
def uninterpreted_option!; end
|
903
|
+
def uninterpreted_option; end
|
904
|
+
def uninterpreted_option=(v); end
|
905
|
+
def weak!; end
|
906
|
+
def weak; end
|
907
|
+
def weak=(v); end
|
908
|
+
def weak?; end
|
909
|
+
end
|
910
|
+
class Google::Protobuf::FieldOptions::CType < Protobuf::Enum
|
911
|
+
end
|
912
|
+
class Google::Protobuf::FieldOptions::JSType < Protobuf::Enum
|
913
|
+
end
|
914
|
+
class Google::Protobuf::EnumOptions < Protobuf::Message
|
915
|
+
def _protobuf_message_field; end
|
916
|
+
def _protobuf_message_unset_required_field_tags; end
|
917
|
+
def allow_alias!; end
|
918
|
+
def allow_alias; end
|
919
|
+
def allow_alias=(v); end
|
920
|
+
def allow_alias?; end
|
921
|
+
def deprecated!; end
|
922
|
+
def deprecated; end
|
923
|
+
def deprecated=(v); end
|
924
|
+
def deprecated?; end
|
925
|
+
def uninterpreted_option!; end
|
926
|
+
def uninterpreted_option; end
|
927
|
+
def uninterpreted_option=(v); end
|
928
|
+
end
|
929
|
+
class Google::Protobuf::EnumValueOptions < Protobuf::Message
|
930
|
+
def _protobuf_message_field; end
|
931
|
+
def _protobuf_message_unset_required_field_tags; end
|
932
|
+
def deprecated!; end
|
933
|
+
def deprecated; end
|
934
|
+
def deprecated=(v); end
|
935
|
+
def deprecated?; end
|
936
|
+
def uninterpreted_option!; end
|
937
|
+
def uninterpreted_option; end
|
938
|
+
def uninterpreted_option=(v); end
|
939
|
+
end
|
940
|
+
class Google::Protobuf::ServiceOptions < Protobuf::Message
|
941
|
+
def _protobuf_message_field; end
|
942
|
+
def _protobuf_message_unset_required_field_tags; end
|
943
|
+
def deprecated!; end
|
944
|
+
def deprecated; end
|
945
|
+
def deprecated=(v); end
|
946
|
+
def deprecated?; end
|
947
|
+
def uninterpreted_option!; end
|
948
|
+
def uninterpreted_option; end
|
949
|
+
def uninterpreted_option=(v); end
|
950
|
+
end
|
951
|
+
class Google::Protobuf::MethodOptions < Protobuf::Message
|
952
|
+
def _protobuf_message_field; end
|
953
|
+
def _protobuf_message_unset_required_field_tags; end
|
954
|
+
def deprecated!; end
|
955
|
+
def deprecated; end
|
956
|
+
def deprecated=(v); end
|
957
|
+
def deprecated?; end
|
958
|
+
def uninterpreted_option!; end
|
959
|
+
def uninterpreted_option; end
|
960
|
+
def uninterpreted_option=(v); end
|
961
|
+
end
|
962
|
+
class Google::Protobuf::UninterpretedOption < Protobuf::Message
|
963
|
+
def _protobuf_message_field; end
|
964
|
+
def _protobuf_message_unset_required_field_tags; end
|
965
|
+
def aggregate_value!; end
|
966
|
+
def aggregate_value; end
|
967
|
+
def aggregate_value=(v); end
|
968
|
+
def double_value!; end
|
969
|
+
def double_value; end
|
970
|
+
def double_value=(v); end
|
971
|
+
def identifier_value!; end
|
972
|
+
def identifier_value; end
|
973
|
+
def identifier_value=(v); end
|
974
|
+
def name!; end
|
975
|
+
def name; end
|
976
|
+
def name=(v); end
|
977
|
+
def negative_int_value!; end
|
978
|
+
def negative_int_value; end
|
979
|
+
def negative_int_value=(v); end
|
980
|
+
def positive_int_value!; end
|
981
|
+
def positive_int_value; end
|
982
|
+
def positive_int_value=(v); end
|
983
|
+
def string_value!; end
|
984
|
+
def string_value; end
|
985
|
+
def string_value=(v); end
|
986
|
+
end
|
987
|
+
class Google::Protobuf::UninterpretedOption::NamePart < Protobuf::Message
|
988
|
+
def _protobuf_message_field; end
|
989
|
+
def _protobuf_message_unset_required_field_tags; end
|
990
|
+
def is_extension!; end
|
991
|
+
def is_extension; end
|
992
|
+
def is_extension=(v); end
|
993
|
+
def is_extension?; end
|
994
|
+
def name_part!; end
|
995
|
+
def name_part; end
|
996
|
+
def name_part=(v); end
|
997
|
+
end
|
998
|
+
class Google::Protobuf::SourceCodeInfo < Protobuf::Message
|
999
|
+
def _protobuf_message_field; end
|
1000
|
+
def _protobuf_message_unset_required_field_tags; end
|
1001
|
+
def location!; end
|
1002
|
+
def location; end
|
1003
|
+
def location=(v); end
|
1004
|
+
end
|
1005
|
+
class Google::Protobuf::SourceCodeInfo::Location < Protobuf::Message
|
1006
|
+
def _protobuf_message_field; end
|
1007
|
+
def _protobuf_message_unset_required_field_tags; end
|
1008
|
+
def leading_comments!; end
|
1009
|
+
def leading_comments; end
|
1010
|
+
def leading_comments=(v); end
|
1011
|
+
def leading_detached_comments!; end
|
1012
|
+
def leading_detached_comments; end
|
1013
|
+
def leading_detached_comments=(v); end
|
1014
|
+
def path!; end
|
1015
|
+
def path; end
|
1016
|
+
def path=(v); end
|
1017
|
+
def span!; end
|
1018
|
+
def span; end
|
1019
|
+
def span=(v); end
|
1020
|
+
def trailing_comments!; end
|
1021
|
+
def trailing_comments; end
|
1022
|
+
def trailing_comments=(v); end
|
1023
|
+
end
|
1024
|
+
module Google::Protobuf::Compiler
|
1025
|
+
def self.optionable_descriptor_class; end
|
1026
|
+
extend Protobuf::Optionable::ClassMethods
|
1027
|
+
include Protobuf::Optionable
|
1028
|
+
end
|
1029
|
+
class Google::Protobuf::Compiler::CodeGeneratorRequest < Protobuf::Message
|
1030
|
+
def _protobuf_message_field; end
|
1031
|
+
def _protobuf_message_unset_required_field_tags; end
|
1032
|
+
def file_to_generate!; end
|
1033
|
+
def file_to_generate; end
|
1034
|
+
def file_to_generate=(v); end
|
1035
|
+
def parameter!; end
|
1036
|
+
def parameter; end
|
1037
|
+
def parameter=(v); end
|
1038
|
+
def proto_file!; end
|
1039
|
+
def proto_file; end
|
1040
|
+
def proto_file=(v); end
|
1041
|
+
end
|
1042
|
+
class Google::Protobuf::Compiler::CodeGeneratorResponse < Protobuf::Message
|
1043
|
+
def _protobuf_message_field; end
|
1044
|
+
def _protobuf_message_unset_required_field_tags; end
|
1045
|
+
def error!; end
|
1046
|
+
def error; end
|
1047
|
+
def error=(v); end
|
1048
|
+
def file!; end
|
1049
|
+
def file; end
|
1050
|
+
def file=(v); end
|
1051
|
+
end
|
1052
|
+
class Google::Protobuf::Compiler::CodeGeneratorResponse::File < Protobuf::Message
|
1053
|
+
def _protobuf_message_field; end
|
1054
|
+
def _protobuf_message_unset_required_field_tags; end
|
1055
|
+
def content!; end
|
1056
|
+
def content; end
|
1057
|
+
def content=(v); end
|
1058
|
+
def insertion_point!; end
|
1059
|
+
def insertion_point; end
|
1060
|
+
def insertion_point=(v); end
|
1061
|
+
def name!; end
|
1062
|
+
def name; end
|
1063
|
+
def name=(v); end
|
1064
|
+
end
|
1065
|
+
module Protobuf::Socketrpc
|
1066
|
+
def self.optionable_descriptor_class; end
|
1067
|
+
extend Protobuf::Optionable::ClassMethods
|
1068
|
+
include Protobuf::Optionable
|
1069
|
+
end
|
1070
|
+
class Protobuf::Socketrpc::ErrorReason < Protobuf::Enum
|
1071
|
+
end
|
1072
|
+
class Protobuf::Socketrpc::Request < Protobuf::Message
|
1073
|
+
def _protobuf_message_field; end
|
1074
|
+
def _protobuf_message_unset_required_field_tags; end
|
1075
|
+
def caller!; end
|
1076
|
+
def caller; end
|
1077
|
+
def caller=(v); end
|
1078
|
+
def headers!; end
|
1079
|
+
def headers; end
|
1080
|
+
def headers=(v); end
|
1081
|
+
def method_name!; end
|
1082
|
+
def method_name; end
|
1083
|
+
def method_name=(v); end
|
1084
|
+
def request_proto!; end
|
1085
|
+
def request_proto; end
|
1086
|
+
def request_proto=(v); end
|
1087
|
+
def service_name!; end
|
1088
|
+
def service_name; end
|
1089
|
+
def service_name=(v); end
|
1090
|
+
end
|
1091
|
+
class Protobuf::Socketrpc::Response < Protobuf::Message
|
1092
|
+
def _protobuf_message_field; end
|
1093
|
+
def _protobuf_message_unset_required_field_tags; end
|
1094
|
+
def callback!; end
|
1095
|
+
def callback; end
|
1096
|
+
def callback=(v); end
|
1097
|
+
def callback?; end
|
1098
|
+
def error!; end
|
1099
|
+
def error; end
|
1100
|
+
def error=(v); end
|
1101
|
+
def error_reason!; end
|
1102
|
+
def error_reason; end
|
1103
|
+
def error_reason=(v); end
|
1104
|
+
def response_proto!; end
|
1105
|
+
def response_proto; end
|
1106
|
+
def response_proto=(v); end
|
1107
|
+
def server!; end
|
1108
|
+
def server; end
|
1109
|
+
def server=(v); end
|
1110
|
+
end
|
1111
|
+
class Protobuf::Socketrpc::Header < Protobuf::Message
|
1112
|
+
def _protobuf_message_field; end
|
1113
|
+
def _protobuf_message_unset_required_field_tags; end
|
1114
|
+
def key!; end
|
1115
|
+
def key; end
|
1116
|
+
def key=(v); end
|
1117
|
+
def value!; end
|
1118
|
+
def value; end
|
1119
|
+
def value=(v); end
|
1120
|
+
end
|
1121
|
+
module Protobuf::Rpc
|
1122
|
+
def self.middleware; end
|
1123
|
+
end
|
1124
|
+
class Protobuf::Rpc::BadRequestData < Protobuf::Rpc::PbError
|
1125
|
+
def initialize(message = nil); end
|
1126
|
+
end
|
1127
|
+
class Protobuf::Rpc::BadRequestProto < Protobuf::Rpc::PbError
|
1128
|
+
def initialize(message = nil); end
|
1129
|
+
end
|
1130
|
+
class Protobuf::Rpc::ServiceNotFound < Protobuf::Rpc::PbError
|
1131
|
+
def initialize(message = nil); end
|
1132
|
+
end
|
1133
|
+
class Protobuf::Rpc::MethodNotFound < Protobuf::Rpc::PbError
|
1134
|
+
def initialize(message = nil); end
|
1135
|
+
end
|
1136
|
+
class Protobuf::Rpc::RpcError < Protobuf::Rpc::PbError
|
1137
|
+
def initialize(message = nil); end
|
1138
|
+
end
|
1139
|
+
class Protobuf::Rpc::RpcFailed < Protobuf::Rpc::PbError
|
1140
|
+
def initialize(message = nil); end
|
1141
|
+
end
|
1142
|
+
class Protobuf::Rpc::InvalidRequestProto < Protobuf::Rpc::PbError
|
1143
|
+
def initialize(message = nil); end
|
1144
|
+
end
|
1145
|
+
class Protobuf::Rpc::BadResponseProto < Protobuf::Rpc::PbError
|
1146
|
+
def initialize(message = nil); end
|
1147
|
+
end
|
1148
|
+
class Protobuf::Rpc::UnkownHost < Protobuf::Rpc::PbError
|
1149
|
+
def initialize(message = nil); end
|
1150
|
+
end
|
1151
|
+
class Protobuf::Rpc::IOError < Protobuf::Rpc::PbError
|
1152
|
+
def initialize(message = nil); end
|
1153
|
+
end
|
1154
|
+
class Struct::ClientError < Struct
|
1155
|
+
def code; end
|
1156
|
+
def code=(_); end
|
1157
|
+
def message; end
|
1158
|
+
def message=(_); end
|
1159
|
+
def self.[](*arg0); end
|
1160
|
+
def self.inspect; end
|
1161
|
+
def self.members; end
|
1162
|
+
def self.new(*arg0); end
|
1163
|
+
end
|
1164
|
+
class Protobuf::Rpc::PbError < StandardError
|
1165
|
+
def encode; end
|
1166
|
+
def error_type; end
|
1167
|
+
def initialize(message = nil, error_type = nil); end
|
1168
|
+
def to_response; end
|
1169
|
+
end
|
1170
|
+
class Protobuf::Rpc::Client
|
1171
|
+
def complete_cb(*args, &block); end
|
1172
|
+
def connector; end
|
1173
|
+
def failure_cb(*args, &block); end
|
1174
|
+
def initialize(options = nil); end
|
1175
|
+
def log_signature; end
|
1176
|
+
def method_missing(method_name, *params); end
|
1177
|
+
def on_complete(&complete_cb); end
|
1178
|
+
def on_complete=(callable); end
|
1179
|
+
def on_failure(&failure_cb); end
|
1180
|
+
def on_failure=(callable); end
|
1181
|
+
def on_success(&success_cb); end
|
1182
|
+
def on_success=(callable); end
|
1183
|
+
def options(*args, &block); end
|
1184
|
+
def send_request(*args, &block); end
|
1185
|
+
def success_cb(*args, &block); end
|
1186
|
+
extend Forwardable
|
1187
|
+
include Protobuf::Logging
|
1188
|
+
end
|
1189
|
+
class Protobuf::Rpc::RpcMethod
|
1190
|
+
def initialize(method, request_type, response_type, &options_block); end
|
1191
|
+
def method; end
|
1192
|
+
def optionable_descriptor_class; end
|
1193
|
+
def request_type; end
|
1194
|
+
def response_type; end
|
1195
|
+
include Protobuf::Optionable::ClassMethods
|
1196
|
+
end
|
1197
|
+
module Protobuf::Rpc::ServiceFilters
|
1198
|
+
def self.included(other); end
|
1199
|
+
end
|
1200
|
+
module Protobuf::Rpc::ServiceFilters::ClassMethods
|
1201
|
+
def after_action(*args); end
|
1202
|
+
def after_filter(*args); end
|
1203
|
+
def around_action(*args); end
|
1204
|
+
def around_filter(*args); end
|
1205
|
+
def before_action(*args); end
|
1206
|
+
def before_filter(*args); end
|
1207
|
+
def define_filter(type, filter, options = nil); end
|
1208
|
+
def defined_filters; end
|
1209
|
+
def filter_defined?(type, filter); end
|
1210
|
+
def filters; end
|
1211
|
+
def remember_filter(type, filter); end
|
1212
|
+
def rescue_filters; end
|
1213
|
+
def rescue_from(*ex_klasses, &block); end
|
1214
|
+
def set_filters(type, *args); end
|
1215
|
+
end
|
1216
|
+
module Protobuf::Rpc::ServiceFilters::InstanceMethods
|
1217
|
+
def call_or_send(callable, *args, &block); end
|
1218
|
+
def filters; end
|
1219
|
+
def invoke_filter?(rpc_method, filter); end
|
1220
|
+
def invoke_via_except?(rpc_method, filter); end
|
1221
|
+
def invoke_via_if?(_rpc_method, filter); end
|
1222
|
+
def invoke_via_only?(rpc_method, filter); end
|
1223
|
+
def invoke_via_unless?(_rpc_method, filter); end
|
1224
|
+
def rescue_filters; end
|
1225
|
+
def run_around_filters(rpc_method); end
|
1226
|
+
def run_filters(rpc_method); end
|
1227
|
+
def run_rescue_filters; end
|
1228
|
+
def run_unwrapped_filters(unwrapped_filters, rpc_method, stop_on_false_return = nil); end
|
1229
|
+
end
|
1230
|
+
class Protobuf::Rpc::Service
|
1231
|
+
def call(method_name); end
|
1232
|
+
def env; end
|
1233
|
+
def initialize(env); end
|
1234
|
+
def request; end
|
1235
|
+
def request_type; end
|
1236
|
+
def respond_with(candidate); end
|
1237
|
+
def response; end
|
1238
|
+
def response_type; end
|
1239
|
+
def return_from_whence_you_came(candidate); end
|
1240
|
+
def rpc_failed(message); end
|
1241
|
+
def rpc_method?(name); end
|
1242
|
+
def rpcs; end
|
1243
|
+
def self.client(options = nil); end
|
1244
|
+
def self.configure(config = nil); end
|
1245
|
+
def self.host; end
|
1246
|
+
def self.host=(arg0); end
|
1247
|
+
def self.implemented_services; end
|
1248
|
+
def self.located_at(location); end
|
1249
|
+
def self.optionable_descriptor_class; end
|
1250
|
+
def self.port; end
|
1251
|
+
def self.port=(arg0); end
|
1252
|
+
def self.rpc(method, request_type, response_type, &options_block); end
|
1253
|
+
def self.rpc_method?(name); end
|
1254
|
+
def self.rpcs; end
|
1255
|
+
extend Protobuf::Optionable::ClassMethods
|
1256
|
+
extend Protobuf::Rpc::ServiceFilters::ClassMethods
|
1257
|
+
include Protobuf::Logging
|
1258
|
+
include Protobuf::Optionable
|
1259
|
+
include Protobuf::Rpc::ServiceFilters
|
1260
|
+
include Protobuf::Rpc::ServiceFilters::InstanceMethods
|
1261
|
+
end
|
1262
|
+
class Protobuf::Rpc::Buffer
|
1263
|
+
def <<(data); end
|
1264
|
+
def check_for_flush; end
|
1265
|
+
def data; end
|
1266
|
+
def data=(arg0); end
|
1267
|
+
def flushed?; end
|
1268
|
+
def get_data_size; end
|
1269
|
+
def initialize(mode = nil); end
|
1270
|
+
def mode; end
|
1271
|
+
def mode=(mode); end
|
1272
|
+
def reading?; end
|
1273
|
+
def set_data(data); end
|
1274
|
+
def size; end
|
1275
|
+
def size=(arg0); end
|
1276
|
+
def write(force_mode = nil); end
|
1277
|
+
def writing?; end
|
1278
|
+
end
|
1279
|
+
class Protobuf::Rpc::Env < Hash
|
1280
|
+
def client_host; end
|
1281
|
+
def client_host=(value); end
|
1282
|
+
def client_host?; end
|
1283
|
+
def encoded_request; end
|
1284
|
+
def encoded_request=(value); end
|
1285
|
+
def encoded_request?; end
|
1286
|
+
def encoded_response; end
|
1287
|
+
def encoded_response=(value); end
|
1288
|
+
def encoded_response?; end
|
1289
|
+
def initialize(options = nil); end
|
1290
|
+
def log_signature; end
|
1291
|
+
def log_signature=(value); end
|
1292
|
+
def log_signature?; end
|
1293
|
+
def method_name; end
|
1294
|
+
def method_name=(value); end
|
1295
|
+
def method_name?; end
|
1296
|
+
def request; end
|
1297
|
+
def request=(value); end
|
1298
|
+
def request?; end
|
1299
|
+
def request_type; end
|
1300
|
+
def request_type=(value); end
|
1301
|
+
def request_type?; end
|
1302
|
+
def request_wrapper; end
|
1303
|
+
def request_wrapper=(value); end
|
1304
|
+
def request_wrapper?; end
|
1305
|
+
def response; end
|
1306
|
+
def response=(value); end
|
1307
|
+
def response?; end
|
1308
|
+
def response_type; end
|
1309
|
+
def response_type=(value); end
|
1310
|
+
def response_type?; end
|
1311
|
+
def rpc_method; end
|
1312
|
+
def rpc_method=(value); end
|
1313
|
+
def rpc_method?; end
|
1314
|
+
def rpc_service; end
|
1315
|
+
def rpc_service=(value); end
|
1316
|
+
def rpc_service?; end
|
1317
|
+
def self.hash_accessor(*names); end
|
1318
|
+
def server; end
|
1319
|
+
def server=(value); end
|
1320
|
+
def server?; end
|
1321
|
+
def service_name; end
|
1322
|
+
def service_name=(value); end
|
1323
|
+
def service_name?; end
|
1324
|
+
def worker_id; end
|
1325
|
+
def worker_id=(value); end
|
1326
|
+
def worker_id?; end
|
1327
|
+
end
|
1328
|
+
module Protobuf::Rpc::Middleware
|
1329
|
+
end
|
1330
|
+
class Protobuf::Rpc::Middleware::ExceptionHandler
|
1331
|
+
def _call(env); end
|
1332
|
+
def app; end
|
1333
|
+
def call(env); end
|
1334
|
+
def initialize(app); end
|
1335
|
+
def wrap_exception(exception); end
|
1336
|
+
include Protobuf::Logging
|
1337
|
+
end
|
1338
|
+
class Protobuf::Rpc::Middleware::Logger
|
1339
|
+
def _call(env); end
|
1340
|
+
def call(env); end
|
1341
|
+
def initialize(app); end
|
1342
|
+
def instrumenter; end
|
1343
|
+
end
|
1344
|
+
class Protobuf::Rpc::Middleware::Logger::Instrumenter
|
1345
|
+
def elapsed_time; end
|
1346
|
+
def env; end
|
1347
|
+
def flush(env); end
|
1348
|
+
def rpc; end
|
1349
|
+
def sizes; end
|
1350
|
+
def start; end
|
1351
|
+
def stop; end
|
1352
|
+
def to_s(env); end
|
1353
|
+
end
|
1354
|
+
class Protobuf::Rpc::Middleware::RequestDecoder
|
1355
|
+
def _call(env); end
|
1356
|
+
def app; end
|
1357
|
+
def call(env); end
|
1358
|
+
def env; end
|
1359
|
+
def initialize(app); end
|
1360
|
+
def log_signature; end
|
1361
|
+
def method_name; end
|
1362
|
+
def request; end
|
1363
|
+
def request_wrapper; end
|
1364
|
+
def rpc_method; end
|
1365
|
+
def service; end
|
1366
|
+
def service_name; end
|
1367
|
+
include Protobuf::Logging
|
1368
|
+
end
|
1369
|
+
class Protobuf::Rpc::Middleware::ResponseEncoder
|
1370
|
+
def _call(env); end
|
1371
|
+
def app; end
|
1372
|
+
def call(env); end
|
1373
|
+
def encoded_response; end
|
1374
|
+
def env; end
|
1375
|
+
def initialize(app); end
|
1376
|
+
def log_signature; end
|
1377
|
+
def response; end
|
1378
|
+
def validate!(candidate); end
|
1379
|
+
def wrapped_response; end
|
1380
|
+
include Protobuf::Logging
|
1381
|
+
end
|
1382
|
+
class Protobuf::Rpc::Middleware::Runner < Middleware::Runner
|
1383
|
+
def initialize(stack); end
|
1384
|
+
end
|
1385
|
+
class Protobuf::Rpc::ServiceDispatcher
|
1386
|
+
def _call(env); end
|
1387
|
+
def call(env); end
|
1388
|
+
def dispatch_rpc_request; end
|
1389
|
+
def env; end
|
1390
|
+
def initialize(_app); end
|
1391
|
+
def method_name; end
|
1392
|
+
def rpc_service; end
|
1393
|
+
def service_name; end
|
1394
|
+
include Protobuf::Logging
|
1395
|
+
end
|
1396
|
+
module Protobuf::Rpc::Server
|
1397
|
+
def gc_pause; end
|
1398
|
+
def handle_request(request_data, env_data = nil); end
|
1399
|
+
def log_signature; end
|
1400
|
+
end
|
1401
|
+
module Protobuf::Rpc::Socket
|
1402
|
+
end
|
1403
|
+
class Protobuf::Rpc::Socket::Worker
|
1404
|
+
def initialize(sock, &complete_cb); end
|
1405
|
+
def log_signature; end
|
1406
|
+
def read_data; end
|
1407
|
+
def send_data(data); end
|
1408
|
+
def socket_writable?; end
|
1409
|
+
include Protobuf::Logging
|
1410
|
+
include Protobuf::Rpc::Server
|
1411
|
+
end
|
1412
|
+
class Protobuf::Rpc::Socket::Server
|
1413
|
+
def backlog; end
|
1414
|
+
def backlog=(arg0); end
|
1415
|
+
def cleanup?; end
|
1416
|
+
def cleanup_threads; end
|
1417
|
+
def host; end
|
1418
|
+
def host=(arg0); end
|
1419
|
+
def initialize(options); end
|
1420
|
+
def log_signature; end
|
1421
|
+
def new_worker(socket); end
|
1422
|
+
def port; end
|
1423
|
+
def port=(arg0); end
|
1424
|
+
def run; end
|
1425
|
+
def running; end
|
1426
|
+
def running=(arg0); end
|
1427
|
+
def running?; end
|
1428
|
+
def stop; end
|
1429
|
+
def threads; end
|
1430
|
+
def threshold; end
|
1431
|
+
def threshold=(arg0); end
|
1432
|
+
def working; end
|
1433
|
+
include Protobuf::Logging
|
1434
|
+
end
|
1435
|
+
class Protobuf::Rpc::Stat
|
1436
|
+
def client; end
|
1437
|
+
def client=(arg0); end
|
1438
|
+
def client?; end
|
1439
|
+
def dispatcher; end
|
1440
|
+
def dispatcher=(arg0); end
|
1441
|
+
def elapsed_time; end
|
1442
|
+
def end_time; end
|
1443
|
+
def end_time=(arg0); end
|
1444
|
+
def initialize(mode = nil); end
|
1445
|
+
def method_name; end
|
1446
|
+
def method_name=(arg0); end
|
1447
|
+
def mode; end
|
1448
|
+
def mode=(arg0); end
|
1449
|
+
def request_size; end
|
1450
|
+
def request_size=(arg0); end
|
1451
|
+
def response_size; end
|
1452
|
+
def response_size=(arg0); end
|
1453
|
+
def rpc; end
|
1454
|
+
def server; end
|
1455
|
+
def server=(peer); end
|
1456
|
+
def server?; end
|
1457
|
+
def service; end
|
1458
|
+
def service=(arg0); end
|
1459
|
+
def sizes; end
|
1460
|
+
def start; end
|
1461
|
+
def start_time; end
|
1462
|
+
def start_time=(arg0); end
|
1463
|
+
def status; end
|
1464
|
+
def status=(arg0); end
|
1465
|
+
def status_string; end
|
1466
|
+
def stop; end
|
1467
|
+
def stopped?; end
|
1468
|
+
def to_s; end
|
1469
|
+
def trace_id; end
|
1470
|
+
end
|
1471
|
+
module Protobuf::Rpc::Connectors
|
1472
|
+
end
|
1473
|
+
class Protobuf::Rpc::Connectors::Base
|
1474
|
+
def any_callbacks?; end
|
1475
|
+
def close_connection; end
|
1476
|
+
def complete; end
|
1477
|
+
def complete_cb; end
|
1478
|
+
def complete_cb=(arg0); end
|
1479
|
+
def data_callback(data); end
|
1480
|
+
def error; end
|
1481
|
+
def failure(code, message); end
|
1482
|
+
def failure_cb; end
|
1483
|
+
def failure_cb=(arg0); end
|
1484
|
+
def first_alive_load_balance?; end
|
1485
|
+
def initialize(options); end
|
1486
|
+
def initialize_stats; end
|
1487
|
+
def log_signature; end
|
1488
|
+
def options; end
|
1489
|
+
def parse_response; end
|
1490
|
+
def ping_port; end
|
1491
|
+
def ping_port_enabled?; end
|
1492
|
+
def request_bytes; end
|
1493
|
+
def request_caller; end
|
1494
|
+
def request_fields; end
|
1495
|
+
def send_request; end
|
1496
|
+
def setup_connection; end
|
1497
|
+
def stats; end
|
1498
|
+
def stats=(arg0); end
|
1499
|
+
def succeed(response); end
|
1500
|
+
def success_cb; end
|
1501
|
+
def success_cb=(arg0); end
|
1502
|
+
def timeout; end
|
1503
|
+
def timeout_wrap(&block); end
|
1504
|
+
def validate_request_type!; end
|
1505
|
+
def verify_callbacks; end
|
1506
|
+
def verify_options!; end
|
1507
|
+
include Protobuf::Logging
|
1508
|
+
end
|
1509
|
+
class Protobuf::Rpc::Connectors::Socket < Protobuf::Rpc::Connectors::Base
|
1510
|
+
def close_connection; end
|
1511
|
+
def connect_to_rpc_server; end
|
1512
|
+
def error?; end
|
1513
|
+
def log_signature; end
|
1514
|
+
def post_init; end
|
1515
|
+
def read_data; end
|
1516
|
+
def read_response; end
|
1517
|
+
def send_data; end
|
1518
|
+
def send_request; end
|
1519
|
+
include Protobuf::Logging
|
1520
|
+
end
|