TestOneofParsingLite constructor
TestOneofParsingLite({})
Implementation
factory TestOneofParsingLite({
$core.int? oneofInt32,
TestAllTypesLite? oneofSubmessage,
$core.String? oneofString,
$core.List<$core.int>? oneofBytes,
$core.String? oneofStringCord,
$core.List<$core.int>? oneofBytesCord,
$core.String? oneofStringStringPiece,
$core.List<$core.int>? oneofBytesStringPiece,
V2EnumLite? oneofEnum,
}) {
final _result = create();
if (oneofInt32 != null) {
_result.oneofInt32 = oneofInt32;
}
if (oneofSubmessage != null) {
_result.oneofSubmessage = oneofSubmessage;
}
if (oneofString != null) {
_result.oneofString = oneofString;
}
if (oneofBytes != null) {
_result.oneofBytes = oneofBytes;
}
if (oneofStringCord != null) {
_result.oneofStringCord = oneofStringCord;
}
if (oneofBytesCord != null) {
_result.oneofBytesCord = oneofBytesCord;
}
if (oneofStringStringPiece != null) {
_result.oneofStringStringPiece = oneofStringStringPiece;
}
if (oneofBytesStringPiece != null) {
_result.oneofBytesStringPiece = oneofBytesStringPiece;
}
if (oneofEnum != null) {
_result.oneofEnum = oneofEnum;
}
return _result;
}