package protoadapt

Import Path
	google.golang.org/protobuf/protoadapt (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 3 packages

Involved Source Files Package protoadapt bridges the original and new proto APIs.
Package-Level Type Names (total 2, both are exported)
/* sort exporteds by: | */
MessageV1 is the original [github.com/golang/protobuf/proto.Message] type.
MessageV2 is the [google.golang.org/protobuf/proto.Message] type used by the current [google.golang.org/protobuf] module, adding support for reflection.
Package-Level Functions (total 2, both are exported)
MessageV1Of converts a v2 message to a v1 message. It returns nil if m is nil.
MessageV2Of converts a v1 message to a v2 message. It returns nil if m is nil.