Enumeration Caseswift-protobuf 1.28.1SwiftProtobuf
same(proto:)
The proto (text format) name and the JSON name are the same string.
NameMap.swift:160case same(proto: StaticString)
Other cases
case standard(proto: StaticString)
The JSON name can be computed from the proto string
case unique(proto: StaticString, json: StaticString)
The JSON and text format names are just different.
case aliased(proto: StaticString, aliases: [StaticString])
Used for enum cases only to represent a value’s primary proto name (the first defined case) and its aliases. The JSON and text format names for enums are always the same.