blob: f313beb640e1bc29b9aee79992de1169e85372ce [file] [log] [blame]
///
// Generated code. Do not modify.
///
// ignore_for_file: non_constant_identifier_names,library_prefixes
// ignore: UNUSED_SHOWN_NAME
import 'dart:core' show int, bool, double, String, List, override;
import 'package:protobuf/protobuf.dart' as $pb;
import 'package1.pb.dart' as $p1;
import 'package2.pb.dart' as $p2;
class M extends $pb.GeneratedMessage {
static final $pb.BuilderInfo _i = new $pb.BuilderInfo('M')
..a<M>(1, 'm', $pb.PbFieldType.OM, M.getDefault, M.create)
..a<$p1.M>(2, 'm1', $pb.PbFieldType.OM, $p1.M.getDefault, $p1.M.create)
..a<$p2.M>(3, 'm2', $pb.PbFieldType.OM, $p2.M.getDefault, $p2.M.create)
..hasRequiredFields = false
;
M() : super();
M.fromBuffer(List<int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) : super.fromBuffer(i, r);
M.fromJson(String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) : super.fromJson(i, r);
M clone() => new M()..mergeFromMessage(this);
M copyWith(void Function(M) updates) => super.copyWith((message) => updates(message as M));
$pb.BuilderInfo get info_ => _i;
static M create() => new M();
static $pb.PbList<M> createRepeated() => new $pb.PbList<M>();
static M getDefault() => _defaultInstance ??= create()..freeze();
static M _defaultInstance;
static void $checkItem(M v) {
if (v is! M) $pb.checkItemFailed(v, 'M');
}
M get m => $_getN(0);
set m(M v) { setField(1, v); }
bool hasM() => $_has(0);
void clearM() => clearField(1);
$p1.M get m1 => $_getN(1);
set m1($p1.M v) { setField(2, v); }
bool hasM1() => $_has(1);
void clearM1() => clearField(2);
$p2.M get m2 => $_getN(2);
set m2($p2.M v) { setField(3, v); }
bool hasM2() => $_has(2);
void clearM2() => clearField(3);
}