Instance Propertyswift-protobuf 1.29.0SwiftProtobuf
edition
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
var edition: String
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
var edition: String
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Type
A protocol buffer message type.
@frozen struct String
A Unicode string value that is a collection of characters.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
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 sourceContext: Google_Protobuf_SourceContext { get set }
The source context.
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