file
The .proto file in which this service was defined
var file: FileDescriptor! { get }
The .proto file in which this service was defined
var file: FileDescriptor! { get }
s26SwiftProtobufPluginLibrary16MethodDescriptorC4fileAA04FileF0CSgvp
What are these?93VND
import SwiftProtobufPluginLibrary
A reusable framework for building protoc
plugins in Swift.
final class MethodDescriptor
Describes an individual service method.
final class FileDescriptor
Models a .proto file. FileDescriptor
s are not directly created, instead they are constructed/fetched via the DescriptorSet
or they are directly accessed via a file
property on all the other types of descriptors.
let clientStreaming: Bool
Whether the client streams multiple requests.
let features: Google_Protobuf_FeatureSet
The resolved features for this Method.
var fullName: String { get }
The fully-qualified name of the method, scope delimited by periods.
let index: Int
Index 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: String
The name of the method, not including its containing scope.
let options: Google_Protobuf_MethodOptions
Get Google_Protobuf_MethodOptions
for this method.
var outputType: Descriptor! { get }
The type of protocol message which this message produces as output.
let serverStreaming: Bool
var 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.