bool has a boolean value if the type is TYPE_BOOL.
@$pb.TagNumber(2) $core.bool get bool_2 => $_getBF(1);
@$pb.TagNumber(2) set bool_2($core.bool v) { $_setBool(1, v); }