Instance Propertyswift-protobuf 1.29.0SwiftProtobuf
sourceContext
The source context.
var sourceContext: Google_Protobuf_SourceContext { get set }
The source context.
var sourceContext: Google_Protobuf_SourceContext { get set }
s13SwiftProtobuf07Google_B5_TypeV13sourceContextAA0c1_b7_SourceF0Vvp
What are these?4R684
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Type
A protocol buffer message type.
struct Google_Protobuf_SourceContext
SourceContext
represents information about the source of a protobuf element, like the file in which it is defined.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var edition: String
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
var fields: [Google_Protobuf_Field]
The list of fields.
var hasSourceContext: Bool { get }
Returns true if sourceContext
has been explicitly set.
var name: String
The fully qualified message name.
var oneofs: [String]
The list of types appearing in oneof
definitions in this type.
var options: [Google_Protobuf_Option]
The protocol buffer options.
var syntax: Google_Protobuf_Syntax
The source syntax.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_Type, rhs: Google_Protobuf_Type) -> Bool
mutating func clearSourceContext()
Clears the value of sourceContext
. Subsequent reads from it will return its default value.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor