decodeMessage(decoder:)
descriptor.pb.swift:5246mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
s13SwiftProtobuf07Google_B18_GeneratedCodeInfoV10AnnotationV13decodeMessage7decoderyxz_tKAA7DecoderRzlF
What are these?8QL3C
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Annotation
struct Google_Protobuf_GeneratedCodeInfo
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.
protocol Decoder
Abstract protocol used by the generated code to deserialize data.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var begin: Int32 { get set }
Identifies the starting offset in bytes in the generated code that relates to the identified object.
var end: Int32 { get set }
Identifies the ending offset in bytes in the generated code that relates to the identified object. The end offset should be one past the last relevant byte (so the length of the text = end - begin).
var hasBegin: Bool { get }
Returns true if begin
has been explicitly set.
var hasEnd: Bool { get }
Returns true if end
has been explicitly set.
var hasSemantic: Bool { get }
Returns true if semantic
has been explicitly set.
var hasSourceFile: Bool { get }
Returns true if sourceFile
has been explicitly set.
var path: [Int32]
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
var semantic: Google_Protobuf_GeneratedCodeInfo.Annotation.Semantic { get set }
var sourceFile: String { get set }
Identifies the filesystem path to the original source .proto.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_GeneratedCodeInfo.Annotation, rhs: Google_Protobuf_GeneratedCodeInfo.Annotation) -> Bool
mutating func clearBegin()
Clears the value of begin
. Subsequent reads from it will return its default value.
mutating func clearEnd()
Clears the value of end
. Subsequent reads from it will return its default value.
mutating func clearSemantic()
Clears the value of semantic
. Subsequent reads from it will return its default value.
mutating func clearSourceFile()
Clears the value of sourceFile
. Subsequent reads from it will return its default value.
func traverse<V>(visitor: inout V) throws where V : Visitor
enum Semantic
Represents the identified object’s effect on the element in the original .proto file.