features
The resolved features for this Oneof.
let features: Google_Protobuf_FeatureSet
The resolved features for this Oneof.
let features: Google_Protobuf_FeatureSet
s26SwiftProtobufPluginLibrary15OneofDescriptorC8features0aB007Google_B11_FeatureSetVvp
What are these?6FFJ5
import SwiftProtobufPluginLibrary
A reusable framework for building protoc
plugins in Swift.
final class OneofDescriptor
Describes a oneof defined in a message type.
struct Google_Protobuf_FeatureSet
TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we’ve chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.
var containingType: Descriptor! { get }
The Descriptor of the message that defines 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.
func getLocationPath(path: inout IndexPath)
var isSynthetic: Bool { get }
var proto: Google_Protobuf_OneofDescriptorProto { get }