go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/common/proto/internal/testingpb/testing.pb.go (about) 1 // Copyright 2018 The Swarming Authors. All rights reserved. 2 // Use of this source code is governed by the Apache v2.0 license that can be 3 // found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/common/proto/internal/testingpb/testing.proto 10 11 package testingpb 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 17 structpb "google.golang.org/protobuf/types/known/structpb" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 type Some struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 I int64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"` 35 } 36 37 func (x *Some) Reset() { 38 *x = Some{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *Some) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*Some) ProtoMessage() {} 51 52 func (x *Some) ProtoReflect() protoreflect.Message { 53 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use Some.ProtoReflect.Descriptor instead. 65 func (*Some) Descriptor() ([]byte, []int) { 66 return file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *Some) GetI() int64 { 70 if x != nil { 71 return x.I 72 } 73 return 0 74 } 75 76 type Simple struct { 77 state protoimpl.MessageState 78 sizeCache protoimpl.SizeCache 79 unknownFields protoimpl.UnknownFields 80 81 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` 82 Some *Some `protobuf:"bytes,2,opt,name=some,proto3" json:"some,omitempty"` 83 Fields *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"` 84 } 85 86 func (x *Simple) Reset() { 87 *x = Simple{} 88 if protoimpl.UnsafeEnabled { 89 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[1] 90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 91 ms.StoreMessageInfo(mi) 92 } 93 } 94 95 func (x *Simple) String() string { 96 return protoimpl.X.MessageStringOf(x) 97 } 98 99 func (*Simple) ProtoMessage() {} 100 101 func (x *Simple) ProtoReflect() protoreflect.Message { 102 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[1] 103 if protoimpl.UnsafeEnabled && x != nil { 104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 105 if ms.LoadMessageInfo() == nil { 106 ms.StoreMessageInfo(mi) 107 } 108 return ms 109 } 110 return mi.MessageOf(x) 111 } 112 113 // Deprecated: Use Simple.ProtoReflect.Descriptor instead. 114 func (*Simple) Descriptor() ([]byte, []int) { 115 return file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescGZIP(), []int{1} 116 } 117 118 func (x *Simple) GetId() int64 { 119 if x != nil { 120 return x.Id 121 } 122 return 0 123 } 124 125 func (x *Simple) GetSome() *Some { 126 if x != nil { 127 return x.Some 128 } 129 return nil 130 } 131 132 func (x *Simple) GetFields() *fieldmaskpb.FieldMask { 133 if x != nil { 134 return x.Fields 135 } 136 return nil 137 } 138 139 type Props struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 144 Properties *structpb.Struct `protobuf:"bytes,6,opt,name=properties,proto3" json:"properties,omitempty"` 145 Fields *fieldmaskpb.FieldMask `protobuf:"bytes,100,opt,name=fields,proto3" json:"fields,omitempty"` 146 } 147 148 func (x *Props) Reset() { 149 *x = Props{} 150 if protoimpl.UnsafeEnabled { 151 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[2] 152 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 153 ms.StoreMessageInfo(mi) 154 } 155 } 156 157 func (x *Props) String() string { 158 return protoimpl.X.MessageStringOf(x) 159 } 160 161 func (*Props) ProtoMessage() {} 162 163 func (x *Props) ProtoReflect() protoreflect.Message { 164 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[2] 165 if protoimpl.UnsafeEnabled && x != nil { 166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 167 if ms.LoadMessageInfo() == nil { 168 ms.StoreMessageInfo(mi) 169 } 170 return ms 171 } 172 return mi.MessageOf(x) 173 } 174 175 // Deprecated: Use Props.ProtoReflect.Descriptor instead. 176 func (*Props) Descriptor() ([]byte, []int) { 177 return file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescGZIP(), []int{2} 178 } 179 180 func (x *Props) GetProperties() *structpb.Struct { 181 if x != nil { 182 return x.Properties 183 } 184 return nil 185 } 186 187 func (x *Props) GetFields() *fieldmaskpb.FieldMask { 188 if x != nil { 189 return x.Fields 190 } 191 return nil 192 } 193 194 type WithInner struct { 195 state protoimpl.MessageState 196 sizeCache protoimpl.SizeCache 197 unknownFields protoimpl.UnknownFields 198 199 Msgs []*WithInner_Inner `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty"` 200 } 201 202 func (x *WithInner) Reset() { 203 *x = WithInner{} 204 if protoimpl.UnsafeEnabled { 205 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[3] 206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 207 ms.StoreMessageInfo(mi) 208 } 209 } 210 211 func (x *WithInner) String() string { 212 return protoimpl.X.MessageStringOf(x) 213 } 214 215 func (*WithInner) ProtoMessage() {} 216 217 func (x *WithInner) ProtoReflect() protoreflect.Message { 218 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[3] 219 if protoimpl.UnsafeEnabled && x != nil { 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 if ms.LoadMessageInfo() == nil { 222 ms.StoreMessageInfo(mi) 223 } 224 return ms 225 } 226 return mi.MessageOf(x) 227 } 228 229 // Deprecated: Use WithInner.ProtoReflect.Descriptor instead. 230 func (*WithInner) Descriptor() ([]byte, []int) { 231 return file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescGZIP(), []int{3} 232 } 233 234 func (x *WithInner) GetMsgs() []*WithInner_Inner { 235 if x != nil { 236 return x.Msgs 237 } 238 return nil 239 } 240 241 type Full struct { 242 state protoimpl.MessageState 243 sizeCache protoimpl.SizeCache 244 unknownFields protoimpl.UnknownFields 245 246 I32 int32 `protobuf:"varint,1,opt,name=i32,proto3" json:"i32,omitempty"` 247 I64 int64 `protobuf:"varint,2,opt,name=i64,proto3" json:"i64,omitempty"` 248 U32 uint32 `protobuf:"varint,3,opt,name=u32,proto3" json:"u32,omitempty"` 249 U64 uint64 `protobuf:"varint,4,opt,name=u64,proto3" json:"u64,omitempty"` 250 F32 float32 `protobuf:"fixed32,5,opt,name=f32,proto3" json:"f32,omitempty"` 251 F64 float64 `protobuf:"fixed64,6,opt,name=f64,proto3" json:"f64,omitempty"` 252 Boolean bool `protobuf:"varint,7,opt,name=boolean,proto3" json:"boolean,omitempty"` 253 Num int32 `protobuf:"varint,8,opt,name=num,proto3" json:"num,omitempty"` 254 Nums []int32 `protobuf:"varint,9,rep,packed,name=nums,proto3" json:"nums,omitempty"` 255 Str string `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"` 256 Strs []string `protobuf:"bytes,11,rep,name=strs,proto3" json:"strs,omitempty"` 257 Msg *Full `protobuf:"bytes,12,opt,name=msg,proto3" json:"msg,omitempty"` 258 Msgs []*Full `protobuf:"bytes,13,rep,name=msgs,proto3" json:"msgs,omitempty"` 259 MapStrNum map[string]int32 `protobuf:"bytes,14,rep,name=map_str_num,json=mapStrNum,proto3" json:"map_str_num,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 260 MapNumStr map[int32]string `protobuf:"bytes,15,rep,name=map_num_str,json=mapNumStr,proto3" json:"map_num_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 261 MapBoolStr map[bool]string `protobuf:"bytes,16,rep,name=map_bool_str,json=mapBoolStr,proto3" json:"map_bool_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 262 MapStrMsg map[string]*Full `protobuf:"bytes,17,rep,name=map_str_msg,json=mapStrMsg,proto3" json:"map_str_msg,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 263 JsonName string `protobuf:"bytes,18,opt,name=json_name,json=jsonName,proto3" json:"json_name,omitempty"` 264 JsonNameOption string `protobuf:"bytes,19,opt,name=json_name_option,json=another_json_name,proto3" json:"json_name_option,omitempty"` 265 } 266 267 func (x *Full) Reset() { 268 *x = Full{} 269 if protoimpl.UnsafeEnabled { 270 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[4] 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 ms.StoreMessageInfo(mi) 273 } 274 } 275 276 func (x *Full) String() string { 277 return protoimpl.X.MessageStringOf(x) 278 } 279 280 func (*Full) ProtoMessage() {} 281 282 func (x *Full) ProtoReflect() protoreflect.Message { 283 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[4] 284 if protoimpl.UnsafeEnabled && x != nil { 285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 286 if ms.LoadMessageInfo() == nil { 287 ms.StoreMessageInfo(mi) 288 } 289 return ms 290 } 291 return mi.MessageOf(x) 292 } 293 294 // Deprecated: Use Full.ProtoReflect.Descriptor instead. 295 func (*Full) Descriptor() ([]byte, []int) { 296 return file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescGZIP(), []int{4} 297 } 298 299 func (x *Full) GetI32() int32 { 300 if x != nil { 301 return x.I32 302 } 303 return 0 304 } 305 306 func (x *Full) GetI64() int64 { 307 if x != nil { 308 return x.I64 309 } 310 return 0 311 } 312 313 func (x *Full) GetU32() uint32 { 314 if x != nil { 315 return x.U32 316 } 317 return 0 318 } 319 320 func (x *Full) GetU64() uint64 { 321 if x != nil { 322 return x.U64 323 } 324 return 0 325 } 326 327 func (x *Full) GetF32() float32 { 328 if x != nil { 329 return x.F32 330 } 331 return 0 332 } 333 334 func (x *Full) GetF64() float64 { 335 if x != nil { 336 return x.F64 337 } 338 return 0 339 } 340 341 func (x *Full) GetBoolean() bool { 342 if x != nil { 343 return x.Boolean 344 } 345 return false 346 } 347 348 func (x *Full) GetNum() int32 { 349 if x != nil { 350 return x.Num 351 } 352 return 0 353 } 354 355 func (x *Full) GetNums() []int32 { 356 if x != nil { 357 return x.Nums 358 } 359 return nil 360 } 361 362 func (x *Full) GetStr() string { 363 if x != nil { 364 return x.Str 365 } 366 return "" 367 } 368 369 func (x *Full) GetStrs() []string { 370 if x != nil { 371 return x.Strs 372 } 373 return nil 374 } 375 376 func (x *Full) GetMsg() *Full { 377 if x != nil { 378 return x.Msg 379 } 380 return nil 381 } 382 383 func (x *Full) GetMsgs() []*Full { 384 if x != nil { 385 return x.Msgs 386 } 387 return nil 388 } 389 390 func (x *Full) GetMapStrNum() map[string]int32 { 391 if x != nil { 392 return x.MapStrNum 393 } 394 return nil 395 } 396 397 func (x *Full) GetMapNumStr() map[int32]string { 398 if x != nil { 399 return x.MapNumStr 400 } 401 return nil 402 } 403 404 func (x *Full) GetMapBoolStr() map[bool]string { 405 if x != nil { 406 return x.MapBoolStr 407 } 408 return nil 409 } 410 411 func (x *Full) GetMapStrMsg() map[string]*Full { 412 if x != nil { 413 return x.MapStrMsg 414 } 415 return nil 416 } 417 418 func (x *Full) GetJsonName() string { 419 if x != nil { 420 return x.JsonName 421 } 422 return "" 423 } 424 425 func (x *Full) GetJsonNameOption() string { 426 if x != nil { 427 return x.JsonNameOption 428 } 429 return "" 430 } 431 432 type WithInner_Inner struct { 433 state protoimpl.MessageState 434 sizeCache protoimpl.SizeCache 435 unknownFields protoimpl.UnknownFields 436 437 // Types that are assignable to Msg: 438 // 439 // *WithInner_Inner_Simple 440 // *WithInner_Inner_Props 441 Msg isWithInner_Inner_Msg `protobuf_oneof:"msg"` 442 } 443 444 func (x *WithInner_Inner) Reset() { 445 *x = WithInner_Inner{} 446 if protoimpl.UnsafeEnabled { 447 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[5] 448 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 449 ms.StoreMessageInfo(mi) 450 } 451 } 452 453 func (x *WithInner_Inner) String() string { 454 return protoimpl.X.MessageStringOf(x) 455 } 456 457 func (*WithInner_Inner) ProtoMessage() {} 458 459 func (x *WithInner_Inner) ProtoReflect() protoreflect.Message { 460 mi := &file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[5] 461 if protoimpl.UnsafeEnabled && x != nil { 462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 463 if ms.LoadMessageInfo() == nil { 464 ms.StoreMessageInfo(mi) 465 } 466 return ms 467 } 468 return mi.MessageOf(x) 469 } 470 471 // Deprecated: Use WithInner_Inner.ProtoReflect.Descriptor instead. 472 func (*WithInner_Inner) Descriptor() ([]byte, []int) { 473 return file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescGZIP(), []int{3, 0} 474 } 475 476 func (m *WithInner_Inner) GetMsg() isWithInner_Inner_Msg { 477 if m != nil { 478 return m.Msg 479 } 480 return nil 481 } 482 483 func (x *WithInner_Inner) GetSimple() *Simple { 484 if x, ok := x.GetMsg().(*WithInner_Inner_Simple); ok { 485 return x.Simple 486 } 487 return nil 488 } 489 490 func (x *WithInner_Inner) GetProps() *Props { 491 if x, ok := x.GetMsg().(*WithInner_Inner_Props); ok { 492 return x.Props 493 } 494 return nil 495 } 496 497 type isWithInner_Inner_Msg interface { 498 isWithInner_Inner_Msg() 499 } 500 501 type WithInner_Inner_Simple struct { 502 Simple *Simple `protobuf:"bytes,1,opt,name=simple,proto3,oneof"` 503 } 504 505 type WithInner_Inner_Props struct { 506 Props *Props `protobuf:"bytes,2,opt,name=props,proto3,oneof"` 507 } 508 509 func (*WithInner_Inner_Simple) isWithInner_Inner_Msg() {} 510 511 func (*WithInner_Inner_Props) isWithInner_Inner_Msg() {} 512 513 var File_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto protoreflect.FileDescriptor 514 515 var file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDesc = []byte{ 516 0x0a, 0x42, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 517 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 518 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 519 0x74, 0x69, 0x6e, 0x67, 0x70, 0x62, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 520 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 521 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 522 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 523 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 524 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 525 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x04, 0x53, 0x6f, 0x6d, 0x65, 0x12, 0x0c, 526 0x0a, 0x01, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x01, 0x69, 0x22, 0x78, 0x0a, 0x06, 527 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 528 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x04, 0x73, 0x6f, 0x6d, 0x65, 0x18, 0x02, 529 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 530 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x6f, 0x6d, 0x65, 0x52, 0x04, 0x73, 0x6f, 531 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x64, 0x20, 0x01, 532 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 533 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x06, 534 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0x74, 0x0a, 0x05, 0x50, 0x72, 0x6f, 0x70, 0x73, 0x12, 535 0x37, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 536 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 537 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0a, 0x70, 0x72, 538 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 539 0x64, 0x73, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 540 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 541 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0xb7, 0x01, 0x0a, 542 0x09, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x04, 0x6d, 0x73, 543 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 544 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x57, 0x69, 0x74, 0x68, 545 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x04, 0x6d, 0x73, 0x67, 546 0x73, 0x1a, 0x73, 0x0a, 0x05, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x69, 547 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x69, 0x6e, 0x74, 548 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x69, 549 0x6d, 0x70, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x2f, 550 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 551 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 552 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x73, 0x48, 0x00, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x70, 0x73, 0x42, 553 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xa8, 0x07, 0x0a, 0x04, 0x46, 0x75, 0x6c, 0x6c, 0x12, 554 0x10, 0x0a, 0x03, 0x69, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x69, 0x33, 555 0x32, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x36, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 556 0x69, 0x36, 0x34, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x33, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 557 0x52, 0x03, 0x75, 0x33, 0x32, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x36, 0x34, 0x18, 0x04, 0x20, 0x01, 558 0x28, 0x04, 0x52, 0x03, 0x75, 0x36, 0x34, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x33, 0x32, 0x18, 0x05, 559 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x66, 0x33, 0x32, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x36, 0x34, 560 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x66, 0x36, 0x34, 0x12, 0x18, 0x0a, 0x07, 0x62, 561 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x62, 0x6f, 562 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x08, 0x20, 0x01, 563 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x75, 0x6d, 0x73, 0x18, 564 0x09, 0x20, 0x03, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 565 0x74, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x74, 0x72, 0x12, 0x12, 0x0a, 566 0x04, 0x73, 0x74, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x73, 0x74, 0x72, 567 0x73, 0x12, 0x28, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 568 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 569 0x67, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2a, 0x0a, 0x04, 0x6d, 570 0x73, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x69, 0x6e, 0x74, 0x65, 571 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x75, 0x6c, 572 0x6c, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x12, 0x45, 0x0a, 0x0b, 0x6d, 0x61, 0x70, 0x5f, 0x73, 573 0x74, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 574 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 575 0x46, 0x75, 0x6c, 0x6c, 0x2e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x4e, 0x75, 0x6d, 0x45, 0x6e, 576 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x4e, 0x75, 0x6d, 0x12, 0x45, 577 0x0a, 0x0b, 0x6d, 0x61, 0x70, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x0f, 0x20, 578 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 579 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x2e, 0x4d, 0x61, 0x70, 0x4e, 580 0x75, 0x6d, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x70, 0x4e, 581 0x75, 0x6d, 0x53, 0x74, 0x72, 0x12, 0x48, 0x0a, 0x0c, 0x6d, 0x61, 0x70, 0x5f, 0x62, 0x6f, 0x6f, 582 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 583 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x46, 584 0x75, 0x6c, 0x6c, 0x2e, 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x53, 0x74, 0x72, 0x45, 0x6e, 585 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x61, 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x53, 0x74, 0x72, 0x12, 586 0x45, 0x0a, 0x0b, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x11, 587 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 588 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x2e, 0x4d, 0x61, 0x70, 589 0x53, 0x74, 0x72, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x6d, 0x61, 0x70, 590 0x53, 0x74, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 591 0x61, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x4e, 592 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x10, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 593 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 594 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 595 0x1a, 0x3c, 0x0a, 0x0e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x4e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 596 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 597 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 598 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 599 0x0a, 0x0e, 0x4d, 0x61, 0x70, 0x4e, 0x75, 0x6d, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 600 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 601 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 602 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3d, 0x0a, 0x0f, 603 0x4d, 0x61, 0x70, 0x42, 0x6f, 0x6f, 0x6c, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 604 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 605 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 606 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x54, 0x0a, 0x0e, 0x4d, 607 0x61, 0x70, 0x53, 0x74, 0x72, 0x4d, 0x73, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 608 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 609 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 610 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 611 0x67, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 612 0x01, 0x42, 0x40, 0x5a, 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 613 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 614 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 615 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x70, 0x62, 0x3b, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 616 0x67, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 617 } 618 619 var ( 620 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescOnce sync.Once 621 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescData = file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDesc 622 ) 623 624 func file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescGZIP() []byte { 625 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescOnce.Do(func() { 626 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescData) 627 }) 628 return file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDescData 629 } 630 631 var file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 632 var file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_goTypes = []interface{}{ 633 (*Some)(nil), // 0: internal.testing.Some 634 (*Simple)(nil), // 1: internal.testing.Simple 635 (*Props)(nil), // 2: internal.testing.Props 636 (*WithInner)(nil), // 3: internal.testing.WithInner 637 (*Full)(nil), // 4: internal.testing.Full 638 (*WithInner_Inner)(nil), // 5: internal.testing.WithInner.Inner 639 nil, // 6: internal.testing.Full.MapStrNumEntry 640 nil, // 7: internal.testing.Full.MapNumStrEntry 641 nil, // 8: internal.testing.Full.MapBoolStrEntry 642 nil, // 9: internal.testing.Full.MapStrMsgEntry 643 (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask 644 (*structpb.Struct)(nil), // 11: google.protobuf.Struct 645 } 646 var file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_depIdxs = []int32{ 647 0, // 0: internal.testing.Simple.some:type_name -> internal.testing.Some 648 10, // 1: internal.testing.Simple.fields:type_name -> google.protobuf.FieldMask 649 11, // 2: internal.testing.Props.properties:type_name -> google.protobuf.Struct 650 10, // 3: internal.testing.Props.fields:type_name -> google.protobuf.FieldMask 651 5, // 4: internal.testing.WithInner.msgs:type_name -> internal.testing.WithInner.Inner 652 4, // 5: internal.testing.Full.msg:type_name -> internal.testing.Full 653 4, // 6: internal.testing.Full.msgs:type_name -> internal.testing.Full 654 6, // 7: internal.testing.Full.map_str_num:type_name -> internal.testing.Full.MapStrNumEntry 655 7, // 8: internal.testing.Full.map_num_str:type_name -> internal.testing.Full.MapNumStrEntry 656 8, // 9: internal.testing.Full.map_bool_str:type_name -> internal.testing.Full.MapBoolStrEntry 657 9, // 10: internal.testing.Full.map_str_msg:type_name -> internal.testing.Full.MapStrMsgEntry 658 1, // 11: internal.testing.WithInner.Inner.simple:type_name -> internal.testing.Simple 659 2, // 12: internal.testing.WithInner.Inner.props:type_name -> internal.testing.Props 660 4, // 13: internal.testing.Full.MapStrMsgEntry.value:type_name -> internal.testing.Full 661 14, // [14:14] is the sub-list for method output_type 662 14, // [14:14] is the sub-list for method input_type 663 14, // [14:14] is the sub-list for extension type_name 664 14, // [14:14] is the sub-list for extension extendee 665 0, // [0:14] is the sub-list for field type_name 666 } 667 668 func init() { file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_init() } 669 func file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_init() { 670 if File_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto != nil { 671 return 672 } 673 if !protoimpl.UnsafeEnabled { 674 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 675 switch v := v.(*Some); i { 676 case 0: 677 return &v.state 678 case 1: 679 return &v.sizeCache 680 case 2: 681 return &v.unknownFields 682 default: 683 return nil 684 } 685 } 686 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 687 switch v := v.(*Simple); i { 688 case 0: 689 return &v.state 690 case 1: 691 return &v.sizeCache 692 case 2: 693 return &v.unknownFields 694 default: 695 return nil 696 } 697 } 698 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 699 switch v := v.(*Props); i { 700 case 0: 701 return &v.state 702 case 1: 703 return &v.sizeCache 704 case 2: 705 return &v.unknownFields 706 default: 707 return nil 708 } 709 } 710 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 711 switch v := v.(*WithInner); i { 712 case 0: 713 return &v.state 714 case 1: 715 return &v.sizeCache 716 case 2: 717 return &v.unknownFields 718 default: 719 return nil 720 } 721 } 722 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 723 switch v := v.(*Full); i { 724 case 0: 725 return &v.state 726 case 1: 727 return &v.sizeCache 728 case 2: 729 return &v.unknownFields 730 default: 731 return nil 732 } 733 } 734 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 735 switch v := v.(*WithInner_Inner); i { 736 case 0: 737 return &v.state 738 case 1: 739 return &v.sizeCache 740 case 2: 741 return &v.unknownFields 742 default: 743 return nil 744 } 745 } 746 } 747 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes[5].OneofWrappers = []interface{}{ 748 (*WithInner_Inner_Simple)(nil), 749 (*WithInner_Inner_Props)(nil), 750 } 751 type x struct{} 752 out := protoimpl.TypeBuilder{ 753 File: protoimpl.DescBuilder{ 754 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 755 RawDescriptor: file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDesc, 756 NumEnums: 0, 757 NumMessages: 10, 758 NumExtensions: 0, 759 NumServices: 0, 760 }, 761 GoTypes: file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_goTypes, 762 DependencyIndexes: file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_depIdxs, 763 MessageInfos: file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_msgTypes, 764 }.Build() 765 File_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto = out.File 766 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_rawDesc = nil 767 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_goTypes = nil 768 file_go_chromium_org_luci_common_proto_internal_testingpb_testing_proto_depIdxs = nil 769 }