Instance Propertygrpc-swift 2.0.0GRPCCodeGen
inputType
The generated input type for the described method.
var inputType: String
The generated input type for the described method.
var inputType: String
import GRPCCodeGen
struct MethodDescriptor
Represents a method described in an IDL file.
@frozen struct String
A Unicode string value that is a collection of characters.
init(documentation: String, name: MethodName, isInputStreaming: Bool, isOutputStreaming: Bool, inputType: String, outputType: String)
var documentation: String
Documentation from comments above the IDL method description. It is already formatted, meaning it contains “///” and new lines.
var isInputStreaming: Bool
Identifies if the method is input streaming.
var isOutputStreaming: Bool
Identifies if the method is output streaming.
var name: MethodName
Method name in different formats.
var outputType: String
The generated output type for the described method.
init(documentation: String, name: Name, isInputStreaming: Bool, isOutputStreaming: Bool, inputType: String, outputType: String)