In order to allow a Go type to have a different internal representation, provide the comment `// +protobuf.as=MESSAGENAME` which substitutes the current message's members with the named message's members. Used by the unversioned.Time type to have the same fields as unversioned.Timestamp and to have an alternate serialization.
4.4 KiB
4.4 KiB