github.com/prysmaticlabs/prysm@v1.4.4/proto/testing/test.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.15.8 5 // source: proto/testing/test.proto 6 7 package testing 8 9 import ( 10 reflect "reflect" 11 sync "sync" 12 13 proto "github.com/golang/protobuf/proto" 14 timestamp "github.com/golang/protobuf/ptypes/timestamp" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // This is a compile-time assertion that a sufficiently up-to-date version 28 // of the legacy proto package is being used. 29 const _ = proto.ProtoPackageIsVersion4 30 31 type Person_PhoneType int32 32 33 const ( 34 Person_MOBILE Person_PhoneType = 0 35 Person_HOME Person_PhoneType = 1 36 Person_WORK Person_PhoneType = 2 37 ) 38 39 // Enum value maps for Person_PhoneType. 40 var ( 41 Person_PhoneType_name = map[int32]string{ 42 0: "MOBILE", 43 1: "HOME", 44 2: "WORK", 45 } 46 Person_PhoneType_value = map[string]int32{ 47 "MOBILE": 0, 48 "HOME": 1, 49 "WORK": 2, 50 } 51 ) 52 53 func (x Person_PhoneType) Enum() *Person_PhoneType { 54 p := new(Person_PhoneType) 55 *p = x 56 return p 57 } 58 59 func (x Person_PhoneType) String() string { 60 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 61 } 62 63 func (Person_PhoneType) Descriptor() protoreflect.EnumDescriptor { 64 return file_proto_testing_test_proto_enumTypes[0].Descriptor() 65 } 66 67 func (Person_PhoneType) Type() protoreflect.EnumType { 68 return &file_proto_testing_test_proto_enumTypes[0] 69 } 70 71 func (x Person_PhoneType) Number() protoreflect.EnumNumber { 72 return protoreflect.EnumNumber(x) 73 } 74 75 // Deprecated: Use Person_PhoneType.Descriptor instead. 76 func (Person_PhoneType) EnumDescriptor() ([]byte, []int) { 77 return file_proto_testing_test_proto_rawDescGZIP(), []int{3, 0} 78 } 79 80 type TestMessage struct { 81 state protoimpl.MessageState 82 sizeCache protoimpl.SizeCache 83 unknownFields protoimpl.UnknownFields 84 85 Foo string `protobuf:"bytes,1,opt,name=foo,proto3" json:"foo,omitempty"` 86 Bar string `protobuf:"bytes,2,opt,name=bar,proto3" json:"bar,omitempty" spec-name:"foo" ssz-size:"32"` 87 } 88 89 func (x *TestMessage) Reset() { 90 *x = TestMessage{} 91 if protoimpl.UnsafeEnabled { 92 mi := &file_proto_testing_test_proto_msgTypes[0] 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 ms.StoreMessageInfo(mi) 95 } 96 } 97 98 func (x *TestMessage) String() string { 99 return protoimpl.X.MessageStringOf(x) 100 } 101 102 func (*TestMessage) ProtoMessage() {} 103 104 func (x *TestMessage) ProtoReflect() protoreflect.Message { 105 mi := &file_proto_testing_test_proto_msgTypes[0] 106 if protoimpl.UnsafeEnabled && x != nil { 107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 108 if ms.LoadMessageInfo() == nil { 109 ms.StoreMessageInfo(mi) 110 } 111 return ms 112 } 113 return mi.MessageOf(x) 114 } 115 116 // Deprecated: Use TestMessage.ProtoReflect.Descriptor instead. 117 func (*TestMessage) Descriptor() ([]byte, []int) { 118 return file_proto_testing_test_proto_rawDescGZIP(), []int{0} 119 } 120 121 func (x *TestMessage) GetFoo() string { 122 if x != nil { 123 return x.Foo 124 } 125 return "" 126 } 127 128 func (x *TestMessage) GetBar() string { 129 if x != nil { 130 return x.Bar 131 } 132 return "" 133 } 134 135 type TestNestedMessage struct { 136 state protoimpl.MessageState 137 sizeCache protoimpl.SizeCache 138 unknownFields protoimpl.UnknownFields 139 140 Fuzz string `protobuf:"bytes,1,opt,name=fuzz,proto3" json:"fuzz,omitempty"` 141 Msg *TestMessage `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` 142 } 143 144 func (x *TestNestedMessage) Reset() { 145 *x = TestNestedMessage{} 146 if protoimpl.UnsafeEnabled { 147 mi := &file_proto_testing_test_proto_msgTypes[1] 148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 149 ms.StoreMessageInfo(mi) 150 } 151 } 152 153 func (x *TestNestedMessage) String() string { 154 return protoimpl.X.MessageStringOf(x) 155 } 156 157 func (*TestNestedMessage) ProtoMessage() {} 158 159 func (x *TestNestedMessage) ProtoReflect() protoreflect.Message { 160 mi := &file_proto_testing_test_proto_msgTypes[1] 161 if protoimpl.UnsafeEnabled && x != nil { 162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 163 if ms.LoadMessageInfo() == nil { 164 ms.StoreMessageInfo(mi) 165 } 166 return ms 167 } 168 return mi.MessageOf(x) 169 } 170 171 // Deprecated: Use TestNestedMessage.ProtoReflect.Descriptor instead. 172 func (*TestNestedMessage) Descriptor() ([]byte, []int) { 173 return file_proto_testing_test_proto_rawDescGZIP(), []int{1} 174 } 175 176 func (x *TestNestedMessage) GetFuzz() string { 177 if x != nil { 178 return x.Fuzz 179 } 180 return "" 181 } 182 183 func (x *TestNestedMessage) GetMsg() *TestMessage { 184 if x != nil { 185 return x.Msg 186 } 187 return nil 188 } 189 190 type Puzzle struct { 191 state protoimpl.MessageState 192 sizeCache protoimpl.SizeCache 193 unknownFields protoimpl.UnknownFields 194 195 Challenge string `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"` 196 Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"` 197 } 198 199 func (x *Puzzle) Reset() { 200 *x = Puzzle{} 201 if protoimpl.UnsafeEnabled { 202 mi := &file_proto_testing_test_proto_msgTypes[2] 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 ms.StoreMessageInfo(mi) 205 } 206 } 207 208 func (x *Puzzle) String() string { 209 return protoimpl.X.MessageStringOf(x) 210 } 211 212 func (*Puzzle) ProtoMessage() {} 213 214 func (x *Puzzle) ProtoReflect() protoreflect.Message { 215 mi := &file_proto_testing_test_proto_msgTypes[2] 216 if protoimpl.UnsafeEnabled && x != nil { 217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 218 if ms.LoadMessageInfo() == nil { 219 ms.StoreMessageInfo(mi) 220 } 221 return ms 222 } 223 return mi.MessageOf(x) 224 } 225 226 // Deprecated: Use Puzzle.ProtoReflect.Descriptor instead. 227 func (*Puzzle) Descriptor() ([]byte, []int) { 228 return file_proto_testing_test_proto_rawDescGZIP(), []int{2} 229 } 230 231 func (x *Puzzle) GetChallenge() string { 232 if x != nil { 233 return x.Challenge 234 } 235 return "" 236 } 237 238 func (x *Puzzle) GetAnswer() string { 239 if x != nil { 240 return x.Answer 241 } 242 return "" 243 } 244 245 type Person struct { 246 state protoimpl.MessageState 247 sizeCache protoimpl.SizeCache 248 unknownFields protoimpl.UnknownFields 249 250 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 251 Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` 252 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` 253 Phones []*Person_PhoneNumber `protobuf:"bytes,4,rep,name=phones,proto3" json:"phones,omitempty"` 254 LastUpdated *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` 255 } 256 257 func (x *Person) Reset() { 258 *x = Person{} 259 if protoimpl.UnsafeEnabled { 260 mi := &file_proto_testing_test_proto_msgTypes[3] 261 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 262 ms.StoreMessageInfo(mi) 263 } 264 } 265 266 func (x *Person) String() string { 267 return protoimpl.X.MessageStringOf(x) 268 } 269 270 func (*Person) ProtoMessage() {} 271 272 func (x *Person) ProtoReflect() protoreflect.Message { 273 mi := &file_proto_testing_test_proto_msgTypes[3] 274 if protoimpl.UnsafeEnabled && x != nil { 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 if ms.LoadMessageInfo() == nil { 277 ms.StoreMessageInfo(mi) 278 } 279 return ms 280 } 281 return mi.MessageOf(x) 282 } 283 284 // Deprecated: Use Person.ProtoReflect.Descriptor instead. 285 func (*Person) Descriptor() ([]byte, []int) { 286 return file_proto_testing_test_proto_rawDescGZIP(), []int{3} 287 } 288 289 func (x *Person) GetName() string { 290 if x != nil { 291 return x.Name 292 } 293 return "" 294 } 295 296 func (x *Person) GetId() int32 { 297 if x != nil { 298 return x.Id 299 } 300 return 0 301 } 302 303 func (x *Person) GetEmail() string { 304 if x != nil { 305 return x.Email 306 } 307 return "" 308 } 309 310 func (x *Person) GetPhones() []*Person_PhoneNumber { 311 if x != nil { 312 return x.Phones 313 } 314 return nil 315 } 316 317 func (x *Person) GetLastUpdated() *timestamp.Timestamp { 318 if x != nil { 319 return x.LastUpdated 320 } 321 return nil 322 } 323 324 type AddressBook struct { 325 state protoimpl.MessageState 326 sizeCache protoimpl.SizeCache 327 unknownFields protoimpl.UnknownFields 328 329 People []*Person `protobuf:"bytes,1,rep,name=people,proto3" json:"people,omitempty"` 330 } 331 332 func (x *AddressBook) Reset() { 333 *x = AddressBook{} 334 if protoimpl.UnsafeEnabled { 335 mi := &file_proto_testing_test_proto_msgTypes[4] 336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 337 ms.StoreMessageInfo(mi) 338 } 339 } 340 341 func (x *AddressBook) String() string { 342 return protoimpl.X.MessageStringOf(x) 343 } 344 345 func (*AddressBook) ProtoMessage() {} 346 347 func (x *AddressBook) ProtoReflect() protoreflect.Message { 348 mi := &file_proto_testing_test_proto_msgTypes[4] 349 if protoimpl.UnsafeEnabled && x != nil { 350 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 351 if ms.LoadMessageInfo() == nil { 352 ms.StoreMessageInfo(mi) 353 } 354 return ms 355 } 356 return mi.MessageOf(x) 357 } 358 359 // Deprecated: Use AddressBook.ProtoReflect.Descriptor instead. 360 func (*AddressBook) Descriptor() ([]byte, []int) { 361 return file_proto_testing_test_proto_rawDescGZIP(), []int{4} 362 } 363 364 func (x *AddressBook) GetPeople() []*Person { 365 if x != nil { 366 return x.People 367 } 368 return nil 369 } 370 371 type TestSimpleMessage struct { 372 state protoimpl.MessageState 373 sizeCache protoimpl.SizeCache 374 unknownFields protoimpl.UnknownFields 375 376 Foo []byte `protobuf:"bytes,1,opt,name=foo,proto3" json:"foo,omitempty"` 377 Bar uint64 `protobuf:"varint,2,opt,name=bar,proto3" json:"bar,omitempty"` 378 } 379 380 func (x *TestSimpleMessage) Reset() { 381 *x = TestSimpleMessage{} 382 if protoimpl.UnsafeEnabled { 383 mi := &file_proto_testing_test_proto_msgTypes[5] 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 385 ms.StoreMessageInfo(mi) 386 } 387 } 388 389 func (x *TestSimpleMessage) String() string { 390 return protoimpl.X.MessageStringOf(x) 391 } 392 393 func (*TestSimpleMessage) ProtoMessage() {} 394 395 func (x *TestSimpleMessage) ProtoReflect() protoreflect.Message { 396 mi := &file_proto_testing_test_proto_msgTypes[5] 397 if protoimpl.UnsafeEnabled && x != nil { 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 if ms.LoadMessageInfo() == nil { 400 ms.StoreMessageInfo(mi) 401 } 402 return ms 403 } 404 return mi.MessageOf(x) 405 } 406 407 // Deprecated: Use TestSimpleMessage.ProtoReflect.Descriptor instead. 408 func (*TestSimpleMessage) Descriptor() ([]byte, []int) { 409 return file_proto_testing_test_proto_rawDescGZIP(), []int{5} 410 } 411 412 func (x *TestSimpleMessage) GetFoo() []byte { 413 if x != nil { 414 return x.Foo 415 } 416 return nil 417 } 418 419 func (x *TestSimpleMessage) GetBar() uint64 { 420 if x != nil { 421 return x.Bar 422 } 423 return 0 424 } 425 426 type Person_PhoneNumber struct { 427 state protoimpl.MessageState 428 sizeCache protoimpl.SizeCache 429 unknownFields protoimpl.UnknownFields 430 431 Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` 432 Type Person_PhoneType `protobuf:"varint,2,opt,name=type,proto3,enum=testing.Person_PhoneType" json:"type,omitempty"` 433 } 434 435 func (x *Person_PhoneNumber) Reset() { 436 *x = Person_PhoneNumber{} 437 if protoimpl.UnsafeEnabled { 438 mi := &file_proto_testing_test_proto_msgTypes[6] 439 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 440 ms.StoreMessageInfo(mi) 441 } 442 } 443 444 func (x *Person_PhoneNumber) String() string { 445 return protoimpl.X.MessageStringOf(x) 446 } 447 448 func (*Person_PhoneNumber) ProtoMessage() {} 449 450 func (x *Person_PhoneNumber) ProtoReflect() protoreflect.Message { 451 mi := &file_proto_testing_test_proto_msgTypes[6] 452 if protoimpl.UnsafeEnabled && x != nil { 453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 454 if ms.LoadMessageInfo() == nil { 455 ms.StoreMessageInfo(mi) 456 } 457 return ms 458 } 459 return mi.MessageOf(x) 460 } 461 462 // Deprecated: Use Person_PhoneNumber.ProtoReflect.Descriptor instead. 463 func (*Person_PhoneNumber) Descriptor() ([]byte, []int) { 464 return file_proto_testing_test_proto_rawDescGZIP(), []int{3, 0} 465 } 466 467 func (x *Person_PhoneNumber) GetNumber() string { 468 if x != nil { 469 return x.Number 470 } 471 return "" 472 } 473 474 func (x *Person_PhoneNumber) GetType() Person_PhoneType { 475 if x != nil { 476 return x.Type 477 } 478 return Person_MOBILE 479 } 480 481 var file_proto_testing_test_proto_extTypes = []protoimpl.ExtensionInfo{ 482 { 483 ExtendedType: (*descriptorpb.FieldOptions)(nil), 484 ExtensionType: (*string)(nil), 485 Field: 60001, 486 Name: "testing.ssz_size", 487 Tag: "bytes,60001,opt,name=ssz_size", 488 Filename: "proto/testing/test.proto", 489 }, 490 { 491 ExtendedType: (*descriptorpb.FieldOptions)(nil), 492 ExtensionType: (*string)(nil), 493 Field: 60003, 494 Name: "testing.spec_name", 495 Tag: "bytes,60003,opt,name=spec_name", 496 Filename: "proto/testing/test.proto", 497 }, 498 } 499 500 // Extension fields to descriptorpb.FieldOptions. 501 var ( 502 // optional string ssz_size = 60001; 503 E_SszSize = &file_proto_testing_test_proto_extTypes[0] 504 // optional string spec_name = 60003; 505 E_SpecName = &file_proto_testing_test_proto_extTypes[1] 506 ) 507 508 var File_proto_testing_test_proto protoreflect.FileDescriptor 509 510 var file_proto_testing_test_proto_rawDesc = []byte{ 511 0x0a, 0x18, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2f, 512 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x74, 0x65, 0x73, 0x74, 513 0x69, 0x6e, 0x67, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 514 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 515 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 516 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 517 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 518 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x6f, 0x6f, 0x18, 0x01, 0x20, 0x01, 519 0x28, 0x09, 0x52, 0x03, 0x66, 0x6f, 0x6f, 0x12, 0x1f, 0x0a, 0x03, 0x62, 0x61, 0x72, 0x18, 0x02, 520 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0x8a, 0xa6, 0x1d, 0x02, 0x33, 0x32, 0x9a, 0xa6, 0x1d, 0x03, 521 0x66, 0x6f, 0x6f, 0x52, 0x03, 0x62, 0x61, 0x72, 0x22, 0x4f, 0x0a, 0x11, 0x54, 0x65, 0x73, 0x74, 522 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 523 0x04, 0x66, 0x75, 0x7a, 0x7a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x75, 0x7a, 524 0x7a, 0x12, 0x26, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 525 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 526 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x3e, 0x0a, 0x06, 0x50, 0x75, 0x7a, 527 0x7a, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 528 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 529 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 530 0x09, 0x52, 0x06, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0xb9, 0x02, 0x0a, 0x06, 0x50, 0x65, 531 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 532 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 533 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 534 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x33, 535 0x0a, 0x06, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 536 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x2e, 537 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x70, 0x68, 0x6f, 538 0x6e, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 539 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 540 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 541 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 542 0x65, 0x64, 0x1a, 0x54, 0x0a, 0x0b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 543 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 544 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x04, 0x74, 0x79, 0x70, 545 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 546 0x67, 0x2e, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x2e, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x54, 0x79, 547 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2b, 0x0a, 0x09, 0x50, 0x68, 0x6f, 0x6e, 548 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x10, 549 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x57, 550 0x4f, 0x52, 0x4b, 0x10, 0x02, 0x22, 0x36, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 551 0x42, 0x6f, 0x6f, 0x6b, 0x12, 0x27, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01, 552 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x50, 553 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x22, 0x37, 0x0a, 554 0x11, 0x54, 0x65, 0x73, 0x74, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 555 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x6f, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 556 0x03, 0x66, 0x6f, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 557 0x04, 0x52, 0x03, 0x62, 0x61, 0x72, 0x3a, 0x3a, 0x0a, 0x08, 0x73, 0x73, 0x7a, 0x5f, 0x73, 0x69, 558 0x7a, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 559 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 560 0x73, 0x18, 0xe1, 0xd4, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x73, 0x7a, 0x53, 0x69, 561 0x7a, 0x65, 0x3a, 0x3c, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 562 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 563 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe3, 564 0xd4, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x70, 0x65, 0x63, 0x4e, 0x61, 0x6d, 0x65, 565 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 566 } 567 568 var ( 569 file_proto_testing_test_proto_rawDescOnce sync.Once 570 file_proto_testing_test_proto_rawDescData = file_proto_testing_test_proto_rawDesc 571 ) 572 573 func file_proto_testing_test_proto_rawDescGZIP() []byte { 574 file_proto_testing_test_proto_rawDescOnce.Do(func() { 575 file_proto_testing_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_testing_test_proto_rawDescData) 576 }) 577 return file_proto_testing_test_proto_rawDescData 578 } 579 580 var file_proto_testing_test_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 581 var file_proto_testing_test_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 582 var file_proto_testing_test_proto_goTypes = []interface{}{ 583 (Person_PhoneType)(0), // 0: testing.Person.PhoneType 584 (*TestMessage)(nil), // 1: testing.TestMessage 585 (*TestNestedMessage)(nil), // 2: testing.TestNestedMessage 586 (*Puzzle)(nil), // 3: testing.Puzzle 587 (*Person)(nil), // 4: testing.Person 588 (*AddressBook)(nil), // 5: testing.AddressBook 589 (*TestSimpleMessage)(nil), // 6: testing.TestSimpleMessage 590 (*Person_PhoneNumber)(nil), // 7: testing.Person.PhoneNumber 591 (*timestamp.Timestamp)(nil), // 8: google.protobuf.Timestamp 592 (*descriptorpb.FieldOptions)(nil), // 9: google.protobuf.FieldOptions 593 } 594 var file_proto_testing_test_proto_depIdxs = []int32{ 595 1, // 0: testing.TestNestedMessage.msg:type_name -> testing.TestMessage 596 7, // 1: testing.Person.phones:type_name -> testing.Person.PhoneNumber 597 8, // 2: testing.Person.last_updated:type_name -> google.protobuf.Timestamp 598 4, // 3: testing.AddressBook.people:type_name -> testing.Person 599 0, // 4: testing.Person.PhoneNumber.type:type_name -> testing.Person.PhoneType 600 9, // 5: testing.ssz_size:extendee -> google.protobuf.FieldOptions 601 9, // 6: testing.spec_name:extendee -> google.protobuf.FieldOptions 602 7, // [7:7] is the sub-list for method output_type 603 7, // [7:7] is the sub-list for method input_type 604 7, // [7:7] is the sub-list for extension type_name 605 5, // [5:7] is the sub-list for extension extendee 606 0, // [0:5] is the sub-list for field type_name 607 } 608 609 func init() { file_proto_testing_test_proto_init() } 610 func file_proto_testing_test_proto_init() { 611 if File_proto_testing_test_proto != nil { 612 return 613 } 614 if !protoimpl.UnsafeEnabled { 615 file_proto_testing_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 616 switch v := v.(*TestMessage); i { 617 case 0: 618 return &v.state 619 case 1: 620 return &v.sizeCache 621 case 2: 622 return &v.unknownFields 623 default: 624 return nil 625 } 626 } 627 file_proto_testing_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 628 switch v := v.(*TestNestedMessage); i { 629 case 0: 630 return &v.state 631 case 1: 632 return &v.sizeCache 633 case 2: 634 return &v.unknownFields 635 default: 636 return nil 637 } 638 } 639 file_proto_testing_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 640 switch v := v.(*Puzzle); i { 641 case 0: 642 return &v.state 643 case 1: 644 return &v.sizeCache 645 case 2: 646 return &v.unknownFields 647 default: 648 return nil 649 } 650 } 651 file_proto_testing_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 652 switch v := v.(*Person); i { 653 case 0: 654 return &v.state 655 case 1: 656 return &v.sizeCache 657 case 2: 658 return &v.unknownFields 659 default: 660 return nil 661 } 662 } 663 file_proto_testing_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 664 switch v := v.(*AddressBook); i { 665 case 0: 666 return &v.state 667 case 1: 668 return &v.sizeCache 669 case 2: 670 return &v.unknownFields 671 default: 672 return nil 673 } 674 } 675 file_proto_testing_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 676 switch v := v.(*TestSimpleMessage); i { 677 case 0: 678 return &v.state 679 case 1: 680 return &v.sizeCache 681 case 2: 682 return &v.unknownFields 683 default: 684 return nil 685 } 686 } 687 file_proto_testing_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 688 switch v := v.(*Person_PhoneNumber); i { 689 case 0: 690 return &v.state 691 case 1: 692 return &v.sizeCache 693 case 2: 694 return &v.unknownFields 695 default: 696 return nil 697 } 698 } 699 } 700 type x struct{} 701 out := protoimpl.TypeBuilder{ 702 File: protoimpl.DescBuilder{ 703 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 704 RawDescriptor: file_proto_testing_test_proto_rawDesc, 705 NumEnums: 1, 706 NumMessages: 7, 707 NumExtensions: 2, 708 NumServices: 0, 709 }, 710 GoTypes: file_proto_testing_test_proto_goTypes, 711 DependencyIndexes: file_proto_testing_test_proto_depIdxs, 712 EnumInfos: file_proto_testing_test_proto_enumTypes, 713 MessageInfos: file_proto_testing_test_proto_msgTypes, 714 ExtensionInfos: file_proto_testing_test_proto_extTypes, 715 }.Build() 716 File_proto_testing_test_proto = out.File 717 file_proto_testing_test_proto_rawDesc = nil 718 file_proto_testing_test_proto_goTypes = nil 719 file_proto_testing_test_proto_depIdxs = nil 720 }