PlainMessage<T>:{ [P in keyof T as T[P] extends Function ? never : P]: PlainField<T[P]> }
PlainMessage strips all methods from a message, leaving only fields
and oneof groups. It is recursive, meaning it applies this same logic to all
nested message fields as well.
PlainMessage strips all methods from a message, leaving only fields
and oneof groups. It is recursive, meaning it applies this same logic to all
nested message fields as well.