MethodDescriptorProto constructor
MethodDescriptorProto({})
Implementation
factory MethodDescriptorProto({
$core.String? name,
$core.String? inputType,
$core.String? outputType,
MethodOptions? options,
$core.bool? clientStreaming,
$core.bool? serverStreaming,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (inputType != null) {
_result.inputType = inputType;
}
if (outputType != null) {
_result.outputType = outputType;
}
if (options != null) {
_result.options = options;
}
if (clientStreaming != null) {
_result.clientStreaming = clientStreaming;
}
if (serverStreaming != null) {
_result.serverStreaming = serverStreaming;
}
return _result;
}