Static Propertyswift-protobuf 1.28.1SwiftProtobuf
_protobuf_nameMap
type.pb.swift:551static let _protobuf_nameMap: _NameMap
Other members in extension
Types
enum Cardinality
Whether a field is optional, required, or repeated.
enum Kind
Basic field types.
Type members
init(
) static let protoMessageName: String
static func == (lhs: Google_Protobuf_Field, rhs: Google_Protobuf_Field
) -> Bool
Instance members
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"
.var unknownFields: UnknownStorage
func decodeMessage<D>(decoder: inout D
) throws func traverse<V>(visitor: inout V
) throws