1// Copyright (C) 2024 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.30.0 18// protoc v3.21.12 19// source: cts/tests/mediapc/requirements/requirements.proto 20 21package requirements_go_proto 22 23import ( 24 mpc_go_proto "cts/test/mediapc/requirements/mpc_go_proto" 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 reflect "reflect" 28 sync "sync" 29) 30 31const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36) 37 38type Group int32 39 40const ( 41 Group_GROUP_UNSPECIFIED Group = 0 42 Group_GROUP_MEDIA Group = 1 43 Group_GROUP_CAMERA Group = 2 44 Group_GROUP_HARDWARE Group = 3 45 Group_GROUP_PERFORMANCE Group = 4 46) 47 48// Enum value maps for Group. 49var ( 50 Group_name = map[int32]string{ 51 0: "GROUP_UNSPECIFIED", 52 1: "GROUP_MEDIA", 53 2: "GROUP_CAMERA", 54 3: "GROUP_HARDWARE", 55 4: "GROUP_PERFORMANCE", 56 } 57 Group_value = map[string]int32{ 58 "GROUP_UNSPECIFIED": 0, 59 "GROUP_MEDIA": 1, 60 "GROUP_CAMERA": 2, 61 "GROUP_HARDWARE": 3, 62 "GROUP_PERFORMANCE": 4, 63 } 64) 65 66func (x Group) Enum() *Group { 67 p := new(Group) 68 *p = x 69 return p 70} 71 72func (x Group) String() string { 73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 74} 75 76func (Group) Descriptor() protoreflect.EnumDescriptor { 77 return file_cts_tests_mediapc_requirements_requirements_proto_enumTypes[0].Descriptor() 78} 79 80func (Group) Type() protoreflect.EnumType { 81 return &file_cts_tests_mediapc_requirements_requirements_proto_enumTypes[0] 82} 83 84func (x Group) Number() protoreflect.EnumNumber { 85 return protoreflect.EnumNumber(x) 86} 87 88// Deprecated: Do not use. 89func (x *Group) UnmarshalJSON(b []byte) error { 90 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 91 if err != nil { 92 return err 93 } 94 *x = Group(num) 95 return nil 96} 97 98// Deprecated: Use Group.Descriptor instead. 99func (Group) EnumDescriptor() ([]byte, []int) { 100 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{0} 101} 102 103type Comparison int32 104 105const ( 106 Comparison_COMPARISON_UNSPECIFIED Comparison = 0 107 Comparison_COMPARISON_EQUAL Comparison = 1 108 Comparison_COMPARISON_LESS_THAN Comparison = 2 109 Comparison_COMPARISON_LESS_THAN_OR_EQUAL Comparison = 3 110 Comparison_COMPARISON_GREATER_THAN Comparison = 4 111 Comparison_COMPARISON_GREATER_THAN_OR_EQUAL Comparison = 5 112 Comparison_COMPARISON_INFO_ONLY Comparison = 6 113) 114 115// Enum value maps for Comparison. 116var ( 117 Comparison_name = map[int32]string{ 118 0: "COMPARISON_UNSPECIFIED", 119 1: "COMPARISON_EQUAL", 120 2: "COMPARISON_LESS_THAN", 121 3: "COMPARISON_LESS_THAN_OR_EQUAL", 122 4: "COMPARISON_GREATER_THAN", 123 5: "COMPARISON_GREATER_THAN_OR_EQUAL", 124 6: "COMPARISON_INFO_ONLY", 125 } 126 Comparison_value = map[string]int32{ 127 "COMPARISON_UNSPECIFIED": 0, 128 "COMPARISON_EQUAL": 1, 129 "COMPARISON_LESS_THAN": 2, 130 "COMPARISON_LESS_THAN_OR_EQUAL": 3, 131 "COMPARISON_GREATER_THAN": 4, 132 "COMPARISON_GREATER_THAN_OR_EQUAL": 5, 133 "COMPARISON_INFO_ONLY": 6, 134 } 135) 136 137func (x Comparison) Enum() *Comparison { 138 p := new(Comparison) 139 *p = x 140 return p 141} 142 143func (x Comparison) String() string { 144 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 145} 146 147func (Comparison) Descriptor() protoreflect.EnumDescriptor { 148 return file_cts_tests_mediapc_requirements_requirements_proto_enumTypes[1].Descriptor() 149} 150 151func (Comparison) Type() protoreflect.EnumType { 152 return &file_cts_tests_mediapc_requirements_requirements_proto_enumTypes[1] 153} 154 155func (x Comparison) Number() protoreflect.EnumNumber { 156 return protoreflect.EnumNumber(x) 157} 158 159// Deprecated: Do not use. 160func (x *Comparison) UnmarshalJSON(b []byte) error { 161 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 162 if err != nil { 163 return err 164 } 165 *x = Comparison(num) 166 return nil 167} 168 169// Deprecated: Use Comparison.Descriptor instead. 170func (Comparison) EnumDescriptor() ([]byte, []int) { 171 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{1} 172} 173 174type MeasurementType int32 175 176const ( 177 MeasurementType_MEASUREMENT_TYPE_UNSPECIFIED MeasurementType = 0 178 MeasurementType_MEASUREMENT_TYPE_BOOL MeasurementType = 1 179 MeasurementType_MEASUREMENT_TYPE_DOUBLE MeasurementType = 2 180 MeasurementType_MEASUREMENT_TYPE_INT MeasurementType = 3 181 MeasurementType_MEASUREMENT_TYPE_STRING MeasurementType = 4 182 MeasurementType_MEASUREMENT_TYPE_LONG MeasurementType = 5 183) 184 185// Enum value maps for MeasurementType. 186var ( 187 MeasurementType_name = map[int32]string{ 188 0: "MEASUREMENT_TYPE_UNSPECIFIED", 189 1: "MEASUREMENT_TYPE_BOOL", 190 2: "MEASUREMENT_TYPE_DOUBLE", 191 3: "MEASUREMENT_TYPE_INT", 192 4: "MEASUREMENT_TYPE_STRING", 193 5: "MEASUREMENT_TYPE_LONG", 194 } 195 MeasurementType_value = map[string]int32{ 196 "MEASUREMENT_TYPE_UNSPECIFIED": 0, 197 "MEASUREMENT_TYPE_BOOL": 1, 198 "MEASUREMENT_TYPE_DOUBLE": 2, 199 "MEASUREMENT_TYPE_INT": 3, 200 "MEASUREMENT_TYPE_STRING": 4, 201 "MEASUREMENT_TYPE_LONG": 5, 202 } 203) 204 205func (x MeasurementType) Enum() *MeasurementType { 206 p := new(MeasurementType) 207 *p = x 208 return p 209} 210 211func (x MeasurementType) String() string { 212 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 213} 214 215func (MeasurementType) Descriptor() protoreflect.EnumDescriptor { 216 return file_cts_tests_mediapc_requirements_requirements_proto_enumTypes[2].Descriptor() 217} 218 219func (MeasurementType) Type() protoreflect.EnumType { 220 return &file_cts_tests_mediapc_requirements_requirements_proto_enumTypes[2] 221} 222 223func (x MeasurementType) Number() protoreflect.EnumNumber { 224 return protoreflect.EnumNumber(x) 225} 226 227// Deprecated: Do not use. 228func (x *MeasurementType) UnmarshalJSON(b []byte) error { 229 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 230 if err != nil { 231 return err 232 } 233 *x = MeasurementType(num) 234 return nil 235} 236 237// Deprecated: Use MeasurementType.Descriptor instead. 238func (MeasurementType) EnumDescriptor() ([]byte, []int) { 239 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{2} 240} 241 242// A list of requirements. 243type RequirementList struct { 244 state protoimpl.MessageState 245 sizeCache protoimpl.SizeCache 246 unknownFields protoimpl.UnknownFields 247 248 Requirements []*Requirement `protobuf:"bytes,1,rep,name=requirements" json:"requirements,omitempty"` 249 // All valid MPC levels 250 AllMpcs []int64 `protobuf:"varint,2,rep,packed,name=all_mpcs,json=allMpcs" json:"all_mpcs,omitempty"` 251} 252 253func (x *RequirementList) Reset() { 254 *x = RequirementList{} 255 if protoimpl.UnsafeEnabled { 256 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[0] 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 ms.StoreMessageInfo(mi) 259 } 260} 261 262func (x *RequirementList) String() string { 263 return protoimpl.X.MessageStringOf(x) 264} 265 266func (*RequirementList) ProtoMessage() {} 267 268func (x *RequirementList) ProtoReflect() protoreflect.Message { 269 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[0] 270 if protoimpl.UnsafeEnabled && x != nil { 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 if ms.LoadMessageInfo() == nil { 273 ms.StoreMessageInfo(mi) 274 } 275 return ms 276 } 277 return mi.MessageOf(x) 278} 279 280// Deprecated: Use RequirementList.ProtoReflect.Descriptor instead. 281func (*RequirementList) Descriptor() ([]byte, []int) { 282 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{0} 283} 284 285func (x *RequirementList) GetRequirements() []*Requirement { 286 if x != nil { 287 return x.Requirements 288 } 289 return nil 290} 291 292func (x *RequirementList) GetAllMpcs() []int64 { 293 if x != nil { 294 return x.AllMpcs 295 } 296 return nil 297} 298 299// A Media Performance Class Requirement with required measurements and 300// specifications including required values for each relevant MPC level. 301type Requirement struct { 302 state protoimpl.MessageState 303 sizeCache protoimpl.SizeCache 304 unknownFields protoimpl.UnknownFields 305 306 // ID exactly as shown in the CDD 307 Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` 308 // Short human readable name. 309 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` 310 Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` 311 Group *Group `protobuf:"varint,4,opt,name=group,enum=android.media.performanceclass.requirements.Group" json:"group,omitempty"` 312 Specs map[int64]*RequirementSpec `protobuf:"bytes,5,rep,name=specs" json:"specs,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 313 // measurement_id to RequiredMeasurements 314 // The measurement_id is a field name safe string. 315 Measurements map[string]*RequiredMeasurement `protobuf:"bytes,6,rep,name=measurements" json:"measurements,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 316 // variant_id to Variant 317 // 318 // The variant_id is a field name safe string. 319 Variants map[string]*Variant `protobuf:"bytes,57,rep,name=variants" json:"variants,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 320} 321 322func (x *Requirement) Reset() { 323 *x = Requirement{} 324 if protoimpl.UnsafeEnabled { 325 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[1] 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 ms.StoreMessageInfo(mi) 328 } 329} 330 331func (x *Requirement) String() string { 332 return protoimpl.X.MessageStringOf(x) 333} 334 335func (*Requirement) ProtoMessage() {} 336 337func (x *Requirement) ProtoReflect() protoreflect.Message { 338 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[1] 339 if protoimpl.UnsafeEnabled && x != nil { 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 if ms.LoadMessageInfo() == nil { 342 ms.StoreMessageInfo(mi) 343 } 344 return ms 345 } 346 return mi.MessageOf(x) 347} 348 349// Deprecated: Use Requirement.ProtoReflect.Descriptor instead. 350func (*Requirement) Descriptor() ([]byte, []int) { 351 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{1} 352} 353 354func (x *Requirement) GetId() string { 355 if x != nil && x.Id != nil { 356 return *x.Id 357 } 358 return "" 359} 360 361func (x *Requirement) GetName() string { 362 if x != nil && x.Name != nil { 363 return *x.Name 364 } 365 return "" 366} 367 368func (x *Requirement) GetDescription() string { 369 if x != nil && x.Description != nil { 370 return *x.Description 371 } 372 return "" 373} 374 375func (x *Requirement) GetGroup() Group { 376 if x != nil && x.Group != nil { 377 return *x.Group 378 } 379 return Group_GROUP_UNSPECIFIED 380} 381 382func (x *Requirement) GetSpecs() map[int64]*RequirementSpec { 383 if x != nil { 384 return x.Specs 385 } 386 return nil 387} 388 389func (x *Requirement) GetMeasurements() map[string]*RequiredMeasurement { 390 if x != nil { 391 return x.Measurements 392 } 393 return nil 394} 395 396func (x *Requirement) GetVariants() map[string]*Variant { 397 if x != nil { 398 return x.Variants 399 } 400 return nil 401} 402 403type RequirementSpec struct { 404 state protoimpl.MessageState 405 sizeCache protoimpl.SizeCache 406 unknownFields protoimpl.UnknownFields 407 408 Mpc *mpc_go_proto.MediaPerformanceClass `protobuf:"varint,1,opt,name=mpc,enum=android.media.performanceclass.MediaPerformanceClass" json:"mpc,omitempty"` 409 // The specification of the requirement at the given MPC level exactly as 410 // described in the CDD. 411 Specification *string `protobuf:"bytes,3,opt,name=specification" json:"specification,omitempty"` 412 // measurement_id to RequiredMeasurements 413 // 414 // The measurement_id is a field name safe string. 415 // The measurement_id must match the id of a RequiredMeasurement in the parent 416 // Requirement. 417 RequiredValues map[string]*RequiredValue `protobuf:"bytes,4,rep,name=required_values,json=requiredValues" json:"required_values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 418 // variant_id to VariantSpec 419 // The variant_id is a field name safe string. 420 VariantSpecs map[string]*VariantSpec `protobuf:"bytes,5,rep,name=variant_specs,json=variantSpecs" json:"variant_specs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 421} 422 423func (x *RequirementSpec) Reset() { 424 *x = RequirementSpec{} 425 if protoimpl.UnsafeEnabled { 426 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[2] 427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 428 ms.StoreMessageInfo(mi) 429 } 430} 431 432func (x *RequirementSpec) String() string { 433 return protoimpl.X.MessageStringOf(x) 434} 435 436func (*RequirementSpec) ProtoMessage() {} 437 438func (x *RequirementSpec) ProtoReflect() protoreflect.Message { 439 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[2] 440 if protoimpl.UnsafeEnabled && x != nil { 441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 442 if ms.LoadMessageInfo() == nil { 443 ms.StoreMessageInfo(mi) 444 } 445 return ms 446 } 447 return mi.MessageOf(x) 448} 449 450// Deprecated: Use RequirementSpec.ProtoReflect.Descriptor instead. 451func (*RequirementSpec) Descriptor() ([]byte, []int) { 452 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{2} 453} 454 455func (x *RequirementSpec) GetMpc() mpc_go_proto.MediaPerformanceClass { 456 if x != nil && x.Mpc != nil { 457 return *x.Mpc 458 } 459 return mpc_go_proto.MediaPerformanceClass(0) 460} 461 462func (x *RequirementSpec) GetSpecification() string { 463 if x != nil && x.Specification != nil { 464 return *x.Specification 465 } 466 return "" 467} 468 469func (x *RequirementSpec) GetRequiredValues() map[string]*RequiredValue { 470 if x != nil { 471 return x.RequiredValues 472 } 473 return nil 474} 475 476func (x *RequirementSpec) GetVariantSpecs() map[string]*VariantSpec { 477 if x != nil { 478 return x.VariantSpecs 479 } 480 return nil 481} 482 483// A required measurement needed verifiy a MPC requirement. 484type RequiredMeasurement struct { 485 state protoimpl.MessageState 486 sizeCache protoimpl.SizeCache 487 unknownFields protoimpl.UnknownFields 488 489 // The id is a field name safe string. 490 Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` 491 Description *string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"` 492 MeasurementType *MeasurementType `protobuf:"varint,3,opt,name=measurement_type,json=measurementType,enum=android.media.performanceclass.requirements.MeasurementType" json:"measurement_type,omitempty"` 493 Comparison *Comparison `protobuf:"varint,4,opt,name=comparison,enum=android.media.performanceclass.requirements.Comparison" json:"comparison,omitempty"` 494} 495 496func (x *RequiredMeasurement) Reset() { 497 *x = RequiredMeasurement{} 498 if protoimpl.UnsafeEnabled { 499 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[3] 500 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 501 ms.StoreMessageInfo(mi) 502 } 503} 504 505func (x *RequiredMeasurement) String() string { 506 return protoimpl.X.MessageStringOf(x) 507} 508 509func (*RequiredMeasurement) ProtoMessage() {} 510 511func (x *RequiredMeasurement) ProtoReflect() protoreflect.Message { 512 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[3] 513 if protoimpl.UnsafeEnabled && x != nil { 514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 515 if ms.LoadMessageInfo() == nil { 516 ms.StoreMessageInfo(mi) 517 } 518 return ms 519 } 520 return mi.MessageOf(x) 521} 522 523// Deprecated: Use RequiredMeasurement.ProtoReflect.Descriptor instead. 524func (*RequiredMeasurement) Descriptor() ([]byte, []int) { 525 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{3} 526} 527 528func (x *RequiredMeasurement) GetId() string { 529 if x != nil && x.Id != nil { 530 return *x.Id 531 } 532 return "" 533} 534 535func (x *RequiredMeasurement) GetDescription() string { 536 if x != nil && x.Description != nil { 537 return *x.Description 538 } 539 return "" 540} 541 542func (x *RequiredMeasurement) GetMeasurementType() MeasurementType { 543 if x != nil && x.MeasurementType != nil { 544 return *x.MeasurementType 545 } 546 return MeasurementType_MEASUREMENT_TYPE_UNSPECIFIED 547} 548 549func (x *RequiredMeasurement) GetComparison() Comparison { 550 if x != nil && x.Comparison != nil { 551 return *x.Comparison 552 } 553 return Comparison_COMPARISON_UNSPECIFIED 554} 555 556// A required value for a RequiredMeasurement at a given MPC level. 557type RequiredValue struct { 558 state protoimpl.MessageState 559 sizeCache protoimpl.SizeCache 560 unknownFields protoimpl.UnknownFields 561 562 // The id is a field name safe string. 563 Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` 564 // Types that are assignable to Value: 565 // 566 // *RequiredValue_StringValue 567 // *RequiredValue_IntValue 568 // *RequiredValue_DoubleValue 569 // *RequiredValue_BoolValue 570 // *RequiredValue_LongValue 571 Value isRequiredValue_Value `protobuf_oneof:"value"` 572} 573 574func (x *RequiredValue) Reset() { 575 *x = RequiredValue{} 576 if protoimpl.UnsafeEnabled { 577 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[4] 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 579 ms.StoreMessageInfo(mi) 580 } 581} 582 583func (x *RequiredValue) String() string { 584 return protoimpl.X.MessageStringOf(x) 585} 586 587func (*RequiredValue) ProtoMessage() {} 588 589func (x *RequiredValue) ProtoReflect() protoreflect.Message { 590 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[4] 591 if protoimpl.UnsafeEnabled && x != nil { 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 593 if ms.LoadMessageInfo() == nil { 594 ms.StoreMessageInfo(mi) 595 } 596 return ms 597 } 598 return mi.MessageOf(x) 599} 600 601// Deprecated: Use RequiredValue.ProtoReflect.Descriptor instead. 602func (*RequiredValue) Descriptor() ([]byte, []int) { 603 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{4} 604} 605 606func (x *RequiredValue) GetId() string { 607 if x != nil && x.Id != nil { 608 return *x.Id 609 } 610 return "" 611} 612 613func (m *RequiredValue) GetValue() isRequiredValue_Value { 614 if m != nil { 615 return m.Value 616 } 617 return nil 618} 619 620func (x *RequiredValue) GetStringValue() string { 621 if x, ok := x.GetValue().(*RequiredValue_StringValue); ok { 622 return x.StringValue 623 } 624 return "" 625} 626 627func (x *RequiredValue) GetIntValue() int64 { 628 if x, ok := x.GetValue().(*RequiredValue_IntValue); ok { 629 return x.IntValue 630 } 631 return 0 632} 633 634func (x *RequiredValue) GetDoubleValue() float64 { 635 if x, ok := x.GetValue().(*RequiredValue_DoubleValue); ok { 636 return x.DoubleValue 637 } 638 return 0 639} 640 641func (x *RequiredValue) GetBoolValue() bool { 642 if x, ok := x.GetValue().(*RequiredValue_BoolValue); ok { 643 return x.BoolValue 644 } 645 return false 646} 647 648func (x *RequiredValue) GetLongValue() int64 { 649 if x, ok := x.GetValue().(*RequiredValue_LongValue); ok { 650 return x.LongValue 651 } 652 return 0 653} 654 655type isRequiredValue_Value interface { 656 isRequiredValue_Value() 657} 658 659type RequiredValue_StringValue struct { 660 StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,oneof"` 661} 662 663type RequiredValue_IntValue struct { 664 IntValue int64 `protobuf:"varint,4,opt,name=int_value,json=intValue,oneof"` 665} 666 667type RequiredValue_DoubleValue struct { 668 DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,oneof"` 669} 670 671type RequiredValue_BoolValue struct { 672 BoolValue bool `protobuf:"varint,6,opt,name=bool_value,json=boolValue,oneof"` 673} 674 675type RequiredValue_LongValue struct { 676 LongValue int64 `protobuf:"varint,7,opt,name=long_value,json=longValue,oneof"` 677} 678 679func (*RequiredValue_StringValue) isRequiredValue_Value() {} 680 681func (*RequiredValue_IntValue) isRequiredValue_Value() {} 682 683func (*RequiredValue_DoubleValue) isRequiredValue_Value() {} 684 685func (*RequiredValue_BoolValue) isRequiredValue_Value() {} 686 687func (*RequiredValue_LongValue) isRequiredValue_Value() {} 688 689// Variants are used when an alternative set of required values should apply 690type Variant struct { 691 state protoimpl.MessageState 692 sizeCache protoimpl.SizeCache 693 unknownFields protoimpl.UnknownFields 694 695 // When the variant should be used. 696 Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` 697} 698 699func (x *Variant) Reset() { 700 *x = Variant{} 701 if protoimpl.UnsafeEnabled { 702 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[5] 703 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 704 ms.StoreMessageInfo(mi) 705 } 706} 707 708func (x *Variant) String() string { 709 return protoimpl.X.MessageStringOf(x) 710} 711 712func (*Variant) ProtoMessage() {} 713 714func (x *Variant) ProtoReflect() protoreflect.Message { 715 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[5] 716 if protoimpl.UnsafeEnabled && x != nil { 717 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 718 if ms.LoadMessageInfo() == nil { 719 ms.StoreMessageInfo(mi) 720 } 721 return ms 722 } 723 return mi.MessageOf(x) 724} 725 726// Deprecated: Use Variant.ProtoReflect.Descriptor instead. 727func (*Variant) Descriptor() ([]byte, []int) { 728 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{5} 729} 730 731func (x *Variant) GetDescription() string { 732 if x != nil && x.Description != nil { 733 return *x.Description 734 } 735 return "" 736} 737 738// The set values required for a variant 739type VariantSpec struct { 740 state protoimpl.MessageState 741 sizeCache protoimpl.SizeCache 742 unknownFields protoimpl.UnknownFields 743 744 // measurement_id to RequiredMeasurements 745 // 746 // The measurement_id is a field name safe string. 747 // The measurement_id must match the id of a RequiredMeasurement in the parent 748 // Requirement. 749 RequiredValues map[string]*RequiredValue `protobuf:"bytes,4,rep,name=required_values,json=requiredValues" json:"required_values,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 750} 751 752func (x *VariantSpec) Reset() { 753 *x = VariantSpec{} 754 if protoimpl.UnsafeEnabled { 755 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[6] 756 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 757 ms.StoreMessageInfo(mi) 758 } 759} 760 761func (x *VariantSpec) String() string { 762 return protoimpl.X.MessageStringOf(x) 763} 764 765func (*VariantSpec) ProtoMessage() {} 766 767func (x *VariantSpec) ProtoReflect() protoreflect.Message { 768 mi := &file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[6] 769 if protoimpl.UnsafeEnabled && x != nil { 770 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 771 if ms.LoadMessageInfo() == nil { 772 ms.StoreMessageInfo(mi) 773 } 774 return ms 775 } 776 return mi.MessageOf(x) 777} 778 779// Deprecated: Use VariantSpec.ProtoReflect.Descriptor instead. 780func (*VariantSpec) Descriptor() ([]byte, []int) { 781 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP(), []int{6} 782} 783 784func (x *VariantSpec) GetRequiredValues() map[string]*RequiredValue { 785 if x != nil { 786 return x.RequiredValues 787 } 788 return nil 789} 790 791var File_cts_tests_mediapc_requirements_requirements_proto protoreflect.FileDescriptor 792 793var file_cts_tests_mediapc_requirements_requirements_proto_rawDesc = []byte{ 794 0x0a, 0x31, 0x63, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x6d, 0x65, 0x64, 0x69, 795 0x61, 0x70, 0x63, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 796 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 797 0x6f, 0x74, 0x6f, 0x12, 0x2b, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 798 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 799 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 800 0x1a, 0x28, 0x63, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x73, 0x2f, 0x6d, 0x65, 0x64, 0x69, 801 0x61, 0x70, 0x63, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 802 0x2f, 0x6d, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x0f, 0x52, 803 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5c, 804 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 805 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 806 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 807 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 808 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0c, 809 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x08, 810 0x61, 0x6c, 0x6c, 0x5f, 0x6d, 0x70, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x03, 0x42, 0x02, 811 0x10, 0x01, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x4d, 0x70, 0x63, 0x73, 0x22, 0xbb, 0x06, 0x0a, 0x0b, 812 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 813 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 814 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 815 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 816 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 817 0x6e, 0x12, 0x48, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 818 0x32, 0x32, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 819 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 820 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x47, 821 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x59, 0x0a, 0x05, 0x73, 822 0x70, 0x65, 0x63, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x61, 0x6e, 0x64, 823 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 824 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 825 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 826 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 827 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x12, 0x6e, 0x0a, 0x0c, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 828 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x61, 829 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 830 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 831 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 832 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 833 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 834 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x62, 0x0a, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 835 0x74, 0x73, 0x18, 0x39, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 836 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 837 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 838 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 839 0x6e, 0x74, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 840 0x52, 0x08, 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x73, 0x1a, 0x76, 0x0a, 0x0a, 0x53, 0x70, 841 0x65, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 842 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x52, 0x0a, 0x05, 0x76, 0x61, 843 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x61, 0x6e, 0x64, 0x72, 844 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 845 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 846 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 847 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 848 0x38, 0x01, 0x1a, 0x81, 0x01, 0x0a, 0x11, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 849 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 850 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x56, 0x0a, 0x05, 0x76, 0x61, 851 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x61, 0x6e, 0x64, 0x72, 852 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 853 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 854 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 855 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 856 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x71, 0x0a, 0x0d, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 857 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 858 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 859 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 860 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 861 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 862 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x52, 0x05, 863 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xea, 0x04, 0x0a, 0x0f, 0x52, 0x65, 864 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x47, 0x0a, 865 0x03, 0x6d, 0x70, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x61, 0x6e, 0x64, 866 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 867 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x4d, 0x65, 0x64, 0x69, 868 0x61, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6c, 0x61, 0x73, 869 0x73, 0x52, 0x03, 0x6d, 0x70, 0x63, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 870 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 871 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x79, 0x0a, 0x0f, 872 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 873 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 874 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 875 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 876 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 877 0x70, 0x65, 0x63, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 878 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 879 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x73, 0x0a, 0x0d, 0x76, 0x61, 0x72, 0x69, 0x61, 880 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4e, 881 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 882 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 883 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 884 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x56, 0x61, 0x72, 885 0x69, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 886 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x73, 0x1a, 0x7d, 0x0a, 0x13, 887 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 888 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 889 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x50, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 890 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 891 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 892 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 893 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 894 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x79, 0x0a, 0x11, 0x56, 895 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 896 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 897 0x65, 0x79, 0x12, 0x4e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 898 0x0b, 0x32, 0x38, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 899 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 900 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 901 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 902 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x89, 0x02, 0x0a, 0x13, 0x52, 0x65, 0x71, 0x75, 0x69, 903 0x72, 0x65, 0x64, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x0e, 904 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 905 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 906 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 907 0x12, 0x67, 0x0a, 0x10, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 908 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x61, 0x6e, 0x64, 909 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 910 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 911 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 912 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 913 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 914 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 915 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 916 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 917 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 918 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 919 0x6f, 0x6e, 0x22, 0xd9, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x56, 920 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 921 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 922 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 923 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 924 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 925 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 926 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 927 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 928 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 929 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 930 0x0a, 0x0a, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 931 0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 932 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x2b, 933 0x0a, 0x07, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 934 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 935 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x83, 0x02, 0x0a, 0x0b, 936 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x75, 0x0a, 0x0f, 0x72, 937 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x04, 938 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 939 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 940 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 941 0x74, 0x73, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x52, 942 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 943 0x72, 0x79, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x56, 0x61, 0x6c, 0x75, 944 0x65, 0x73, 0x1a, 0x7d, 0x0a, 0x13, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x56, 0x61, 945 0x6c, 0x75, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 946 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x50, 0x0a, 0x05, 0x76, 947 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x61, 0x6e, 0x64, 948 0x72, 0x6f, 0x69, 0x64, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x65, 0x72, 0x66, 0x6f, 949 0x72, 0x6d, 0x61, 0x6e, 0x63, 0x65, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2e, 0x72, 0x65, 0x71, 0x75, 950 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 951 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 952 0x01, 0x2a, 0x6c, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x15, 0x0a, 0x11, 0x47, 0x52, 953 0x4f, 0x55, 0x50, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 954 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x44, 0x49, 0x41, 955 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x43, 0x41, 0x4d, 0x45, 956 0x52, 0x41, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x48, 0x41, 957 0x52, 0x44, 0x57, 0x41, 0x52, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x47, 0x52, 0x4f, 0x55, 958 0x50, 0x5f, 0x50, 0x45, 0x52, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x04, 0x2a, 959 0xd8, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x72, 0x69, 0x73, 0x6f, 0x6e, 0x12, 0x1a, 960 0x0a, 0x16, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x49, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 961 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 962 0x4d, 0x50, 0x41, 0x52, 0x49, 0x53, 0x4f, 0x4e, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x01, 963 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x49, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 964 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x43, 0x4f, 965 0x4d, 0x50, 0x41, 0x52, 0x49, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x48, 966 0x41, 0x4e, 0x5f, 0x4f, 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x1b, 0x0a, 967 0x17, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x49, 0x53, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x45, 0x41, 968 0x54, 0x45, 0x52, 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x10, 0x04, 0x12, 0x24, 0x0a, 0x20, 0x43, 0x4f, 969 0x4d, 0x50, 0x41, 0x52, 0x49, 0x53, 0x4f, 0x4e, 0x5f, 0x47, 0x52, 0x45, 0x41, 0x54, 0x45, 0x52, 970 0x5f, 0x54, 0x48, 0x41, 0x4e, 0x5f, 0x4f, 0x52, 0x5f, 0x45, 0x51, 0x55, 0x41, 0x4c, 0x10, 0x05, 971 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x52, 0x49, 0x53, 0x4f, 0x4e, 0x5f, 0x49, 972 0x4e, 0x46, 0x4f, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x06, 0x2a, 0xbd, 0x01, 0x0a, 0x0f, 0x4d, 973 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 974 0x0a, 0x1c, 0x4d, 0x45, 0x41, 0x53, 0x55, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 975 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 976 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x41, 0x53, 0x55, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 977 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 978 0x45, 0x41, 0x53, 0x55, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 979 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x45, 0x41, 0x53, 980 0x55, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 981 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x41, 0x53, 0x55, 0x52, 0x45, 0x4d, 0x45, 0x4e, 982 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 983 0x19, 0x0a, 0x15, 0x4d, 0x45, 0x41, 0x53, 0x55, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 984 0x59, 0x50, 0x45, 0x5f, 0x4c, 0x4f, 0x4e, 0x47, 0x10, 0x05, 0x42, 0x37, 0x50, 0x01, 0x5a, 0x33, 985 0x63, 0x74, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x70, 0x63, 986 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x72, 0x65, 987 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x67, 0x6f, 0x5f, 0x70, 0x72, 988 0x6f, 0x74, 0x6f, 989} 990 991var ( 992 file_cts_tests_mediapc_requirements_requirements_proto_rawDescOnce sync.Once 993 file_cts_tests_mediapc_requirements_requirements_proto_rawDescData = file_cts_tests_mediapc_requirements_requirements_proto_rawDesc 994) 995 996func file_cts_tests_mediapc_requirements_requirements_proto_rawDescGZIP() []byte { 997 file_cts_tests_mediapc_requirements_requirements_proto_rawDescOnce.Do(func() { 998 file_cts_tests_mediapc_requirements_requirements_proto_rawDescData = protoimpl.X.CompressGZIP(file_cts_tests_mediapc_requirements_requirements_proto_rawDescData) 999 }) 1000 return file_cts_tests_mediapc_requirements_requirements_proto_rawDescData 1001} 1002 1003var file_cts_tests_mediapc_requirements_requirements_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 1004var file_cts_tests_mediapc_requirements_requirements_proto_msgTypes = make([]protoimpl.MessageInfo, 13) 1005var file_cts_tests_mediapc_requirements_requirements_proto_goTypes = []interface{}{ 1006 (Group)(0), // 0: android.media.performanceclass.requirements.Group 1007 (Comparison)(0), // 1: android.media.performanceclass.requirements.Comparison 1008 (MeasurementType)(0), // 2: android.media.performanceclass.requirements.MeasurementType 1009 (*RequirementList)(nil), // 3: android.media.performanceclass.requirements.RequirementList 1010 (*Requirement)(nil), // 4: android.media.performanceclass.requirements.Requirement 1011 (*RequirementSpec)(nil), // 5: android.media.performanceclass.requirements.RequirementSpec 1012 (*RequiredMeasurement)(nil), // 6: android.media.performanceclass.requirements.RequiredMeasurement 1013 (*RequiredValue)(nil), // 7: android.media.performanceclass.requirements.RequiredValue 1014 (*Variant)(nil), // 8: android.media.performanceclass.requirements.Variant 1015 (*VariantSpec)(nil), // 9: android.media.performanceclass.requirements.VariantSpec 1016 nil, // 10: android.media.performanceclass.requirements.Requirement.SpecsEntry 1017 nil, // 11: android.media.performanceclass.requirements.Requirement.MeasurementsEntry 1018 nil, // 12: android.media.performanceclass.requirements.Requirement.VariantsEntry 1019 nil, // 13: android.media.performanceclass.requirements.RequirementSpec.RequiredValuesEntry 1020 nil, // 14: android.media.performanceclass.requirements.RequirementSpec.VariantSpecsEntry 1021 nil, // 15: android.media.performanceclass.requirements.VariantSpec.RequiredValuesEntry 1022 (mpc_go_proto.MediaPerformanceClass)(0), // 16: android.media.performanceclass.MediaPerformanceClass 1023} 1024var file_cts_tests_mediapc_requirements_requirements_proto_depIdxs = []int32{ 1025 4, // 0: android.media.performanceclass.requirements.RequirementList.requirements:type_name -> android.media.performanceclass.requirements.Requirement 1026 0, // 1: android.media.performanceclass.requirements.Requirement.group:type_name -> android.media.performanceclass.requirements.Group 1027 10, // 2: android.media.performanceclass.requirements.Requirement.specs:type_name -> android.media.performanceclass.requirements.Requirement.SpecsEntry 1028 11, // 3: android.media.performanceclass.requirements.Requirement.measurements:type_name -> android.media.performanceclass.requirements.Requirement.MeasurementsEntry 1029 12, // 4: android.media.performanceclass.requirements.Requirement.variants:type_name -> android.media.performanceclass.requirements.Requirement.VariantsEntry 1030 16, // 5: android.media.performanceclass.requirements.RequirementSpec.mpc:type_name -> android.media.performanceclass.MediaPerformanceClass 1031 13, // 6: android.media.performanceclass.requirements.RequirementSpec.required_values:type_name -> android.media.performanceclass.requirements.RequirementSpec.RequiredValuesEntry 1032 14, // 7: android.media.performanceclass.requirements.RequirementSpec.variant_specs:type_name -> android.media.performanceclass.requirements.RequirementSpec.VariantSpecsEntry 1033 2, // 8: android.media.performanceclass.requirements.RequiredMeasurement.measurement_type:type_name -> android.media.performanceclass.requirements.MeasurementType 1034 1, // 9: android.media.performanceclass.requirements.RequiredMeasurement.comparison:type_name -> android.media.performanceclass.requirements.Comparison 1035 15, // 10: android.media.performanceclass.requirements.VariantSpec.required_values:type_name -> android.media.performanceclass.requirements.VariantSpec.RequiredValuesEntry 1036 5, // 11: android.media.performanceclass.requirements.Requirement.SpecsEntry.value:type_name -> android.media.performanceclass.requirements.RequirementSpec 1037 6, // 12: android.media.performanceclass.requirements.Requirement.MeasurementsEntry.value:type_name -> android.media.performanceclass.requirements.RequiredMeasurement 1038 8, // 13: android.media.performanceclass.requirements.Requirement.VariantsEntry.value:type_name -> android.media.performanceclass.requirements.Variant 1039 7, // 14: android.media.performanceclass.requirements.RequirementSpec.RequiredValuesEntry.value:type_name -> android.media.performanceclass.requirements.RequiredValue 1040 9, // 15: android.media.performanceclass.requirements.RequirementSpec.VariantSpecsEntry.value:type_name -> android.media.performanceclass.requirements.VariantSpec 1041 7, // 16: android.media.performanceclass.requirements.VariantSpec.RequiredValuesEntry.value:type_name -> android.media.performanceclass.requirements.RequiredValue 1042 17, // [17:17] is the sub-list for method output_type 1043 17, // [17:17] is the sub-list for method input_type 1044 17, // [17:17] is the sub-list for extension type_name 1045 17, // [17:17] is the sub-list for extension extendee 1046 0, // [0:17] is the sub-list for field type_name 1047} 1048 1049func init() { file_cts_tests_mediapc_requirements_requirements_proto_init() } 1050func file_cts_tests_mediapc_requirements_requirements_proto_init() { 1051 if File_cts_tests_mediapc_requirements_requirements_proto != nil { 1052 return 1053 } 1054 if !protoimpl.UnsafeEnabled { 1055 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1056 switch v := v.(*RequirementList); i { 1057 case 0: 1058 return &v.state 1059 case 1: 1060 return &v.sizeCache 1061 case 2: 1062 return &v.unknownFields 1063 default: 1064 return nil 1065 } 1066 } 1067 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1068 switch v := v.(*Requirement); i { 1069 case 0: 1070 return &v.state 1071 case 1: 1072 return &v.sizeCache 1073 case 2: 1074 return &v.unknownFields 1075 default: 1076 return nil 1077 } 1078 } 1079 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1080 switch v := v.(*RequirementSpec); i { 1081 case 0: 1082 return &v.state 1083 case 1: 1084 return &v.sizeCache 1085 case 2: 1086 return &v.unknownFields 1087 default: 1088 return nil 1089 } 1090 } 1091 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1092 switch v := v.(*RequiredMeasurement); i { 1093 case 0: 1094 return &v.state 1095 case 1: 1096 return &v.sizeCache 1097 case 2: 1098 return &v.unknownFields 1099 default: 1100 return nil 1101 } 1102 } 1103 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1104 switch v := v.(*RequiredValue); i { 1105 case 0: 1106 return &v.state 1107 case 1: 1108 return &v.sizeCache 1109 case 2: 1110 return &v.unknownFields 1111 default: 1112 return nil 1113 } 1114 } 1115 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1116 switch v := v.(*Variant); i { 1117 case 0: 1118 return &v.state 1119 case 1: 1120 return &v.sizeCache 1121 case 2: 1122 return &v.unknownFields 1123 default: 1124 return nil 1125 } 1126 } 1127 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1128 switch v := v.(*VariantSpec); i { 1129 case 0: 1130 return &v.state 1131 case 1: 1132 return &v.sizeCache 1133 case 2: 1134 return &v.unknownFields 1135 default: 1136 return nil 1137 } 1138 } 1139 } 1140 file_cts_tests_mediapc_requirements_requirements_proto_msgTypes[4].OneofWrappers = []interface{}{ 1141 (*RequiredValue_StringValue)(nil), 1142 (*RequiredValue_IntValue)(nil), 1143 (*RequiredValue_DoubleValue)(nil), 1144 (*RequiredValue_BoolValue)(nil), 1145 (*RequiredValue_LongValue)(nil), 1146 } 1147 type x struct{} 1148 out := protoimpl.TypeBuilder{ 1149 File: protoimpl.DescBuilder{ 1150 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1151 RawDescriptor: file_cts_tests_mediapc_requirements_requirements_proto_rawDesc, 1152 NumEnums: 3, 1153 NumMessages: 13, 1154 NumExtensions: 0, 1155 NumServices: 0, 1156 }, 1157 GoTypes: file_cts_tests_mediapc_requirements_requirements_proto_goTypes, 1158 DependencyIndexes: file_cts_tests_mediapc_requirements_requirements_proto_depIdxs, 1159 EnumInfos: file_cts_tests_mediapc_requirements_requirements_proto_enumTypes, 1160 MessageInfos: file_cts_tests_mediapc_requirements_requirements_proto_msgTypes, 1161 }.Build() 1162 File_cts_tests_mediapc_requirements_requirements_proto = out.File 1163 file_cts_tests_mediapc_requirements_requirements_proto_rawDesc = nil 1164 file_cts_tests_mediapc_requirements_requirements_proto_goTypes = nil 1165 file_cts_tests_mediapc_requirements_requirements_proto_depIdxs = nil 1166} 1167