The Go Blog Follow Go Protobuf: The new Opaque API We are adding a new generated code API to Go Protobuf. https://go.dev/blog/protobuf-opaque go.dev