Service Usage V1 API - Class Google::Protobuf::SourceContext (v0.5.0)

Reference documentation and code samples for the Service Usage V1 API class Google::Protobuf::SourceContext.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#file_name

def file_name() -> ::String
Returns
  • (::String) — The path-qualified name of the .proto file that contained the associated protobuf element. For example: "google/protobuf/source_context.proto".

#file_name=

def file_name=(value) -> ::String
Parameter
  • value (::String) — 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".