unknownFields
type.pb.swift:177var unknownFields: UnknownStorage
var unknownFields: UnknownStorage
s13SwiftProtobuf07Google_B6_FieldV13unknownFieldsAA14UnknownStorageVvp
What are these?5ZY9P
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Field
A single field of a message type.
struct UnknownStorage
Contains any unknown fields in a decoded message; that is, fields that were sent on the wire but were not recognized by the generated message implementation or were valid field numbers but with mismatching wire formats (for example, a field encoded as a varint when a fixed32 integer was expected).
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var cardinality: Google_Protobuf_Field.Cardinality
The field cardinality.
var defaultValue: String
The string value of the default value of this field. Proto2 syntax only.
var jsonName: String
The field JSON name.
var kind: Google_Protobuf_Field.Kind
The field type.
var name: String
The field name.
var number: Int32
The field number.
var oneofIndex: Int32
The index of the field type in Type.oneofs
, for message or enumeration types. The first type has index 1; zero means the type is not in the list.
var options: [Google_Protobuf_Option]
The protocol buffer options.
var packed: Bool
Whether to use alternative packed wire representation.
var typeURL: String
The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp"
.
static func == (lhs: Google_Protobuf_Field, rhs: Google_Protobuf_Field) -> Bool
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor
enum Cardinality
Whether a field is optional, required, or repeated.
enum Kind
Basic field types.