Instance Methodswift-protobuf 1.29.0SwiftProtobufPluginLibrary
getLocationPath(path:)
Descriptor+Extensions.swift:71func getLocationPath(path: inout IndexPath)
func getLocationPath(path: inout IndexPath)
s26SwiftProtobufPluginLibrary15OneofDescriptorC15getLocationPath4pathy20FoundationEssentials05IndexI0Vz_tF
What are these?5EU0V
import SwiftProtobufPluginLibrary
A reusable framework for building protoc
plugins in Swift.
final class OneofDescriptor
Describes a oneof defined in a message type.
struct IndexPath
IndexPath
represents the path to a specific node in a tree of nested array collections.
var containingType: Descriptor! { get }
The Descriptor of the message that defines this oneof.
let features: Google_Protobuf_FeatureSet
The resolved features for this Oneof.
lazy var fields: [FieldDescriptor] { get set }
The members of this oneof, in the order in which they were declared in the .proto file.
var file: FileDescriptor! { get }
The .proto file in which this oneof type was defined.
var fullName: String { get }
Fully-qualified name of the oneof.
let index: Int
Index of this oneof within the message’s oneofs.
let name: String
Name of this oneof.
let options: Google_Protobuf_OneofOptions
The Google_Protobuf_OneofOptions
set on this oneof.
var isSynthetic: Bool { get }
var proto: Google_Protobuf_OneofDescriptorProto { get }