constructor(info) {
        var _a;
        this.fields = (_a = info.fields) !== null && _a !== void 0 ? _a : [];
    }
Writes proto3 messages in canonical JSON format using reflection
information.

https://developers.google.com/protocol-buffers/docs/proto3#json