features
The resolved features for this Method.
let features: Google_Protobuf_FeatureSetThe resolved features for this Method.
let features: Google_Protobuf_FeatureSets26SwiftProtobufPluginLibrary16MethodDescriptorC8features0aB007Google_B11_FeatureSetVvp What are these?5ZXPDimport SwiftProtobufPluginLibraryA reusable framework for building protoc plugins in Swift.
final class MethodDescriptorDescribes an individual service method.
struct Google_Protobuf_FeatureSetTODO 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.
let clientStreaming: BoolWhether the client streams multiple requests.
var file: FileDescriptor! { get }The .proto file in which this service was defined
var fullName: String { get }The fully-qualified name of the method, scope delimited by periods.
let index: IntIndex of this service within the file’s services.
var inputType: Descriptor! { get }The type of protocol message which this method accepts as input.
var isDeprecated: Bool { get }let name: StringThe name of the method, not including its containing scope.
let options: Google_Protobuf_MethodOptionsGet Google_Protobuf_MethodOptions for this method.
var outputType: Descriptor! { get }The type of protocol message which this message produces as output.
let serverStreaming: Boolvar service: ServiceDescriptor! { get }The service tha defines this method.
var typeName: String { get }func getLocationPath(path: inout IndexPath) var proto: Google_Protobuf_MethodDescriptorProto { get }The proto version of the descriptor that defines this method.