unknownFields
struct.pb.swift:105var unknownFields: UnknownStorage
var unknownFields: UnknownStorage
s13SwiftProtobuf07Google_B7_StructV13unknownFieldsAA14UnknownStorageVvp
What are these?9TVPF
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Struct
Struct
represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, Struct
might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.
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()
init(dictionaryLiteral: (String, Google_Protobuf_Value)...)
Creates a new Google_Protobuf_Struct
from a dictionary of string keys to values of type Google_Protobuf_Value
.
init(fields: [String : Google_Protobuf_Value])
Creates a new Google_Protobuf_Struct
from a dictionary of string keys to values of type Google_Protobuf_Value
.
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var fields: Dictionary<String, Google_Protobuf_Value>
Unordered map of dynamically typed values.
subscript(key: String) -> Google_Protobuf_Value? { get set }
Accesses the Google_Protobuf_Value
with the given key for reading and writing.
static func == (lhs: Google_Protobuf_Struct, rhs: Google_Protobuf_Struct) -> Bool
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor
typealias Key = String
typealias Value = Google_Protobuf_Value