github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/internal/testEnv/pb/msg/testmsg.proto (about) 1 syntax = "proto3"; 2 package testmsg; 3 option go_package = "./;testmsg"; 4 import "options.proto"; 5 6 message Envelope1 { 7 string e1 = 1; 8 Embed1 embed1 = 2; 9 } 10 11 message Envelope2 { 12 option (rony_envelope) = true; 13 uint64 constructor = 1; 14 bytes message = 2; 15 } 16 17 message Embed1 { 18 string f1 = 1; 19 } 20 message Embed2 { 21 string f2 = 2; 22 }