Instance Propertyswift-protobuf 1.28.1SwiftProtobuf
syntax
The source syntax.
type.pb.swift:127var syntax: Google_Protobuf_Syntax
Other members in extension
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_Type, rhs: Google_Protobuf_Type
) -> Bool
Show implementation details (1)
Hide implementation details
Instance members
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
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 sourceContext: Google_Protobuf_SourceContext
The source context.
var unknownFields: UnknownStorage
func clearSourceContext(
) Clears the value of
sourceContext
. Subsequent reads from it will return its default value.func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws