Class: Google::Protobuf::SourceContext

Inherits:
Object
  • Object
show all
Extended by:
MessageExts::ClassMethods
Includes:
MessageExts
Defined in:
proto_docs/google/protobuf/source_context.rb

Overview

SourceContext represents information about the source of a protobuf element, like the file in which it is defined.

Instance Attribute Summary collapse

Instance Attribute Details

#file_name::String

Returns The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".

Returns:

  • (::String)

    The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".



28
29
30
31
# File 'proto_docs/google/protobuf/source_context.rb', line 28

class SourceContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end