Instance Propertyswift-protobuf 1.28.1SwiftProtobufPluginLibrary
defaultValue
Descriptor.swift:805This declaration is deprecated: Please open a GitHub issue if you think functionality is missing.
var defaultValue: EnumValueDescriptor { get }
Other members in extension
Instance members
var containingType: Descriptor?
If this Descriptor describes a nested type, this returns the type in which it is nested.
let features: Google_Protobuf_FeatureSet
The resolved features for this Enum.
var file: FileDescriptor!
The .proto file in which this message type was defined.
let fullName: String
The fully-qualified name of the enum type, scope delimited by periods.
let index: Int
Index of this enum within the file or containing message’s enums.
var isClosed: Bool
Returns true whether this is a “closed” enum, meaning that it:
var isDeprecated: Bool
let name: String
The name of this enum type in the containing scope.
let options: Google_Protobuf_EnumOptions
The
Google_Protobuf_MessageOptions
set on this enum.let reservedNames: [String]
The reserved value names for this enum. These are returned in the order they are defined in the .proto file.
let reservedRanges: [ClosedRange<Int32>]
The reserved value ranges for this enum. These are returned in the order they are defined in the .proto file.
var typeName: String
let values: [EnumValueDescriptor]
The values defined for this enum. Guaranteed (by protoc) to be atleast one item. These are returned in the order they were defined in the .proto file.
func getLocationPath(path: inout IndexPath
)