import protobuf.message namespace protobuf.type class scalar{ ctor( ... ){ this = ..protobuf.message(...) this.value = null; }; _isProtobufScalarType = true; _isProtobufValueType = true; }