SourceContext

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

Properties

Link copied to clipboard
abstract val fileName: String

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

Functions

Link copied to clipboard
fun SourceContext.copy(body: ERROR CLASS: Symbol not found for SourceContext.Builder.() -> Unit = {}): SourceContext

Copies the original message, including unknown fields.