name
Name of this enum constant.
let name: String
Name of this enum constant.
let name: String
s26SwiftProtobufPluginLibrary19EnumValueDescriptorC4nameSSvp
What are these?7CLN5
import SwiftProtobufPluginLibrary
A reusable framework for building protoc
plugins in Swift.
final class EnumValueDescriptor
Describes an individual enum constant of a particular type. To get the EnumValueDescriptor
for a given enum value, first get the EnumDescriptor
for its type.
@frozen struct String
A Unicode string value that is a collection of characters.
var enumType: EnumDescriptor! { get }
The type of this value.
let features: Google_Protobuf_FeatureSet
The resolved features for this EnumValue.
var file: FileDescriptor! { get }
The .proto file in which this message type was defined.
var fullName: String { get set }
The full_name of an enum value is a sibling symbol of the enum type. e.g. the full name of FieldDescriptorProto::TYPE_INT32 is actually “google.protobuf.FieldDescriptorProto.TYPE_INT32”, NOT “google.protobuf.FieldDescriptorProto.Type.TYPE_INT32”. This is to conform with C++ scoping rules for enums.
let index: Int
Index within the enums’s EnumDescriptor
.
var isDeprecated: Bool { get }
let number: Int32
Numeric value of this enum constant.
let options: Google_Protobuf_EnumValueOptions
The Google_Protobuf_EnumValueOptions
set on this value.
var typeName: String { get }
func getLocationPath(path: inout IndexPath)
weak var aliasOf: EnumValueDescriptor? { get }
var aliases: [EnumValueDescriptor] { get }
var proto: Google_Protobuf_EnumValueDescriptorProto { get }