Best Howitzer_ruby code snippet using ClassMethods.respond_to_missing
shopify-tracing@0.7.6.rbi
Source:shopify-tracing@0.7.6.rbi
...48 def method_missing(*_); end49 def to_h; end50 def to_s; end51 private52 def respond_to_missing?(*_); end53 class << self54 def decode(_); end55 def decode_json(*_); end56 def descriptor; end57 def encode(_); end58 def encode_json(*_); end59 end60end61class Opentelemetry::Proto::Collector::Trace::V1::ExportTraceServiceResponse62 include(::Google::Protobuf::MessageExts)63 extend(::Google::Protobuf::MessageExts::ClassMethods)64 def initialize(*_); end65 def ==(_); end66 def [](_); end67 def []=(_, _); end68 def clone; end69 def dup; end70 def eql?(_); end71 def hash; end72 def inspect; end73 def method_missing(*_); end74 def to_h; end75 def to_s; end76 private77 def respond_to_missing?(*_); end78 class << self79 def decode(_); end80 def decode_json(*_); end81 def descriptor; end82 def encode(_); end83 def encode_json(*_); end84 end85end86module Opentelemetry::Proto::Common87end88module Opentelemetry::Proto::Common::V189end90class Opentelemetry::Proto::Common::V1::AnyValue91 include(::Google::Protobuf::MessageExts)92 extend(::Google::Protobuf::MessageExts::ClassMethods)93 def initialize(*_); end94 def ==(_); end95 def [](_); end96 def []=(_, _); end97 def clone; end98 def dup; end99 def eql?(_); end100 def hash; end101 def inspect; end102 def method_missing(*_); end103 def to_h; end104 def to_s; end105 private106 def respond_to_missing?(*_); end107 class << self108 def decode(_); end109 def decode_json(*_); end110 def descriptor; end111 def encode(_); end112 def encode_json(*_); end113 end114end115class Opentelemetry::Proto::Common::V1::ArrayValue116 include(::Google::Protobuf::MessageExts)117 extend(::Google::Protobuf::MessageExts::ClassMethods)118 def initialize(*_); end119 def ==(_); end120 def [](_); end121 def []=(_, _); end122 def clone; end123 def dup; end124 def eql?(_); end125 def hash; end126 def inspect; end127 def method_missing(*_); end128 def to_h; end129 def to_s; end130 private131 def respond_to_missing?(*_); end132 class << self133 def decode(_); end134 def decode_json(*_); end135 def descriptor; end136 def encode(_); end137 def encode_json(*_); end138 end139end140class Opentelemetry::Proto::Common::V1::InstrumentationLibrary141 include(::Google::Protobuf::MessageExts)142 extend(::Google::Protobuf::MessageExts::ClassMethods)143 def initialize(*_); end144 def ==(_); end145 def [](_); end146 def []=(_, _); end147 def clone; end148 def dup; end149 def eql?(_); end150 def hash; end151 def inspect; end152 def method_missing(*_); end153 def to_h; end154 def to_s; end155 private156 def respond_to_missing?(*_); end157 class << self158 def decode(_); end159 def decode_json(*_); end160 def descriptor; end161 def encode(_); end162 def encode_json(*_); end163 end164end165class Opentelemetry::Proto::Common::V1::KeyValue166 include(::Google::Protobuf::MessageExts)167 extend(::Google::Protobuf::MessageExts::ClassMethods)168 def initialize(*_); end169 def ==(_); end170 def [](_); end171 def []=(_, _); end172 def clone; end173 def dup; end174 def eql?(_); end175 def hash; end176 def inspect; end177 def method_missing(*_); end178 def to_h; end179 def to_s; end180 private181 def respond_to_missing?(*_); end182 class << self183 def decode(_); end184 def decode_json(*_); end185 def descriptor; end186 def encode(_); end187 def encode_json(*_); end188 end189end190class Opentelemetry::Proto::Common::V1::KeyValueList191 include(::Google::Protobuf::MessageExts)192 extend(::Google::Protobuf::MessageExts::ClassMethods)193 def initialize(*_); end194 def ==(_); end195 def [](_); end196 def []=(_, _); end197 def clone; end198 def dup; end199 def eql?(_); end200 def hash; end201 def inspect; end202 def method_missing(*_); end203 def to_h; end204 def to_s; end205 private206 def respond_to_missing?(*_); end207 class << self208 def decode(_); end209 def decode_json(*_); end210 def descriptor; end211 def encode(_); end212 def encode_json(*_); end213 end214end215class Opentelemetry::Proto::Common::V1::StringKeyValue216 include(::Google::Protobuf::MessageExts)217 extend(::Google::Protobuf::MessageExts::ClassMethods)218 def initialize(*_); end219 def ==(_); end220 def [](_); end221 def []=(_, _); end222 def clone; end223 def dup; end224 def eql?(_); end225 def hash; end226 def inspect; end227 def method_missing(*_); end228 def to_h; end229 def to_s; end230 private231 def respond_to_missing?(*_); end232 class << self233 def decode(_); end234 def decode_json(*_); end235 def descriptor; end236 def encode(_); end237 def encode_json(*_); end238 end239end240module Opentelemetry::Proto::Resource241end242module Opentelemetry::Proto::Resource::V1243end244class Opentelemetry::Proto::Resource::V1::Resource245 include(::Google::Protobuf::MessageExts)246 extend(::Google::Protobuf::MessageExts::ClassMethods)247 def initialize(*_); end248 def ==(_); end249 def [](_); end250 def []=(_, _); end251 def clone; end252 def dup; end253 def eql?(_); end254 def hash; end255 def inspect; end256 def method_missing(*_); end257 def to_h; end258 def to_s; end259 private260 def respond_to_missing?(*_); end261 class << self262 def decode(_); end263 def decode_json(*_); end264 def descriptor; end265 def encode(_); end266 def encode_json(*_); end267 end268end269module Opentelemetry::Proto::Trace270end271module Opentelemetry::Proto::Trace::V1272end273class Opentelemetry::Proto::Trace::V1::InstrumentationLibrarySpans274 include(::Google::Protobuf::MessageExts)275 extend(::Google::Protobuf::MessageExts::ClassMethods)276 def initialize(*_); end277 def ==(_); end278 def [](_); end279 def []=(_, _); end280 def clone; end281 def dup; end282 def eql?(_); end283 def hash; end284 def inspect; end285 def method_missing(*_); end286 def to_h; end287 def to_s; end288 private289 def respond_to_missing?(*_); end290 class << self291 def decode(_); end292 def decode_json(*_); end293 def descriptor; end294 def encode(_); end295 def encode_json(*_); end296 end297end298class Opentelemetry::Proto::Trace::V1::ResourceSpans299 include(::Google::Protobuf::MessageExts)300 extend(::Google::Protobuf::MessageExts::ClassMethods)301 def initialize(*_); end302 def ==(_); end303 def [](_); end304 def []=(_, _); end305 def clone; end306 def dup; end307 def eql?(_); end308 def hash; end309 def inspect; end310 def method_missing(*_); end311 def to_h; end312 def to_s; end313 private314 def respond_to_missing?(*_); end315 class << self316 def decode(_); end317 def decode_json(*_); end318 def descriptor; end319 def encode(_); end320 def encode_json(*_); end321 end322end323class Opentelemetry::Proto::Trace::V1::Span324 include(::Google::Protobuf::MessageExts)325 extend(::Google::Protobuf::MessageExts::ClassMethods)326 def initialize(*_); end327 def ==(_); end328 def [](_); end329 def []=(_, _); end330 def clone; end331 def dup; end332 def eql?(_); end333 def hash; end334 def inspect; end335 def method_missing(*_); end336 def to_h; end337 def to_s; end338 private339 def respond_to_missing?(*_); end340 class << self341 def decode(_); end342 def decode_json(*_); end343 def descriptor; end344 def encode(_); end345 def encode_json(*_); end346 end347end348class Opentelemetry::Proto::Trace::V1::Span::Event349 include(::Google::Protobuf::MessageExts)350 extend(::Google::Protobuf::MessageExts::ClassMethods)351 def initialize(*_); end352 def ==(_); end353 def [](_); end354 def []=(_, _); end355 def clone; end356 def dup; end357 def eql?(_); end358 def hash; end359 def inspect; end360 def method_missing(*_); end361 def to_h; end362 def to_s; end363 private364 def respond_to_missing?(*_); end365 class << self366 def decode(_); end367 def decode_json(*_); end368 def descriptor; end369 def encode(_); end370 def encode_json(*_); end371 end372end373class Opentelemetry::Proto::Trace::V1::Span::Link374 include(::Google::Protobuf::MessageExts)375 extend(::Google::Protobuf::MessageExts::ClassMethods)376 def initialize(*_); end377 def ==(_); end378 def [](_); end379 def []=(_, _); end380 def clone; end381 def dup; end382 def eql?(_); end383 def hash; end384 def inspect; end385 def method_missing(*_); end386 def to_h; end387 def to_s; end388 private389 def respond_to_missing?(*_); end390 class << self391 def decode(_); end392 def decode_json(*_); end393 def descriptor; end394 def encode(_); end395 def encode_json(*_); end396 end397end398module Opentelemetry::Proto::Trace::V1::Span::SpanKind399 class << self400 def descriptor; end401 def lookup(_); end402 def resolve(_); end403 end404end405Opentelemetry::Proto::Trace::V1::Span::SpanKind::CLIENT = T.let(T.unsafe(nil), Integer)406Opentelemetry::Proto::Trace::V1::Span::SpanKind::CONSUMER = T.let(T.unsafe(nil), Integer)407Opentelemetry::Proto::Trace::V1::Span::SpanKind::INTERNAL = T.let(T.unsafe(nil), Integer)408Opentelemetry::Proto::Trace::V1::Span::SpanKind::PRODUCER = T.let(T.unsafe(nil), Integer)409Opentelemetry::Proto::Trace::V1::Span::SpanKind::SERVER = T.let(T.unsafe(nil), Integer)410Opentelemetry::Proto::Trace::V1::Span::SpanKind::SPAN_KIND_UNSPECIFIED = T.let(T.unsafe(nil), Integer)411class Opentelemetry::Proto::Trace::V1::Status412 include(::Google::Protobuf::MessageExts)413 extend(::Google::Protobuf::MessageExts::ClassMethods)414 def initialize(*_); end415 def ==(_); end416 def [](_); end417 def []=(_, _); end418 def clone; end419 def dup; end420 def eql?(_); end421 def hash; end422 def inspect; end423 def method_missing(*_); end424 def to_h; end425 def to_s; end426 private427 def respond_to_missing?(*_); end428 class << self429 def decode(_); end430 def decode_json(*_); end431 def descriptor; end432 def encode(_); end433 def encode_json(*_); end434 end435end436module Opentelemetry::Proto::Trace::V1::Status::StatusCode437 class << self438 def descriptor; end439 def lookup(_); end440 def resolve(_); end441 end442end443Opentelemetry::Proto::Trace::V1::Status::StatusCode::Aborted = T.let(T.unsafe(nil), Integer)444Opentelemetry::Proto::Trace::V1::Status::StatusCode::AlreadyExists = T.let(T.unsafe(nil), Integer)445Opentelemetry::Proto::Trace::V1::Status::StatusCode::Cancelled = T.let(T.unsafe(nil), Integer)446Opentelemetry::Proto::Trace::V1::Status::StatusCode::DataLoss = T.let(T.unsafe(nil), Integer)447Opentelemetry::Proto::Trace::V1::Status::StatusCode::DeadlineExceeded = T.let(T.unsafe(nil), Integer)448Opentelemetry::Proto::Trace::V1::Status::StatusCode::FailedPrecondition = T.let(T.unsafe(nil), Integer)449Opentelemetry::Proto::Trace::V1::Status::StatusCode::InternalError = T.let(T.unsafe(nil), Integer)450Opentelemetry::Proto::Trace::V1::Status::StatusCode::InvalidArgument = T.let(T.unsafe(nil), Integer)451Opentelemetry::Proto::Trace::V1::Status::StatusCode::NotFound = T.let(T.unsafe(nil), Integer)452Opentelemetry::Proto::Trace::V1::Status::StatusCode::Ok = T.let(T.unsafe(nil), Integer)453Opentelemetry::Proto::Trace::V1::Status::StatusCode::OutOfRange = T.let(T.unsafe(nil), Integer)454Opentelemetry::Proto::Trace::V1::Status::StatusCode::PermissionDenied = T.let(T.unsafe(nil), Integer)455Opentelemetry::Proto::Trace::V1::Status::StatusCode::ResourceExhausted = T.let(T.unsafe(nil), Integer)456Opentelemetry::Proto::Trace::V1::Status::StatusCode::Unauthenticated = T.let(T.unsafe(nil), Integer)457Opentelemetry::Proto::Trace::V1::Status::StatusCode::Unavailable = T.let(T.unsafe(nil), Integer)458Opentelemetry::Proto::Trace::V1::Status::StatusCode::Unimplemented = T.let(T.unsafe(nil), Integer)459Opentelemetry::Proto::Trace::V1::Status::StatusCode::UnknownError = T.let(T.unsafe(nil), Integer)460module Shopify461end462module Shopify::Tracing463 include(::Shopify::Tracing::Stats)464 extend(::Shopify::Tracing::Stats)465 extend(::Shopify::Tracing)466 extend(::Forwardable)467 def application; end468 def clear_context; end469 def configuration; end470 def context; end471 def deep_encode_utf8(val); end472 def downsample(rate); end473 def enable_rails_tracing(sampler: T.unsafe(nil)); end474 def enable_tracing(application_name:, producer: T.unsafe(nil), sampler: T.unsafe(nil), log_trace_url: T.unsafe(nil), report_error: T.unsafe(nil)); end475 def extract(format, carrier); end476 def finish(span); end477 def inject(format, carrier); end478 def mask_lengthy_values(val); end479 def stats_tags; end480 def subscribe(*args, &block); end481 def subscriber; end482 def subscriber=(subscriber); end483 def tags; end484 def trace(operation, tags: T.unsafe(nil), parent: T.unsafe(nil)); end485 def trace_follower(operation, from:, tags: T.unsafe(nil)); end486 def trace_root(operation, tags: T.unsafe(nil)); end487 def tracer; end488 def tracer=(_); end489 def unsubscribe(*args, &block); end490 def untraced; end491 private492 def context=(c); end493end494module Shopify::Tracing::Adapters495end496module Shopify::Tracing::Adapters::ElasticSearchAdapter497end498Shopify::Tracing::Adapters::ElasticSearchAdapter::DEFAULT_TAGS = T.let(T.unsafe(nil), Hash)499Shopify::Tracing::Adapters::ElasticSearchAdapter::PAYLOAD_TRANSFORM = T.let(T.unsafe(nil), Proc)500module Shopify::Tracing::Adapters::KafkaClientRubyAdapter501end502Shopify::Tracing::Adapters::KafkaClientRubyAdapter::DEFAULT_TAGS = T.let(T.unsafe(nil), Hash)503Shopify::Tracing::Adapters::KafkaClientRubyAdapter::PAYLOAD_TRANSFORM = T.let(T.unsafe(nil), Proc)504class Shopify::Tracing::Adapters::RackAdapter505 include(::Shopify::Tracing::Stats)506 def initialize(app, _options = T.unsafe(nil)); end507 def call(env); end508 private509 def append_additional_span_data(env, span); end510 def blacklisted?(path); end511 def operation_name(env); end512end513Shopify::Tracing::Adapters::RackAdapter::DEFAULT_HEALTHCHECK_ENDPOINTS = T.let(T.unsafe(nil), Array)514Shopify::Tracing::Adapters::RackAdapter::TAGS = T.let(T.unsafe(nil), Hash)515class Shopify::Tracing::Adapters::RackErrorAdapter516 def initialize(app, _options = T.unsafe(nil)); end517 def call(env); end518end519class Shopify::Tracing::Adapters::RailsAdapter520 class << self521 def initialize_shopify_tracing(app); end522 end523end524class Shopify::Tracing::Adapters::RailsRackAdapter < ::Shopify::Tracing::Adapters::RackAdapter525 def initialize(app, options = T.unsafe(nil)); end526 def call(env); end527 private528 def append_additional_span_data(env, span); end529end530class Shopify::Tracing::Adapters::Railtie < ::Rails::Railtie531end532module Shopify::Tracing::Adapters::SqlAdapter533 class << self534 def extract_query_name(payload); end535 end536end537Shopify::Tracing::Adapters::SqlAdapter::DEFAULT_TAGS = T.let(T.unsafe(nil), Hash)538Shopify::Tracing::Adapters::SqlAdapter::PAYLOAD_TRANSFORM = T.let(T.unsafe(nil), Proc)539Shopify::Tracing::Adapters::SqlAdapter::QUERY_NAMES = T.let(T.unsafe(nil), Array)540Shopify::Tracing::Adapters::SqlAdapter::QUERY_NAME_RE = T.let(T.unsafe(nil), Regexp)541Shopify::Tracing::CONTEXT_KEY = T.let(T.unsafe(nil), Symbol)542module Shopify::Tracing::CacheSubscriber543 extend(::Shopify::Tracing::CacheSubscriber)544 def finish(name, _id, payload); end545 def start(name, _id, _payload); end546 def subscribe; end547end548class Shopify::Tracing::CannotBeChildOfError < ::Shopify::Tracing::TracingError549end550class Shopify::Tracing::Configuration551 def initialize; end552 def filter_payload; end553 def filter_payload=(_); end554end555Shopify::Tracing::DEFAULT_TRACE_PROXY_ADDR = T.let(T.unsafe(nil), String)556module Shopify::Tracing::Formats557end558module Shopify::Tracing::Formats::FormatHelper559 class << self560 def parse_string(str); end561 end562end563module Shopify::Tracing::Formats::GRPCFormat564 extend(::Shopify::Tracing::Formats::GRPCFormat)565 def extract(metadata); end566 def inject(span, metadata); end567 def type; end568end569Shopify::Tracing::Formats::GRPCFormat::METADATA_KEY = T.let(T.unsafe(nil), String)570module Shopify::Tracing::Formats::HTTPFormat571 extend(::Shopify::Tracing::Formats::HTTPFormat)572 def extract(headers); end573 def inject(span, headers); end574 def type; end575end576Shopify::Tracing::Formats::HTTPFormat::GKE_HEADER_KEY = T.let(T.unsafe(nil), String)577Shopify::Tracing::Formats::HTTPFormat::GKE_HEADER_RACK_KEY = T.let(T.unsafe(nil), String)578Shopify::Tracing::Formats::HTTPFormat::HEADER_KEY = T.let(T.unsafe(nil), String)579Shopify::Tracing::Formats::HTTPFormat::HEADER_RACK_KEY = T.let(T.unsafe(nil), String)580module Shopify::Tracing::Formats::JobFormat581 extend(::Shopify::Tracing::Formats::JobFormat)582 def extract(parameters); end583 def inject(span_context, parameters); end584 def type; end585end586module Shopify::Tracing::Formats::KafkaFormat587 extend(::Shopify::Tracing::Formats::KafkaFormat)588 def extract(headers); end589 def inject(span, headers); end590 def type; end591end592Shopify::Tracing::Formats::KafkaFormat::MESSAGE_HEADER = T.let(T.unsafe(nil), String)593Shopify::Tracing::Formats::KafkaFormat::SPAN_HEADER = T.let(T.unsafe(nil), String)594Shopify::Tracing::Formats::KafkaFormat::TRACE_HEADER = T.let(T.unsafe(nil), String)595Shopify::Tracing::MASK_LENGTHY_VALUES_THRESHOLD = T.let(T.unsafe(nil), Integer)596module Shopify::Tracing::NoopSubscriber597 extend(::Shopify::Tracing::NoopSubscriber)598 def subscribe(pattern, blacklist: T.unsafe(nil), transform: T.unsafe(nil)); end599 def unsubscribe(pattern); end600end601module Shopify::Tracing::NoopTracer602 extend(::Shopify::Tracing::NoopTracer)603 def extract(_klass, _carrier); end604 def inject(span, klass, carrier); end605 def log_trace_url(trace_id); end606 def producer; end607 def producer=(_); end608 def report_error(klass); end609 def sampler; end610 def sampler=(_); end611 def start_span(_operation, tags: T.unsafe(nil)); end612end613module Shopify::Tracing::Producers614end615class Shopify::Tracing::Producers::BundledProducer616 include(::Shopify::Tracing::Stats)617 def initialize(flush_interval:, buffer_limit:, report_on_exit: T.unsafe(nil)); end618 def backoff; end619 def delayed; end620 def enabled?; end621 def produce(record); end622 def reenqueue(bundle); end623 def register_at_exit_handler(report_on_exit); end624 def report; end625 def reset_on_fork; end626 def start_reporting; end627end628Shopify::Tracing::Producers::BundledProducer::BACKOFF_LIMIT = T.let(T.unsafe(nil), Integer)629module Shopify::Tracing::Producers::NoopProducer630 class << self631 def enabled?; end632 def produce(_record); end633 def report_error(_error); end634 def trace_url_for(_trace_id); end635 end636end637class Shopify::Tracing::Producers::OTLPProducer638 include(::Shopify::Tracing::Stats)639 def initialize(url:, exporter_timeout: T.unsafe(nil), schedule_delay: T.unsafe(nil), max_queue_size: T.unsafe(nil), max_export_batch_size: T.unsafe(nil), max_retry_count: T.unsafe(nil), max_attributes_count: T.unsafe(nil), max_key_length: T.unsafe(nil), max_value_length: T.unsafe(nil)); end640 def enabled?; end641 def produce(record); end642 def report_error(_error); end643 def shutdown; end644 def trace_url_for(_trace_id); end645 private646 def allowlist; end647 def backoff?(retry_count:, reason:, retry_after: T.unsafe(nil)); end648 def batch_size; end649 def export(batch); end650 def export_batch(batch); end651 def force_flush; end652 def initialize_http(url); end653 def instrumentation_library; end654 def invalid_url?(url); end655 def lock; end656 def max_queue_size; end657 def records; end658 def records_to_otlp_spans(records); end659 def report_failure(span_count:, reason:); end660 def report_success(span_count:); end661 def reset_on_fork(restart_thread: T.unsafe(nil)); end662 def resource; end663 def send_bytes(bytes, span_count:); end664 def serialize_otlp_spans(spans); end665 def work; end666end667class Shopify::Tracing::Producers::TraceProxyProducer < ::Shopify::Tracing::Producers::BundledProducer668 def initialize(url:, flush_interval: T.unsafe(nil), buffer_limit: T.unsafe(nil), report_on_exit: T.unsafe(nil)); end669 def close_connection; end670 def flush_bundle(bundle); end671 def get_repeated_proto_bytesize(record); end672 def register_at_exit_handler(report_on_exit); end673 def report_error(e); end674 def serialize_payload(spans); end675 def trace_url_for(_trace_id); end676 def uri; end677 private678 def bundle_size(buffer); end679 def count_spans_by_trace(bundle); end680 def send_payload(payload); end681 def whitelist(url); end682end683Shopify::Tracing::Producers::TraceProxyProducer::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array)684Shopify::Tracing::Producers::TraceProxyProducer::BUFFER_LIMIT = T.let(T.unsafe(nil), Integer)685Shopify::Tracing::Producers::TraceProxyProducer::BUNDLE_SIZE_LIMIT = T.let(T.unsafe(nil), Integer)686Shopify::Tracing::Producers::TraceProxyProducer::FLUSH_INTERVAL = T.let(T.unsafe(nil), Integer)687Shopify::Tracing::Producers::TraceProxyProducer::KEEP_ALIVE_TIMEOUT = T.let(T.unsafe(nil), Integer)688Shopify::Tracing::Producers::TraceProxyProducer::OPEN_TIMEOUT = T.let(T.unsafe(nil), Integer)689Shopify::Tracing::Producers::TraceProxyProducer::READ_TIMEOUT = T.let(T.unsafe(nil), Integer)690class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyDecodeError < ::Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError691end692class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError < ::StandardError693end694class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyMethodError < ::Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError695end696class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyReadError < ::Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError697end698class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxySemianError < ::Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError699end700class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyServerError < ::Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError701end702class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyTimeoutError < ::Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError703end704class Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyUnknownError < ::Shopify::Tracing::Producers::TraceProxyProducer::TraceProxyError705end706module Shopify::Tracing::Samplers707 extend(::Shopify::Tracing::Samplers)708 def always; end709 def never; end710 def random(frequency); end711 def timed(interval = T.unsafe(nil)); end712end713module Shopify::Tracing::Spans714 class << self715 def generate_id; end716 end717end718class Shopify::Tracing::Spans::ChildLink < ::Shopify::Tracing::Spans::Link719 private720 def pb_link_type; end721end722class Shopify::Tracing::Spans::Link723 def initialize(span); end724 def span; end725 def to_otlp; end726 def to_pb; end727 private728 def pb_link_type; end729end730module Shopify::Tracing::Spans::NoopSpan731 extend(::Shopify::Tracing::Spans::NoopSpan)732 def []=(_key, _val); end733 def context; end734 def find; end735 def finish; end736 def id; end737 def link(_link); end738 def merge_tags!(_tags); end739 def name=(_new_name); end740 def poison; end741 def sampled?; end742 def start_child(operation:, tags: T.unsafe(nil)); end743 def successor=(_span); end744 def trace_id; end745 def tracer; end746end747class Shopify::Tracing::Spans::ParentLink < ::Shopify::Tracing::Spans::Link748 private749 def pb_link_type; end750end751class Shopify::Tracing::Spans::Record752 def initialize(span_id:, trace_id:, operation:, start_time:, end_time:, parent:, tags:, links:); end753 def end_time; end754 def links; end755 def operation; end756 def parent; end757 def span_id; end758 def start_time; end759 def tags; end760 def to_otlp(max_attributes_count:, max_key_length:, max_value_length:); end761 def to_pb; end762 def trace_id; end763 def truncated_tags(tags); end764 private765 def attributes(max_attributes_count:, max_key_length:, max_value_length:); end766 def span_kind(kind); end767end768Shopify::Tracing::Spans::Record::EMPTY_TAGS = T.let(T.unsafe(nil), Hash)769class Shopify::Tracing::Spans::RemoteSpan770 def initialize(tracer:, context:); end771 def []=(_key, _val); end772 def context; end773 def find; end774 def finish; end775 def id; end776 def link(_link); end777 def merge_tags!(_tags); end778 def name=(_new_name); end779 def poison; end780 def sampled?; end781 def start_child(operation:, tags: T.unsafe(nil)); end782 def successor=(_span); end783 def trace_id; end784 def tracer; end785end786Shopify::Tracing::Spans::SPAN_ID_RANGE = T.let(T.unsafe(nil), Range)787class Shopify::Tracing::Spans::Span788 def initialize(tracer:, operation:, trace_id:, tags:, id:, parent: T.unsafe(nil), start_time: T.unsafe(nil), end_time: T.unsafe(nil), thread_id: T.unsafe(nil)); end789 def []=(key, val); end790 def can_be_child?; end791 def context; end792 def find(&block); end793 def finish; end794 def id; end795 def link(link); end796 def merge_tags!(tags); end797 def name=(new_name); end798 def poison; end799 def sampled?; end800 def start_child(operation:, tags: T.unsafe(nil)); end801 def successor; end802 def successor=(_); end803 def trace_id; end804 def tracer; end805end806class Shopify::Tracing::Spans::SpanContext807 def initialize(trace_id:, span_id: T.unsafe(nil), sampled: T.unsafe(nil)); end808 def sampled?; end809 def span_id; end810 def trace_id; end811end812module Shopify::Tracing::Stats813 def gauge(metric, value, tags: T.unsafe(nil), detailed: T.unsafe(nil)); end814 def histogram(metric, value, tags: T.unsafe(nil), detailed: T.unsafe(nil)); end815 def increment(metric, count: T.unsafe(nil), tags: T.unsafe(nil), detailed: T.unsafe(nil)); end816 def measure(metric, tags: T.unsafe(nil), detailed: T.unsafe(nil), &block); end817 def omit_detailed_metrics; end818 def stats_key(metric); end819end820module Shopify::Tracing::Subscriber821 extend(::Shopify::Tracing::Subscriber)822 def filter_payload(name, payload); end823 def finish(name, _id, payload); end824 def start(name, _id, _payload); end825 def subscribe(name, blacklist: T.unsafe(nil), transform: T.unsafe(nil)); end826 def subscribers; end827 def unsubscribe(name); end828end829class Shopify::Tracing::Tracer830 include(::Shopify::Tracing::Stats)831 extend(::Forwardable)832 def initialize(sampler: T.unsafe(nil), producer: T.unsafe(nil), log_trace_url: T.unsafe(nil), report_error: T.unsafe(nil)); end833 def extract(format, carrier); end834 def inject(span, format, carrier); end835 def log_trace_url(trace_id); end836 def produce(*args, &block); end837 def producer; end838 def producer=(_); end839 def report_error(klass); end840 def sampler; end841 def sampler=(_); end842 def start_span(operation, tags: T.unsafe(nil)); end843 private844 def generate_trace_id; end845 def sampled?(context, tags, operation: T.unsafe(nil)); end846end847class Shopify::Tracing::TracingError < ::StandardError848end849Shopify::Tracing::VERSION = T.let(T.unsafe(nil), String)850module Tracing851end852class Tracing::Link853 include(::Google::Protobuf::MessageExts)854 extend(::Google::Protobuf::MessageExts::ClassMethods)855 def initialize(*_); end856 def ==(_); end857 def [](_); end858 def []=(_, _); end859 def clone; end860 def dup; end861 def eql?(_); end862 def hash; end863 def inspect; end864 def method_missing(*_); end865 def to_h; end866 def to_s; end867 private868 def respond_to_missing?(*_); end869 class << self870 def decode(_); end871 def decode_json(*_); end872 def descriptor; end873 def encode(_); end874 def encode_json(*_); end875 end876end877module Tracing::Link::Type878 class << self879 def descriptor; end880 def lookup(_); end881 def resolve(_); end882 end883end884Tracing::Link::Type::CHILD_LINKED_SPAN = T.let(T.unsafe(nil), Integer)885Tracing::Link::Type::PARENT_LINKED_SPAN = T.let(T.unsafe(nil), Integer)886Tracing::Link::Type::TYPE_UNSPECIFIED = T.let(T.unsafe(nil), Integer)887class Tracing::Links888 include(::Google::Protobuf::MessageExts)889 extend(::Google::Protobuf::MessageExts::ClassMethods)890 def initialize(*_); end891 def ==(_); end892 def [](_); end893 def []=(_, _); end894 def clone; end895 def dup; end896 def eql?(_); end897 def hash; end898 def inspect; end899 def method_missing(*_); end900 def to_h; end901 def to_s; end902 private903 def respond_to_missing?(*_); end904 class << self905 def decode(_); end906 def decode_json(*_); end907 def descriptor; end908 def encode(_); end909 def encode_json(*_); end910 end911end912class Tracing::Span913 include(::Google::Protobuf::MessageExts)914 extend(::Google::Protobuf::MessageExts::ClassMethods)915 def initialize(*_); end916 def ==(_); end917 def [](_); end918 def []=(_, _); end919 def clone; end920 def dup; end921 def eql?(_); end922 def hash; end923 def inspect; end924 def method_missing(*_); end925 def to_h; end926 def to_s; end927 private928 def respond_to_missing?(*_); end929 class << self930 def decode(_); end931 def decode_json(*_); end932 def descriptor; end933 def encode(_); end934 def encode_json(*_); end935 end936end937class Tracing::Spans938 include(::Google::Protobuf::MessageExts)939 extend(::Google::Protobuf::MessageExts::ClassMethods)940 def initialize(*_); end941 def ==(_); end942 def [](_); end943 def []=(_, _); end944 def clone; end945 def dup; end946 def eql?(_); end947 def hash; end948 def inspect; end949 def method_missing(*_); end950 def to_h; end951 def to_s; end952 private953 def respond_to_missing?(*_); end954 class << self955 def decode(_); end956 def decode_json(*_); end957 def descriptor; end958 def encode(_); end959 def encode_json(*_); end960 end961end...
google-protobuf@3.19.3.rbi
Source:google-protobuf@3.19.3.rbi
...48 def method_missing(*_arg0); end49 def to_h; end50 def to_s; end51 private52 def respond_to_missing?(*_arg0); end53 class << self54 def decode(_arg0); end55 def decode_json(*_arg0); end56 def descriptor; end57 def encode(_arg0); end58 def encode_json(*_arg0); end59 end60end61class Google::Protobuf::DescriptorProto::ExtensionRange62 include ::Google::Protobuf::MessageExts63 extend ::Google::Protobuf::MessageExts::ClassMethods64 def initialize(*_arg0); end65 def ==(_arg0); end66 def [](_arg0); end67 def []=(_arg0, _arg1); end68 def clone; end69 def dup; end70 def eql?(_arg0); end71 def freeze; end72 def hash; end73 def inspect; end74 def method_missing(*_arg0); end75 def to_h; end76 def to_s; end77 private78 def respond_to_missing?(*_arg0); end79 class << self80 def decode(_arg0); end81 def decode_json(*_arg0); end82 def descriptor; end83 def encode(_arg0); end84 def encode_json(*_arg0); end85 end86end87class Google::Protobuf::DescriptorProto::ReservedRange88 include ::Google::Protobuf::MessageExts89 extend ::Google::Protobuf::MessageExts::ClassMethods90 def initialize(*_arg0); end91 def ==(_arg0); end92 def [](_arg0); end93 def []=(_arg0, _arg1); end94 def clone; end95 def dup; end96 def eql?(_arg0); end97 def freeze; end98 def hash; end99 def inspect; end100 def method_missing(*_arg0); end101 def to_h; end102 def to_s; end103 private104 def respond_to_missing?(*_arg0); end105 class << self106 def decode(_arg0); end107 def decode_json(*_arg0); end108 def descriptor; end109 def encode(_arg0); end110 def encode_json(*_arg0); end111 end112end113class Google::Protobuf::EnumDescriptor114 include ::Enumerable115 def initialize(_arg0, _arg1, _arg2); end116 def each; end117 def enummodule; end118 def file_descriptor; end119 def lookup_name(_arg0); end120 def lookup_value(_arg0); end121 def name; end122end123class Google::Protobuf::EnumDescriptorProto124 include ::Google::Protobuf::MessageExts125 extend ::Google::Protobuf::MessageExts::ClassMethods126 def initialize(*_arg0); end127 def ==(_arg0); end128 def [](_arg0); end129 def []=(_arg0, _arg1); end130 def clone; end131 def dup; end132 def eql?(_arg0); end133 def freeze; end134 def hash; end135 def inspect; end136 def method_missing(*_arg0); end137 def to_h; end138 def to_s; end139 private140 def respond_to_missing?(*_arg0); end141 class << self142 def decode(_arg0); end143 def decode_json(*_arg0); end144 def descriptor; end145 def encode(_arg0); end146 def encode_json(*_arg0); end147 end148end149class Google::Protobuf::EnumDescriptorProto::EnumReservedRange150 include ::Google::Protobuf::MessageExts151 extend ::Google::Protobuf::MessageExts::ClassMethods152 def initialize(*_arg0); end153 def ==(_arg0); end154 def [](_arg0); end155 def []=(_arg0, _arg1); end156 def clone; end157 def dup; end158 def eql?(_arg0); end159 def freeze; end160 def hash; end161 def inspect; end162 def method_missing(*_arg0); end163 def to_h; end164 def to_s; end165 private166 def respond_to_missing?(*_arg0); end167 class << self168 def decode(_arg0); end169 def decode_json(*_arg0); end170 def descriptor; end171 def encode(_arg0); end172 def encode_json(*_arg0); end173 end174end175class Google::Protobuf::EnumOptions176 include ::Google::Protobuf::MessageExts177 extend ::Google::Protobuf::MessageExts::ClassMethods178 def initialize(*_arg0); end179 def ==(_arg0); end180 def [](_arg0); end181 def []=(_arg0, _arg1); end182 def clone; end183 def dup; end184 def eql?(_arg0); end185 def freeze; end186 def hash; end187 def inspect; end188 def method_missing(*_arg0); end189 def to_h; end190 def to_s; end191 private192 def respond_to_missing?(*_arg0); end193 class << self194 def decode(_arg0); end195 def decode_json(*_arg0); end196 def descriptor; end197 def encode(_arg0); end198 def encode_json(*_arg0); end199 end200end201class Google::Protobuf::EnumValueDescriptorProto202 include ::Google::Protobuf::MessageExts203 extend ::Google::Protobuf::MessageExts::ClassMethods204 def initialize(*_arg0); end205 def ==(_arg0); end206 def [](_arg0); end207 def []=(_arg0, _arg1); end208 def clone; end209 def dup; end210 def eql?(_arg0); end211 def freeze; end212 def hash; end213 def inspect; end214 def method_missing(*_arg0); end215 def to_h; end216 def to_s; end217 private218 def respond_to_missing?(*_arg0); end219 class << self220 def decode(_arg0); end221 def decode_json(*_arg0); end222 def descriptor; end223 def encode(_arg0); end224 def encode_json(*_arg0); end225 end226end227class Google::Protobuf::EnumValueOptions228 include ::Google::Protobuf::MessageExts229 extend ::Google::Protobuf::MessageExts::ClassMethods230 def initialize(*_arg0); end231 def ==(_arg0); end232 def [](_arg0); end233 def []=(_arg0, _arg1); end234 def clone; end235 def dup; end236 def eql?(_arg0); end237 def freeze; end238 def hash; end239 def inspect; end240 def method_missing(*_arg0); end241 def to_h; end242 def to_s; end243 private244 def respond_to_missing?(*_arg0); end245 class << self246 def decode(_arg0); end247 def decode_json(*_arg0); end248 def descriptor; end249 def encode(_arg0); end250 def encode_json(*_arg0); end251 end252end253class Google::Protobuf::Error < ::StandardError; end254class Google::Protobuf::ExtensionRangeOptions255 include ::Google::Protobuf::MessageExts256 extend ::Google::Protobuf::MessageExts::ClassMethods257 def initialize(*_arg0); end258 def ==(_arg0); end259 def [](_arg0); end260 def []=(_arg0, _arg1); end261 def clone; end262 def dup; end263 def eql?(_arg0); end264 def freeze; end265 def hash; end266 def inspect; end267 def method_missing(*_arg0); end268 def to_h; end269 def to_s; end270 private271 def respond_to_missing?(*_arg0); end272 class << self273 def decode(_arg0); end274 def decode_json(*_arg0); end275 def descriptor; end276 def encode(_arg0); end277 def encode_json(*_arg0); end278 end279end280class Google::Protobuf::FieldDescriptor281 def initialize(_arg0, _arg1, _arg2); end282 def clear(_arg0); end283 def default; end284 def get(_arg0); end285 def has?(_arg0); end286 def json_name; end287 def label; end288 def name; end289 def number; end290 def set(_arg0, _arg1); end291 def submsg_name; end292 def subtype; end293 def type; end294end295class Google::Protobuf::FieldDescriptorProto296 include ::Google::Protobuf::MessageExts297 extend ::Google::Protobuf::MessageExts::ClassMethods298 def initialize(*_arg0); end299 def ==(_arg0); end300 def [](_arg0); end301 def []=(_arg0, _arg1); end302 def clone; end303 def dup; end304 def eql?(_arg0); end305 def freeze; end306 def hash; end307 def inspect; end308 def method_missing(*_arg0); end309 def to_h; end310 def to_s; end311 private312 def respond_to_missing?(*_arg0); end313 class << self314 def decode(_arg0); end315 def decode_json(*_arg0); end316 def descriptor; end317 def encode(_arg0); end318 def encode_json(*_arg0); end319 end320end321module Google::Protobuf::FieldDescriptorProto::Label322 class << self323 def descriptor; end324 def lookup(_arg0); end325 def resolve(_arg0); end326 end327end328Google::Protobuf::FieldDescriptorProto::Label::LABEL_OPTIONAL = T.let(T.unsafe(nil), Integer)329Google::Protobuf::FieldDescriptorProto::Label::LABEL_REPEATED = T.let(T.unsafe(nil), Integer)330Google::Protobuf::FieldDescriptorProto::Label::LABEL_REQUIRED = T.let(T.unsafe(nil), Integer)331module Google::Protobuf::FieldDescriptorProto::Type332 class << self333 def descriptor; end334 def lookup(_arg0); end335 def resolve(_arg0); end336 end337end338Google::Protobuf::FieldDescriptorProto::Type::TYPE_BOOL = T.let(T.unsafe(nil), Integer)339Google::Protobuf::FieldDescriptorProto::Type::TYPE_BYTES = T.let(T.unsafe(nil), Integer)340Google::Protobuf::FieldDescriptorProto::Type::TYPE_DOUBLE = T.let(T.unsafe(nil), Integer)341Google::Protobuf::FieldDescriptorProto::Type::TYPE_ENUM = T.let(T.unsafe(nil), Integer)342Google::Protobuf::FieldDescriptorProto::Type::TYPE_FIXED32 = T.let(T.unsafe(nil), Integer)343Google::Protobuf::FieldDescriptorProto::Type::TYPE_FIXED64 = T.let(T.unsafe(nil), Integer)344Google::Protobuf::FieldDescriptorProto::Type::TYPE_FLOAT = T.let(T.unsafe(nil), Integer)345Google::Protobuf::FieldDescriptorProto::Type::TYPE_GROUP = T.let(T.unsafe(nil), Integer)346Google::Protobuf::FieldDescriptorProto::Type::TYPE_INT32 = T.let(T.unsafe(nil), Integer)347Google::Protobuf::FieldDescriptorProto::Type::TYPE_INT64 = T.let(T.unsafe(nil), Integer)348Google::Protobuf::FieldDescriptorProto::Type::TYPE_MESSAGE = T.let(T.unsafe(nil), Integer)349Google::Protobuf::FieldDescriptorProto::Type::TYPE_SFIXED32 = T.let(T.unsafe(nil), Integer)350Google::Protobuf::FieldDescriptorProto::Type::TYPE_SFIXED64 = T.let(T.unsafe(nil), Integer)351Google::Protobuf::FieldDescriptorProto::Type::TYPE_SINT32 = T.let(T.unsafe(nil), Integer)352Google::Protobuf::FieldDescriptorProto::Type::TYPE_SINT64 = T.let(T.unsafe(nil), Integer)353Google::Protobuf::FieldDescriptorProto::Type::TYPE_STRING = T.let(T.unsafe(nil), Integer)354Google::Protobuf::FieldDescriptorProto::Type::TYPE_UINT32 = T.let(T.unsafe(nil), Integer)355Google::Protobuf::FieldDescriptorProto::Type::TYPE_UINT64 = T.let(T.unsafe(nil), Integer)356class Google::Protobuf::FieldOptions357 include ::Google::Protobuf::MessageExts358 extend ::Google::Protobuf::MessageExts::ClassMethods359 def initialize(*_arg0); end360 def ==(_arg0); end361 def [](_arg0); end362 def []=(_arg0, _arg1); end363 def clone; end364 def dup; end365 def eql?(_arg0); end366 def freeze; end367 def hash; end368 def inspect; end369 def method_missing(*_arg0); end370 def to_h; end371 def to_s; end372 private373 def respond_to_missing?(*_arg0); end374 class << self375 def decode(_arg0); end376 def decode_json(*_arg0); end377 def descriptor; end378 def encode(_arg0); end379 def encode_json(*_arg0); end380 end381end382module Google::Protobuf::FieldOptions::CType383 class << self384 def descriptor; end385 def lookup(_arg0); end386 def resolve(_arg0); end387 end388end389Google::Protobuf::FieldOptions::CType::CORD = T.let(T.unsafe(nil), Integer)390Google::Protobuf::FieldOptions::CType::STRING = T.let(T.unsafe(nil), Integer)391Google::Protobuf::FieldOptions::CType::STRING_PIECE = T.let(T.unsafe(nil), Integer)392module Google::Protobuf::FieldOptions::JSType393 class << self394 def descriptor; end395 def lookup(_arg0); end396 def resolve(_arg0); end397 end398end399Google::Protobuf::FieldOptions::JSType::JS_NORMAL = T.let(T.unsafe(nil), Integer)400Google::Protobuf::FieldOptions::JSType::JS_NUMBER = T.let(T.unsafe(nil), Integer)401Google::Protobuf::FieldOptions::JSType::JS_STRING = T.let(T.unsafe(nil), Integer)402class Google::Protobuf::FileDescriptor403 def initialize(_arg0, _arg1, _arg2); end404 def name; end405 def syntax; end406end407class Google::Protobuf::FileDescriptorProto408 include ::Google::Protobuf::MessageExts409 extend ::Google::Protobuf::MessageExts::ClassMethods410 def initialize(*_arg0); end411 def ==(_arg0); end412 def [](_arg0); end413 def []=(_arg0, _arg1); end414 def clone; end415 def dup; end416 def eql?(_arg0); end417 def freeze; end418 def hash; end419 def inspect; end420 def method_missing(*_arg0); end421 def to_h; end422 def to_s; end423 private424 def respond_to_missing?(*_arg0); end425 class << self426 def decode(_arg0); end427 def decode_json(*_arg0); end428 def descriptor; end429 def encode(_arg0); end430 def encode_json(*_arg0); end431 end432end433class Google::Protobuf::FileDescriptorSet434 include ::Google::Protobuf::MessageExts435 extend ::Google::Protobuf::MessageExts::ClassMethods436 def initialize(*_arg0); end437 def ==(_arg0); end438 def [](_arg0); end439 def []=(_arg0, _arg1); end440 def clone; end441 def dup; end442 def eql?(_arg0); end443 def freeze; end444 def hash; end445 def inspect; end446 def method_missing(*_arg0); end447 def to_h; end448 def to_s; end449 private450 def respond_to_missing?(*_arg0); end451 class << self452 def decode(_arg0); end453 def decode_json(*_arg0); end454 def descriptor; end455 def encode(_arg0); end456 def encode_json(*_arg0); end457 end458end459class Google::Protobuf::FileOptions460 include ::Google::Protobuf::MessageExts461 extend ::Google::Protobuf::MessageExts::ClassMethods462 def initialize(*_arg0); end463 def ==(_arg0); end464 def [](_arg0); end465 def []=(_arg0, _arg1); end466 def clone; end467 def dup; end468 def eql?(_arg0); end469 def freeze; end470 def hash; end471 def inspect; end472 def method_missing(*_arg0); end473 def to_h; end474 def to_s; end475 private476 def respond_to_missing?(*_arg0); end477 class << self478 def decode(_arg0); end479 def decode_json(*_arg0); end480 def descriptor; end481 def encode(_arg0); end482 def encode_json(*_arg0); end483 end484end485module Google::Protobuf::FileOptions::OptimizeMode486 class << self487 def descriptor; end488 def lookup(_arg0); end489 def resolve(_arg0); end490 end491end492Google::Protobuf::FileOptions::OptimizeMode::CODE_SIZE = T.let(T.unsafe(nil), Integer)493Google::Protobuf::FileOptions::OptimizeMode::LITE_RUNTIME = T.let(T.unsafe(nil), Integer)494Google::Protobuf::FileOptions::OptimizeMode::SPEED = T.let(T.unsafe(nil), Integer)495class Google::Protobuf::GeneratedCodeInfo496 include ::Google::Protobuf::MessageExts497 extend ::Google::Protobuf::MessageExts::ClassMethods498 def initialize(*_arg0); end499 def ==(_arg0); end500 def [](_arg0); end501 def []=(_arg0, _arg1); end502 def clone; end503 def dup; end504 def eql?(_arg0); end505 def freeze; end506 def hash; end507 def inspect; end508 def method_missing(*_arg0); end509 def to_h; end510 def to_s; end511 private512 def respond_to_missing?(*_arg0); end513 class << self514 def decode(_arg0); end515 def decode_json(*_arg0); end516 def descriptor; end517 def encode(_arg0); end518 def encode_json(*_arg0); end519 end520end521class Google::Protobuf::GeneratedCodeInfo::Annotation522 include ::Google::Protobuf::MessageExts523 extend ::Google::Protobuf::MessageExts::ClassMethods524 def initialize(*_arg0); end525 def ==(_arg0); end526 def [](_arg0); end527 def []=(_arg0, _arg1); end528 def clone; end529 def dup; end530 def eql?(_arg0); end531 def freeze; end532 def hash; end533 def inspect; end534 def method_missing(*_arg0); end535 def to_h; end536 def to_s; end537 private538 def respond_to_missing?(*_arg0); end539 class << self540 def decode(_arg0); end541 def decode_json(*_arg0); end542 def descriptor; end543 def encode(_arg0); end544 def encode_json(*_arg0); end545 end546end547module Google::Protobuf::Internal; end548class Google::Protobuf::Internal::Arena; end549class Google::Protobuf::Internal::AtomicCounter550 def initialize; end551 def get_and_increment; end552end553class Google::Protobuf::Internal::Builder554 def initialize(pool); end555 def add_enum(name, &block); end556 def add_file(name, options = T.unsafe(nil), &block); end557 def add_message(name, &block); end558 def build; end559 private560 def internal_add_file(file_builder); end561 def internal_default_file; end562end563class Google::Protobuf::Internal::EnumBuilder564 def initialize(name, file_proto); end565 def value(name, number); end566end567class Google::Protobuf::Internal::FileBuilder568 def initialize(pool, name, options = T.unsafe(nil)); end569 def add_enum(name, &block); end570 def add_message(name, &block); end571 def build; end572 def fix_nesting; end573 def get_parent_msg(msgs_by_name, name, parent_name); end574 def infer_package(names); end575 def internal_file_proto; end576 def rewrite_enum_default(field); end577 def rewrite_enum_defaults; end578 def split_parent_name(msg_or_enum); end579end580class Google::Protobuf::Internal::MessageBuilder581 def initialize(name, file_builder, file_proto); end582 def internal_add_field(label, name, type, number, type_class, options, oneof_index: T.unsafe(nil), proto3_optional: T.unsafe(nil)); end583 def internal_add_synthetic_oneofs; end584 def internal_msg_proto; end585 def map(name, key_type, value_type, number, value_type_class = T.unsafe(nil)); end586 def oneof(name, &block); end587 def optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end588 def proto3_optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end589 def repeated(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end590 def required(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end591end592class Google::Protobuf::Internal::OneofBuilder593 def initialize(name, msg_builder); end594 def optional(name, type, number, type_class = T.unsafe(nil), options = T.unsafe(nil)); end595end596class Google::Protobuf::Map597 include ::Enumerable598 def initialize(*_arg0); end599 def ==(_arg0); end600 def [](_arg0); end601 def []=(_arg0, _arg1); end602 def clear; end603 def clone; end604 def delete(_arg0); end605 def dup; end606 def each; end607 def freeze; end608 def has_key?(_arg0); end609 def hash; end610 def inspect; end611 def keys; end612 def length; end613 def merge(_arg0); end614 def size; end615 def to_h; end616 def values; end617end618module Google::Protobuf::MessageExts619 mixes_in_class_methods ::Google::Protobuf::MessageExts::ClassMethods620 def to_json(options = T.unsafe(nil)); end621 def to_proto; end622 class << self623 def included(klass); end624 end625end626module Google::Protobuf::MessageExts::ClassMethods; end627class Google::Protobuf::MessageOptions628 include ::Google::Protobuf::MessageExts629 extend ::Google::Protobuf::MessageExts::ClassMethods630 def initialize(*_arg0); end631 def ==(_arg0); end632 def [](_arg0); end633 def []=(_arg0, _arg1); end634 def clone; end635 def dup; end636 def eql?(_arg0); end637 def freeze; end638 def hash; end639 def inspect; end640 def method_missing(*_arg0); end641 def to_h; end642 def to_s; end643 private644 def respond_to_missing?(*_arg0); end645 class << self646 def decode(_arg0); end647 def decode_json(*_arg0); end648 def descriptor; end649 def encode(_arg0); end650 def encode_json(*_arg0); end651 end652end653class Google::Protobuf::MethodDescriptorProto654 include ::Google::Protobuf::MessageExts655 extend ::Google::Protobuf::MessageExts::ClassMethods656 def initialize(*_arg0); end657 def ==(_arg0); end658 def [](_arg0); end659 def []=(_arg0, _arg1); end660 def clone; end661 def dup; end662 def eql?(_arg0); end663 def freeze; end664 def hash; end665 def inspect; end666 def method_missing(*_arg0); end667 def to_h; end668 def to_s; end669 private670 def respond_to_missing?(*_arg0); end671 class << self672 def decode(_arg0); end673 def decode_json(*_arg0); end674 def descriptor; end675 def encode(_arg0); end676 def encode_json(*_arg0); end677 end678end679class Google::Protobuf::MethodOptions680 include ::Google::Protobuf::MessageExts681 extend ::Google::Protobuf::MessageExts::ClassMethods682 def initialize(*_arg0); end683 def ==(_arg0); end684 def [](_arg0); end685 def []=(_arg0, _arg1); end686 def clone; end687 def dup; end688 def eql?(_arg0); end689 def freeze; end690 def hash; end691 def inspect; end692 def method_missing(*_arg0); end693 def to_h; end694 def to_s; end695 private696 def respond_to_missing?(*_arg0); end697 class << self698 def decode(_arg0); end699 def decode_json(*_arg0); end700 def descriptor; end701 def encode(_arg0); end702 def encode_json(*_arg0); end703 end704end705module Google::Protobuf::MethodOptions::IdempotencyLevel706 class << self707 def descriptor; end708 def lookup(_arg0); end709 def resolve(_arg0); end710 end711end712Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENCY_UNKNOWN = T.let(T.unsafe(nil), Integer)713Google::Protobuf::MethodOptions::IdempotencyLevel::IDEMPOTENT = T.let(T.unsafe(nil), Integer)714Google::Protobuf::MethodOptions::IdempotencyLevel::NO_SIDE_EFFECTS = T.let(T.unsafe(nil), Integer)715class Google::Protobuf::OneofDescriptor716 include ::Enumerable717 def initialize(_arg0, _arg1, _arg2); end718 def each; end719 def name; end720end721class Google::Protobuf::OneofDescriptorProto722 include ::Google::Protobuf::MessageExts723 extend ::Google::Protobuf::MessageExts::ClassMethods724 def initialize(*_arg0); end725 def ==(_arg0); end726 def [](_arg0); end727 def []=(_arg0, _arg1); end728 def clone; end729 def dup; end730 def eql?(_arg0); end731 def freeze; end732 def hash; end733 def inspect; end734 def method_missing(*_arg0); end735 def to_h; end736 def to_s; end737 private738 def respond_to_missing?(*_arg0); end739 class << self740 def decode(_arg0); end741 def decode_json(*_arg0); end742 def descriptor; end743 def encode(_arg0); end744 def encode_json(*_arg0); end745 end746end747class Google::Protobuf::OneofOptions748 include ::Google::Protobuf::MessageExts749 extend ::Google::Protobuf::MessageExts::ClassMethods750 def initialize(*_arg0); end751 def ==(_arg0); end752 def [](_arg0); end753 def []=(_arg0, _arg1); end754 def clone; end755 def dup; end756 def eql?(_arg0); end757 def freeze; end758 def hash; end759 def inspect; end760 def method_missing(*_arg0); end761 def to_h; end762 def to_s; end763 private764 def respond_to_missing?(*_arg0); end765 class << self766 def decode(_arg0); end767 def decode_json(*_arg0); end768 def descriptor; end769 def encode(_arg0); end770 def encode_json(*_arg0); end771 end772end773class Google::Protobuf::ParseError < ::Google::Protobuf::Error; end774class Google::Protobuf::RepeatedField775 include ::Enumerable776 extend ::Forwardable777 def initialize(*_arg0); end778 def &(*args, &block); end779 def *(*args, &block); end780 def +(_arg0); end781 def -(*args, &block); end782 def <<(_arg0); end783 def <=>(*args, &block); end784 def ==(_arg0); end785 def [](*_arg0); end786 def []=(_arg0, _arg1); end787 def assoc(*args, &block); end788 def at(*_arg0); end789 def bsearch(*args, &block); end790 def bsearch_index(*args, &block); end791 def clear; end792 def clone; end793 def collect!(*args, &block); end794 def combination(*args, &block); end795 def compact(*args, &block); end796 def compact!(*args, &block); end797 def concat(_arg0); end798 def count(*args, &block); end799 def cycle(*args, &block); end800 def delete(*args, &block); end801 def delete_at(*args, &block); end802 def delete_if(*args, &block); end803 def dig(*args, &block); end804 def drop(*args, &block); end805 def drop_while(*args, &block); end806 def dup; end807 def each; end808 def each_index(*_arg0); end809 def empty?; end810 def eql?(*args, &block); end811 def fetch(*args, &block); end812 def fill(*args, &block); end813 def find_index(*args, &block); end814 def first(n = T.unsafe(nil)); end815 def flatten(*args, &block); end816 def flatten!(*args, &block); end817 def freeze; end818 def hash; end819 def include?(*args, &block); end820 def index(*args, &block); end821 def insert(*args, &block); end822 def inspect(*args, &block); end823 def join(*args, &block); end824 def keep_if(*args, &block); end825 def last(n = T.unsafe(nil)); end826 def length; end827 def map; end828 def map!(*args, &block); end829 def pack(*args, &block); end830 def permutation(*args, &block); end831 def pop(n = T.unsafe(nil)); end832 def pretty_print(*args, &block); end833 def pretty_print_cycle(*args, &block); end834 def product(*args, &block); end835 def push(*_arg0); end836 def rassoc(*args, &block); end837 def reject!(*args, &block); end838 def repeated_combination(*args, &block); end839 def repeated_permutation(*args, &block); end840 def replace(_arg0); end841 def reverse(*args, &block); end842 def reverse!(*args, &block); end843 def rindex(*args, &block); end844 def rotate(*args, &block); end845 def rotate!(*args, &block); end846 def sample(*args, &block); end847 def select!(*args, &block); end848 def shelljoin(*args, &block); end849 def shift(*args, &block); end850 def shuffle(*args, &block); end851 def shuffle!(*args, &block); end852 def size; end853 def slice(*_arg0); end854 def slice!(*args, &block); end855 def sort!(*args, &block); end856 def sort_by!(*args, &block); end857 def to_ary; end858 def to_s(*args, &block); end859 def transpose(*args, &block); end860 def uniq(*args, &block); end861 def uniq!(*args, &block); end862 def unshift(*args, &block); end863 def values_at; end864 def |(*args, &block); end865 private866 def pop_one; end867 class << self868 private869 def define_array_wrapper_method(method_name); end870 def define_array_wrapper_with_result_method(method_name); end871 end872end873class Google::Protobuf::RepeatedField::ProxyingEnumerator < ::Struct874 def each(*args, &block); end875end876class Google::Protobuf::ServiceDescriptorProto877 include ::Google::Protobuf::MessageExts878 extend ::Google::Protobuf::MessageExts::ClassMethods879 def initialize(*_arg0); end880 def ==(_arg0); end881 def [](_arg0); end882 def []=(_arg0, _arg1); end883 def clone; end884 def dup; end885 def eql?(_arg0); end886 def freeze; end887 def hash; end888 def inspect; end889 def method_missing(*_arg0); end890 def to_h; end891 def to_s; end892 private893 def respond_to_missing?(*_arg0); end894 class << self895 def decode(_arg0); end896 def decode_json(*_arg0); end897 def descriptor; end898 def encode(_arg0); end899 def encode_json(*_arg0); end900 end901end902class Google::Protobuf::ServiceOptions903 include ::Google::Protobuf::MessageExts904 extend ::Google::Protobuf::MessageExts::ClassMethods905 def initialize(*_arg0); end906 def ==(_arg0); end907 def [](_arg0); end908 def []=(_arg0, _arg1); end909 def clone; end910 def dup; end911 def eql?(_arg0); end912 def freeze; end913 def hash; end914 def inspect; end915 def method_missing(*_arg0); end916 def to_h; end917 def to_s; end918 private919 def respond_to_missing?(*_arg0); end920 class << self921 def decode(_arg0); end922 def decode_json(*_arg0); end923 def descriptor; end924 def encode(_arg0); end925 def encode_json(*_arg0); end926 end927end928class Google::Protobuf::SourceCodeInfo929 include ::Google::Protobuf::MessageExts930 extend ::Google::Protobuf::MessageExts::ClassMethods931 def initialize(*_arg0); end932 def ==(_arg0); end933 def [](_arg0); end934 def []=(_arg0, _arg1); end935 def clone; end936 def dup; end937 def eql?(_arg0); end938 def freeze; end939 def hash; end940 def inspect; end941 def method_missing(*_arg0); end942 def to_h; end943 def to_s; end944 private945 def respond_to_missing?(*_arg0); end946 class << self947 def decode(_arg0); end948 def decode_json(*_arg0); end949 def descriptor; end950 def encode(_arg0); end951 def encode_json(*_arg0); end952 end953end954class Google::Protobuf::SourceCodeInfo::Location955 include ::Google::Protobuf::MessageExts956 extend ::Google::Protobuf::MessageExts::ClassMethods957 def initialize(*_arg0); end958 def ==(_arg0); end959 def [](_arg0); end960 def []=(_arg0, _arg1); end961 def clone; end962 def dup; end963 def eql?(_arg0); end964 def freeze; end965 def hash; end966 def inspect; end967 def method_missing(*_arg0); end968 def to_h; end969 def to_s; end970 private971 def respond_to_missing?(*_arg0); end972 class << self973 def decode(_arg0); end974 def decode_json(*_arg0); end975 def descriptor; end976 def encode(_arg0); end977 def encode_json(*_arg0); end978 end979end980class Google::Protobuf::TypeError < ::TypeError; end981class Google::Protobuf::UninterpretedOption982 include ::Google::Protobuf::MessageExts983 extend ::Google::Protobuf::MessageExts::ClassMethods984 def initialize(*_arg0); end985 def ==(_arg0); end986 def [](_arg0); end987 def []=(_arg0, _arg1); end988 def clone; end989 def dup; end990 def eql?(_arg0); end991 def freeze; end992 def hash; end993 def inspect; end994 def method_missing(*_arg0); end995 def to_h; end996 def to_s; end997 private998 def respond_to_missing?(*_arg0); end999 class << self1000 def decode(_arg0); end1001 def decode_json(*_arg0); end1002 def descriptor; end1003 def encode(_arg0); end1004 def encode_json(*_arg0); end1005 end1006end1007class Google::Protobuf::UninterpretedOption::NamePart1008 include ::Google::Protobuf::MessageExts1009 extend ::Google::Protobuf::MessageExts::ClassMethods1010 def initialize(*_arg0); end1011 def ==(_arg0); end1012 def [](_arg0); end1013 def []=(_arg0, _arg1); end1014 def clone; end1015 def dup; end1016 def eql?(_arg0); end1017 def freeze; end1018 def hash; end1019 def inspect; end1020 def method_missing(*_arg0); end1021 def to_h; end1022 def to_s; end1023 private1024 def respond_to_missing?(*_arg0); end1025 class << self1026 def decode(_arg0); end1027 def decode_json(*_arg0); end1028 def descriptor; end1029 def encode(_arg0); end1030 def encode_json(*_arg0); end1031 end1032end...
static_instance.rb
Source:static_instance.rb
...15 # Class methods16 module ClassMethods17 # Provides access to instance methods18 def method_missing(method, *args, &block)19 if respond_to_missing?(method)20 new.public_send(method, *args, &block)21 else22 super23 end24 end25 def respond_to_missing?(method, include_private = false)26 return true if new.respond_to?(method, include_private)27 super(method, include_private)28 end29 end30end...
respond_to_missing
Using AI Code Generation
1 def respond_to_missing?(method_name, include_private = false)2 def method_missing(method_name, *args, &block)3 def respond_to_missing?(method_name, include_private = false)4 def method_missing(method_name, *args, &block)5 def respond_to_missing?(method_name, include_private = false)6 def method_missing(method_name, *args, &block)7 def respond_to_missing?(method_name, include_private = false)8 def method_missing(method_name, *args, &block)9 def respond_to_missing?(method_name, include_private = false)10 def method_missing(method_name, *args, &block)
respond_to_missing
Using AI Code Generation
1 def self.method_missing(name, *args)2MyClass.hello("world")3MyClass.hello("world") do4 def self.respond_to_missing?(name, include_private = false)5 name.to_s.start_with?('hello') || super6p MyClass.respond_to?(:hello_world)7p MyClass.respond_to?(:something_else)8 def self.hello(*args)9MyClass.hello("world")10MyClass.hello("world") do11 def self.method_missing(name, *args)12 if name.to_s.start_with?("hello")13MyClass.hello("world")14MyClass.hello("world") do15 def self.method_missing(name, *args)16 if name.to_s.start_with?("hello")17 def self.respond_to_missing?(name, include
respond_to_missing
Using AI Code Generation
1 def respond_to_missing?(method_name, include_private = false)2 def respond_to_missing?(method_name, include_private = false)3 def respond_to_missing?(method_name, include_private = false)4 def respond_to_missing?(method_name, include_private = false)5 def respond_to_missing?(method_name, include_private = false)
respond_to_missing
Using AI Code Generation
1 def respond_to_missing?(method, include_private = false)2 method.to_s.start_with?('find_by_') || super3 def method_missing(method, *args, &block)4 if method.to_s.start_with?('find_by_')5 attributes = method.to_s.split('_and_')6 find_by_attributes(attributes, args)7 def find_by_attributes(attributes, values)8 def respond_to_missing?(method, include_private = false)9 method.to_s.start_with?('find_by_') || super10 def method_missing(method, *args, &block)11 if method.to_s.start_with?('find_by_')12 attributes = method.to_s.split('_and_')13 find_by_attributes(attributes, args)14 def find_by_attributes(attributes, values)15 def respond_to_missing?(method, include_private = false)16 method.to_s.start_with?('find_by_') || super17 def method_missing(method, *args, &block)18 if method.to_s.start_with?('find_by_')19 attributes = method.to_s.split('_and_')20 find_by_attributes(attributes, args)21 def find_by_attributes(attributes, values)22 def respond_to_missing?(method
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!