Initializerswift-protobuf 1.31.0SwiftProtobuf
init
type.pb.swift:139init() init() import SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_TypeA protocol buffer message type.
static let _protobuf_nameMap: _NameMapstatic let protoMessageName: Stringvar edition: StringThe 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: StringThe 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_SyntaxThe source syntax.
var unknownFields: UnknownStoragestatic 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