github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/internal/testEnv/pb/msg/testmsg.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: testmsg.proto 6 7 package testmsg 8 9 import ( 10 _ "github.com/ronaksoft/rony" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type Envelope1 struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 E1 string `protobuf:"bytes,1,opt,name=e1,proto3" json:"e1,omitempty"` 30 Embed1 *Embed1 `protobuf:"bytes,2,opt,name=embed1,proto3" json:"embed1,omitempty"` 31 } 32 33 func (x *Envelope1) Reset() { 34 *x = Envelope1{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_testmsg_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *Envelope1) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*Envelope1) ProtoMessage() {} 47 48 func (x *Envelope1) ProtoReflect() protoreflect.Message { 49 mi := &file_testmsg_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use Envelope1.ProtoReflect.Descriptor instead. 61 func (*Envelope1) Descriptor() ([]byte, []int) { 62 return file_testmsg_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *Envelope1) GetE1() string { 66 if x != nil { 67 return x.E1 68 } 69 return "" 70 } 71 72 func (x *Envelope1) GetEmbed1() *Embed1 { 73 if x != nil { 74 return x.Embed1 75 } 76 return nil 77 } 78 79 type Envelope2 struct { 80 state protoimpl.MessageState 81 sizeCache protoimpl.SizeCache 82 unknownFields protoimpl.UnknownFields 83 84 Constructor uint64 `protobuf:"varint,1,opt,name=constructor,proto3" json:"constructor,omitempty"` 85 Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 86 } 87 88 func (x *Envelope2) Reset() { 89 *x = Envelope2{} 90 if protoimpl.UnsafeEnabled { 91 mi := &file_testmsg_proto_msgTypes[1] 92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 93 ms.StoreMessageInfo(mi) 94 } 95 } 96 97 func (x *Envelope2) String() string { 98 return protoimpl.X.MessageStringOf(x) 99 } 100 101 func (*Envelope2) ProtoMessage() {} 102 103 func (x *Envelope2) ProtoReflect() protoreflect.Message { 104 mi := &file_testmsg_proto_msgTypes[1] 105 if protoimpl.UnsafeEnabled && x != nil { 106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 107 if ms.LoadMessageInfo() == nil { 108 ms.StoreMessageInfo(mi) 109 } 110 return ms 111 } 112 return mi.MessageOf(x) 113 } 114 115 // Deprecated: Use Envelope2.ProtoReflect.Descriptor instead. 116 func (*Envelope2) Descriptor() ([]byte, []int) { 117 return file_testmsg_proto_rawDescGZIP(), []int{1} 118 } 119 120 func (x *Envelope2) GetConstructor() uint64 { 121 if x != nil { 122 return x.Constructor 123 } 124 return 0 125 } 126 127 func (x *Envelope2) GetMessage() []byte { 128 if x != nil { 129 return x.Message 130 } 131 return nil 132 } 133 134 type Embed1 struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 F1 string `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"` 140 } 141 142 func (x *Embed1) Reset() { 143 *x = Embed1{} 144 if protoimpl.UnsafeEnabled { 145 mi := &file_testmsg_proto_msgTypes[2] 146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 147 ms.StoreMessageInfo(mi) 148 } 149 } 150 151 func (x *Embed1) String() string { 152 return protoimpl.X.MessageStringOf(x) 153 } 154 155 func (*Embed1) ProtoMessage() {} 156 157 func (x *Embed1) ProtoReflect() protoreflect.Message { 158 mi := &file_testmsg_proto_msgTypes[2] 159 if protoimpl.UnsafeEnabled && x != nil { 160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 161 if ms.LoadMessageInfo() == nil { 162 ms.StoreMessageInfo(mi) 163 } 164 return ms 165 } 166 return mi.MessageOf(x) 167 } 168 169 // Deprecated: Use Embed1.ProtoReflect.Descriptor instead. 170 func (*Embed1) Descriptor() ([]byte, []int) { 171 return file_testmsg_proto_rawDescGZIP(), []int{2} 172 } 173 174 func (x *Embed1) GetF1() string { 175 if x != nil { 176 return x.F1 177 } 178 return "" 179 } 180 181 type Embed2 struct { 182 state protoimpl.MessageState 183 sizeCache protoimpl.SizeCache 184 unknownFields protoimpl.UnknownFields 185 186 F2 string `protobuf:"bytes,2,opt,name=f2,proto3" json:"f2,omitempty"` 187 } 188 189 func (x *Embed2) Reset() { 190 *x = Embed2{} 191 if protoimpl.UnsafeEnabled { 192 mi := &file_testmsg_proto_msgTypes[3] 193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 194 ms.StoreMessageInfo(mi) 195 } 196 } 197 198 func (x *Embed2) String() string { 199 return protoimpl.X.MessageStringOf(x) 200 } 201 202 func (*Embed2) ProtoMessage() {} 203 204 func (x *Embed2) ProtoReflect() protoreflect.Message { 205 mi := &file_testmsg_proto_msgTypes[3] 206 if protoimpl.UnsafeEnabled && x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214 } 215 216 // Deprecated: Use Embed2.ProtoReflect.Descriptor instead. 217 func (*Embed2) Descriptor() ([]byte, []int) { 218 return file_testmsg_proto_rawDescGZIP(), []int{3} 219 } 220 221 func (x *Embed2) GetF2() string { 222 if x != nil { 223 return x.F2 224 } 225 return "" 226 } 227 228 var File_testmsg_proto protoreflect.FileDescriptor 229 230 var file_testmsg_proto_rawDesc = []byte{ 231 0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 232 0x07, 0x74, 0x65, 0x73, 0x74, 0x6d, 0x73, 0x67, 0x1a, 0x0d, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 233 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x09, 0x45, 0x6e, 0x76, 0x65, 0x6c, 234 0x6f, 0x70, 0x65, 0x31, 0x12, 0x0e, 0x0a, 0x02, 0x65, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 235 0x52, 0x02, 0x65, 0x31, 0x12, 0x27, 0x0a, 0x06, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x31, 0x18, 0x02, 236 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x6d, 0x73, 0x67, 0x2e, 0x45, 237 0x6d, 0x62, 0x65, 0x64, 0x31, 0x52, 0x06, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x31, 0x22, 0x4d, 0x0a, 238 0x09, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x32, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 239 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 240 0x0b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 241 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 242 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x3a, 0x04, 0xf8, 0xb6, 0x18, 0x01, 0x22, 0x18, 0x0a, 0x06, 243 0x45, 0x6d, 0x62, 0x65, 0x64, 0x31, 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x31, 0x18, 0x01, 0x20, 0x01, 244 0x28, 0x09, 0x52, 0x02, 0x66, 0x31, 0x22, 0x18, 0x0a, 0x06, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x32, 245 0x12, 0x0e, 0x0a, 0x02, 0x66, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x66, 0x32, 246 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x74, 0x65, 0x73, 0x74, 0x6d, 0x73, 0x67, 0x62, 0x06, 247 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 248 } 249 250 var ( 251 file_testmsg_proto_rawDescOnce sync.Once 252 file_testmsg_proto_rawDescData = file_testmsg_proto_rawDesc 253 ) 254 255 func file_testmsg_proto_rawDescGZIP() []byte { 256 file_testmsg_proto_rawDescOnce.Do(func() { 257 file_testmsg_proto_rawDescData = protoimpl.X.CompressGZIP(file_testmsg_proto_rawDescData) 258 }) 259 return file_testmsg_proto_rawDescData 260 } 261 262 var file_testmsg_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 263 var file_testmsg_proto_goTypes = []interface{}{ 264 (*Envelope1)(nil), // 0: testmsg.Envelope1 265 (*Envelope2)(nil), // 1: testmsg.Envelope2 266 (*Embed1)(nil), // 2: testmsg.Embed1 267 (*Embed2)(nil), // 3: testmsg.Embed2 268 } 269 var file_testmsg_proto_depIdxs = []int32{ 270 2, // 0: testmsg.Envelope1.embed1:type_name -> testmsg.Embed1 271 1, // [1:1] is the sub-list for method output_type 272 1, // [1:1] is the sub-list for method input_type 273 1, // [1:1] is the sub-list for extension type_name 274 1, // [1:1] is the sub-list for extension extendee 275 0, // [0:1] is the sub-list for field type_name 276 } 277 278 func init() { file_testmsg_proto_init() } 279 func file_testmsg_proto_init() { 280 if File_testmsg_proto != nil { 281 return 282 } 283 if !protoimpl.UnsafeEnabled { 284 file_testmsg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 285 switch v := v.(*Envelope1); i { 286 case 0: 287 return &v.state 288 case 1: 289 return &v.sizeCache 290 case 2: 291 return &v.unknownFields 292 default: 293 return nil 294 } 295 } 296 file_testmsg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 297 switch v := v.(*Envelope2); i { 298 case 0: 299 return &v.state 300 case 1: 301 return &v.sizeCache 302 case 2: 303 return &v.unknownFields 304 default: 305 return nil 306 } 307 } 308 file_testmsg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 309 switch v := v.(*Embed1); i { 310 case 0: 311 return &v.state 312 case 1: 313 return &v.sizeCache 314 case 2: 315 return &v.unknownFields 316 default: 317 return nil 318 } 319 } 320 file_testmsg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 321 switch v := v.(*Embed2); i { 322 case 0: 323 return &v.state 324 case 1: 325 return &v.sizeCache 326 case 2: 327 return &v.unknownFields 328 default: 329 return nil 330 } 331 } 332 } 333 type x struct{} 334 out := protoimpl.TypeBuilder{ 335 File: protoimpl.DescBuilder{ 336 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 337 RawDescriptor: file_testmsg_proto_rawDesc, 338 NumEnums: 0, 339 NumMessages: 4, 340 NumExtensions: 0, 341 NumServices: 0, 342 }, 343 GoTypes: file_testmsg_proto_goTypes, 344 DependencyIndexes: file_testmsg_proto_depIdxs, 345 MessageInfos: file_testmsg_proto_msgTypes, 346 }.Build() 347 File_testmsg_proto = out.File 348 file_testmsg_proto_rawDesc = nil 349 file_testmsg_proto_goTypes = nil 350 file_testmsg_proto_depIdxs = nil 351 }