num has a number value if the type is TYPE_NUM.
@$pb.TagNumber(3) $core.double get num => $_getN(2);
@$pb.TagNumber(3) set num($core.double v) { $_setDouble(2, v); }