1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: proto/VtsReportMessage.proto 3 4 package com.android.vts.proto; 5 6 public final class VtsReportMessage { VtsReportMessage()7 private VtsReportMessage() {} registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry)8 public static void registerAllExtensions( 9 com.google.protobuf.ExtensionRegistryLite registry) { 10 } 11 registerAllExtensions( com.google.protobuf.ExtensionRegistry registry)12 public static void registerAllExtensions( 13 com.google.protobuf.ExtensionRegistry registry) { 14 registerAllExtensions( 15 (com.google.protobuf.ExtensionRegistryLite) registry); 16 } 17 /** 18 * <pre> 19 * To specify test case execution result. 20 * </pre> 21 * 22 * Protobuf enum {@code android.vts.TestCaseResult} 23 */ 24 public enum TestCaseResult 25 implements com.google.protobuf.ProtocolMessageEnum { 26 /** 27 * <code>UNKNOWN_RESULT = 0;</code> 28 */ 29 UNKNOWN_RESULT(0), 30 /** 31 * <code>TEST_CASE_RESULT_PASS = 1;</code> 32 */ 33 TEST_CASE_RESULT_PASS(1), 34 /** 35 * <code>TEST_CASE_RESULT_FAIL = 2;</code> 36 */ 37 TEST_CASE_RESULT_FAIL(2), 38 /** 39 * <code>TEST_CASE_RESULT_SKIP = 3;</code> 40 */ 41 TEST_CASE_RESULT_SKIP(3), 42 /** 43 * <code>TEST_CASE_RESULT_EXCEPTION = 4;</code> 44 */ 45 TEST_CASE_RESULT_EXCEPTION(4), 46 /** 47 * <code>TEST_CASE_RESULT_TIMEOUT = 5;</code> 48 */ 49 TEST_CASE_RESULT_TIMEOUT(5), 50 ; 51 52 /** 53 * <code>UNKNOWN_RESULT = 0;</code> 54 */ 55 public static final int UNKNOWN_RESULT_VALUE = 0; 56 /** 57 * <code>TEST_CASE_RESULT_PASS = 1;</code> 58 */ 59 public static final int TEST_CASE_RESULT_PASS_VALUE = 1; 60 /** 61 * <code>TEST_CASE_RESULT_FAIL = 2;</code> 62 */ 63 public static final int TEST_CASE_RESULT_FAIL_VALUE = 2; 64 /** 65 * <code>TEST_CASE_RESULT_SKIP = 3;</code> 66 */ 67 public static final int TEST_CASE_RESULT_SKIP_VALUE = 3; 68 /** 69 * <code>TEST_CASE_RESULT_EXCEPTION = 4;</code> 70 */ 71 public static final int TEST_CASE_RESULT_EXCEPTION_VALUE = 4; 72 /** 73 * <code>TEST_CASE_RESULT_TIMEOUT = 5;</code> 74 */ 75 public static final int TEST_CASE_RESULT_TIMEOUT_VALUE = 5; 76 77 getNumber()78 public final int getNumber() { 79 return value; 80 } 81 82 /** 83 * @deprecated Use {@link #forNumber(int)} instead. 84 */ 85 @java.lang.Deprecated valueOf(int value)86 public static TestCaseResult valueOf(int value) { 87 return forNumber(value); 88 } 89 forNumber(int value)90 public static TestCaseResult forNumber(int value) { 91 switch (value) { 92 case 0: return UNKNOWN_RESULT; 93 case 1: return TEST_CASE_RESULT_PASS; 94 case 2: return TEST_CASE_RESULT_FAIL; 95 case 3: return TEST_CASE_RESULT_SKIP; 96 case 4: return TEST_CASE_RESULT_EXCEPTION; 97 case 5: return TEST_CASE_RESULT_TIMEOUT; 98 default: return null; 99 } 100 } 101 102 public static com.google.protobuf.Internal.EnumLiteMap<TestCaseResult> internalGetValueMap()103 internalGetValueMap() { 104 return internalValueMap; 105 } 106 private static final com.google.protobuf.Internal.EnumLiteMap< 107 TestCaseResult> internalValueMap = 108 new com.google.protobuf.Internal.EnumLiteMap<TestCaseResult>() { 109 public TestCaseResult findValueByNumber(int number) { 110 return TestCaseResult.forNumber(number); 111 } 112 }; 113 114 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()115 getValueDescriptor() { 116 return getDescriptor().getValues().get(ordinal()); 117 } 118 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()119 getDescriptorForType() { 120 return getDescriptor(); 121 } 122 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()123 getDescriptor() { 124 return com.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(0); 125 } 126 127 private static final TestCaseResult[] VALUES = values(); 128 valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc)129 public static TestCaseResult valueOf( 130 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 131 if (desc.getType() != getDescriptor()) { 132 throw new java.lang.IllegalArgumentException( 133 "EnumValueDescriptor is not for this type."); 134 } 135 return VALUES[desc.getIndex()]; 136 } 137 138 private final int value; 139 TestCaseResult(int value)140 private TestCaseResult(int value) { 141 this.value = value; 142 } 143 144 // @@protoc_insertion_point(enum_scope:android.vts.TestCaseResult) 145 } 146 147 /** 148 * <pre> 149 * To specify the VTS test type. 150 * </pre> 151 * 152 * Protobuf enum {@code android.vts.VtsTestType} 153 */ 154 public enum VtsTestType 155 implements com.google.protobuf.ProtocolMessageEnum { 156 /** 157 * <code>UNKNOWN_VTS_TESTTYPE = 0;</code> 158 */ 159 UNKNOWN_VTS_TESTTYPE(0), 160 /** 161 * <code>VTS_HOST_DRIVEN_STRUCTURAL = 1;</code> 162 */ 163 VTS_HOST_DRIVEN_STRUCTURAL(1), 164 /** 165 * <code>VTS_HOST_DRIVEN_FUZZING = 2;</code> 166 */ 167 VTS_HOST_DRIVEN_FUZZING(2), 168 /** 169 * <code>VTS_TARGET_SIDE_GTEST = 3;</code> 170 */ 171 VTS_TARGET_SIDE_GTEST(3), 172 /** 173 * <code>VTS_TARGET_SIDE_FUZZING = 4;</code> 174 */ 175 VTS_TARGET_SIDE_FUZZING(4), 176 ; 177 178 /** 179 * <code>UNKNOWN_VTS_TESTTYPE = 0;</code> 180 */ 181 public static final int UNKNOWN_VTS_TESTTYPE_VALUE = 0; 182 /** 183 * <code>VTS_HOST_DRIVEN_STRUCTURAL = 1;</code> 184 */ 185 public static final int VTS_HOST_DRIVEN_STRUCTURAL_VALUE = 1; 186 /** 187 * <code>VTS_HOST_DRIVEN_FUZZING = 2;</code> 188 */ 189 public static final int VTS_HOST_DRIVEN_FUZZING_VALUE = 2; 190 /** 191 * <code>VTS_TARGET_SIDE_GTEST = 3;</code> 192 */ 193 public static final int VTS_TARGET_SIDE_GTEST_VALUE = 3; 194 /** 195 * <code>VTS_TARGET_SIDE_FUZZING = 4;</code> 196 */ 197 public static final int VTS_TARGET_SIDE_FUZZING_VALUE = 4; 198 199 getNumber()200 public final int getNumber() { 201 return value; 202 } 203 204 /** 205 * @deprecated Use {@link #forNumber(int)} instead. 206 */ 207 @java.lang.Deprecated valueOf(int value)208 public static VtsTestType valueOf(int value) { 209 return forNumber(value); 210 } 211 forNumber(int value)212 public static VtsTestType forNumber(int value) { 213 switch (value) { 214 case 0: return UNKNOWN_VTS_TESTTYPE; 215 case 1: return VTS_HOST_DRIVEN_STRUCTURAL; 216 case 2: return VTS_HOST_DRIVEN_FUZZING; 217 case 3: return VTS_TARGET_SIDE_GTEST; 218 case 4: return VTS_TARGET_SIDE_FUZZING; 219 default: return null; 220 } 221 } 222 223 public static com.google.protobuf.Internal.EnumLiteMap<VtsTestType> internalGetValueMap()224 internalGetValueMap() { 225 return internalValueMap; 226 } 227 private static final com.google.protobuf.Internal.EnumLiteMap< 228 VtsTestType> internalValueMap = 229 new com.google.protobuf.Internal.EnumLiteMap<VtsTestType>() { 230 public VtsTestType findValueByNumber(int number) { 231 return VtsTestType.forNumber(number); 232 } 233 }; 234 235 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()236 getValueDescriptor() { 237 return getDescriptor().getValues().get(ordinal()); 238 } 239 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()240 getDescriptorForType() { 241 return getDescriptor(); 242 } 243 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()244 getDescriptor() { 245 return com.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(1); 246 } 247 248 private static final VtsTestType[] VALUES = values(); 249 valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc)250 public static VtsTestType valueOf( 251 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 252 if (desc.getType() != getDescriptor()) { 253 throw new java.lang.IllegalArgumentException( 254 "EnumValueDescriptor is not for this type."); 255 } 256 return VALUES[desc.getIndex()]; 257 } 258 259 private final int value; 260 VtsTestType(int value)261 private VtsTestType(int value) { 262 this.value = value; 263 } 264 265 // @@protoc_insertion_point(enum_scope:android.vts.VtsTestType) 266 } 267 268 /** 269 * Protobuf enum {@code android.vts.VtsProfilingRegressionMode} 270 */ 271 public enum VtsProfilingRegressionMode 272 implements com.google.protobuf.ProtocolMessageEnum { 273 /** 274 * <code>UNKNOWN_REGRESSION_MODE = 0;</code> 275 */ 276 UNKNOWN_REGRESSION_MODE(0), 277 /** 278 * <pre> 279 * disable analysis 280 * </pre> 281 * 282 * <code>VTS_REGRESSION_MODE_DISABLED = 1;</code> 283 */ 284 VTS_REGRESSION_MODE_DISABLED(1), 285 /** 286 * <pre> 287 * interpret increases in values as regression 288 * </pre> 289 * 290 * <code>VTS_REGRESSION_MODE_INCREASING = 2;</code> 291 */ 292 VTS_REGRESSION_MODE_INCREASING(2), 293 /** 294 * <pre> 295 * interpret decreases in values as regression 296 * </pre> 297 * 298 * <code>VTS_REGRESSION_MODE_DECREASING = 3;</code> 299 */ 300 VTS_REGRESSION_MODE_DECREASING(3), 301 ; 302 303 /** 304 * <code>UNKNOWN_REGRESSION_MODE = 0;</code> 305 */ 306 public static final int UNKNOWN_REGRESSION_MODE_VALUE = 0; 307 /** 308 * <pre> 309 * disable analysis 310 * </pre> 311 * 312 * <code>VTS_REGRESSION_MODE_DISABLED = 1;</code> 313 */ 314 public static final int VTS_REGRESSION_MODE_DISABLED_VALUE = 1; 315 /** 316 * <pre> 317 * interpret increases in values as regression 318 * </pre> 319 * 320 * <code>VTS_REGRESSION_MODE_INCREASING = 2;</code> 321 */ 322 public static final int VTS_REGRESSION_MODE_INCREASING_VALUE = 2; 323 /** 324 * <pre> 325 * interpret decreases in values as regression 326 * </pre> 327 * 328 * <code>VTS_REGRESSION_MODE_DECREASING = 3;</code> 329 */ 330 public static final int VTS_REGRESSION_MODE_DECREASING_VALUE = 3; 331 332 getNumber()333 public final int getNumber() { 334 return value; 335 } 336 337 /** 338 * @deprecated Use {@link #forNumber(int)} instead. 339 */ 340 @java.lang.Deprecated valueOf(int value)341 public static VtsProfilingRegressionMode valueOf(int value) { 342 return forNumber(value); 343 } 344 forNumber(int value)345 public static VtsProfilingRegressionMode forNumber(int value) { 346 switch (value) { 347 case 0: return UNKNOWN_REGRESSION_MODE; 348 case 1: return VTS_REGRESSION_MODE_DISABLED; 349 case 2: return VTS_REGRESSION_MODE_INCREASING; 350 case 3: return VTS_REGRESSION_MODE_DECREASING; 351 default: return null; 352 } 353 } 354 355 public static com.google.protobuf.Internal.EnumLiteMap<VtsProfilingRegressionMode> internalGetValueMap()356 internalGetValueMap() { 357 return internalValueMap; 358 } 359 private static final com.google.protobuf.Internal.EnumLiteMap< 360 VtsProfilingRegressionMode> internalValueMap = 361 new com.google.protobuf.Internal.EnumLiteMap<VtsProfilingRegressionMode>() { 362 public VtsProfilingRegressionMode findValueByNumber(int number) { 363 return VtsProfilingRegressionMode.forNumber(number); 364 } 365 }; 366 367 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()368 getValueDescriptor() { 369 return getDescriptor().getValues().get(ordinal()); 370 } 371 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()372 getDescriptorForType() { 373 return getDescriptor(); 374 } 375 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()376 getDescriptor() { 377 return com.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(2); 378 } 379 380 private static final VtsProfilingRegressionMode[] VALUES = values(); 381 valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc)382 public static VtsProfilingRegressionMode valueOf( 383 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 384 if (desc.getType() != getDescriptor()) { 385 throw new java.lang.IllegalArgumentException( 386 "EnumValueDescriptor is not for this type."); 387 } 388 return VALUES[desc.getIndex()]; 389 } 390 391 private final int value; 392 VtsProfilingRegressionMode(int value)393 private VtsProfilingRegressionMode(int value) { 394 this.value = value; 395 } 396 397 // @@protoc_insertion_point(enum_scope:android.vts.VtsProfilingRegressionMode) 398 } 399 400 /** 401 * Protobuf enum {@code android.vts.VtsProfilingType} 402 */ 403 public enum VtsProfilingType 404 implements com.google.protobuf.ProtocolMessageEnum { 405 /** 406 * <code>UNKNOWN_VTS_PROFILING_TYPE = 0;</code> 407 */ 408 UNKNOWN_VTS_PROFILING_TYPE(0), 409 /** 410 * <pre> 411 * for one sample which measures the time between two profiling points. 412 * </pre> 413 * 414 * <code>VTS_PROFILING_TYPE_TIMESTAMP = 1;</code> 415 */ 416 VTS_PROFILING_TYPE_TIMESTAMP(1), 417 /** 418 * <pre> 419 * for multiple single-type samples with labels. 420 * </pre> 421 * 422 * <code>VTS_PROFILING_TYPE_LABELED_VECTOR = 2;</code> 423 */ 424 VTS_PROFILING_TYPE_LABELED_VECTOR(2), 425 /** 426 * <pre> 427 * for multiple single-type samples without labels. 428 * </pre> 429 * 430 * <code>VTS_PROFILING_TYPE_UNLABELED_VECTOR = 3;</code> 431 */ 432 VTS_PROFILING_TYPE_UNLABELED_VECTOR(3), 433 ; 434 435 /** 436 * <code>UNKNOWN_VTS_PROFILING_TYPE = 0;</code> 437 */ 438 public static final int UNKNOWN_VTS_PROFILING_TYPE_VALUE = 0; 439 /** 440 * <pre> 441 * for one sample which measures the time between two profiling points. 442 * </pre> 443 * 444 * <code>VTS_PROFILING_TYPE_TIMESTAMP = 1;</code> 445 */ 446 public static final int VTS_PROFILING_TYPE_TIMESTAMP_VALUE = 1; 447 /** 448 * <pre> 449 * for multiple single-type samples with labels. 450 * </pre> 451 * 452 * <code>VTS_PROFILING_TYPE_LABELED_VECTOR = 2;</code> 453 */ 454 public static final int VTS_PROFILING_TYPE_LABELED_VECTOR_VALUE = 2; 455 /** 456 * <pre> 457 * for multiple single-type samples without labels. 458 * </pre> 459 * 460 * <code>VTS_PROFILING_TYPE_UNLABELED_VECTOR = 3;</code> 461 */ 462 public static final int VTS_PROFILING_TYPE_UNLABELED_VECTOR_VALUE = 3; 463 464 getNumber()465 public final int getNumber() { 466 return value; 467 } 468 469 /** 470 * @deprecated Use {@link #forNumber(int)} instead. 471 */ 472 @java.lang.Deprecated valueOf(int value)473 public static VtsProfilingType valueOf(int value) { 474 return forNumber(value); 475 } 476 forNumber(int value)477 public static VtsProfilingType forNumber(int value) { 478 switch (value) { 479 case 0: return UNKNOWN_VTS_PROFILING_TYPE; 480 case 1: return VTS_PROFILING_TYPE_TIMESTAMP; 481 case 2: return VTS_PROFILING_TYPE_LABELED_VECTOR; 482 case 3: return VTS_PROFILING_TYPE_UNLABELED_VECTOR; 483 default: return null; 484 } 485 } 486 487 public static com.google.protobuf.Internal.EnumLiteMap<VtsProfilingType> internalGetValueMap()488 internalGetValueMap() { 489 return internalValueMap; 490 } 491 private static final com.google.protobuf.Internal.EnumLiteMap< 492 VtsProfilingType> internalValueMap = 493 new com.google.protobuf.Internal.EnumLiteMap<VtsProfilingType>() { 494 public VtsProfilingType findValueByNumber(int number) { 495 return VtsProfilingType.forNumber(number); 496 } 497 }; 498 499 public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()500 getValueDescriptor() { 501 return getDescriptor().getValues().get(ordinal()); 502 } 503 public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()504 getDescriptorForType() { 505 return getDescriptor(); 506 } 507 public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()508 getDescriptor() { 509 return com.android.vts.proto.VtsReportMessage.getDescriptor().getEnumTypes().get(3); 510 } 511 512 private static final VtsProfilingType[] VALUES = values(); 513 valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc)514 public static VtsProfilingType valueOf( 515 com.google.protobuf.Descriptors.EnumValueDescriptor desc) { 516 if (desc.getType() != getDescriptor()) { 517 throw new java.lang.IllegalArgumentException( 518 "EnumValueDescriptor is not for this type."); 519 } 520 return VALUES[desc.getIndex()]; 521 } 522 523 private final int value; 524 VtsProfilingType(int value)525 private VtsProfilingType(int value) { 526 this.value = value; 527 } 528 529 // @@protoc_insertion_point(enum_scope:android.vts.VtsProfilingType) 530 } 531 532 public interface AndroidDeviceInfoMessageOrBuilder extends 533 // @@protoc_insertion_point(interface_extends:android.vts.AndroidDeviceInfoMessage) 534 com.google.protobuf.MessageOrBuilder { 535 536 /** 537 * <pre> 538 * product type (e.g., bullhead). 539 * </pre> 540 * 541 * <code>optional bytes product_type = 1;</code> 542 */ hasProductType()543 boolean hasProductType(); 544 /** 545 * <pre> 546 * product type (e.g., bullhead). 547 * </pre> 548 * 549 * <code>optional bytes product_type = 1;</code> 550 */ getProductType()551 com.google.protobuf.ByteString getProductType(); 552 553 /** 554 * <pre> 555 * product type variant (e.g., still bullhead or another name). 556 * </pre> 557 * 558 * <code>optional bytes product_variant = 2;</code> 559 */ hasProductVariant()560 boolean hasProductVariant(); 561 /** 562 * <pre> 563 * product type variant (e.g., still bullhead or another name). 564 * </pre> 565 * 566 * <code>optional bytes product_variant = 2;</code> 567 */ getProductVariant()568 com.google.protobuf.ByteString getProductVariant(); 569 570 /** 571 * <pre> 572 * build type (e.g., userdebug). 573 * </pre> 574 * 575 * <code>optional bytes build_flavor = 11;</code> 576 */ hasBuildFlavor()577 boolean hasBuildFlavor(); 578 /** 579 * <pre> 580 * build type (e.g., userdebug). 581 * </pre> 582 * 583 * <code>optional bytes build_flavor = 11;</code> 584 */ getBuildFlavor()585 com.google.protobuf.ByteString getBuildFlavor(); 586 587 /** 588 * <pre> 589 * Android Build ID. 590 * </pre> 591 * 592 * <code>optional bytes build_id = 12;</code> 593 */ hasBuildId()594 boolean hasBuildId(); 595 /** 596 * <pre> 597 * Android Build ID. 598 * </pre> 599 * 600 * <code>optional bytes build_id = 12;</code> 601 */ getBuildId()602 com.google.protobuf.ByteString getBuildId(); 603 604 /** 605 * <pre> 606 * branch name (e.g., master or nyc-dev). 607 * </pre> 608 * 609 * <code>optional bytes branch = 21;</code> 610 */ hasBranch()611 boolean hasBranch(); 612 /** 613 * <pre> 614 * branch name (e.g., master or nyc-dev). 615 * </pre> 616 * 617 * <code>optional bytes branch = 21;</code> 618 */ getBranch()619 com.google.protobuf.ByteString getBranch(); 620 621 /** 622 * <pre> 623 * build alias implies the branch name. 624 * </pre> 625 * 626 * <code>optional bytes build_alias = 22;</code> 627 */ hasBuildAlias()628 boolean hasBuildAlias(); 629 /** 630 * <pre> 631 * build alias implies the branch name. 632 * </pre> 633 * 634 * <code>optional bytes build_alias = 22;</code> 635 */ getBuildAlias()636 com.google.protobuf.ByteString getBuildAlias(); 637 638 /** 639 * <pre> 640 * API level 641 * </pre> 642 * 643 * <code>optional bytes api_level = 31;</code> 644 */ hasApiLevel()645 boolean hasApiLevel(); 646 /** 647 * <pre> 648 * API level 649 * </pre> 650 * 651 * <code>optional bytes api_level = 31;</code> 652 */ getApiLevel()653 com.google.protobuf.ByteString getApiLevel(); 654 655 /** 656 * <pre> 657 * ABI name that is current in use for the test 658 * </pre> 659 * 660 * <code>optional bytes abi_name = 51;</code> 661 */ hasAbiName()662 boolean hasAbiName(); 663 /** 664 * <pre> 665 * ABI name that is current in use for the test 666 * </pre> 667 * 668 * <code>optional bytes abi_name = 51;</code> 669 */ getAbiName()670 com.google.protobuf.ByteString getAbiName(); 671 672 /** 673 * <pre> 674 * ABI bitness that is current in use for the test. Example: '32', '64', 675 * </pre> 676 * 677 * <code>optional bytes abi_bitness = 52;</code> 678 */ hasAbiBitness()679 boolean hasAbiBitness(); 680 /** 681 * <pre> 682 * ABI bitness that is current in use for the test. Example: '32', '64', 683 * </pre> 684 * 685 * <code>optional bytes abi_bitness = 52;</code> 686 */ getAbiBitness()687 com.google.protobuf.ByteString getAbiBitness(); 688 689 /** 690 * <pre> 691 * Device USB serial number 692 * </pre> 693 * 694 * <code>optional bytes serial = 101;</code> 695 */ hasSerial()696 boolean hasSerial(); 697 /** 698 * <pre> 699 * Device USB serial number 700 * </pre> 701 * 702 * <code>optional bytes serial = 101;</code> 703 */ getSerial()704 com.google.protobuf.ByteString getSerial(); 705 } 706 /** 707 * <pre> 708 * To specify a call flow event. 709 * </pre> 710 * 711 * Protobuf type {@code android.vts.AndroidDeviceInfoMessage} 712 */ 713 public static final class AndroidDeviceInfoMessage extends 714 com.google.protobuf.GeneratedMessageV3 implements 715 // @@protoc_insertion_point(message_implements:android.vts.AndroidDeviceInfoMessage) 716 AndroidDeviceInfoMessageOrBuilder { 717 // Use AndroidDeviceInfoMessage.newBuilder() to construct. AndroidDeviceInfoMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)718 private AndroidDeviceInfoMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 719 super(builder); 720 } AndroidDeviceInfoMessage()721 private AndroidDeviceInfoMessage() { 722 productType_ = com.google.protobuf.ByteString.EMPTY; 723 productVariant_ = com.google.protobuf.ByteString.EMPTY; 724 buildFlavor_ = com.google.protobuf.ByteString.EMPTY; 725 buildId_ = com.google.protobuf.ByteString.EMPTY; 726 branch_ = com.google.protobuf.ByteString.EMPTY; 727 buildAlias_ = com.google.protobuf.ByteString.EMPTY; 728 apiLevel_ = com.google.protobuf.ByteString.EMPTY; 729 abiName_ = com.google.protobuf.ByteString.EMPTY; 730 abiBitness_ = com.google.protobuf.ByteString.EMPTY; 731 serial_ = com.google.protobuf.ByteString.EMPTY; 732 } 733 734 @java.lang.Override 735 public final com.google.protobuf.UnknownFieldSet getUnknownFields()736 getUnknownFields() { 737 return this.unknownFields; 738 } AndroidDeviceInfoMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)739 private AndroidDeviceInfoMessage( 740 com.google.protobuf.CodedInputStream input, 741 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 742 throws com.google.protobuf.InvalidProtocolBufferException { 743 this(); 744 int mutable_bitField0_ = 0; 745 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 746 com.google.protobuf.UnknownFieldSet.newBuilder(); 747 try { 748 boolean done = false; 749 while (!done) { 750 int tag = input.readTag(); 751 switch (tag) { 752 case 0: 753 done = true; 754 break; 755 default: { 756 if (!parseUnknownField(input, unknownFields, 757 extensionRegistry, tag)) { 758 done = true; 759 } 760 break; 761 } 762 case 10: { 763 bitField0_ |= 0x00000001; 764 productType_ = input.readBytes(); 765 break; 766 } 767 case 18: { 768 bitField0_ |= 0x00000002; 769 productVariant_ = input.readBytes(); 770 break; 771 } 772 case 90: { 773 bitField0_ |= 0x00000004; 774 buildFlavor_ = input.readBytes(); 775 break; 776 } 777 case 98: { 778 bitField0_ |= 0x00000008; 779 buildId_ = input.readBytes(); 780 break; 781 } 782 case 170: { 783 bitField0_ |= 0x00000010; 784 branch_ = input.readBytes(); 785 break; 786 } 787 case 178: { 788 bitField0_ |= 0x00000020; 789 buildAlias_ = input.readBytes(); 790 break; 791 } 792 case 250: { 793 bitField0_ |= 0x00000040; 794 apiLevel_ = input.readBytes(); 795 break; 796 } 797 case 410: { 798 bitField0_ |= 0x00000080; 799 abiName_ = input.readBytes(); 800 break; 801 } 802 case 418: { 803 bitField0_ |= 0x00000100; 804 abiBitness_ = input.readBytes(); 805 break; 806 } 807 case 810: { 808 bitField0_ |= 0x00000200; 809 serial_ = input.readBytes(); 810 break; 811 } 812 } 813 } 814 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 815 throw e.setUnfinishedMessage(this); 816 } catch (java.io.IOException e) { 817 throw new com.google.protobuf.InvalidProtocolBufferException( 818 e).setUnfinishedMessage(this); 819 } finally { 820 this.unknownFields = unknownFields.build(); 821 makeExtensionsImmutable(); 822 } 823 } 824 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()825 getDescriptor() { 826 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_descriptor; 827 } 828 829 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()830 internalGetFieldAccessorTable() { 831 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_fieldAccessorTable 832 .ensureFieldAccessorsInitialized( 833 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.class, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder.class); 834 } 835 836 private int bitField0_; 837 public static final int PRODUCT_TYPE_FIELD_NUMBER = 1; 838 private com.google.protobuf.ByteString productType_; 839 /** 840 * <pre> 841 * product type (e.g., bullhead). 842 * </pre> 843 * 844 * <code>optional bytes product_type = 1;</code> 845 */ hasProductType()846 public boolean hasProductType() { 847 return ((bitField0_ & 0x00000001) == 0x00000001); 848 } 849 /** 850 * <pre> 851 * product type (e.g., bullhead). 852 * </pre> 853 * 854 * <code>optional bytes product_type = 1;</code> 855 */ getProductType()856 public com.google.protobuf.ByteString getProductType() { 857 return productType_; 858 } 859 860 public static final int PRODUCT_VARIANT_FIELD_NUMBER = 2; 861 private com.google.protobuf.ByteString productVariant_; 862 /** 863 * <pre> 864 * product type variant (e.g., still bullhead or another name). 865 * </pre> 866 * 867 * <code>optional bytes product_variant = 2;</code> 868 */ hasProductVariant()869 public boolean hasProductVariant() { 870 return ((bitField0_ & 0x00000002) == 0x00000002); 871 } 872 /** 873 * <pre> 874 * product type variant (e.g., still bullhead or another name). 875 * </pre> 876 * 877 * <code>optional bytes product_variant = 2;</code> 878 */ getProductVariant()879 public com.google.protobuf.ByteString getProductVariant() { 880 return productVariant_; 881 } 882 883 public static final int BUILD_FLAVOR_FIELD_NUMBER = 11; 884 private com.google.protobuf.ByteString buildFlavor_; 885 /** 886 * <pre> 887 * build type (e.g., userdebug). 888 * </pre> 889 * 890 * <code>optional bytes build_flavor = 11;</code> 891 */ hasBuildFlavor()892 public boolean hasBuildFlavor() { 893 return ((bitField0_ & 0x00000004) == 0x00000004); 894 } 895 /** 896 * <pre> 897 * build type (e.g., userdebug). 898 * </pre> 899 * 900 * <code>optional bytes build_flavor = 11;</code> 901 */ getBuildFlavor()902 public com.google.protobuf.ByteString getBuildFlavor() { 903 return buildFlavor_; 904 } 905 906 public static final int BUILD_ID_FIELD_NUMBER = 12; 907 private com.google.protobuf.ByteString buildId_; 908 /** 909 * <pre> 910 * Android Build ID. 911 * </pre> 912 * 913 * <code>optional bytes build_id = 12;</code> 914 */ hasBuildId()915 public boolean hasBuildId() { 916 return ((bitField0_ & 0x00000008) == 0x00000008); 917 } 918 /** 919 * <pre> 920 * Android Build ID. 921 * </pre> 922 * 923 * <code>optional bytes build_id = 12;</code> 924 */ getBuildId()925 public com.google.protobuf.ByteString getBuildId() { 926 return buildId_; 927 } 928 929 public static final int BRANCH_FIELD_NUMBER = 21; 930 private com.google.protobuf.ByteString branch_; 931 /** 932 * <pre> 933 * branch name (e.g., master or nyc-dev). 934 * </pre> 935 * 936 * <code>optional bytes branch = 21;</code> 937 */ hasBranch()938 public boolean hasBranch() { 939 return ((bitField0_ & 0x00000010) == 0x00000010); 940 } 941 /** 942 * <pre> 943 * branch name (e.g., master or nyc-dev). 944 * </pre> 945 * 946 * <code>optional bytes branch = 21;</code> 947 */ getBranch()948 public com.google.protobuf.ByteString getBranch() { 949 return branch_; 950 } 951 952 public static final int BUILD_ALIAS_FIELD_NUMBER = 22; 953 private com.google.protobuf.ByteString buildAlias_; 954 /** 955 * <pre> 956 * build alias implies the branch name. 957 * </pre> 958 * 959 * <code>optional bytes build_alias = 22;</code> 960 */ hasBuildAlias()961 public boolean hasBuildAlias() { 962 return ((bitField0_ & 0x00000020) == 0x00000020); 963 } 964 /** 965 * <pre> 966 * build alias implies the branch name. 967 * </pre> 968 * 969 * <code>optional bytes build_alias = 22;</code> 970 */ getBuildAlias()971 public com.google.protobuf.ByteString getBuildAlias() { 972 return buildAlias_; 973 } 974 975 public static final int API_LEVEL_FIELD_NUMBER = 31; 976 private com.google.protobuf.ByteString apiLevel_; 977 /** 978 * <pre> 979 * API level 980 * </pre> 981 * 982 * <code>optional bytes api_level = 31;</code> 983 */ hasApiLevel()984 public boolean hasApiLevel() { 985 return ((bitField0_ & 0x00000040) == 0x00000040); 986 } 987 /** 988 * <pre> 989 * API level 990 * </pre> 991 * 992 * <code>optional bytes api_level = 31;</code> 993 */ getApiLevel()994 public com.google.protobuf.ByteString getApiLevel() { 995 return apiLevel_; 996 } 997 998 public static final int ABI_NAME_FIELD_NUMBER = 51; 999 private com.google.protobuf.ByteString abiName_; 1000 /** 1001 * <pre> 1002 * ABI name that is current in use for the test 1003 * </pre> 1004 * 1005 * <code>optional bytes abi_name = 51;</code> 1006 */ hasAbiName()1007 public boolean hasAbiName() { 1008 return ((bitField0_ & 0x00000080) == 0x00000080); 1009 } 1010 /** 1011 * <pre> 1012 * ABI name that is current in use for the test 1013 * </pre> 1014 * 1015 * <code>optional bytes abi_name = 51;</code> 1016 */ getAbiName()1017 public com.google.protobuf.ByteString getAbiName() { 1018 return abiName_; 1019 } 1020 1021 public static final int ABI_BITNESS_FIELD_NUMBER = 52; 1022 private com.google.protobuf.ByteString abiBitness_; 1023 /** 1024 * <pre> 1025 * ABI bitness that is current in use for the test. Example: '32', '64', 1026 * </pre> 1027 * 1028 * <code>optional bytes abi_bitness = 52;</code> 1029 */ hasAbiBitness()1030 public boolean hasAbiBitness() { 1031 return ((bitField0_ & 0x00000100) == 0x00000100); 1032 } 1033 /** 1034 * <pre> 1035 * ABI bitness that is current in use for the test. Example: '32', '64', 1036 * </pre> 1037 * 1038 * <code>optional bytes abi_bitness = 52;</code> 1039 */ getAbiBitness()1040 public com.google.protobuf.ByteString getAbiBitness() { 1041 return abiBitness_; 1042 } 1043 1044 public static final int SERIAL_FIELD_NUMBER = 101; 1045 private com.google.protobuf.ByteString serial_; 1046 /** 1047 * <pre> 1048 * Device USB serial number 1049 * </pre> 1050 * 1051 * <code>optional bytes serial = 101;</code> 1052 */ hasSerial()1053 public boolean hasSerial() { 1054 return ((bitField0_ & 0x00000200) == 0x00000200); 1055 } 1056 /** 1057 * <pre> 1058 * Device USB serial number 1059 * </pre> 1060 * 1061 * <code>optional bytes serial = 101;</code> 1062 */ getSerial()1063 public com.google.protobuf.ByteString getSerial() { 1064 return serial_; 1065 } 1066 1067 private byte memoizedIsInitialized = -1; isInitialized()1068 public final boolean isInitialized() { 1069 byte isInitialized = memoizedIsInitialized; 1070 if (isInitialized == 1) return true; 1071 if (isInitialized == 0) return false; 1072 1073 memoizedIsInitialized = 1; 1074 return true; 1075 } 1076 writeTo(com.google.protobuf.CodedOutputStream output)1077 public void writeTo(com.google.protobuf.CodedOutputStream output) 1078 throws java.io.IOException { 1079 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1080 output.writeBytes(1, productType_); 1081 } 1082 if (((bitField0_ & 0x00000002) == 0x00000002)) { 1083 output.writeBytes(2, productVariant_); 1084 } 1085 if (((bitField0_ & 0x00000004) == 0x00000004)) { 1086 output.writeBytes(11, buildFlavor_); 1087 } 1088 if (((bitField0_ & 0x00000008) == 0x00000008)) { 1089 output.writeBytes(12, buildId_); 1090 } 1091 if (((bitField0_ & 0x00000010) == 0x00000010)) { 1092 output.writeBytes(21, branch_); 1093 } 1094 if (((bitField0_ & 0x00000020) == 0x00000020)) { 1095 output.writeBytes(22, buildAlias_); 1096 } 1097 if (((bitField0_ & 0x00000040) == 0x00000040)) { 1098 output.writeBytes(31, apiLevel_); 1099 } 1100 if (((bitField0_ & 0x00000080) == 0x00000080)) { 1101 output.writeBytes(51, abiName_); 1102 } 1103 if (((bitField0_ & 0x00000100) == 0x00000100)) { 1104 output.writeBytes(52, abiBitness_); 1105 } 1106 if (((bitField0_ & 0x00000200) == 0x00000200)) { 1107 output.writeBytes(101, serial_); 1108 } 1109 unknownFields.writeTo(output); 1110 } 1111 getSerializedSize()1112 public int getSerializedSize() { 1113 int size = memoizedSize; 1114 if (size != -1) return size; 1115 1116 size = 0; 1117 if (((bitField0_ & 0x00000001) == 0x00000001)) { 1118 size += com.google.protobuf.CodedOutputStream 1119 .computeBytesSize(1, productType_); 1120 } 1121 if (((bitField0_ & 0x00000002) == 0x00000002)) { 1122 size += com.google.protobuf.CodedOutputStream 1123 .computeBytesSize(2, productVariant_); 1124 } 1125 if (((bitField0_ & 0x00000004) == 0x00000004)) { 1126 size += com.google.protobuf.CodedOutputStream 1127 .computeBytesSize(11, buildFlavor_); 1128 } 1129 if (((bitField0_ & 0x00000008) == 0x00000008)) { 1130 size += com.google.protobuf.CodedOutputStream 1131 .computeBytesSize(12, buildId_); 1132 } 1133 if (((bitField0_ & 0x00000010) == 0x00000010)) { 1134 size += com.google.protobuf.CodedOutputStream 1135 .computeBytesSize(21, branch_); 1136 } 1137 if (((bitField0_ & 0x00000020) == 0x00000020)) { 1138 size += com.google.protobuf.CodedOutputStream 1139 .computeBytesSize(22, buildAlias_); 1140 } 1141 if (((bitField0_ & 0x00000040) == 0x00000040)) { 1142 size += com.google.protobuf.CodedOutputStream 1143 .computeBytesSize(31, apiLevel_); 1144 } 1145 if (((bitField0_ & 0x00000080) == 0x00000080)) { 1146 size += com.google.protobuf.CodedOutputStream 1147 .computeBytesSize(51, abiName_); 1148 } 1149 if (((bitField0_ & 0x00000100) == 0x00000100)) { 1150 size += com.google.protobuf.CodedOutputStream 1151 .computeBytesSize(52, abiBitness_); 1152 } 1153 if (((bitField0_ & 0x00000200) == 0x00000200)) { 1154 size += com.google.protobuf.CodedOutputStream 1155 .computeBytesSize(101, serial_); 1156 } 1157 size += unknownFields.getSerializedSize(); 1158 memoizedSize = size; 1159 return size; 1160 } 1161 1162 private static final long serialVersionUID = 0L; 1163 @java.lang.Override equals(final java.lang.Object obj)1164 public boolean equals(final java.lang.Object obj) { 1165 if (obj == this) { 1166 return true; 1167 } 1168 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage)) { 1169 return super.equals(obj); 1170 } 1171 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage other = (com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage) obj; 1172 1173 boolean result = true; 1174 result = result && (hasProductType() == other.hasProductType()); 1175 if (hasProductType()) { 1176 result = result && getProductType() 1177 .equals(other.getProductType()); 1178 } 1179 result = result && (hasProductVariant() == other.hasProductVariant()); 1180 if (hasProductVariant()) { 1181 result = result && getProductVariant() 1182 .equals(other.getProductVariant()); 1183 } 1184 result = result && (hasBuildFlavor() == other.hasBuildFlavor()); 1185 if (hasBuildFlavor()) { 1186 result = result && getBuildFlavor() 1187 .equals(other.getBuildFlavor()); 1188 } 1189 result = result && (hasBuildId() == other.hasBuildId()); 1190 if (hasBuildId()) { 1191 result = result && getBuildId() 1192 .equals(other.getBuildId()); 1193 } 1194 result = result && (hasBranch() == other.hasBranch()); 1195 if (hasBranch()) { 1196 result = result && getBranch() 1197 .equals(other.getBranch()); 1198 } 1199 result = result && (hasBuildAlias() == other.hasBuildAlias()); 1200 if (hasBuildAlias()) { 1201 result = result && getBuildAlias() 1202 .equals(other.getBuildAlias()); 1203 } 1204 result = result && (hasApiLevel() == other.hasApiLevel()); 1205 if (hasApiLevel()) { 1206 result = result && getApiLevel() 1207 .equals(other.getApiLevel()); 1208 } 1209 result = result && (hasAbiName() == other.hasAbiName()); 1210 if (hasAbiName()) { 1211 result = result && getAbiName() 1212 .equals(other.getAbiName()); 1213 } 1214 result = result && (hasAbiBitness() == other.hasAbiBitness()); 1215 if (hasAbiBitness()) { 1216 result = result && getAbiBitness() 1217 .equals(other.getAbiBitness()); 1218 } 1219 result = result && (hasSerial() == other.hasSerial()); 1220 if (hasSerial()) { 1221 result = result && getSerial() 1222 .equals(other.getSerial()); 1223 } 1224 result = result && unknownFields.equals(other.unknownFields); 1225 return result; 1226 } 1227 1228 @java.lang.Override hashCode()1229 public int hashCode() { 1230 if (memoizedHashCode != 0) { 1231 return memoizedHashCode; 1232 } 1233 int hash = 41; 1234 hash = (19 * hash) + getDescriptorForType().hashCode(); 1235 if (hasProductType()) { 1236 hash = (37 * hash) + PRODUCT_TYPE_FIELD_NUMBER; 1237 hash = (53 * hash) + getProductType().hashCode(); 1238 } 1239 if (hasProductVariant()) { 1240 hash = (37 * hash) + PRODUCT_VARIANT_FIELD_NUMBER; 1241 hash = (53 * hash) + getProductVariant().hashCode(); 1242 } 1243 if (hasBuildFlavor()) { 1244 hash = (37 * hash) + BUILD_FLAVOR_FIELD_NUMBER; 1245 hash = (53 * hash) + getBuildFlavor().hashCode(); 1246 } 1247 if (hasBuildId()) { 1248 hash = (37 * hash) + BUILD_ID_FIELD_NUMBER; 1249 hash = (53 * hash) + getBuildId().hashCode(); 1250 } 1251 if (hasBranch()) { 1252 hash = (37 * hash) + BRANCH_FIELD_NUMBER; 1253 hash = (53 * hash) + getBranch().hashCode(); 1254 } 1255 if (hasBuildAlias()) { 1256 hash = (37 * hash) + BUILD_ALIAS_FIELD_NUMBER; 1257 hash = (53 * hash) + getBuildAlias().hashCode(); 1258 } 1259 if (hasApiLevel()) { 1260 hash = (37 * hash) + API_LEVEL_FIELD_NUMBER; 1261 hash = (53 * hash) + getApiLevel().hashCode(); 1262 } 1263 if (hasAbiName()) { 1264 hash = (37 * hash) + ABI_NAME_FIELD_NUMBER; 1265 hash = (53 * hash) + getAbiName().hashCode(); 1266 } 1267 if (hasAbiBitness()) { 1268 hash = (37 * hash) + ABI_BITNESS_FIELD_NUMBER; 1269 hash = (53 * hash) + getAbiBitness().hashCode(); 1270 } 1271 if (hasSerial()) { 1272 hash = (37 * hash) + SERIAL_FIELD_NUMBER; 1273 hash = (53 * hash) + getSerial().hashCode(); 1274 } 1275 hash = (29 * hash) + unknownFields.hashCode(); 1276 memoizedHashCode = hash; 1277 return hash; 1278 } 1279 parseFrom( com.google.protobuf.ByteString data)1280 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( 1281 com.google.protobuf.ByteString data) 1282 throws com.google.protobuf.InvalidProtocolBufferException { 1283 return PARSER.parseFrom(data); 1284 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1285 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( 1286 com.google.protobuf.ByteString data, 1287 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1288 throws com.google.protobuf.InvalidProtocolBufferException { 1289 return PARSER.parseFrom(data, extensionRegistry); 1290 } parseFrom(byte[] data)1291 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom(byte[] data) 1292 throws com.google.protobuf.InvalidProtocolBufferException { 1293 return PARSER.parseFrom(data); 1294 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1295 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( 1296 byte[] data, 1297 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1298 throws com.google.protobuf.InvalidProtocolBufferException { 1299 return PARSER.parseFrom(data, extensionRegistry); 1300 } parseFrom(java.io.InputStream input)1301 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom(java.io.InputStream input) 1302 throws java.io.IOException { 1303 return com.google.protobuf.GeneratedMessageV3 1304 .parseWithIOException(PARSER, input); 1305 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1306 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( 1307 java.io.InputStream input, 1308 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1309 throws java.io.IOException { 1310 return com.google.protobuf.GeneratedMessageV3 1311 .parseWithIOException(PARSER, input, extensionRegistry); 1312 } parseDelimitedFrom(java.io.InputStream input)1313 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseDelimitedFrom(java.io.InputStream input) 1314 throws java.io.IOException { 1315 return com.google.protobuf.GeneratedMessageV3 1316 .parseDelimitedWithIOException(PARSER, input); 1317 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1318 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseDelimitedFrom( 1319 java.io.InputStream input, 1320 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1321 throws java.io.IOException { 1322 return com.google.protobuf.GeneratedMessageV3 1323 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 1324 } parseFrom( com.google.protobuf.CodedInputStream input)1325 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( 1326 com.google.protobuf.CodedInputStream input) 1327 throws java.io.IOException { 1328 return com.google.protobuf.GeneratedMessageV3 1329 .parseWithIOException(PARSER, input); 1330 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1331 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parseFrom( 1332 com.google.protobuf.CodedInputStream input, 1333 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1334 throws java.io.IOException { 1335 return com.google.protobuf.GeneratedMessageV3 1336 .parseWithIOException(PARSER, input, extensionRegistry); 1337 } 1338 newBuilderForType()1339 public Builder newBuilderForType() { return newBuilder(); } newBuilder()1340 public static Builder newBuilder() { 1341 return DEFAULT_INSTANCE.toBuilder(); 1342 } newBuilder(com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage prototype)1343 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage prototype) { 1344 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 1345 } toBuilder()1346 public Builder toBuilder() { 1347 return this == DEFAULT_INSTANCE 1348 ? new Builder() : new Builder().mergeFrom(this); 1349 } 1350 1351 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1352 protected Builder newBuilderForType( 1353 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1354 Builder builder = new Builder(parent); 1355 return builder; 1356 } 1357 /** 1358 * <pre> 1359 * To specify a call flow event. 1360 * </pre> 1361 * 1362 * Protobuf type {@code android.vts.AndroidDeviceInfoMessage} 1363 */ 1364 public static final class Builder extends 1365 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 1366 // @@protoc_insertion_point(builder_implements:android.vts.AndroidDeviceInfoMessage) 1367 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessageOrBuilder { 1368 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()1369 getDescriptor() { 1370 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_descriptor; 1371 } 1372 1373 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()1374 internalGetFieldAccessorTable() { 1375 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_fieldAccessorTable 1376 .ensureFieldAccessorsInitialized( 1377 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.class, com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.Builder.class); 1378 } 1379 1380 // Construct using com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.newBuilder() Builder()1381 private Builder() { 1382 maybeForceBuilderInitialization(); 1383 } 1384 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)1385 private Builder( 1386 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 1387 super(parent); 1388 maybeForceBuilderInitialization(); 1389 } maybeForceBuilderInitialization()1390 private void maybeForceBuilderInitialization() { 1391 if (com.google.protobuf.GeneratedMessageV3 1392 .alwaysUseFieldBuilders) { 1393 } 1394 } clear()1395 public Builder clear() { 1396 super.clear(); 1397 productType_ = com.google.protobuf.ByteString.EMPTY; 1398 bitField0_ = (bitField0_ & ~0x00000001); 1399 productVariant_ = com.google.protobuf.ByteString.EMPTY; 1400 bitField0_ = (bitField0_ & ~0x00000002); 1401 buildFlavor_ = com.google.protobuf.ByteString.EMPTY; 1402 bitField0_ = (bitField0_ & ~0x00000004); 1403 buildId_ = com.google.protobuf.ByteString.EMPTY; 1404 bitField0_ = (bitField0_ & ~0x00000008); 1405 branch_ = com.google.protobuf.ByteString.EMPTY; 1406 bitField0_ = (bitField0_ & ~0x00000010); 1407 buildAlias_ = com.google.protobuf.ByteString.EMPTY; 1408 bitField0_ = (bitField0_ & ~0x00000020); 1409 apiLevel_ = com.google.protobuf.ByteString.EMPTY; 1410 bitField0_ = (bitField0_ & ~0x00000040); 1411 abiName_ = com.google.protobuf.ByteString.EMPTY; 1412 bitField0_ = (bitField0_ & ~0x00000080); 1413 abiBitness_ = com.google.protobuf.ByteString.EMPTY; 1414 bitField0_ = (bitField0_ & ~0x00000100); 1415 serial_ = com.google.protobuf.ByteString.EMPTY; 1416 bitField0_ = (bitField0_ & ~0x00000200); 1417 return this; 1418 } 1419 1420 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()1421 getDescriptorForType() { 1422 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidDeviceInfoMessage_descriptor; 1423 } 1424 getDefaultInstanceForType()1425 public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage getDefaultInstanceForType() { 1426 return com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.getDefaultInstance(); 1427 } 1428 build()1429 public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage build() { 1430 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage result = buildPartial(); 1431 if (!result.isInitialized()) { 1432 throw newUninitializedMessageException(result); 1433 } 1434 return result; 1435 } 1436 buildPartial()1437 public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage buildPartial() { 1438 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage result = new com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage(this); 1439 int from_bitField0_ = bitField0_; 1440 int to_bitField0_ = 0; 1441 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 1442 to_bitField0_ |= 0x00000001; 1443 } 1444 result.productType_ = productType_; 1445 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 1446 to_bitField0_ |= 0x00000002; 1447 } 1448 result.productVariant_ = productVariant_; 1449 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 1450 to_bitField0_ |= 0x00000004; 1451 } 1452 result.buildFlavor_ = buildFlavor_; 1453 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 1454 to_bitField0_ |= 0x00000008; 1455 } 1456 result.buildId_ = buildId_; 1457 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 1458 to_bitField0_ |= 0x00000010; 1459 } 1460 result.branch_ = branch_; 1461 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 1462 to_bitField0_ |= 0x00000020; 1463 } 1464 result.buildAlias_ = buildAlias_; 1465 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 1466 to_bitField0_ |= 0x00000040; 1467 } 1468 result.apiLevel_ = apiLevel_; 1469 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 1470 to_bitField0_ |= 0x00000080; 1471 } 1472 result.abiName_ = abiName_; 1473 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 1474 to_bitField0_ |= 0x00000100; 1475 } 1476 result.abiBitness_ = abiBitness_; 1477 if (((from_bitField0_ & 0x00000200) == 0x00000200)) { 1478 to_bitField0_ |= 0x00000200; 1479 } 1480 result.serial_ = serial_; 1481 result.bitField0_ = to_bitField0_; 1482 onBuilt(); 1483 return result; 1484 } 1485 clone()1486 public Builder clone() { 1487 return (Builder) super.clone(); 1488 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)1489 public Builder setField( 1490 com.google.protobuf.Descriptors.FieldDescriptor field, 1491 Object value) { 1492 return (Builder) super.setField(field, value); 1493 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)1494 public Builder clearField( 1495 com.google.protobuf.Descriptors.FieldDescriptor field) { 1496 return (Builder) super.clearField(field); 1497 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)1498 public Builder clearOneof( 1499 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 1500 return (Builder) super.clearOneof(oneof); 1501 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)1502 public Builder setRepeatedField( 1503 com.google.protobuf.Descriptors.FieldDescriptor field, 1504 int index, Object value) { 1505 return (Builder) super.setRepeatedField(field, index, value); 1506 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)1507 public Builder addRepeatedField( 1508 com.google.protobuf.Descriptors.FieldDescriptor field, 1509 Object value) { 1510 return (Builder) super.addRepeatedField(field, value); 1511 } mergeFrom(com.google.protobuf.Message other)1512 public Builder mergeFrom(com.google.protobuf.Message other) { 1513 if (other instanceof com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage) { 1514 return mergeFrom((com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage)other); 1515 } else { 1516 super.mergeFrom(other); 1517 return this; 1518 } 1519 } 1520 mergeFrom(com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage other)1521 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage other) { 1522 if (other == com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage.getDefaultInstance()) return this; 1523 if (other.hasProductType()) { 1524 setProductType(other.getProductType()); 1525 } 1526 if (other.hasProductVariant()) { 1527 setProductVariant(other.getProductVariant()); 1528 } 1529 if (other.hasBuildFlavor()) { 1530 setBuildFlavor(other.getBuildFlavor()); 1531 } 1532 if (other.hasBuildId()) { 1533 setBuildId(other.getBuildId()); 1534 } 1535 if (other.hasBranch()) { 1536 setBranch(other.getBranch()); 1537 } 1538 if (other.hasBuildAlias()) { 1539 setBuildAlias(other.getBuildAlias()); 1540 } 1541 if (other.hasApiLevel()) { 1542 setApiLevel(other.getApiLevel()); 1543 } 1544 if (other.hasAbiName()) { 1545 setAbiName(other.getAbiName()); 1546 } 1547 if (other.hasAbiBitness()) { 1548 setAbiBitness(other.getAbiBitness()); 1549 } 1550 if (other.hasSerial()) { 1551 setSerial(other.getSerial()); 1552 } 1553 this.mergeUnknownFields(other.unknownFields); 1554 onChanged(); 1555 return this; 1556 } 1557 isInitialized()1558 public final boolean isInitialized() { 1559 return true; 1560 } 1561 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)1562 public Builder mergeFrom( 1563 com.google.protobuf.CodedInputStream input, 1564 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 1565 throws java.io.IOException { 1566 com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage parsedMessage = null; 1567 try { 1568 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 1569 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 1570 parsedMessage = (com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage) e.getUnfinishedMessage(); 1571 throw e.unwrapIOException(); 1572 } finally { 1573 if (parsedMessage != null) { 1574 mergeFrom(parsedMessage); 1575 } 1576 } 1577 return this; 1578 } 1579 private int bitField0_; 1580 1581 private com.google.protobuf.ByteString productType_ = com.google.protobuf.ByteString.EMPTY; 1582 /** 1583 * <pre> 1584 * product type (e.g., bullhead). 1585 * </pre> 1586 * 1587 * <code>optional bytes product_type = 1;</code> 1588 */ hasProductType()1589 public boolean hasProductType() { 1590 return ((bitField0_ & 0x00000001) == 0x00000001); 1591 } 1592 /** 1593 * <pre> 1594 * product type (e.g., bullhead). 1595 * </pre> 1596 * 1597 * <code>optional bytes product_type = 1;</code> 1598 */ getProductType()1599 public com.google.protobuf.ByteString getProductType() { 1600 return productType_; 1601 } 1602 /** 1603 * <pre> 1604 * product type (e.g., bullhead). 1605 * </pre> 1606 * 1607 * <code>optional bytes product_type = 1;</code> 1608 */ setProductType(com.google.protobuf.ByteString value)1609 public Builder setProductType(com.google.protobuf.ByteString value) { 1610 if (value == null) { 1611 throw new NullPointerException(); 1612 } 1613 bitField0_ |= 0x00000001; 1614 productType_ = value; 1615 onChanged(); 1616 return this; 1617 } 1618 /** 1619 * <pre> 1620 * product type (e.g., bullhead). 1621 * </pre> 1622 * 1623 * <code>optional bytes product_type = 1;</code> 1624 */ clearProductType()1625 public Builder clearProductType() { 1626 bitField0_ = (bitField0_ & ~0x00000001); 1627 productType_ = getDefaultInstance().getProductType(); 1628 onChanged(); 1629 return this; 1630 } 1631 1632 private com.google.protobuf.ByteString productVariant_ = com.google.protobuf.ByteString.EMPTY; 1633 /** 1634 * <pre> 1635 * product type variant (e.g., still bullhead or another name). 1636 * </pre> 1637 * 1638 * <code>optional bytes product_variant = 2;</code> 1639 */ hasProductVariant()1640 public boolean hasProductVariant() { 1641 return ((bitField0_ & 0x00000002) == 0x00000002); 1642 } 1643 /** 1644 * <pre> 1645 * product type variant (e.g., still bullhead or another name). 1646 * </pre> 1647 * 1648 * <code>optional bytes product_variant = 2;</code> 1649 */ getProductVariant()1650 public com.google.protobuf.ByteString getProductVariant() { 1651 return productVariant_; 1652 } 1653 /** 1654 * <pre> 1655 * product type variant (e.g., still bullhead or another name). 1656 * </pre> 1657 * 1658 * <code>optional bytes product_variant = 2;</code> 1659 */ setProductVariant(com.google.protobuf.ByteString value)1660 public Builder setProductVariant(com.google.protobuf.ByteString value) { 1661 if (value == null) { 1662 throw new NullPointerException(); 1663 } 1664 bitField0_ |= 0x00000002; 1665 productVariant_ = value; 1666 onChanged(); 1667 return this; 1668 } 1669 /** 1670 * <pre> 1671 * product type variant (e.g., still bullhead or another name). 1672 * </pre> 1673 * 1674 * <code>optional bytes product_variant = 2;</code> 1675 */ clearProductVariant()1676 public Builder clearProductVariant() { 1677 bitField0_ = (bitField0_ & ~0x00000002); 1678 productVariant_ = getDefaultInstance().getProductVariant(); 1679 onChanged(); 1680 return this; 1681 } 1682 1683 private com.google.protobuf.ByteString buildFlavor_ = com.google.protobuf.ByteString.EMPTY; 1684 /** 1685 * <pre> 1686 * build type (e.g., userdebug). 1687 * </pre> 1688 * 1689 * <code>optional bytes build_flavor = 11;</code> 1690 */ hasBuildFlavor()1691 public boolean hasBuildFlavor() { 1692 return ((bitField0_ & 0x00000004) == 0x00000004); 1693 } 1694 /** 1695 * <pre> 1696 * build type (e.g., userdebug). 1697 * </pre> 1698 * 1699 * <code>optional bytes build_flavor = 11;</code> 1700 */ getBuildFlavor()1701 public com.google.protobuf.ByteString getBuildFlavor() { 1702 return buildFlavor_; 1703 } 1704 /** 1705 * <pre> 1706 * build type (e.g., userdebug). 1707 * </pre> 1708 * 1709 * <code>optional bytes build_flavor = 11;</code> 1710 */ setBuildFlavor(com.google.protobuf.ByteString value)1711 public Builder setBuildFlavor(com.google.protobuf.ByteString value) { 1712 if (value == null) { 1713 throw new NullPointerException(); 1714 } 1715 bitField0_ |= 0x00000004; 1716 buildFlavor_ = value; 1717 onChanged(); 1718 return this; 1719 } 1720 /** 1721 * <pre> 1722 * build type (e.g., userdebug). 1723 * </pre> 1724 * 1725 * <code>optional bytes build_flavor = 11;</code> 1726 */ clearBuildFlavor()1727 public Builder clearBuildFlavor() { 1728 bitField0_ = (bitField0_ & ~0x00000004); 1729 buildFlavor_ = getDefaultInstance().getBuildFlavor(); 1730 onChanged(); 1731 return this; 1732 } 1733 1734 private com.google.protobuf.ByteString buildId_ = com.google.protobuf.ByteString.EMPTY; 1735 /** 1736 * <pre> 1737 * Android Build ID. 1738 * </pre> 1739 * 1740 * <code>optional bytes build_id = 12;</code> 1741 */ hasBuildId()1742 public boolean hasBuildId() { 1743 return ((bitField0_ & 0x00000008) == 0x00000008); 1744 } 1745 /** 1746 * <pre> 1747 * Android Build ID. 1748 * </pre> 1749 * 1750 * <code>optional bytes build_id = 12;</code> 1751 */ getBuildId()1752 public com.google.protobuf.ByteString getBuildId() { 1753 return buildId_; 1754 } 1755 /** 1756 * <pre> 1757 * Android Build ID. 1758 * </pre> 1759 * 1760 * <code>optional bytes build_id = 12;</code> 1761 */ setBuildId(com.google.protobuf.ByteString value)1762 public Builder setBuildId(com.google.protobuf.ByteString value) { 1763 if (value == null) { 1764 throw new NullPointerException(); 1765 } 1766 bitField0_ |= 0x00000008; 1767 buildId_ = value; 1768 onChanged(); 1769 return this; 1770 } 1771 /** 1772 * <pre> 1773 * Android Build ID. 1774 * </pre> 1775 * 1776 * <code>optional bytes build_id = 12;</code> 1777 */ clearBuildId()1778 public Builder clearBuildId() { 1779 bitField0_ = (bitField0_ & ~0x00000008); 1780 buildId_ = getDefaultInstance().getBuildId(); 1781 onChanged(); 1782 return this; 1783 } 1784 1785 private com.google.protobuf.ByteString branch_ = com.google.protobuf.ByteString.EMPTY; 1786 /** 1787 * <pre> 1788 * branch name (e.g., master or nyc-dev). 1789 * </pre> 1790 * 1791 * <code>optional bytes branch = 21;</code> 1792 */ hasBranch()1793 public boolean hasBranch() { 1794 return ((bitField0_ & 0x00000010) == 0x00000010); 1795 } 1796 /** 1797 * <pre> 1798 * branch name (e.g., master or nyc-dev). 1799 * </pre> 1800 * 1801 * <code>optional bytes branch = 21;</code> 1802 */ getBranch()1803 public com.google.protobuf.ByteString getBranch() { 1804 return branch_; 1805 } 1806 /** 1807 * <pre> 1808 * branch name (e.g., master or nyc-dev). 1809 * </pre> 1810 * 1811 * <code>optional bytes branch = 21;</code> 1812 */ setBranch(com.google.protobuf.ByteString value)1813 public Builder setBranch(com.google.protobuf.ByteString value) { 1814 if (value == null) { 1815 throw new NullPointerException(); 1816 } 1817 bitField0_ |= 0x00000010; 1818 branch_ = value; 1819 onChanged(); 1820 return this; 1821 } 1822 /** 1823 * <pre> 1824 * branch name (e.g., master or nyc-dev). 1825 * </pre> 1826 * 1827 * <code>optional bytes branch = 21;</code> 1828 */ clearBranch()1829 public Builder clearBranch() { 1830 bitField0_ = (bitField0_ & ~0x00000010); 1831 branch_ = getDefaultInstance().getBranch(); 1832 onChanged(); 1833 return this; 1834 } 1835 1836 private com.google.protobuf.ByteString buildAlias_ = com.google.protobuf.ByteString.EMPTY; 1837 /** 1838 * <pre> 1839 * build alias implies the branch name. 1840 * </pre> 1841 * 1842 * <code>optional bytes build_alias = 22;</code> 1843 */ hasBuildAlias()1844 public boolean hasBuildAlias() { 1845 return ((bitField0_ & 0x00000020) == 0x00000020); 1846 } 1847 /** 1848 * <pre> 1849 * build alias implies the branch name. 1850 * </pre> 1851 * 1852 * <code>optional bytes build_alias = 22;</code> 1853 */ getBuildAlias()1854 public com.google.protobuf.ByteString getBuildAlias() { 1855 return buildAlias_; 1856 } 1857 /** 1858 * <pre> 1859 * build alias implies the branch name. 1860 * </pre> 1861 * 1862 * <code>optional bytes build_alias = 22;</code> 1863 */ setBuildAlias(com.google.protobuf.ByteString value)1864 public Builder setBuildAlias(com.google.protobuf.ByteString value) { 1865 if (value == null) { 1866 throw new NullPointerException(); 1867 } 1868 bitField0_ |= 0x00000020; 1869 buildAlias_ = value; 1870 onChanged(); 1871 return this; 1872 } 1873 /** 1874 * <pre> 1875 * build alias implies the branch name. 1876 * </pre> 1877 * 1878 * <code>optional bytes build_alias = 22;</code> 1879 */ clearBuildAlias()1880 public Builder clearBuildAlias() { 1881 bitField0_ = (bitField0_ & ~0x00000020); 1882 buildAlias_ = getDefaultInstance().getBuildAlias(); 1883 onChanged(); 1884 return this; 1885 } 1886 1887 private com.google.protobuf.ByteString apiLevel_ = com.google.protobuf.ByteString.EMPTY; 1888 /** 1889 * <pre> 1890 * API level 1891 * </pre> 1892 * 1893 * <code>optional bytes api_level = 31;</code> 1894 */ hasApiLevel()1895 public boolean hasApiLevel() { 1896 return ((bitField0_ & 0x00000040) == 0x00000040); 1897 } 1898 /** 1899 * <pre> 1900 * API level 1901 * </pre> 1902 * 1903 * <code>optional bytes api_level = 31;</code> 1904 */ getApiLevel()1905 public com.google.protobuf.ByteString getApiLevel() { 1906 return apiLevel_; 1907 } 1908 /** 1909 * <pre> 1910 * API level 1911 * </pre> 1912 * 1913 * <code>optional bytes api_level = 31;</code> 1914 */ setApiLevel(com.google.protobuf.ByteString value)1915 public Builder setApiLevel(com.google.protobuf.ByteString value) { 1916 if (value == null) { 1917 throw new NullPointerException(); 1918 } 1919 bitField0_ |= 0x00000040; 1920 apiLevel_ = value; 1921 onChanged(); 1922 return this; 1923 } 1924 /** 1925 * <pre> 1926 * API level 1927 * </pre> 1928 * 1929 * <code>optional bytes api_level = 31;</code> 1930 */ clearApiLevel()1931 public Builder clearApiLevel() { 1932 bitField0_ = (bitField0_ & ~0x00000040); 1933 apiLevel_ = getDefaultInstance().getApiLevel(); 1934 onChanged(); 1935 return this; 1936 } 1937 1938 private com.google.protobuf.ByteString abiName_ = com.google.protobuf.ByteString.EMPTY; 1939 /** 1940 * <pre> 1941 * ABI name that is current in use for the test 1942 * </pre> 1943 * 1944 * <code>optional bytes abi_name = 51;</code> 1945 */ hasAbiName()1946 public boolean hasAbiName() { 1947 return ((bitField0_ & 0x00000080) == 0x00000080); 1948 } 1949 /** 1950 * <pre> 1951 * ABI name that is current in use for the test 1952 * </pre> 1953 * 1954 * <code>optional bytes abi_name = 51;</code> 1955 */ getAbiName()1956 public com.google.protobuf.ByteString getAbiName() { 1957 return abiName_; 1958 } 1959 /** 1960 * <pre> 1961 * ABI name that is current in use for the test 1962 * </pre> 1963 * 1964 * <code>optional bytes abi_name = 51;</code> 1965 */ setAbiName(com.google.protobuf.ByteString value)1966 public Builder setAbiName(com.google.protobuf.ByteString value) { 1967 if (value == null) { 1968 throw new NullPointerException(); 1969 } 1970 bitField0_ |= 0x00000080; 1971 abiName_ = value; 1972 onChanged(); 1973 return this; 1974 } 1975 /** 1976 * <pre> 1977 * ABI name that is current in use for the test 1978 * </pre> 1979 * 1980 * <code>optional bytes abi_name = 51;</code> 1981 */ clearAbiName()1982 public Builder clearAbiName() { 1983 bitField0_ = (bitField0_ & ~0x00000080); 1984 abiName_ = getDefaultInstance().getAbiName(); 1985 onChanged(); 1986 return this; 1987 } 1988 1989 private com.google.protobuf.ByteString abiBitness_ = com.google.protobuf.ByteString.EMPTY; 1990 /** 1991 * <pre> 1992 * ABI bitness that is current in use for the test. Example: '32', '64', 1993 * </pre> 1994 * 1995 * <code>optional bytes abi_bitness = 52;</code> 1996 */ hasAbiBitness()1997 public boolean hasAbiBitness() { 1998 return ((bitField0_ & 0x00000100) == 0x00000100); 1999 } 2000 /** 2001 * <pre> 2002 * ABI bitness that is current in use for the test. Example: '32', '64', 2003 * </pre> 2004 * 2005 * <code>optional bytes abi_bitness = 52;</code> 2006 */ getAbiBitness()2007 public com.google.protobuf.ByteString getAbiBitness() { 2008 return abiBitness_; 2009 } 2010 /** 2011 * <pre> 2012 * ABI bitness that is current in use for the test. Example: '32', '64', 2013 * </pre> 2014 * 2015 * <code>optional bytes abi_bitness = 52;</code> 2016 */ setAbiBitness(com.google.protobuf.ByteString value)2017 public Builder setAbiBitness(com.google.protobuf.ByteString value) { 2018 if (value == null) { 2019 throw new NullPointerException(); 2020 } 2021 bitField0_ |= 0x00000100; 2022 abiBitness_ = value; 2023 onChanged(); 2024 return this; 2025 } 2026 /** 2027 * <pre> 2028 * ABI bitness that is current in use for the test. Example: '32', '64', 2029 * </pre> 2030 * 2031 * <code>optional bytes abi_bitness = 52;</code> 2032 */ clearAbiBitness()2033 public Builder clearAbiBitness() { 2034 bitField0_ = (bitField0_ & ~0x00000100); 2035 abiBitness_ = getDefaultInstance().getAbiBitness(); 2036 onChanged(); 2037 return this; 2038 } 2039 2040 private com.google.protobuf.ByteString serial_ = com.google.protobuf.ByteString.EMPTY; 2041 /** 2042 * <pre> 2043 * Device USB serial number 2044 * </pre> 2045 * 2046 * <code>optional bytes serial = 101;</code> 2047 */ hasSerial()2048 public boolean hasSerial() { 2049 return ((bitField0_ & 0x00000200) == 0x00000200); 2050 } 2051 /** 2052 * <pre> 2053 * Device USB serial number 2054 * </pre> 2055 * 2056 * <code>optional bytes serial = 101;</code> 2057 */ getSerial()2058 public com.google.protobuf.ByteString getSerial() { 2059 return serial_; 2060 } 2061 /** 2062 * <pre> 2063 * Device USB serial number 2064 * </pre> 2065 * 2066 * <code>optional bytes serial = 101;</code> 2067 */ setSerial(com.google.protobuf.ByteString value)2068 public Builder setSerial(com.google.protobuf.ByteString value) { 2069 if (value == null) { 2070 throw new NullPointerException(); 2071 } 2072 bitField0_ |= 0x00000200; 2073 serial_ = value; 2074 onChanged(); 2075 return this; 2076 } 2077 /** 2078 * <pre> 2079 * Device USB serial number 2080 * </pre> 2081 * 2082 * <code>optional bytes serial = 101;</code> 2083 */ clearSerial()2084 public Builder clearSerial() { 2085 bitField0_ = (bitField0_ & ~0x00000200); 2086 serial_ = getDefaultInstance().getSerial(); 2087 onChanged(); 2088 return this; 2089 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2090 public final Builder setUnknownFields( 2091 final com.google.protobuf.UnknownFieldSet unknownFields) { 2092 return super.setUnknownFields(unknownFields); 2093 } 2094 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)2095 public final Builder mergeUnknownFields( 2096 final com.google.protobuf.UnknownFieldSet unknownFields) { 2097 return super.mergeUnknownFields(unknownFields); 2098 } 2099 2100 2101 // @@protoc_insertion_point(builder_scope:android.vts.AndroidDeviceInfoMessage) 2102 } 2103 2104 // @@protoc_insertion_point(class_scope:android.vts.AndroidDeviceInfoMessage) 2105 private static final com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage DEFAULT_INSTANCE; 2106 static { 2107 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage(); 2108 } 2109 getDefaultInstance()2110 public static com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage getDefaultInstance() { 2111 return DEFAULT_INSTANCE; 2112 } 2113 2114 @java.lang.Deprecated public static final com.google.protobuf.Parser<AndroidDeviceInfoMessage> 2115 PARSER = new com.google.protobuf.AbstractParser<AndroidDeviceInfoMessage>() { 2116 public AndroidDeviceInfoMessage parsePartialFrom( 2117 com.google.protobuf.CodedInputStream input, 2118 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2119 throws com.google.protobuf.InvalidProtocolBufferException { 2120 return new AndroidDeviceInfoMessage(input, extensionRegistry); 2121 } 2122 }; 2123 parser()2124 public static com.google.protobuf.Parser<AndroidDeviceInfoMessage> parser() { 2125 return PARSER; 2126 } 2127 2128 @java.lang.Override getParserForType()2129 public com.google.protobuf.Parser<AndroidDeviceInfoMessage> getParserForType() { 2130 return PARSER; 2131 } 2132 getDefaultInstanceForType()2133 public com.android.vts.proto.VtsReportMessage.AndroidDeviceInfoMessage getDefaultInstanceForType() { 2134 return DEFAULT_INSTANCE; 2135 } 2136 2137 } 2138 2139 public interface AndroidBuildInfoOrBuilder extends 2140 // @@protoc_insertion_point(interface_extends:android.vts.AndroidBuildInfo) 2141 com.google.protobuf.MessageOrBuilder { 2142 2143 /** 2144 * <pre> 2145 * build ID. 2146 * </pre> 2147 * 2148 * <code>optional bytes id = 1;</code> 2149 */ hasId()2150 boolean hasId(); 2151 /** 2152 * <pre> 2153 * build ID. 2154 * </pre> 2155 * 2156 * <code>optional bytes id = 1;</code> 2157 */ getId()2158 com.google.protobuf.ByteString getId(); 2159 2160 /** 2161 * <pre> 2162 * device name (e.g., bullhead). 2163 * </pre> 2164 * 2165 * <code>optional bytes name = 11;</code> 2166 */ hasName()2167 boolean hasName(); 2168 /** 2169 * <pre> 2170 * device name (e.g., bullhead). 2171 * </pre> 2172 * 2173 * <code>optional bytes name = 11;</code> 2174 */ getName()2175 com.google.protobuf.ByteString getName(); 2176 2177 /** 2178 * <pre> 2179 * build type (e.g., userdebug) 2180 * </pre> 2181 * 2182 * <code>optional bytes build_type = 12;</code> 2183 */ hasBuildType()2184 boolean hasBuildType(); 2185 /** 2186 * <pre> 2187 * build type (e.g., userdebug) 2188 * </pre> 2189 * 2190 * <code>optional bytes build_type = 12;</code> 2191 */ getBuildType()2192 com.google.protobuf.ByteString getBuildType(); 2193 2194 /** 2195 * <pre> 2196 * branch name (e.g., master or nyc-dev) 2197 * </pre> 2198 * 2199 * <code>optional bytes branch = 13;</code> 2200 */ hasBranch()2201 boolean hasBranch(); 2202 /** 2203 * <pre> 2204 * branch name (e.g., master or nyc-dev) 2205 * </pre> 2206 * 2207 * <code>optional bytes branch = 13;</code> 2208 */ getBranch()2209 com.google.protobuf.ByteString getBranch(); 2210 2211 /** 2212 * <pre> 2213 * indicates the latest commit information of each branch (e.g., xml format). 2214 * </pre> 2215 * 2216 * <code>optional bytes build_summary = 21;</code> 2217 */ hasBuildSummary()2218 boolean hasBuildSummary(); 2219 /** 2220 * <pre> 2221 * indicates the latest commit information of each branch (e.g., xml format). 2222 * </pre> 2223 * 2224 * <code>optional bytes build_summary = 21;</code> 2225 */ getBuildSummary()2226 com.google.protobuf.ByteString getBuildSummary(); 2227 } 2228 /** 2229 * <pre> 2230 * To specify build info. 2231 * </pre> 2232 * 2233 * Protobuf type {@code android.vts.AndroidBuildInfo} 2234 */ 2235 public static final class AndroidBuildInfo extends 2236 com.google.protobuf.GeneratedMessageV3 implements 2237 // @@protoc_insertion_point(message_implements:android.vts.AndroidBuildInfo) 2238 AndroidBuildInfoOrBuilder { 2239 // Use AndroidBuildInfo.newBuilder() to construct. AndroidBuildInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)2240 private AndroidBuildInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 2241 super(builder); 2242 } AndroidBuildInfo()2243 private AndroidBuildInfo() { 2244 id_ = com.google.protobuf.ByteString.EMPTY; 2245 name_ = com.google.protobuf.ByteString.EMPTY; 2246 buildType_ = com.google.protobuf.ByteString.EMPTY; 2247 branch_ = com.google.protobuf.ByteString.EMPTY; 2248 buildSummary_ = com.google.protobuf.ByteString.EMPTY; 2249 } 2250 2251 @java.lang.Override 2252 public final com.google.protobuf.UnknownFieldSet getUnknownFields()2253 getUnknownFields() { 2254 return this.unknownFields; 2255 } AndroidBuildInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2256 private AndroidBuildInfo( 2257 com.google.protobuf.CodedInputStream input, 2258 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2259 throws com.google.protobuf.InvalidProtocolBufferException { 2260 this(); 2261 int mutable_bitField0_ = 0; 2262 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 2263 com.google.protobuf.UnknownFieldSet.newBuilder(); 2264 try { 2265 boolean done = false; 2266 while (!done) { 2267 int tag = input.readTag(); 2268 switch (tag) { 2269 case 0: 2270 done = true; 2271 break; 2272 default: { 2273 if (!parseUnknownField(input, unknownFields, 2274 extensionRegistry, tag)) { 2275 done = true; 2276 } 2277 break; 2278 } 2279 case 10: { 2280 bitField0_ |= 0x00000001; 2281 id_ = input.readBytes(); 2282 break; 2283 } 2284 case 90: { 2285 bitField0_ |= 0x00000002; 2286 name_ = input.readBytes(); 2287 break; 2288 } 2289 case 98: { 2290 bitField0_ |= 0x00000004; 2291 buildType_ = input.readBytes(); 2292 break; 2293 } 2294 case 106: { 2295 bitField0_ |= 0x00000008; 2296 branch_ = input.readBytes(); 2297 break; 2298 } 2299 case 170: { 2300 bitField0_ |= 0x00000010; 2301 buildSummary_ = input.readBytes(); 2302 break; 2303 } 2304 } 2305 } 2306 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2307 throw e.setUnfinishedMessage(this); 2308 } catch (java.io.IOException e) { 2309 throw new com.google.protobuf.InvalidProtocolBufferException( 2310 e).setUnfinishedMessage(this); 2311 } finally { 2312 this.unknownFields = unknownFields.build(); 2313 makeExtensionsImmutable(); 2314 } 2315 } 2316 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()2317 getDescriptor() { 2318 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_descriptor; 2319 } 2320 2321 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()2322 internalGetFieldAccessorTable() { 2323 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_fieldAccessorTable 2324 .ensureFieldAccessorsInitialized( 2325 com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.class, com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder.class); 2326 } 2327 2328 private int bitField0_; 2329 public static final int ID_FIELD_NUMBER = 1; 2330 private com.google.protobuf.ByteString id_; 2331 /** 2332 * <pre> 2333 * build ID. 2334 * </pre> 2335 * 2336 * <code>optional bytes id = 1;</code> 2337 */ hasId()2338 public boolean hasId() { 2339 return ((bitField0_ & 0x00000001) == 0x00000001); 2340 } 2341 /** 2342 * <pre> 2343 * build ID. 2344 * </pre> 2345 * 2346 * <code>optional bytes id = 1;</code> 2347 */ getId()2348 public com.google.protobuf.ByteString getId() { 2349 return id_; 2350 } 2351 2352 public static final int NAME_FIELD_NUMBER = 11; 2353 private com.google.protobuf.ByteString name_; 2354 /** 2355 * <pre> 2356 * device name (e.g., bullhead). 2357 * </pre> 2358 * 2359 * <code>optional bytes name = 11;</code> 2360 */ hasName()2361 public boolean hasName() { 2362 return ((bitField0_ & 0x00000002) == 0x00000002); 2363 } 2364 /** 2365 * <pre> 2366 * device name (e.g., bullhead). 2367 * </pre> 2368 * 2369 * <code>optional bytes name = 11;</code> 2370 */ getName()2371 public com.google.protobuf.ByteString getName() { 2372 return name_; 2373 } 2374 2375 public static final int BUILD_TYPE_FIELD_NUMBER = 12; 2376 private com.google.protobuf.ByteString buildType_; 2377 /** 2378 * <pre> 2379 * build type (e.g., userdebug) 2380 * </pre> 2381 * 2382 * <code>optional bytes build_type = 12;</code> 2383 */ hasBuildType()2384 public boolean hasBuildType() { 2385 return ((bitField0_ & 0x00000004) == 0x00000004); 2386 } 2387 /** 2388 * <pre> 2389 * build type (e.g., userdebug) 2390 * </pre> 2391 * 2392 * <code>optional bytes build_type = 12;</code> 2393 */ getBuildType()2394 public com.google.protobuf.ByteString getBuildType() { 2395 return buildType_; 2396 } 2397 2398 public static final int BRANCH_FIELD_NUMBER = 13; 2399 private com.google.protobuf.ByteString branch_; 2400 /** 2401 * <pre> 2402 * branch name (e.g., master or nyc-dev) 2403 * </pre> 2404 * 2405 * <code>optional bytes branch = 13;</code> 2406 */ hasBranch()2407 public boolean hasBranch() { 2408 return ((bitField0_ & 0x00000008) == 0x00000008); 2409 } 2410 /** 2411 * <pre> 2412 * branch name (e.g., master or nyc-dev) 2413 * </pre> 2414 * 2415 * <code>optional bytes branch = 13;</code> 2416 */ getBranch()2417 public com.google.protobuf.ByteString getBranch() { 2418 return branch_; 2419 } 2420 2421 public static final int BUILD_SUMMARY_FIELD_NUMBER = 21; 2422 private com.google.protobuf.ByteString buildSummary_; 2423 /** 2424 * <pre> 2425 * indicates the latest commit information of each branch (e.g., xml format). 2426 * </pre> 2427 * 2428 * <code>optional bytes build_summary = 21;</code> 2429 */ hasBuildSummary()2430 public boolean hasBuildSummary() { 2431 return ((bitField0_ & 0x00000010) == 0x00000010); 2432 } 2433 /** 2434 * <pre> 2435 * indicates the latest commit information of each branch (e.g., xml format). 2436 * </pre> 2437 * 2438 * <code>optional bytes build_summary = 21;</code> 2439 */ getBuildSummary()2440 public com.google.protobuf.ByteString getBuildSummary() { 2441 return buildSummary_; 2442 } 2443 2444 private byte memoizedIsInitialized = -1; isInitialized()2445 public final boolean isInitialized() { 2446 byte isInitialized = memoizedIsInitialized; 2447 if (isInitialized == 1) return true; 2448 if (isInitialized == 0) return false; 2449 2450 memoizedIsInitialized = 1; 2451 return true; 2452 } 2453 writeTo(com.google.protobuf.CodedOutputStream output)2454 public void writeTo(com.google.protobuf.CodedOutputStream output) 2455 throws java.io.IOException { 2456 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2457 output.writeBytes(1, id_); 2458 } 2459 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2460 output.writeBytes(11, name_); 2461 } 2462 if (((bitField0_ & 0x00000004) == 0x00000004)) { 2463 output.writeBytes(12, buildType_); 2464 } 2465 if (((bitField0_ & 0x00000008) == 0x00000008)) { 2466 output.writeBytes(13, branch_); 2467 } 2468 if (((bitField0_ & 0x00000010) == 0x00000010)) { 2469 output.writeBytes(21, buildSummary_); 2470 } 2471 unknownFields.writeTo(output); 2472 } 2473 getSerializedSize()2474 public int getSerializedSize() { 2475 int size = memoizedSize; 2476 if (size != -1) return size; 2477 2478 size = 0; 2479 if (((bitField0_ & 0x00000001) == 0x00000001)) { 2480 size += com.google.protobuf.CodedOutputStream 2481 .computeBytesSize(1, id_); 2482 } 2483 if (((bitField0_ & 0x00000002) == 0x00000002)) { 2484 size += com.google.protobuf.CodedOutputStream 2485 .computeBytesSize(11, name_); 2486 } 2487 if (((bitField0_ & 0x00000004) == 0x00000004)) { 2488 size += com.google.protobuf.CodedOutputStream 2489 .computeBytesSize(12, buildType_); 2490 } 2491 if (((bitField0_ & 0x00000008) == 0x00000008)) { 2492 size += com.google.protobuf.CodedOutputStream 2493 .computeBytesSize(13, branch_); 2494 } 2495 if (((bitField0_ & 0x00000010) == 0x00000010)) { 2496 size += com.google.protobuf.CodedOutputStream 2497 .computeBytesSize(21, buildSummary_); 2498 } 2499 size += unknownFields.getSerializedSize(); 2500 memoizedSize = size; 2501 return size; 2502 } 2503 2504 private static final long serialVersionUID = 0L; 2505 @java.lang.Override equals(final java.lang.Object obj)2506 public boolean equals(final java.lang.Object obj) { 2507 if (obj == this) { 2508 return true; 2509 } 2510 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.AndroidBuildInfo)) { 2511 return super.equals(obj); 2512 } 2513 com.android.vts.proto.VtsReportMessage.AndroidBuildInfo other = (com.android.vts.proto.VtsReportMessage.AndroidBuildInfo) obj; 2514 2515 boolean result = true; 2516 result = result && (hasId() == other.hasId()); 2517 if (hasId()) { 2518 result = result && getId() 2519 .equals(other.getId()); 2520 } 2521 result = result && (hasName() == other.hasName()); 2522 if (hasName()) { 2523 result = result && getName() 2524 .equals(other.getName()); 2525 } 2526 result = result && (hasBuildType() == other.hasBuildType()); 2527 if (hasBuildType()) { 2528 result = result && getBuildType() 2529 .equals(other.getBuildType()); 2530 } 2531 result = result && (hasBranch() == other.hasBranch()); 2532 if (hasBranch()) { 2533 result = result && getBranch() 2534 .equals(other.getBranch()); 2535 } 2536 result = result && (hasBuildSummary() == other.hasBuildSummary()); 2537 if (hasBuildSummary()) { 2538 result = result && getBuildSummary() 2539 .equals(other.getBuildSummary()); 2540 } 2541 result = result && unknownFields.equals(other.unknownFields); 2542 return result; 2543 } 2544 2545 @java.lang.Override hashCode()2546 public int hashCode() { 2547 if (memoizedHashCode != 0) { 2548 return memoizedHashCode; 2549 } 2550 int hash = 41; 2551 hash = (19 * hash) + getDescriptorForType().hashCode(); 2552 if (hasId()) { 2553 hash = (37 * hash) + ID_FIELD_NUMBER; 2554 hash = (53 * hash) + getId().hashCode(); 2555 } 2556 if (hasName()) { 2557 hash = (37 * hash) + NAME_FIELD_NUMBER; 2558 hash = (53 * hash) + getName().hashCode(); 2559 } 2560 if (hasBuildType()) { 2561 hash = (37 * hash) + BUILD_TYPE_FIELD_NUMBER; 2562 hash = (53 * hash) + getBuildType().hashCode(); 2563 } 2564 if (hasBranch()) { 2565 hash = (37 * hash) + BRANCH_FIELD_NUMBER; 2566 hash = (53 * hash) + getBranch().hashCode(); 2567 } 2568 if (hasBuildSummary()) { 2569 hash = (37 * hash) + BUILD_SUMMARY_FIELD_NUMBER; 2570 hash = (53 * hash) + getBuildSummary().hashCode(); 2571 } 2572 hash = (29 * hash) + unknownFields.hashCode(); 2573 memoizedHashCode = hash; 2574 return hash; 2575 } 2576 parseFrom( com.google.protobuf.ByteString data)2577 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( 2578 com.google.protobuf.ByteString data) 2579 throws com.google.protobuf.InvalidProtocolBufferException { 2580 return PARSER.parseFrom(data); 2581 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2582 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( 2583 com.google.protobuf.ByteString data, 2584 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2585 throws com.google.protobuf.InvalidProtocolBufferException { 2586 return PARSER.parseFrom(data, extensionRegistry); 2587 } parseFrom(byte[] data)2588 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom(byte[] data) 2589 throws com.google.protobuf.InvalidProtocolBufferException { 2590 return PARSER.parseFrom(data); 2591 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2592 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( 2593 byte[] data, 2594 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2595 throws com.google.protobuf.InvalidProtocolBufferException { 2596 return PARSER.parseFrom(data, extensionRegistry); 2597 } parseFrom(java.io.InputStream input)2598 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom(java.io.InputStream input) 2599 throws java.io.IOException { 2600 return com.google.protobuf.GeneratedMessageV3 2601 .parseWithIOException(PARSER, input); 2602 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2603 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( 2604 java.io.InputStream input, 2605 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2606 throws java.io.IOException { 2607 return com.google.protobuf.GeneratedMessageV3 2608 .parseWithIOException(PARSER, input, extensionRegistry); 2609 } parseDelimitedFrom(java.io.InputStream input)2610 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseDelimitedFrom(java.io.InputStream input) 2611 throws java.io.IOException { 2612 return com.google.protobuf.GeneratedMessageV3 2613 .parseDelimitedWithIOException(PARSER, input); 2614 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2615 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseDelimitedFrom( 2616 java.io.InputStream input, 2617 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2618 throws java.io.IOException { 2619 return com.google.protobuf.GeneratedMessageV3 2620 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 2621 } parseFrom( com.google.protobuf.CodedInputStream input)2622 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( 2623 com.google.protobuf.CodedInputStream input) 2624 throws java.io.IOException { 2625 return com.google.protobuf.GeneratedMessageV3 2626 .parseWithIOException(PARSER, input); 2627 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2628 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parseFrom( 2629 com.google.protobuf.CodedInputStream input, 2630 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2631 throws java.io.IOException { 2632 return com.google.protobuf.GeneratedMessageV3 2633 .parseWithIOException(PARSER, input, extensionRegistry); 2634 } 2635 newBuilderForType()2636 public Builder newBuilderForType() { return newBuilder(); } newBuilder()2637 public static Builder newBuilder() { 2638 return DEFAULT_INSTANCE.toBuilder(); 2639 } newBuilder(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo prototype)2640 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo prototype) { 2641 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 2642 } toBuilder()2643 public Builder toBuilder() { 2644 return this == DEFAULT_INSTANCE 2645 ? new Builder() : new Builder().mergeFrom(this); 2646 } 2647 2648 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)2649 protected Builder newBuilderForType( 2650 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2651 Builder builder = new Builder(parent); 2652 return builder; 2653 } 2654 /** 2655 * <pre> 2656 * To specify build info. 2657 * </pre> 2658 * 2659 * Protobuf type {@code android.vts.AndroidBuildInfo} 2660 */ 2661 public static final class Builder extends 2662 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 2663 // @@protoc_insertion_point(builder_implements:android.vts.AndroidBuildInfo) 2664 com.android.vts.proto.VtsReportMessage.AndroidBuildInfoOrBuilder { 2665 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()2666 getDescriptor() { 2667 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_descriptor; 2668 } 2669 2670 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()2671 internalGetFieldAccessorTable() { 2672 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_fieldAccessorTable 2673 .ensureFieldAccessorsInitialized( 2674 com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.class, com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.Builder.class); 2675 } 2676 2677 // Construct using com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.newBuilder() Builder()2678 private Builder() { 2679 maybeForceBuilderInitialization(); 2680 } 2681 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)2682 private Builder( 2683 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 2684 super(parent); 2685 maybeForceBuilderInitialization(); 2686 } maybeForceBuilderInitialization()2687 private void maybeForceBuilderInitialization() { 2688 if (com.google.protobuf.GeneratedMessageV3 2689 .alwaysUseFieldBuilders) { 2690 } 2691 } clear()2692 public Builder clear() { 2693 super.clear(); 2694 id_ = com.google.protobuf.ByteString.EMPTY; 2695 bitField0_ = (bitField0_ & ~0x00000001); 2696 name_ = com.google.protobuf.ByteString.EMPTY; 2697 bitField0_ = (bitField0_ & ~0x00000002); 2698 buildType_ = com.google.protobuf.ByteString.EMPTY; 2699 bitField0_ = (bitField0_ & ~0x00000004); 2700 branch_ = com.google.protobuf.ByteString.EMPTY; 2701 bitField0_ = (bitField0_ & ~0x00000008); 2702 buildSummary_ = com.google.protobuf.ByteString.EMPTY; 2703 bitField0_ = (bitField0_ & ~0x00000010); 2704 return this; 2705 } 2706 2707 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()2708 getDescriptorForType() { 2709 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_AndroidBuildInfo_descriptor; 2710 } 2711 getDefaultInstanceForType()2712 public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo getDefaultInstanceForType() { 2713 return com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance(); 2714 } 2715 build()2716 public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo build() { 2717 com.android.vts.proto.VtsReportMessage.AndroidBuildInfo result = buildPartial(); 2718 if (!result.isInitialized()) { 2719 throw newUninitializedMessageException(result); 2720 } 2721 return result; 2722 } 2723 buildPartial()2724 public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo buildPartial() { 2725 com.android.vts.proto.VtsReportMessage.AndroidBuildInfo result = new com.android.vts.proto.VtsReportMessage.AndroidBuildInfo(this); 2726 int from_bitField0_ = bitField0_; 2727 int to_bitField0_ = 0; 2728 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 2729 to_bitField0_ |= 0x00000001; 2730 } 2731 result.id_ = id_; 2732 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 2733 to_bitField0_ |= 0x00000002; 2734 } 2735 result.name_ = name_; 2736 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 2737 to_bitField0_ |= 0x00000004; 2738 } 2739 result.buildType_ = buildType_; 2740 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 2741 to_bitField0_ |= 0x00000008; 2742 } 2743 result.branch_ = branch_; 2744 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 2745 to_bitField0_ |= 0x00000010; 2746 } 2747 result.buildSummary_ = buildSummary_; 2748 result.bitField0_ = to_bitField0_; 2749 onBuilt(); 2750 return result; 2751 } 2752 clone()2753 public Builder clone() { 2754 return (Builder) super.clone(); 2755 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)2756 public Builder setField( 2757 com.google.protobuf.Descriptors.FieldDescriptor field, 2758 Object value) { 2759 return (Builder) super.setField(field, value); 2760 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)2761 public Builder clearField( 2762 com.google.protobuf.Descriptors.FieldDescriptor field) { 2763 return (Builder) super.clearField(field); 2764 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)2765 public Builder clearOneof( 2766 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 2767 return (Builder) super.clearOneof(oneof); 2768 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)2769 public Builder setRepeatedField( 2770 com.google.protobuf.Descriptors.FieldDescriptor field, 2771 int index, Object value) { 2772 return (Builder) super.setRepeatedField(field, index, value); 2773 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)2774 public Builder addRepeatedField( 2775 com.google.protobuf.Descriptors.FieldDescriptor field, 2776 Object value) { 2777 return (Builder) super.addRepeatedField(field, value); 2778 } mergeFrom(com.google.protobuf.Message other)2779 public Builder mergeFrom(com.google.protobuf.Message other) { 2780 if (other instanceof com.android.vts.proto.VtsReportMessage.AndroidBuildInfo) { 2781 return mergeFrom((com.android.vts.proto.VtsReportMessage.AndroidBuildInfo)other); 2782 } else { 2783 super.mergeFrom(other); 2784 return this; 2785 } 2786 } 2787 mergeFrom(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo other)2788 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.AndroidBuildInfo other) { 2789 if (other == com.android.vts.proto.VtsReportMessage.AndroidBuildInfo.getDefaultInstance()) return this; 2790 if (other.hasId()) { 2791 setId(other.getId()); 2792 } 2793 if (other.hasName()) { 2794 setName(other.getName()); 2795 } 2796 if (other.hasBuildType()) { 2797 setBuildType(other.getBuildType()); 2798 } 2799 if (other.hasBranch()) { 2800 setBranch(other.getBranch()); 2801 } 2802 if (other.hasBuildSummary()) { 2803 setBuildSummary(other.getBuildSummary()); 2804 } 2805 this.mergeUnknownFields(other.unknownFields); 2806 onChanged(); 2807 return this; 2808 } 2809 isInitialized()2810 public final boolean isInitialized() { 2811 return true; 2812 } 2813 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)2814 public Builder mergeFrom( 2815 com.google.protobuf.CodedInputStream input, 2816 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 2817 throws java.io.IOException { 2818 com.android.vts.proto.VtsReportMessage.AndroidBuildInfo parsedMessage = null; 2819 try { 2820 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 2821 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 2822 parsedMessage = (com.android.vts.proto.VtsReportMessage.AndroidBuildInfo) e.getUnfinishedMessage(); 2823 throw e.unwrapIOException(); 2824 } finally { 2825 if (parsedMessage != null) { 2826 mergeFrom(parsedMessage); 2827 } 2828 } 2829 return this; 2830 } 2831 private int bitField0_; 2832 2833 private com.google.protobuf.ByteString id_ = com.google.protobuf.ByteString.EMPTY; 2834 /** 2835 * <pre> 2836 * build ID. 2837 * </pre> 2838 * 2839 * <code>optional bytes id = 1;</code> 2840 */ hasId()2841 public boolean hasId() { 2842 return ((bitField0_ & 0x00000001) == 0x00000001); 2843 } 2844 /** 2845 * <pre> 2846 * build ID. 2847 * </pre> 2848 * 2849 * <code>optional bytes id = 1;</code> 2850 */ getId()2851 public com.google.protobuf.ByteString getId() { 2852 return id_; 2853 } 2854 /** 2855 * <pre> 2856 * build ID. 2857 * </pre> 2858 * 2859 * <code>optional bytes id = 1;</code> 2860 */ setId(com.google.protobuf.ByteString value)2861 public Builder setId(com.google.protobuf.ByteString value) { 2862 if (value == null) { 2863 throw new NullPointerException(); 2864 } 2865 bitField0_ |= 0x00000001; 2866 id_ = value; 2867 onChanged(); 2868 return this; 2869 } 2870 /** 2871 * <pre> 2872 * build ID. 2873 * </pre> 2874 * 2875 * <code>optional bytes id = 1;</code> 2876 */ clearId()2877 public Builder clearId() { 2878 bitField0_ = (bitField0_ & ~0x00000001); 2879 id_ = getDefaultInstance().getId(); 2880 onChanged(); 2881 return this; 2882 } 2883 2884 private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; 2885 /** 2886 * <pre> 2887 * device name (e.g., bullhead). 2888 * </pre> 2889 * 2890 * <code>optional bytes name = 11;</code> 2891 */ hasName()2892 public boolean hasName() { 2893 return ((bitField0_ & 0x00000002) == 0x00000002); 2894 } 2895 /** 2896 * <pre> 2897 * device name (e.g., bullhead). 2898 * </pre> 2899 * 2900 * <code>optional bytes name = 11;</code> 2901 */ getName()2902 public com.google.protobuf.ByteString getName() { 2903 return name_; 2904 } 2905 /** 2906 * <pre> 2907 * device name (e.g., bullhead). 2908 * </pre> 2909 * 2910 * <code>optional bytes name = 11;</code> 2911 */ setName(com.google.protobuf.ByteString value)2912 public Builder setName(com.google.protobuf.ByteString value) { 2913 if (value == null) { 2914 throw new NullPointerException(); 2915 } 2916 bitField0_ |= 0x00000002; 2917 name_ = value; 2918 onChanged(); 2919 return this; 2920 } 2921 /** 2922 * <pre> 2923 * device name (e.g., bullhead). 2924 * </pre> 2925 * 2926 * <code>optional bytes name = 11;</code> 2927 */ clearName()2928 public Builder clearName() { 2929 bitField0_ = (bitField0_ & ~0x00000002); 2930 name_ = getDefaultInstance().getName(); 2931 onChanged(); 2932 return this; 2933 } 2934 2935 private com.google.protobuf.ByteString buildType_ = com.google.protobuf.ByteString.EMPTY; 2936 /** 2937 * <pre> 2938 * build type (e.g., userdebug) 2939 * </pre> 2940 * 2941 * <code>optional bytes build_type = 12;</code> 2942 */ hasBuildType()2943 public boolean hasBuildType() { 2944 return ((bitField0_ & 0x00000004) == 0x00000004); 2945 } 2946 /** 2947 * <pre> 2948 * build type (e.g., userdebug) 2949 * </pre> 2950 * 2951 * <code>optional bytes build_type = 12;</code> 2952 */ getBuildType()2953 public com.google.protobuf.ByteString getBuildType() { 2954 return buildType_; 2955 } 2956 /** 2957 * <pre> 2958 * build type (e.g., userdebug) 2959 * </pre> 2960 * 2961 * <code>optional bytes build_type = 12;</code> 2962 */ setBuildType(com.google.protobuf.ByteString value)2963 public Builder setBuildType(com.google.protobuf.ByteString value) { 2964 if (value == null) { 2965 throw new NullPointerException(); 2966 } 2967 bitField0_ |= 0x00000004; 2968 buildType_ = value; 2969 onChanged(); 2970 return this; 2971 } 2972 /** 2973 * <pre> 2974 * build type (e.g., userdebug) 2975 * </pre> 2976 * 2977 * <code>optional bytes build_type = 12;</code> 2978 */ clearBuildType()2979 public Builder clearBuildType() { 2980 bitField0_ = (bitField0_ & ~0x00000004); 2981 buildType_ = getDefaultInstance().getBuildType(); 2982 onChanged(); 2983 return this; 2984 } 2985 2986 private com.google.protobuf.ByteString branch_ = com.google.protobuf.ByteString.EMPTY; 2987 /** 2988 * <pre> 2989 * branch name (e.g., master or nyc-dev) 2990 * </pre> 2991 * 2992 * <code>optional bytes branch = 13;</code> 2993 */ hasBranch()2994 public boolean hasBranch() { 2995 return ((bitField0_ & 0x00000008) == 0x00000008); 2996 } 2997 /** 2998 * <pre> 2999 * branch name (e.g., master or nyc-dev) 3000 * </pre> 3001 * 3002 * <code>optional bytes branch = 13;</code> 3003 */ getBranch()3004 public com.google.protobuf.ByteString getBranch() { 3005 return branch_; 3006 } 3007 /** 3008 * <pre> 3009 * branch name (e.g., master or nyc-dev) 3010 * </pre> 3011 * 3012 * <code>optional bytes branch = 13;</code> 3013 */ setBranch(com.google.protobuf.ByteString value)3014 public Builder setBranch(com.google.protobuf.ByteString value) { 3015 if (value == null) { 3016 throw new NullPointerException(); 3017 } 3018 bitField0_ |= 0x00000008; 3019 branch_ = value; 3020 onChanged(); 3021 return this; 3022 } 3023 /** 3024 * <pre> 3025 * branch name (e.g., master or nyc-dev) 3026 * </pre> 3027 * 3028 * <code>optional bytes branch = 13;</code> 3029 */ clearBranch()3030 public Builder clearBranch() { 3031 bitField0_ = (bitField0_ & ~0x00000008); 3032 branch_ = getDefaultInstance().getBranch(); 3033 onChanged(); 3034 return this; 3035 } 3036 3037 private com.google.protobuf.ByteString buildSummary_ = com.google.protobuf.ByteString.EMPTY; 3038 /** 3039 * <pre> 3040 * indicates the latest commit information of each branch (e.g., xml format). 3041 * </pre> 3042 * 3043 * <code>optional bytes build_summary = 21;</code> 3044 */ hasBuildSummary()3045 public boolean hasBuildSummary() { 3046 return ((bitField0_ & 0x00000010) == 0x00000010); 3047 } 3048 /** 3049 * <pre> 3050 * indicates the latest commit information of each branch (e.g., xml format). 3051 * </pre> 3052 * 3053 * <code>optional bytes build_summary = 21;</code> 3054 */ getBuildSummary()3055 public com.google.protobuf.ByteString getBuildSummary() { 3056 return buildSummary_; 3057 } 3058 /** 3059 * <pre> 3060 * indicates the latest commit information of each branch (e.g., xml format). 3061 * </pre> 3062 * 3063 * <code>optional bytes build_summary = 21;</code> 3064 */ setBuildSummary(com.google.protobuf.ByteString value)3065 public Builder setBuildSummary(com.google.protobuf.ByteString value) { 3066 if (value == null) { 3067 throw new NullPointerException(); 3068 } 3069 bitField0_ |= 0x00000010; 3070 buildSummary_ = value; 3071 onChanged(); 3072 return this; 3073 } 3074 /** 3075 * <pre> 3076 * indicates the latest commit information of each branch (e.g., xml format). 3077 * </pre> 3078 * 3079 * <code>optional bytes build_summary = 21;</code> 3080 */ clearBuildSummary()3081 public Builder clearBuildSummary() { 3082 bitField0_ = (bitField0_ & ~0x00000010); 3083 buildSummary_ = getDefaultInstance().getBuildSummary(); 3084 onChanged(); 3085 return this; 3086 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)3087 public final Builder setUnknownFields( 3088 final com.google.protobuf.UnknownFieldSet unknownFields) { 3089 return super.setUnknownFields(unknownFields); 3090 } 3091 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)3092 public final Builder mergeUnknownFields( 3093 final com.google.protobuf.UnknownFieldSet unknownFields) { 3094 return super.mergeUnknownFields(unknownFields); 3095 } 3096 3097 3098 // @@protoc_insertion_point(builder_scope:android.vts.AndroidBuildInfo) 3099 } 3100 3101 // @@protoc_insertion_point(class_scope:android.vts.AndroidBuildInfo) 3102 private static final com.android.vts.proto.VtsReportMessage.AndroidBuildInfo DEFAULT_INSTANCE; 3103 static { 3104 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.AndroidBuildInfo(); 3105 } 3106 getDefaultInstance()3107 public static com.android.vts.proto.VtsReportMessage.AndroidBuildInfo getDefaultInstance() { 3108 return DEFAULT_INSTANCE; 3109 } 3110 3111 @java.lang.Deprecated public static final com.google.protobuf.Parser<AndroidBuildInfo> 3112 PARSER = new com.google.protobuf.AbstractParser<AndroidBuildInfo>() { 3113 public AndroidBuildInfo parsePartialFrom( 3114 com.google.protobuf.CodedInputStream input, 3115 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3116 throws com.google.protobuf.InvalidProtocolBufferException { 3117 return new AndroidBuildInfo(input, extensionRegistry); 3118 } 3119 }; 3120 parser()3121 public static com.google.protobuf.Parser<AndroidBuildInfo> parser() { 3122 return PARSER; 3123 } 3124 3125 @java.lang.Override getParserForType()3126 public com.google.protobuf.Parser<AndroidBuildInfo> getParserForType() { 3127 return PARSER; 3128 } 3129 getDefaultInstanceForType()3130 public com.android.vts.proto.VtsReportMessage.AndroidBuildInfo getDefaultInstanceForType() { 3131 return DEFAULT_INSTANCE; 3132 } 3133 3134 } 3135 3136 public interface VtsHostInfoOrBuilder extends 3137 // @@protoc_insertion_point(interface_extends:android.vts.VtsHostInfo) 3138 com.google.protobuf.MessageOrBuilder { 3139 3140 /** 3141 * <pre> 3142 * the host name (i.e., full domain name). 3143 * </pre> 3144 * 3145 * <code>optional bytes hostname = 1;</code> 3146 */ hasHostname()3147 boolean hasHostname(); 3148 /** 3149 * <pre> 3150 * the host name (i.e., full domain name). 3151 * </pre> 3152 * 3153 * <code>optional bytes hostname = 1;</code> 3154 */ getHostname()3155 com.google.protobuf.ByteString getHostname(); 3156 } 3157 /** 3158 * <pre> 3159 * To specify the information about a host node. 3160 * </pre> 3161 * 3162 * Protobuf type {@code android.vts.VtsHostInfo} 3163 */ 3164 public static final class VtsHostInfo extends 3165 com.google.protobuf.GeneratedMessageV3 implements 3166 // @@protoc_insertion_point(message_implements:android.vts.VtsHostInfo) 3167 VtsHostInfoOrBuilder { 3168 // Use VtsHostInfo.newBuilder() to construct. VtsHostInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)3169 private VtsHostInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 3170 super(builder); 3171 } VtsHostInfo()3172 private VtsHostInfo() { 3173 hostname_ = com.google.protobuf.ByteString.EMPTY; 3174 } 3175 3176 @java.lang.Override 3177 public final com.google.protobuf.UnknownFieldSet getUnknownFields()3178 getUnknownFields() { 3179 return this.unknownFields; 3180 } VtsHostInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3181 private VtsHostInfo( 3182 com.google.protobuf.CodedInputStream input, 3183 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3184 throws com.google.protobuf.InvalidProtocolBufferException { 3185 this(); 3186 int mutable_bitField0_ = 0; 3187 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 3188 com.google.protobuf.UnknownFieldSet.newBuilder(); 3189 try { 3190 boolean done = false; 3191 while (!done) { 3192 int tag = input.readTag(); 3193 switch (tag) { 3194 case 0: 3195 done = true; 3196 break; 3197 default: { 3198 if (!parseUnknownField(input, unknownFields, 3199 extensionRegistry, tag)) { 3200 done = true; 3201 } 3202 break; 3203 } 3204 case 10: { 3205 bitField0_ |= 0x00000001; 3206 hostname_ = input.readBytes(); 3207 break; 3208 } 3209 } 3210 } 3211 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3212 throw e.setUnfinishedMessage(this); 3213 } catch (java.io.IOException e) { 3214 throw new com.google.protobuf.InvalidProtocolBufferException( 3215 e).setUnfinishedMessage(this); 3216 } finally { 3217 this.unknownFields = unknownFields.build(); 3218 makeExtensionsImmutable(); 3219 } 3220 } 3221 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()3222 getDescriptor() { 3223 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_descriptor; 3224 } 3225 3226 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()3227 internalGetFieldAccessorTable() { 3228 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_fieldAccessorTable 3229 .ensureFieldAccessorsInitialized( 3230 com.android.vts.proto.VtsReportMessage.VtsHostInfo.class, com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder.class); 3231 } 3232 3233 private int bitField0_; 3234 public static final int HOSTNAME_FIELD_NUMBER = 1; 3235 private com.google.protobuf.ByteString hostname_; 3236 /** 3237 * <pre> 3238 * the host name (i.e., full domain name). 3239 * </pre> 3240 * 3241 * <code>optional bytes hostname = 1;</code> 3242 */ hasHostname()3243 public boolean hasHostname() { 3244 return ((bitField0_ & 0x00000001) == 0x00000001); 3245 } 3246 /** 3247 * <pre> 3248 * the host name (i.e., full domain name). 3249 * </pre> 3250 * 3251 * <code>optional bytes hostname = 1;</code> 3252 */ getHostname()3253 public com.google.protobuf.ByteString getHostname() { 3254 return hostname_; 3255 } 3256 3257 private byte memoizedIsInitialized = -1; isInitialized()3258 public final boolean isInitialized() { 3259 byte isInitialized = memoizedIsInitialized; 3260 if (isInitialized == 1) return true; 3261 if (isInitialized == 0) return false; 3262 3263 memoizedIsInitialized = 1; 3264 return true; 3265 } 3266 writeTo(com.google.protobuf.CodedOutputStream output)3267 public void writeTo(com.google.protobuf.CodedOutputStream output) 3268 throws java.io.IOException { 3269 if (((bitField0_ & 0x00000001) == 0x00000001)) { 3270 output.writeBytes(1, hostname_); 3271 } 3272 unknownFields.writeTo(output); 3273 } 3274 getSerializedSize()3275 public int getSerializedSize() { 3276 int size = memoizedSize; 3277 if (size != -1) return size; 3278 3279 size = 0; 3280 if (((bitField0_ & 0x00000001) == 0x00000001)) { 3281 size += com.google.protobuf.CodedOutputStream 3282 .computeBytesSize(1, hostname_); 3283 } 3284 size += unknownFields.getSerializedSize(); 3285 memoizedSize = size; 3286 return size; 3287 } 3288 3289 private static final long serialVersionUID = 0L; 3290 @java.lang.Override equals(final java.lang.Object obj)3291 public boolean equals(final java.lang.Object obj) { 3292 if (obj == this) { 3293 return true; 3294 } 3295 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.VtsHostInfo)) { 3296 return super.equals(obj); 3297 } 3298 com.android.vts.proto.VtsReportMessage.VtsHostInfo other = (com.android.vts.proto.VtsReportMessage.VtsHostInfo) obj; 3299 3300 boolean result = true; 3301 result = result && (hasHostname() == other.hasHostname()); 3302 if (hasHostname()) { 3303 result = result && getHostname() 3304 .equals(other.getHostname()); 3305 } 3306 result = result && unknownFields.equals(other.unknownFields); 3307 return result; 3308 } 3309 3310 @java.lang.Override hashCode()3311 public int hashCode() { 3312 if (memoizedHashCode != 0) { 3313 return memoizedHashCode; 3314 } 3315 int hash = 41; 3316 hash = (19 * hash) + getDescriptorForType().hashCode(); 3317 if (hasHostname()) { 3318 hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; 3319 hash = (53 * hash) + getHostname().hashCode(); 3320 } 3321 hash = (29 * hash) + unknownFields.hashCode(); 3322 memoizedHashCode = hash; 3323 return hash; 3324 } 3325 parseFrom( com.google.protobuf.ByteString data)3326 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( 3327 com.google.protobuf.ByteString data) 3328 throws com.google.protobuf.InvalidProtocolBufferException { 3329 return PARSER.parseFrom(data); 3330 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3331 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( 3332 com.google.protobuf.ByteString data, 3333 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3334 throws com.google.protobuf.InvalidProtocolBufferException { 3335 return PARSER.parseFrom(data, extensionRegistry); 3336 } parseFrom(byte[] data)3337 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom(byte[] data) 3338 throws com.google.protobuf.InvalidProtocolBufferException { 3339 return PARSER.parseFrom(data); 3340 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3341 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( 3342 byte[] data, 3343 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3344 throws com.google.protobuf.InvalidProtocolBufferException { 3345 return PARSER.parseFrom(data, extensionRegistry); 3346 } parseFrom(java.io.InputStream input)3347 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom(java.io.InputStream input) 3348 throws java.io.IOException { 3349 return com.google.protobuf.GeneratedMessageV3 3350 .parseWithIOException(PARSER, input); 3351 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3352 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( 3353 java.io.InputStream input, 3354 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3355 throws java.io.IOException { 3356 return com.google.protobuf.GeneratedMessageV3 3357 .parseWithIOException(PARSER, input, extensionRegistry); 3358 } parseDelimitedFrom(java.io.InputStream input)3359 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseDelimitedFrom(java.io.InputStream input) 3360 throws java.io.IOException { 3361 return com.google.protobuf.GeneratedMessageV3 3362 .parseDelimitedWithIOException(PARSER, input); 3363 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3364 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseDelimitedFrom( 3365 java.io.InputStream input, 3366 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3367 throws java.io.IOException { 3368 return com.google.protobuf.GeneratedMessageV3 3369 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 3370 } parseFrom( com.google.protobuf.CodedInputStream input)3371 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( 3372 com.google.protobuf.CodedInputStream input) 3373 throws java.io.IOException { 3374 return com.google.protobuf.GeneratedMessageV3 3375 .parseWithIOException(PARSER, input); 3376 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3377 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo parseFrom( 3378 com.google.protobuf.CodedInputStream input, 3379 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3380 throws java.io.IOException { 3381 return com.google.protobuf.GeneratedMessageV3 3382 .parseWithIOException(PARSER, input, extensionRegistry); 3383 } 3384 newBuilderForType()3385 public Builder newBuilderForType() { return newBuilder(); } newBuilder()3386 public static Builder newBuilder() { 3387 return DEFAULT_INSTANCE.toBuilder(); 3388 } newBuilder(com.android.vts.proto.VtsReportMessage.VtsHostInfo prototype)3389 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.VtsHostInfo prototype) { 3390 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 3391 } toBuilder()3392 public Builder toBuilder() { 3393 return this == DEFAULT_INSTANCE 3394 ? new Builder() : new Builder().mergeFrom(this); 3395 } 3396 3397 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)3398 protected Builder newBuilderForType( 3399 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 3400 Builder builder = new Builder(parent); 3401 return builder; 3402 } 3403 /** 3404 * <pre> 3405 * To specify the information about a host node. 3406 * </pre> 3407 * 3408 * Protobuf type {@code android.vts.VtsHostInfo} 3409 */ 3410 public static final class Builder extends 3411 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 3412 // @@protoc_insertion_point(builder_implements:android.vts.VtsHostInfo) 3413 com.android.vts.proto.VtsReportMessage.VtsHostInfoOrBuilder { 3414 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()3415 getDescriptor() { 3416 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_descriptor; 3417 } 3418 3419 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()3420 internalGetFieldAccessorTable() { 3421 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_fieldAccessorTable 3422 .ensureFieldAccessorsInitialized( 3423 com.android.vts.proto.VtsReportMessage.VtsHostInfo.class, com.android.vts.proto.VtsReportMessage.VtsHostInfo.Builder.class); 3424 } 3425 3426 // Construct using com.android.vts.proto.VtsReportMessage.VtsHostInfo.newBuilder() Builder()3427 private Builder() { 3428 maybeForceBuilderInitialization(); 3429 } 3430 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)3431 private Builder( 3432 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 3433 super(parent); 3434 maybeForceBuilderInitialization(); 3435 } maybeForceBuilderInitialization()3436 private void maybeForceBuilderInitialization() { 3437 if (com.google.protobuf.GeneratedMessageV3 3438 .alwaysUseFieldBuilders) { 3439 } 3440 } clear()3441 public Builder clear() { 3442 super.clear(); 3443 hostname_ = com.google.protobuf.ByteString.EMPTY; 3444 bitField0_ = (bitField0_ & ~0x00000001); 3445 return this; 3446 } 3447 3448 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()3449 getDescriptorForType() { 3450 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_VtsHostInfo_descriptor; 3451 } 3452 getDefaultInstanceForType()3453 public com.android.vts.proto.VtsReportMessage.VtsHostInfo getDefaultInstanceForType() { 3454 return com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance(); 3455 } 3456 build()3457 public com.android.vts.proto.VtsReportMessage.VtsHostInfo build() { 3458 com.android.vts.proto.VtsReportMessage.VtsHostInfo result = buildPartial(); 3459 if (!result.isInitialized()) { 3460 throw newUninitializedMessageException(result); 3461 } 3462 return result; 3463 } 3464 buildPartial()3465 public com.android.vts.proto.VtsReportMessage.VtsHostInfo buildPartial() { 3466 com.android.vts.proto.VtsReportMessage.VtsHostInfo result = new com.android.vts.proto.VtsReportMessage.VtsHostInfo(this); 3467 int from_bitField0_ = bitField0_; 3468 int to_bitField0_ = 0; 3469 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 3470 to_bitField0_ |= 0x00000001; 3471 } 3472 result.hostname_ = hostname_; 3473 result.bitField0_ = to_bitField0_; 3474 onBuilt(); 3475 return result; 3476 } 3477 clone()3478 public Builder clone() { 3479 return (Builder) super.clone(); 3480 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)3481 public Builder setField( 3482 com.google.protobuf.Descriptors.FieldDescriptor field, 3483 Object value) { 3484 return (Builder) super.setField(field, value); 3485 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)3486 public Builder clearField( 3487 com.google.protobuf.Descriptors.FieldDescriptor field) { 3488 return (Builder) super.clearField(field); 3489 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)3490 public Builder clearOneof( 3491 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 3492 return (Builder) super.clearOneof(oneof); 3493 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)3494 public Builder setRepeatedField( 3495 com.google.protobuf.Descriptors.FieldDescriptor field, 3496 int index, Object value) { 3497 return (Builder) super.setRepeatedField(field, index, value); 3498 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)3499 public Builder addRepeatedField( 3500 com.google.protobuf.Descriptors.FieldDescriptor field, 3501 Object value) { 3502 return (Builder) super.addRepeatedField(field, value); 3503 } mergeFrom(com.google.protobuf.Message other)3504 public Builder mergeFrom(com.google.protobuf.Message other) { 3505 if (other instanceof com.android.vts.proto.VtsReportMessage.VtsHostInfo) { 3506 return mergeFrom((com.android.vts.proto.VtsReportMessage.VtsHostInfo)other); 3507 } else { 3508 super.mergeFrom(other); 3509 return this; 3510 } 3511 } 3512 mergeFrom(com.android.vts.proto.VtsReportMessage.VtsHostInfo other)3513 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.VtsHostInfo other) { 3514 if (other == com.android.vts.proto.VtsReportMessage.VtsHostInfo.getDefaultInstance()) return this; 3515 if (other.hasHostname()) { 3516 setHostname(other.getHostname()); 3517 } 3518 this.mergeUnknownFields(other.unknownFields); 3519 onChanged(); 3520 return this; 3521 } 3522 isInitialized()3523 public final boolean isInitialized() { 3524 return true; 3525 } 3526 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3527 public Builder mergeFrom( 3528 com.google.protobuf.CodedInputStream input, 3529 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3530 throws java.io.IOException { 3531 com.android.vts.proto.VtsReportMessage.VtsHostInfo parsedMessage = null; 3532 try { 3533 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 3534 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 3535 parsedMessage = (com.android.vts.proto.VtsReportMessage.VtsHostInfo) e.getUnfinishedMessage(); 3536 throw e.unwrapIOException(); 3537 } finally { 3538 if (parsedMessage != null) { 3539 mergeFrom(parsedMessage); 3540 } 3541 } 3542 return this; 3543 } 3544 private int bitField0_; 3545 3546 private com.google.protobuf.ByteString hostname_ = com.google.protobuf.ByteString.EMPTY; 3547 /** 3548 * <pre> 3549 * the host name (i.e., full domain name). 3550 * </pre> 3551 * 3552 * <code>optional bytes hostname = 1;</code> 3553 */ hasHostname()3554 public boolean hasHostname() { 3555 return ((bitField0_ & 0x00000001) == 0x00000001); 3556 } 3557 /** 3558 * <pre> 3559 * the host name (i.e., full domain name). 3560 * </pre> 3561 * 3562 * <code>optional bytes hostname = 1;</code> 3563 */ getHostname()3564 public com.google.protobuf.ByteString getHostname() { 3565 return hostname_; 3566 } 3567 /** 3568 * <pre> 3569 * the host name (i.e., full domain name). 3570 * </pre> 3571 * 3572 * <code>optional bytes hostname = 1;</code> 3573 */ setHostname(com.google.protobuf.ByteString value)3574 public Builder setHostname(com.google.protobuf.ByteString value) { 3575 if (value == null) { 3576 throw new NullPointerException(); 3577 } 3578 bitField0_ |= 0x00000001; 3579 hostname_ = value; 3580 onChanged(); 3581 return this; 3582 } 3583 /** 3584 * <pre> 3585 * the host name (i.e., full domain name). 3586 * </pre> 3587 * 3588 * <code>optional bytes hostname = 1;</code> 3589 */ clearHostname()3590 public Builder clearHostname() { 3591 bitField0_ = (bitField0_ & ~0x00000001); 3592 hostname_ = getDefaultInstance().getHostname(); 3593 onChanged(); 3594 return this; 3595 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)3596 public final Builder setUnknownFields( 3597 final com.google.protobuf.UnknownFieldSet unknownFields) { 3598 return super.setUnknownFields(unknownFields); 3599 } 3600 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)3601 public final Builder mergeUnknownFields( 3602 final com.google.protobuf.UnknownFieldSet unknownFields) { 3603 return super.mergeUnknownFields(unknownFields); 3604 } 3605 3606 3607 // @@protoc_insertion_point(builder_scope:android.vts.VtsHostInfo) 3608 } 3609 3610 // @@protoc_insertion_point(class_scope:android.vts.VtsHostInfo) 3611 private static final com.android.vts.proto.VtsReportMessage.VtsHostInfo DEFAULT_INSTANCE; 3612 static { 3613 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.VtsHostInfo(); 3614 } 3615 getDefaultInstance()3616 public static com.android.vts.proto.VtsReportMessage.VtsHostInfo getDefaultInstance() { 3617 return DEFAULT_INSTANCE; 3618 } 3619 3620 @java.lang.Deprecated public static final com.google.protobuf.Parser<VtsHostInfo> 3621 PARSER = new com.google.protobuf.AbstractParser<VtsHostInfo>() { 3622 public VtsHostInfo parsePartialFrom( 3623 com.google.protobuf.CodedInputStream input, 3624 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3625 throws com.google.protobuf.InvalidProtocolBufferException { 3626 return new VtsHostInfo(input, extensionRegistry); 3627 } 3628 }; 3629 parser()3630 public static com.google.protobuf.Parser<VtsHostInfo> parser() { 3631 return PARSER; 3632 } 3633 3634 @java.lang.Override getParserForType()3635 public com.google.protobuf.Parser<VtsHostInfo> getParserForType() { 3636 return PARSER; 3637 } 3638 getDefaultInstanceForType()3639 public com.android.vts.proto.VtsReportMessage.VtsHostInfo getDefaultInstanceForType() { 3640 return DEFAULT_INSTANCE; 3641 } 3642 3643 } 3644 3645 public interface TestCaseReportMessageOrBuilder extends 3646 // @@protoc_insertion_point(interface_extends:android.vts.TestCaseReportMessage) 3647 com.google.protobuf.MessageOrBuilder { 3648 3649 /** 3650 * <pre> 3651 * the test case name. 3652 * </pre> 3653 * 3654 * <code>optional bytes name = 1;</code> 3655 */ hasName()3656 boolean hasName(); 3657 /** 3658 * <pre> 3659 * the test case name. 3660 * </pre> 3661 * 3662 * <code>optional bytes name = 1;</code> 3663 */ getName()3664 com.google.protobuf.ByteString getName(); 3665 3666 /** 3667 * <pre> 3668 * the test result. 3669 * </pre> 3670 * 3671 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 3672 */ hasTestResult()3673 boolean hasTestResult(); 3674 /** 3675 * <pre> 3676 * the test result. 3677 * </pre> 3678 * 3679 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 3680 */ getTestResult()3681 com.android.vts.proto.VtsReportMessage.TestCaseResult getTestResult(); 3682 3683 /** 3684 * <pre> 3685 * execution start and end time stamp. 3686 * </pre> 3687 * 3688 * <code>optional int64 start_timestamp = 21;</code> 3689 */ hasStartTimestamp()3690 boolean hasStartTimestamp(); 3691 /** 3692 * <pre> 3693 * execution start and end time stamp. 3694 * </pre> 3695 * 3696 * <code>optional int64 start_timestamp = 21;</code> 3697 */ getStartTimestamp()3698 long getStartTimestamp(); 3699 3700 /** 3701 * <code>optional int64 end_timestamp = 22;</code> 3702 */ hasEndTimestamp()3703 boolean hasEndTimestamp(); 3704 /** 3705 * <code>optional int64 end_timestamp = 22;</code> 3706 */ getEndTimestamp()3707 long getEndTimestamp(); 3708 3709 /** 3710 * <pre> 3711 * coverage report per file 3712 * </pre> 3713 * 3714 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 3715 */ 3716 java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> getCoverageList()3717 getCoverageList(); 3718 /** 3719 * <pre> 3720 * coverage report per file 3721 * </pre> 3722 * 3723 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 3724 */ getCoverage(int index)3725 com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index); 3726 /** 3727 * <pre> 3728 * coverage report per file 3729 * </pre> 3730 * 3731 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 3732 */ getCoverageCount()3733 int getCoverageCount(); 3734 /** 3735 * <pre> 3736 * coverage report per file 3737 * </pre> 3738 * 3739 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 3740 */ 3741 java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> getCoverageOrBuilderList()3742 getCoverageOrBuilderList(); 3743 /** 3744 * <pre> 3745 * coverage report per file 3746 * </pre> 3747 * 3748 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 3749 */ getCoverageOrBuilder( int index)3750 com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( 3751 int index); 3752 3753 /** 3754 * <pre> 3755 * profiling reports 3756 * </pre> 3757 * 3758 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 3759 */ 3760 java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> getProfilingList()3761 getProfilingList(); 3762 /** 3763 * <pre> 3764 * profiling reports 3765 * </pre> 3766 * 3767 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 3768 */ getProfiling(int index)3769 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index); 3770 /** 3771 * <pre> 3772 * profiling reports 3773 * </pre> 3774 * 3775 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 3776 */ getProfilingCount()3777 int getProfilingCount(); 3778 /** 3779 * <pre> 3780 * profiling reports 3781 * </pre> 3782 * 3783 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 3784 */ 3785 java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> getProfilingOrBuilderList()3786 getProfilingOrBuilderList(); 3787 /** 3788 * <pre> 3789 * profiling reports 3790 * </pre> 3791 * 3792 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 3793 */ getProfilingOrBuilder( int index)3794 com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( 3795 int index); 3796 3797 /** 3798 * <pre> 3799 * systrace report message per file 3800 * </pre> 3801 * 3802 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 3803 */ 3804 @java.lang.Deprecated java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> getSystraceList()3805 getSystraceList(); 3806 /** 3807 * <pre> 3808 * systrace report message per file 3809 * </pre> 3810 * 3811 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 3812 */ getSystrace(int index)3813 @java.lang.Deprecated com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index); 3814 /** 3815 * <pre> 3816 * systrace report message per file 3817 * </pre> 3818 * 3819 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 3820 */ getSystraceCount()3821 @java.lang.Deprecated int getSystraceCount(); 3822 /** 3823 * <pre> 3824 * systrace report message per file 3825 * </pre> 3826 * 3827 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 3828 */ 3829 @java.lang.Deprecated java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> getSystraceOrBuilderList()3830 getSystraceOrBuilderList(); 3831 /** 3832 * <pre> 3833 * systrace report message per file 3834 * </pre> 3835 * 3836 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 3837 */ getSystraceOrBuilder( int index)3838 @java.lang.Deprecated com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( 3839 int index); 3840 3841 /** 3842 * <pre> 3843 * log for each test case. May contain multiple logs such as logcat, host log, 3844 * etc. 3845 * </pre> 3846 * 3847 * <code>repeated .android.vts.LogMessage log = 101;</code> 3848 */ 3849 java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> getLogList()3850 getLogList(); 3851 /** 3852 * <pre> 3853 * log for each test case. May contain multiple logs such as logcat, host log, 3854 * etc. 3855 * </pre> 3856 * 3857 * <code>repeated .android.vts.LogMessage log = 101;</code> 3858 */ getLog(int index)3859 com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index); 3860 /** 3861 * <pre> 3862 * log for each test case. May contain multiple logs such as logcat, host log, 3863 * etc. 3864 * </pre> 3865 * 3866 * <code>repeated .android.vts.LogMessage log = 101;</code> 3867 */ getLogCount()3868 int getLogCount(); 3869 /** 3870 * <pre> 3871 * log for each test case. May contain multiple logs such as logcat, host log, 3872 * etc. 3873 * </pre> 3874 * 3875 * <code>repeated .android.vts.LogMessage log = 101;</code> 3876 */ 3877 java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> getLogOrBuilderList()3878 getLogOrBuilderList(); 3879 /** 3880 * <pre> 3881 * log for each test case. May contain multiple logs such as logcat, host log, 3882 * etc. 3883 * </pre> 3884 * 3885 * <code>repeated .android.vts.LogMessage log = 101;</code> 3886 */ getLogOrBuilder( int index)3887 com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( 3888 int index); 3889 } 3890 /** 3891 * <pre> 3892 * To specify a test case execution report. 3893 * </pre> 3894 * 3895 * Protobuf type {@code android.vts.TestCaseReportMessage} 3896 */ 3897 public static final class TestCaseReportMessage extends 3898 com.google.protobuf.GeneratedMessageV3 implements 3899 // @@protoc_insertion_point(message_implements:android.vts.TestCaseReportMessage) 3900 TestCaseReportMessageOrBuilder { 3901 // Use TestCaseReportMessage.newBuilder() to construct. TestCaseReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)3902 private TestCaseReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 3903 super(builder); 3904 } TestCaseReportMessage()3905 private TestCaseReportMessage() { 3906 name_ = com.google.protobuf.ByteString.EMPTY; 3907 testResult_ = 0; 3908 startTimestamp_ = 0L; 3909 endTimestamp_ = 0L; 3910 coverage_ = java.util.Collections.emptyList(); 3911 profiling_ = java.util.Collections.emptyList(); 3912 systrace_ = java.util.Collections.emptyList(); 3913 log_ = java.util.Collections.emptyList(); 3914 } 3915 3916 @java.lang.Override 3917 public final com.google.protobuf.UnknownFieldSet getUnknownFields()3918 getUnknownFields() { 3919 return this.unknownFields; 3920 } TestCaseReportMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)3921 private TestCaseReportMessage( 3922 com.google.protobuf.CodedInputStream input, 3923 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 3924 throws com.google.protobuf.InvalidProtocolBufferException { 3925 this(); 3926 int mutable_bitField0_ = 0; 3927 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 3928 com.google.protobuf.UnknownFieldSet.newBuilder(); 3929 try { 3930 boolean done = false; 3931 while (!done) { 3932 int tag = input.readTag(); 3933 switch (tag) { 3934 case 0: 3935 done = true; 3936 break; 3937 default: { 3938 if (!parseUnknownField(input, unknownFields, 3939 extensionRegistry, tag)) { 3940 done = true; 3941 } 3942 break; 3943 } 3944 case 10: { 3945 bitField0_ |= 0x00000001; 3946 name_ = input.readBytes(); 3947 break; 3948 } 3949 case 88: { 3950 int rawValue = input.readEnum(); 3951 com.android.vts.proto.VtsReportMessage.TestCaseResult value = com.android.vts.proto.VtsReportMessage.TestCaseResult.valueOf(rawValue); 3952 if (value == null) { 3953 unknownFields.mergeVarintField(11, rawValue); 3954 } else { 3955 bitField0_ |= 0x00000002; 3956 testResult_ = rawValue; 3957 } 3958 break; 3959 } 3960 case 168: { 3961 bitField0_ |= 0x00000004; 3962 startTimestamp_ = input.readInt64(); 3963 break; 3964 } 3965 case 176: { 3966 bitField0_ |= 0x00000008; 3967 endTimestamp_ = input.readInt64(); 3968 break; 3969 } 3970 case 250: { 3971 if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 3972 coverage_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.CoverageReportMessage>(); 3973 mutable_bitField0_ |= 0x00000010; 3974 } 3975 coverage_.add( 3976 input.readMessage(com.android.vts.proto.VtsReportMessage.CoverageReportMessage.PARSER, extensionRegistry)); 3977 break; 3978 } 3979 case 330: { 3980 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 3981 profiling_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage>(); 3982 mutable_bitField0_ |= 0x00000020; 3983 } 3984 profiling_.add( 3985 input.readMessage(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.PARSER, extensionRegistry)); 3986 break; 3987 } 3988 case 338: { 3989 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 3990 systrace_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.SystraceReportMessage>(); 3991 mutable_bitField0_ |= 0x00000040; 3992 } 3993 systrace_.add( 3994 input.readMessage(com.android.vts.proto.VtsReportMessage.SystraceReportMessage.PARSER, extensionRegistry)); 3995 break; 3996 } 3997 case 810: { 3998 if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { 3999 log_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.LogMessage>(); 4000 mutable_bitField0_ |= 0x00000080; 4001 } 4002 log_.add( 4003 input.readMessage(com.android.vts.proto.VtsReportMessage.LogMessage.PARSER, extensionRegistry)); 4004 break; 4005 } 4006 } 4007 } 4008 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 4009 throw e.setUnfinishedMessage(this); 4010 } catch (java.io.IOException e) { 4011 throw new com.google.protobuf.InvalidProtocolBufferException( 4012 e).setUnfinishedMessage(this); 4013 } finally { 4014 if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { 4015 coverage_ = java.util.Collections.unmodifiableList(coverage_); 4016 } 4017 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 4018 profiling_ = java.util.Collections.unmodifiableList(profiling_); 4019 } 4020 if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 4021 systrace_ = java.util.Collections.unmodifiableList(systrace_); 4022 } 4023 if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { 4024 log_ = java.util.Collections.unmodifiableList(log_); 4025 } 4026 this.unknownFields = unknownFields.build(); 4027 makeExtensionsImmutable(); 4028 } 4029 } 4030 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()4031 getDescriptor() { 4032 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_descriptor; 4033 } 4034 4035 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()4036 internalGetFieldAccessorTable() { 4037 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_fieldAccessorTable 4038 .ensureFieldAccessorsInitialized( 4039 com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.class, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder.class); 4040 } 4041 4042 private int bitField0_; 4043 public static final int NAME_FIELD_NUMBER = 1; 4044 private com.google.protobuf.ByteString name_; 4045 /** 4046 * <pre> 4047 * the test case name. 4048 * </pre> 4049 * 4050 * <code>optional bytes name = 1;</code> 4051 */ hasName()4052 public boolean hasName() { 4053 return ((bitField0_ & 0x00000001) == 0x00000001); 4054 } 4055 /** 4056 * <pre> 4057 * the test case name. 4058 * </pre> 4059 * 4060 * <code>optional bytes name = 1;</code> 4061 */ getName()4062 public com.google.protobuf.ByteString getName() { 4063 return name_; 4064 } 4065 4066 public static final int TEST_RESULT_FIELD_NUMBER = 11; 4067 private int testResult_; 4068 /** 4069 * <pre> 4070 * the test result. 4071 * </pre> 4072 * 4073 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 4074 */ hasTestResult()4075 public boolean hasTestResult() { 4076 return ((bitField0_ & 0x00000002) == 0x00000002); 4077 } 4078 /** 4079 * <pre> 4080 * the test result. 4081 * </pre> 4082 * 4083 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 4084 */ getTestResult()4085 public com.android.vts.proto.VtsReportMessage.TestCaseResult getTestResult() { 4086 com.android.vts.proto.VtsReportMessage.TestCaseResult result = com.android.vts.proto.VtsReportMessage.TestCaseResult.valueOf(testResult_); 4087 return result == null ? com.android.vts.proto.VtsReportMessage.TestCaseResult.UNKNOWN_RESULT : result; 4088 } 4089 4090 public static final int START_TIMESTAMP_FIELD_NUMBER = 21; 4091 private long startTimestamp_; 4092 /** 4093 * <pre> 4094 * execution start and end time stamp. 4095 * </pre> 4096 * 4097 * <code>optional int64 start_timestamp = 21;</code> 4098 */ hasStartTimestamp()4099 public boolean hasStartTimestamp() { 4100 return ((bitField0_ & 0x00000004) == 0x00000004); 4101 } 4102 /** 4103 * <pre> 4104 * execution start and end time stamp. 4105 * </pre> 4106 * 4107 * <code>optional int64 start_timestamp = 21;</code> 4108 */ getStartTimestamp()4109 public long getStartTimestamp() { 4110 return startTimestamp_; 4111 } 4112 4113 public static final int END_TIMESTAMP_FIELD_NUMBER = 22; 4114 private long endTimestamp_; 4115 /** 4116 * <code>optional int64 end_timestamp = 22;</code> 4117 */ hasEndTimestamp()4118 public boolean hasEndTimestamp() { 4119 return ((bitField0_ & 0x00000008) == 0x00000008); 4120 } 4121 /** 4122 * <code>optional int64 end_timestamp = 22;</code> 4123 */ getEndTimestamp()4124 public long getEndTimestamp() { 4125 return endTimestamp_; 4126 } 4127 4128 public static final int COVERAGE_FIELD_NUMBER = 31; 4129 private java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> coverage_; 4130 /** 4131 * <pre> 4132 * coverage report per file 4133 * </pre> 4134 * 4135 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 4136 */ getCoverageList()4137 public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> getCoverageList() { 4138 return coverage_; 4139 } 4140 /** 4141 * <pre> 4142 * coverage report per file 4143 * </pre> 4144 * 4145 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 4146 */ 4147 public java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> getCoverageOrBuilderList()4148 getCoverageOrBuilderList() { 4149 return coverage_; 4150 } 4151 /** 4152 * <pre> 4153 * coverage report per file 4154 * </pre> 4155 * 4156 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 4157 */ getCoverageCount()4158 public int getCoverageCount() { 4159 return coverage_.size(); 4160 } 4161 /** 4162 * <pre> 4163 * coverage report per file 4164 * </pre> 4165 * 4166 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 4167 */ getCoverage(int index)4168 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index) { 4169 return coverage_.get(index); 4170 } 4171 /** 4172 * <pre> 4173 * coverage report per file 4174 * </pre> 4175 * 4176 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 4177 */ getCoverageOrBuilder( int index)4178 public com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( 4179 int index) { 4180 return coverage_.get(index); 4181 } 4182 4183 public static final int PROFILING_FIELD_NUMBER = 41; 4184 private java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> profiling_; 4185 /** 4186 * <pre> 4187 * profiling reports 4188 * </pre> 4189 * 4190 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 4191 */ getProfilingList()4192 public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> getProfilingList() { 4193 return profiling_; 4194 } 4195 /** 4196 * <pre> 4197 * profiling reports 4198 * </pre> 4199 * 4200 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 4201 */ 4202 public java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> getProfilingOrBuilderList()4203 getProfilingOrBuilderList() { 4204 return profiling_; 4205 } 4206 /** 4207 * <pre> 4208 * profiling reports 4209 * </pre> 4210 * 4211 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 4212 */ getProfilingCount()4213 public int getProfilingCount() { 4214 return profiling_.size(); 4215 } 4216 /** 4217 * <pre> 4218 * profiling reports 4219 * </pre> 4220 * 4221 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 4222 */ getProfiling(int index)4223 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index) { 4224 return profiling_.get(index); 4225 } 4226 /** 4227 * <pre> 4228 * profiling reports 4229 * </pre> 4230 * 4231 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 4232 */ getProfilingOrBuilder( int index)4233 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( 4234 int index) { 4235 return profiling_.get(index); 4236 } 4237 4238 public static final int SYSTRACE_FIELD_NUMBER = 42; 4239 private java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> systrace_; 4240 /** 4241 * <pre> 4242 * systrace report message per file 4243 * </pre> 4244 * 4245 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 4246 */ getSystraceList()4247 @java.lang.Deprecated public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> getSystraceList() { 4248 return systrace_; 4249 } 4250 /** 4251 * <pre> 4252 * systrace report message per file 4253 * </pre> 4254 * 4255 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 4256 */ 4257 @java.lang.Deprecated public java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> getSystraceOrBuilderList()4258 getSystraceOrBuilderList() { 4259 return systrace_; 4260 } 4261 /** 4262 * <pre> 4263 * systrace report message per file 4264 * </pre> 4265 * 4266 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 4267 */ getSystraceCount()4268 @java.lang.Deprecated public int getSystraceCount() { 4269 return systrace_.size(); 4270 } 4271 /** 4272 * <pre> 4273 * systrace report message per file 4274 * </pre> 4275 * 4276 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 4277 */ getSystrace(int index)4278 @java.lang.Deprecated public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index) { 4279 return systrace_.get(index); 4280 } 4281 /** 4282 * <pre> 4283 * systrace report message per file 4284 * </pre> 4285 * 4286 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 4287 */ getSystraceOrBuilder( int index)4288 @java.lang.Deprecated public com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( 4289 int index) { 4290 return systrace_.get(index); 4291 } 4292 4293 public static final int LOG_FIELD_NUMBER = 101; 4294 private java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> log_; 4295 /** 4296 * <pre> 4297 * log for each test case. May contain multiple logs such as logcat, host log, 4298 * etc. 4299 * </pre> 4300 * 4301 * <code>repeated .android.vts.LogMessage log = 101;</code> 4302 */ getLogList()4303 public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> getLogList() { 4304 return log_; 4305 } 4306 /** 4307 * <pre> 4308 * log for each test case. May contain multiple logs such as logcat, host log, 4309 * etc. 4310 * </pre> 4311 * 4312 * <code>repeated .android.vts.LogMessage log = 101;</code> 4313 */ 4314 public java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> getLogOrBuilderList()4315 getLogOrBuilderList() { 4316 return log_; 4317 } 4318 /** 4319 * <pre> 4320 * log for each test case. May contain multiple logs such as logcat, host log, 4321 * etc. 4322 * </pre> 4323 * 4324 * <code>repeated .android.vts.LogMessage log = 101;</code> 4325 */ getLogCount()4326 public int getLogCount() { 4327 return log_.size(); 4328 } 4329 /** 4330 * <pre> 4331 * log for each test case. May contain multiple logs such as logcat, host log, 4332 * etc. 4333 * </pre> 4334 * 4335 * <code>repeated .android.vts.LogMessage log = 101;</code> 4336 */ getLog(int index)4337 public com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index) { 4338 return log_.get(index); 4339 } 4340 /** 4341 * <pre> 4342 * log for each test case. May contain multiple logs such as logcat, host log, 4343 * etc. 4344 * </pre> 4345 * 4346 * <code>repeated .android.vts.LogMessage log = 101;</code> 4347 */ getLogOrBuilder( int index)4348 public com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( 4349 int index) { 4350 return log_.get(index); 4351 } 4352 4353 private byte memoizedIsInitialized = -1; isInitialized()4354 public final boolean isInitialized() { 4355 byte isInitialized = memoizedIsInitialized; 4356 if (isInitialized == 1) return true; 4357 if (isInitialized == 0) return false; 4358 4359 memoizedIsInitialized = 1; 4360 return true; 4361 } 4362 writeTo(com.google.protobuf.CodedOutputStream output)4363 public void writeTo(com.google.protobuf.CodedOutputStream output) 4364 throws java.io.IOException { 4365 if (((bitField0_ & 0x00000001) == 0x00000001)) { 4366 output.writeBytes(1, name_); 4367 } 4368 if (((bitField0_ & 0x00000002) == 0x00000002)) { 4369 output.writeEnum(11, testResult_); 4370 } 4371 if (((bitField0_ & 0x00000004) == 0x00000004)) { 4372 output.writeInt64(21, startTimestamp_); 4373 } 4374 if (((bitField0_ & 0x00000008) == 0x00000008)) { 4375 output.writeInt64(22, endTimestamp_); 4376 } 4377 for (int i = 0; i < coverage_.size(); i++) { 4378 output.writeMessage(31, coverage_.get(i)); 4379 } 4380 for (int i = 0; i < profiling_.size(); i++) { 4381 output.writeMessage(41, profiling_.get(i)); 4382 } 4383 for (int i = 0; i < systrace_.size(); i++) { 4384 output.writeMessage(42, systrace_.get(i)); 4385 } 4386 for (int i = 0; i < log_.size(); i++) { 4387 output.writeMessage(101, log_.get(i)); 4388 } 4389 unknownFields.writeTo(output); 4390 } 4391 getSerializedSize()4392 public int getSerializedSize() { 4393 int size = memoizedSize; 4394 if (size != -1) return size; 4395 4396 size = 0; 4397 if (((bitField0_ & 0x00000001) == 0x00000001)) { 4398 size += com.google.protobuf.CodedOutputStream 4399 .computeBytesSize(1, name_); 4400 } 4401 if (((bitField0_ & 0x00000002) == 0x00000002)) { 4402 size += com.google.protobuf.CodedOutputStream 4403 .computeEnumSize(11, testResult_); 4404 } 4405 if (((bitField0_ & 0x00000004) == 0x00000004)) { 4406 size += com.google.protobuf.CodedOutputStream 4407 .computeInt64Size(21, startTimestamp_); 4408 } 4409 if (((bitField0_ & 0x00000008) == 0x00000008)) { 4410 size += com.google.protobuf.CodedOutputStream 4411 .computeInt64Size(22, endTimestamp_); 4412 } 4413 for (int i = 0; i < coverage_.size(); i++) { 4414 size += com.google.protobuf.CodedOutputStream 4415 .computeMessageSize(31, coverage_.get(i)); 4416 } 4417 for (int i = 0; i < profiling_.size(); i++) { 4418 size += com.google.protobuf.CodedOutputStream 4419 .computeMessageSize(41, profiling_.get(i)); 4420 } 4421 for (int i = 0; i < systrace_.size(); i++) { 4422 size += com.google.protobuf.CodedOutputStream 4423 .computeMessageSize(42, systrace_.get(i)); 4424 } 4425 for (int i = 0; i < log_.size(); i++) { 4426 size += com.google.protobuf.CodedOutputStream 4427 .computeMessageSize(101, log_.get(i)); 4428 } 4429 size += unknownFields.getSerializedSize(); 4430 memoizedSize = size; 4431 return size; 4432 } 4433 4434 private static final long serialVersionUID = 0L; 4435 @java.lang.Override equals(final java.lang.Object obj)4436 public boolean equals(final java.lang.Object obj) { 4437 if (obj == this) { 4438 return true; 4439 } 4440 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.TestCaseReportMessage)) { 4441 return super.equals(obj); 4442 } 4443 com.android.vts.proto.VtsReportMessage.TestCaseReportMessage other = (com.android.vts.proto.VtsReportMessage.TestCaseReportMessage) obj; 4444 4445 boolean result = true; 4446 result = result && (hasName() == other.hasName()); 4447 if (hasName()) { 4448 result = result && getName() 4449 .equals(other.getName()); 4450 } 4451 result = result && (hasTestResult() == other.hasTestResult()); 4452 if (hasTestResult()) { 4453 result = result && testResult_ == other.testResult_; 4454 } 4455 result = result && (hasStartTimestamp() == other.hasStartTimestamp()); 4456 if (hasStartTimestamp()) { 4457 result = result && (getStartTimestamp() 4458 == other.getStartTimestamp()); 4459 } 4460 result = result && (hasEndTimestamp() == other.hasEndTimestamp()); 4461 if (hasEndTimestamp()) { 4462 result = result && (getEndTimestamp() 4463 == other.getEndTimestamp()); 4464 } 4465 result = result && getCoverageList() 4466 .equals(other.getCoverageList()); 4467 result = result && getProfilingList() 4468 .equals(other.getProfilingList()); 4469 result = result && getSystraceList() 4470 .equals(other.getSystraceList()); 4471 result = result && getLogList() 4472 .equals(other.getLogList()); 4473 result = result && unknownFields.equals(other.unknownFields); 4474 return result; 4475 } 4476 4477 @java.lang.Override hashCode()4478 public int hashCode() { 4479 if (memoizedHashCode != 0) { 4480 return memoizedHashCode; 4481 } 4482 int hash = 41; 4483 hash = (19 * hash) + getDescriptorForType().hashCode(); 4484 if (hasName()) { 4485 hash = (37 * hash) + NAME_FIELD_NUMBER; 4486 hash = (53 * hash) + getName().hashCode(); 4487 } 4488 if (hasTestResult()) { 4489 hash = (37 * hash) + TEST_RESULT_FIELD_NUMBER; 4490 hash = (53 * hash) + testResult_; 4491 } 4492 if (hasStartTimestamp()) { 4493 hash = (37 * hash) + START_TIMESTAMP_FIELD_NUMBER; 4494 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 4495 getStartTimestamp()); 4496 } 4497 if (hasEndTimestamp()) { 4498 hash = (37 * hash) + END_TIMESTAMP_FIELD_NUMBER; 4499 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 4500 getEndTimestamp()); 4501 } 4502 if (getCoverageCount() > 0) { 4503 hash = (37 * hash) + COVERAGE_FIELD_NUMBER; 4504 hash = (53 * hash) + getCoverageList().hashCode(); 4505 } 4506 if (getProfilingCount() > 0) { 4507 hash = (37 * hash) + PROFILING_FIELD_NUMBER; 4508 hash = (53 * hash) + getProfilingList().hashCode(); 4509 } 4510 if (getSystraceCount() > 0) { 4511 hash = (37 * hash) + SYSTRACE_FIELD_NUMBER; 4512 hash = (53 * hash) + getSystraceList().hashCode(); 4513 } 4514 if (getLogCount() > 0) { 4515 hash = (37 * hash) + LOG_FIELD_NUMBER; 4516 hash = (53 * hash) + getLogList().hashCode(); 4517 } 4518 hash = (29 * hash) + unknownFields.hashCode(); 4519 memoizedHashCode = hash; 4520 return hash; 4521 } 4522 parseFrom( com.google.protobuf.ByteString data)4523 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( 4524 com.google.protobuf.ByteString data) 4525 throws com.google.protobuf.InvalidProtocolBufferException { 4526 return PARSER.parseFrom(data); 4527 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)4528 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( 4529 com.google.protobuf.ByteString data, 4530 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4531 throws com.google.protobuf.InvalidProtocolBufferException { 4532 return PARSER.parseFrom(data, extensionRegistry); 4533 } parseFrom(byte[] data)4534 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom(byte[] data) 4535 throws com.google.protobuf.InvalidProtocolBufferException { 4536 return PARSER.parseFrom(data); 4537 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)4538 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( 4539 byte[] data, 4540 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4541 throws com.google.protobuf.InvalidProtocolBufferException { 4542 return PARSER.parseFrom(data, extensionRegistry); 4543 } parseFrom(java.io.InputStream input)4544 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom(java.io.InputStream input) 4545 throws java.io.IOException { 4546 return com.google.protobuf.GeneratedMessageV3 4547 .parseWithIOException(PARSER, input); 4548 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)4549 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( 4550 java.io.InputStream input, 4551 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4552 throws java.io.IOException { 4553 return com.google.protobuf.GeneratedMessageV3 4554 .parseWithIOException(PARSER, input, extensionRegistry); 4555 } parseDelimitedFrom(java.io.InputStream input)4556 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseDelimitedFrom(java.io.InputStream input) 4557 throws java.io.IOException { 4558 return com.google.protobuf.GeneratedMessageV3 4559 .parseDelimitedWithIOException(PARSER, input); 4560 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)4561 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseDelimitedFrom( 4562 java.io.InputStream input, 4563 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4564 throws java.io.IOException { 4565 return com.google.protobuf.GeneratedMessageV3 4566 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 4567 } parseFrom( com.google.protobuf.CodedInputStream input)4568 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( 4569 com.google.protobuf.CodedInputStream input) 4570 throws java.io.IOException { 4571 return com.google.protobuf.GeneratedMessageV3 4572 .parseWithIOException(PARSER, input); 4573 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)4574 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parseFrom( 4575 com.google.protobuf.CodedInputStream input, 4576 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4577 throws java.io.IOException { 4578 return com.google.protobuf.GeneratedMessageV3 4579 .parseWithIOException(PARSER, input, extensionRegistry); 4580 } 4581 newBuilderForType()4582 public Builder newBuilderForType() { return newBuilder(); } newBuilder()4583 public static Builder newBuilder() { 4584 return DEFAULT_INSTANCE.toBuilder(); 4585 } newBuilder(com.android.vts.proto.VtsReportMessage.TestCaseReportMessage prototype)4586 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.TestCaseReportMessage prototype) { 4587 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 4588 } toBuilder()4589 public Builder toBuilder() { 4590 return this == DEFAULT_INSTANCE 4591 ? new Builder() : new Builder().mergeFrom(this); 4592 } 4593 4594 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)4595 protected Builder newBuilderForType( 4596 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 4597 Builder builder = new Builder(parent); 4598 return builder; 4599 } 4600 /** 4601 * <pre> 4602 * To specify a test case execution report. 4603 * </pre> 4604 * 4605 * Protobuf type {@code android.vts.TestCaseReportMessage} 4606 */ 4607 public static final class Builder extends 4608 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 4609 // @@protoc_insertion_point(builder_implements:android.vts.TestCaseReportMessage) 4610 com.android.vts.proto.VtsReportMessage.TestCaseReportMessageOrBuilder { 4611 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()4612 getDescriptor() { 4613 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_descriptor; 4614 } 4615 4616 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()4617 internalGetFieldAccessorTable() { 4618 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_fieldAccessorTable 4619 .ensureFieldAccessorsInitialized( 4620 com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.class, com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.Builder.class); 4621 } 4622 4623 // Construct using com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.newBuilder() Builder()4624 private Builder() { 4625 maybeForceBuilderInitialization(); 4626 } 4627 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)4628 private Builder( 4629 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 4630 super(parent); 4631 maybeForceBuilderInitialization(); 4632 } maybeForceBuilderInitialization()4633 private void maybeForceBuilderInitialization() { 4634 if (com.google.protobuf.GeneratedMessageV3 4635 .alwaysUseFieldBuilders) { 4636 getCoverageFieldBuilder(); 4637 getProfilingFieldBuilder(); 4638 getSystraceFieldBuilder(); 4639 getLogFieldBuilder(); 4640 } 4641 } clear()4642 public Builder clear() { 4643 super.clear(); 4644 name_ = com.google.protobuf.ByteString.EMPTY; 4645 bitField0_ = (bitField0_ & ~0x00000001); 4646 testResult_ = 0; 4647 bitField0_ = (bitField0_ & ~0x00000002); 4648 startTimestamp_ = 0L; 4649 bitField0_ = (bitField0_ & ~0x00000004); 4650 endTimestamp_ = 0L; 4651 bitField0_ = (bitField0_ & ~0x00000008); 4652 if (coverageBuilder_ == null) { 4653 coverage_ = java.util.Collections.emptyList(); 4654 bitField0_ = (bitField0_ & ~0x00000010); 4655 } else { 4656 coverageBuilder_.clear(); 4657 } 4658 if (profilingBuilder_ == null) { 4659 profiling_ = java.util.Collections.emptyList(); 4660 bitField0_ = (bitField0_ & ~0x00000020); 4661 } else { 4662 profilingBuilder_.clear(); 4663 } 4664 if (systraceBuilder_ == null) { 4665 systrace_ = java.util.Collections.emptyList(); 4666 bitField0_ = (bitField0_ & ~0x00000040); 4667 } else { 4668 systraceBuilder_.clear(); 4669 } 4670 if (logBuilder_ == null) { 4671 log_ = java.util.Collections.emptyList(); 4672 bitField0_ = (bitField0_ & ~0x00000080); 4673 } else { 4674 logBuilder_.clear(); 4675 } 4676 return this; 4677 } 4678 4679 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()4680 getDescriptorForType() { 4681 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_TestCaseReportMessage_descriptor; 4682 } 4683 getDefaultInstanceForType()4684 public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage getDefaultInstanceForType() { 4685 return com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.getDefaultInstance(); 4686 } 4687 build()4688 public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage build() { 4689 com.android.vts.proto.VtsReportMessage.TestCaseReportMessage result = buildPartial(); 4690 if (!result.isInitialized()) { 4691 throw newUninitializedMessageException(result); 4692 } 4693 return result; 4694 } 4695 buildPartial()4696 public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage buildPartial() { 4697 com.android.vts.proto.VtsReportMessage.TestCaseReportMessage result = new com.android.vts.proto.VtsReportMessage.TestCaseReportMessage(this); 4698 int from_bitField0_ = bitField0_; 4699 int to_bitField0_ = 0; 4700 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 4701 to_bitField0_ |= 0x00000001; 4702 } 4703 result.name_ = name_; 4704 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 4705 to_bitField0_ |= 0x00000002; 4706 } 4707 result.testResult_ = testResult_; 4708 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 4709 to_bitField0_ |= 0x00000004; 4710 } 4711 result.startTimestamp_ = startTimestamp_; 4712 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 4713 to_bitField0_ |= 0x00000008; 4714 } 4715 result.endTimestamp_ = endTimestamp_; 4716 if (coverageBuilder_ == null) { 4717 if (((bitField0_ & 0x00000010) == 0x00000010)) { 4718 coverage_ = java.util.Collections.unmodifiableList(coverage_); 4719 bitField0_ = (bitField0_ & ~0x00000010); 4720 } 4721 result.coverage_ = coverage_; 4722 } else { 4723 result.coverage_ = coverageBuilder_.build(); 4724 } 4725 if (profilingBuilder_ == null) { 4726 if (((bitField0_ & 0x00000020) == 0x00000020)) { 4727 profiling_ = java.util.Collections.unmodifiableList(profiling_); 4728 bitField0_ = (bitField0_ & ~0x00000020); 4729 } 4730 result.profiling_ = profiling_; 4731 } else { 4732 result.profiling_ = profilingBuilder_.build(); 4733 } 4734 if (systraceBuilder_ == null) { 4735 if (((bitField0_ & 0x00000040) == 0x00000040)) { 4736 systrace_ = java.util.Collections.unmodifiableList(systrace_); 4737 bitField0_ = (bitField0_ & ~0x00000040); 4738 } 4739 result.systrace_ = systrace_; 4740 } else { 4741 result.systrace_ = systraceBuilder_.build(); 4742 } 4743 if (logBuilder_ == null) { 4744 if (((bitField0_ & 0x00000080) == 0x00000080)) { 4745 log_ = java.util.Collections.unmodifiableList(log_); 4746 bitField0_ = (bitField0_ & ~0x00000080); 4747 } 4748 result.log_ = log_; 4749 } else { 4750 result.log_ = logBuilder_.build(); 4751 } 4752 result.bitField0_ = to_bitField0_; 4753 onBuilt(); 4754 return result; 4755 } 4756 clone()4757 public Builder clone() { 4758 return (Builder) super.clone(); 4759 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)4760 public Builder setField( 4761 com.google.protobuf.Descriptors.FieldDescriptor field, 4762 Object value) { 4763 return (Builder) super.setField(field, value); 4764 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)4765 public Builder clearField( 4766 com.google.protobuf.Descriptors.FieldDescriptor field) { 4767 return (Builder) super.clearField(field); 4768 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)4769 public Builder clearOneof( 4770 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 4771 return (Builder) super.clearOneof(oneof); 4772 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)4773 public Builder setRepeatedField( 4774 com.google.protobuf.Descriptors.FieldDescriptor field, 4775 int index, Object value) { 4776 return (Builder) super.setRepeatedField(field, index, value); 4777 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)4778 public Builder addRepeatedField( 4779 com.google.protobuf.Descriptors.FieldDescriptor field, 4780 Object value) { 4781 return (Builder) super.addRepeatedField(field, value); 4782 } mergeFrom(com.google.protobuf.Message other)4783 public Builder mergeFrom(com.google.protobuf.Message other) { 4784 if (other instanceof com.android.vts.proto.VtsReportMessage.TestCaseReportMessage) { 4785 return mergeFrom((com.android.vts.proto.VtsReportMessage.TestCaseReportMessage)other); 4786 } else { 4787 super.mergeFrom(other); 4788 return this; 4789 } 4790 } 4791 mergeFrom(com.android.vts.proto.VtsReportMessage.TestCaseReportMessage other)4792 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.TestCaseReportMessage other) { 4793 if (other == com.android.vts.proto.VtsReportMessage.TestCaseReportMessage.getDefaultInstance()) return this; 4794 if (other.hasName()) { 4795 setName(other.getName()); 4796 } 4797 if (other.hasTestResult()) { 4798 setTestResult(other.getTestResult()); 4799 } 4800 if (other.hasStartTimestamp()) { 4801 setStartTimestamp(other.getStartTimestamp()); 4802 } 4803 if (other.hasEndTimestamp()) { 4804 setEndTimestamp(other.getEndTimestamp()); 4805 } 4806 if (coverageBuilder_ == null) { 4807 if (!other.coverage_.isEmpty()) { 4808 if (coverage_.isEmpty()) { 4809 coverage_ = other.coverage_; 4810 bitField0_ = (bitField0_ & ~0x00000010); 4811 } else { 4812 ensureCoverageIsMutable(); 4813 coverage_.addAll(other.coverage_); 4814 } 4815 onChanged(); 4816 } 4817 } else { 4818 if (!other.coverage_.isEmpty()) { 4819 if (coverageBuilder_.isEmpty()) { 4820 coverageBuilder_.dispose(); 4821 coverageBuilder_ = null; 4822 coverage_ = other.coverage_; 4823 bitField0_ = (bitField0_ & ~0x00000010); 4824 coverageBuilder_ = 4825 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 4826 getCoverageFieldBuilder() : null; 4827 } else { 4828 coverageBuilder_.addAllMessages(other.coverage_); 4829 } 4830 } 4831 } 4832 if (profilingBuilder_ == null) { 4833 if (!other.profiling_.isEmpty()) { 4834 if (profiling_.isEmpty()) { 4835 profiling_ = other.profiling_; 4836 bitField0_ = (bitField0_ & ~0x00000020); 4837 } else { 4838 ensureProfilingIsMutable(); 4839 profiling_.addAll(other.profiling_); 4840 } 4841 onChanged(); 4842 } 4843 } else { 4844 if (!other.profiling_.isEmpty()) { 4845 if (profilingBuilder_.isEmpty()) { 4846 profilingBuilder_.dispose(); 4847 profilingBuilder_ = null; 4848 profiling_ = other.profiling_; 4849 bitField0_ = (bitField0_ & ~0x00000020); 4850 profilingBuilder_ = 4851 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 4852 getProfilingFieldBuilder() : null; 4853 } else { 4854 profilingBuilder_.addAllMessages(other.profiling_); 4855 } 4856 } 4857 } 4858 if (systraceBuilder_ == null) { 4859 if (!other.systrace_.isEmpty()) { 4860 if (systrace_.isEmpty()) { 4861 systrace_ = other.systrace_; 4862 bitField0_ = (bitField0_ & ~0x00000040); 4863 } else { 4864 ensureSystraceIsMutable(); 4865 systrace_.addAll(other.systrace_); 4866 } 4867 onChanged(); 4868 } 4869 } else { 4870 if (!other.systrace_.isEmpty()) { 4871 if (systraceBuilder_.isEmpty()) { 4872 systraceBuilder_.dispose(); 4873 systraceBuilder_ = null; 4874 systrace_ = other.systrace_; 4875 bitField0_ = (bitField0_ & ~0x00000040); 4876 systraceBuilder_ = 4877 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 4878 getSystraceFieldBuilder() : null; 4879 } else { 4880 systraceBuilder_.addAllMessages(other.systrace_); 4881 } 4882 } 4883 } 4884 if (logBuilder_ == null) { 4885 if (!other.log_.isEmpty()) { 4886 if (log_.isEmpty()) { 4887 log_ = other.log_; 4888 bitField0_ = (bitField0_ & ~0x00000080); 4889 } else { 4890 ensureLogIsMutable(); 4891 log_.addAll(other.log_); 4892 } 4893 onChanged(); 4894 } 4895 } else { 4896 if (!other.log_.isEmpty()) { 4897 if (logBuilder_.isEmpty()) { 4898 logBuilder_.dispose(); 4899 logBuilder_ = null; 4900 log_ = other.log_; 4901 bitField0_ = (bitField0_ & ~0x00000080); 4902 logBuilder_ = 4903 com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? 4904 getLogFieldBuilder() : null; 4905 } else { 4906 logBuilder_.addAllMessages(other.log_); 4907 } 4908 } 4909 } 4910 this.mergeUnknownFields(other.unknownFields); 4911 onChanged(); 4912 return this; 4913 } 4914 isInitialized()4915 public final boolean isInitialized() { 4916 return true; 4917 } 4918 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)4919 public Builder mergeFrom( 4920 com.google.protobuf.CodedInputStream input, 4921 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 4922 throws java.io.IOException { 4923 com.android.vts.proto.VtsReportMessage.TestCaseReportMessage parsedMessage = null; 4924 try { 4925 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 4926 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 4927 parsedMessage = (com.android.vts.proto.VtsReportMessage.TestCaseReportMessage) e.getUnfinishedMessage(); 4928 throw e.unwrapIOException(); 4929 } finally { 4930 if (parsedMessage != null) { 4931 mergeFrom(parsedMessage); 4932 } 4933 } 4934 return this; 4935 } 4936 private int bitField0_; 4937 4938 private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; 4939 /** 4940 * <pre> 4941 * the test case name. 4942 * </pre> 4943 * 4944 * <code>optional bytes name = 1;</code> 4945 */ hasName()4946 public boolean hasName() { 4947 return ((bitField0_ & 0x00000001) == 0x00000001); 4948 } 4949 /** 4950 * <pre> 4951 * the test case name. 4952 * </pre> 4953 * 4954 * <code>optional bytes name = 1;</code> 4955 */ getName()4956 public com.google.protobuf.ByteString getName() { 4957 return name_; 4958 } 4959 /** 4960 * <pre> 4961 * the test case name. 4962 * </pre> 4963 * 4964 * <code>optional bytes name = 1;</code> 4965 */ setName(com.google.protobuf.ByteString value)4966 public Builder setName(com.google.protobuf.ByteString value) { 4967 if (value == null) { 4968 throw new NullPointerException(); 4969 } 4970 bitField0_ |= 0x00000001; 4971 name_ = value; 4972 onChanged(); 4973 return this; 4974 } 4975 /** 4976 * <pre> 4977 * the test case name. 4978 * </pre> 4979 * 4980 * <code>optional bytes name = 1;</code> 4981 */ clearName()4982 public Builder clearName() { 4983 bitField0_ = (bitField0_ & ~0x00000001); 4984 name_ = getDefaultInstance().getName(); 4985 onChanged(); 4986 return this; 4987 } 4988 4989 private int testResult_ = 0; 4990 /** 4991 * <pre> 4992 * the test result. 4993 * </pre> 4994 * 4995 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 4996 */ hasTestResult()4997 public boolean hasTestResult() { 4998 return ((bitField0_ & 0x00000002) == 0x00000002); 4999 } 5000 /** 5001 * <pre> 5002 * the test result. 5003 * </pre> 5004 * 5005 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 5006 */ getTestResult()5007 public com.android.vts.proto.VtsReportMessage.TestCaseResult getTestResult() { 5008 com.android.vts.proto.VtsReportMessage.TestCaseResult result = com.android.vts.proto.VtsReportMessage.TestCaseResult.valueOf(testResult_); 5009 return result == null ? com.android.vts.proto.VtsReportMessage.TestCaseResult.UNKNOWN_RESULT : result; 5010 } 5011 /** 5012 * <pre> 5013 * the test result. 5014 * </pre> 5015 * 5016 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 5017 */ setTestResult(com.android.vts.proto.VtsReportMessage.TestCaseResult value)5018 public Builder setTestResult(com.android.vts.proto.VtsReportMessage.TestCaseResult value) { 5019 if (value == null) { 5020 throw new NullPointerException(); 5021 } 5022 bitField0_ |= 0x00000002; 5023 testResult_ = value.getNumber(); 5024 onChanged(); 5025 return this; 5026 } 5027 /** 5028 * <pre> 5029 * the test result. 5030 * </pre> 5031 * 5032 * <code>optional .android.vts.TestCaseResult test_result = 11;</code> 5033 */ clearTestResult()5034 public Builder clearTestResult() { 5035 bitField0_ = (bitField0_ & ~0x00000002); 5036 testResult_ = 0; 5037 onChanged(); 5038 return this; 5039 } 5040 5041 private long startTimestamp_ ; 5042 /** 5043 * <pre> 5044 * execution start and end time stamp. 5045 * </pre> 5046 * 5047 * <code>optional int64 start_timestamp = 21;</code> 5048 */ hasStartTimestamp()5049 public boolean hasStartTimestamp() { 5050 return ((bitField0_ & 0x00000004) == 0x00000004); 5051 } 5052 /** 5053 * <pre> 5054 * execution start and end time stamp. 5055 * </pre> 5056 * 5057 * <code>optional int64 start_timestamp = 21;</code> 5058 */ getStartTimestamp()5059 public long getStartTimestamp() { 5060 return startTimestamp_; 5061 } 5062 /** 5063 * <pre> 5064 * execution start and end time stamp. 5065 * </pre> 5066 * 5067 * <code>optional int64 start_timestamp = 21;</code> 5068 */ setStartTimestamp(long value)5069 public Builder setStartTimestamp(long value) { 5070 bitField0_ |= 0x00000004; 5071 startTimestamp_ = value; 5072 onChanged(); 5073 return this; 5074 } 5075 /** 5076 * <pre> 5077 * execution start and end time stamp. 5078 * </pre> 5079 * 5080 * <code>optional int64 start_timestamp = 21;</code> 5081 */ clearStartTimestamp()5082 public Builder clearStartTimestamp() { 5083 bitField0_ = (bitField0_ & ~0x00000004); 5084 startTimestamp_ = 0L; 5085 onChanged(); 5086 return this; 5087 } 5088 5089 private long endTimestamp_ ; 5090 /** 5091 * <code>optional int64 end_timestamp = 22;</code> 5092 */ hasEndTimestamp()5093 public boolean hasEndTimestamp() { 5094 return ((bitField0_ & 0x00000008) == 0x00000008); 5095 } 5096 /** 5097 * <code>optional int64 end_timestamp = 22;</code> 5098 */ getEndTimestamp()5099 public long getEndTimestamp() { 5100 return endTimestamp_; 5101 } 5102 /** 5103 * <code>optional int64 end_timestamp = 22;</code> 5104 */ setEndTimestamp(long value)5105 public Builder setEndTimestamp(long value) { 5106 bitField0_ |= 0x00000008; 5107 endTimestamp_ = value; 5108 onChanged(); 5109 return this; 5110 } 5111 /** 5112 * <code>optional int64 end_timestamp = 22;</code> 5113 */ clearEndTimestamp()5114 public Builder clearEndTimestamp() { 5115 bitField0_ = (bitField0_ & ~0x00000008); 5116 endTimestamp_ = 0L; 5117 onChanged(); 5118 return this; 5119 } 5120 5121 private java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> coverage_ = 5122 java.util.Collections.emptyList(); ensureCoverageIsMutable()5123 private void ensureCoverageIsMutable() { 5124 if (!((bitField0_ & 0x00000010) == 0x00000010)) { 5125 coverage_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.CoverageReportMessage>(coverage_); 5126 bitField0_ |= 0x00000010; 5127 } 5128 } 5129 5130 private com.google.protobuf.RepeatedFieldBuilderV3< 5131 com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> coverageBuilder_; 5132 5133 /** 5134 * <pre> 5135 * coverage report per file 5136 * </pre> 5137 * 5138 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5139 */ getCoverageList()5140 public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage> getCoverageList() { 5141 if (coverageBuilder_ == null) { 5142 return java.util.Collections.unmodifiableList(coverage_); 5143 } else { 5144 return coverageBuilder_.getMessageList(); 5145 } 5146 } 5147 /** 5148 * <pre> 5149 * coverage report per file 5150 * </pre> 5151 * 5152 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5153 */ getCoverageCount()5154 public int getCoverageCount() { 5155 if (coverageBuilder_ == null) { 5156 return coverage_.size(); 5157 } else { 5158 return coverageBuilder_.getCount(); 5159 } 5160 } 5161 /** 5162 * <pre> 5163 * coverage report per file 5164 * </pre> 5165 * 5166 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5167 */ getCoverage(int index)5168 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getCoverage(int index) { 5169 if (coverageBuilder_ == null) { 5170 return coverage_.get(index); 5171 } else { 5172 return coverageBuilder_.getMessage(index); 5173 } 5174 } 5175 /** 5176 * <pre> 5177 * coverage report per file 5178 * </pre> 5179 * 5180 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5181 */ setCoverage( int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value)5182 public Builder setCoverage( 5183 int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { 5184 if (coverageBuilder_ == null) { 5185 if (value == null) { 5186 throw new NullPointerException(); 5187 } 5188 ensureCoverageIsMutable(); 5189 coverage_.set(index, value); 5190 onChanged(); 5191 } else { 5192 coverageBuilder_.setMessage(index, value); 5193 } 5194 return this; 5195 } 5196 /** 5197 * <pre> 5198 * coverage report per file 5199 * </pre> 5200 * 5201 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5202 */ setCoverage( int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue)5203 public Builder setCoverage( 5204 int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { 5205 if (coverageBuilder_ == null) { 5206 ensureCoverageIsMutable(); 5207 coverage_.set(index, builderForValue.build()); 5208 onChanged(); 5209 } else { 5210 coverageBuilder_.setMessage(index, builderForValue.build()); 5211 } 5212 return this; 5213 } 5214 /** 5215 * <pre> 5216 * coverage report per file 5217 * </pre> 5218 * 5219 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5220 */ addCoverage(com.android.vts.proto.VtsReportMessage.CoverageReportMessage value)5221 public Builder addCoverage(com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { 5222 if (coverageBuilder_ == null) { 5223 if (value == null) { 5224 throw new NullPointerException(); 5225 } 5226 ensureCoverageIsMutable(); 5227 coverage_.add(value); 5228 onChanged(); 5229 } else { 5230 coverageBuilder_.addMessage(value); 5231 } 5232 return this; 5233 } 5234 /** 5235 * <pre> 5236 * coverage report per file 5237 * </pre> 5238 * 5239 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5240 */ addCoverage( int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value)5241 public Builder addCoverage( 5242 int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage value) { 5243 if (coverageBuilder_ == null) { 5244 if (value == null) { 5245 throw new NullPointerException(); 5246 } 5247 ensureCoverageIsMutable(); 5248 coverage_.add(index, value); 5249 onChanged(); 5250 } else { 5251 coverageBuilder_.addMessage(index, value); 5252 } 5253 return this; 5254 } 5255 /** 5256 * <pre> 5257 * coverage report per file 5258 * </pre> 5259 * 5260 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5261 */ addCoverage( com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue)5262 public Builder addCoverage( 5263 com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { 5264 if (coverageBuilder_ == null) { 5265 ensureCoverageIsMutable(); 5266 coverage_.add(builderForValue.build()); 5267 onChanged(); 5268 } else { 5269 coverageBuilder_.addMessage(builderForValue.build()); 5270 } 5271 return this; 5272 } 5273 /** 5274 * <pre> 5275 * coverage report per file 5276 * </pre> 5277 * 5278 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5279 */ addCoverage( int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue)5280 public Builder addCoverage( 5281 int index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder builderForValue) { 5282 if (coverageBuilder_ == null) { 5283 ensureCoverageIsMutable(); 5284 coverage_.add(index, builderForValue.build()); 5285 onChanged(); 5286 } else { 5287 coverageBuilder_.addMessage(index, builderForValue.build()); 5288 } 5289 return this; 5290 } 5291 /** 5292 * <pre> 5293 * coverage report per file 5294 * </pre> 5295 * 5296 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5297 */ addAllCoverage( java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessage> values)5298 public Builder addAllCoverage( 5299 java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessage> values) { 5300 if (coverageBuilder_ == null) { 5301 ensureCoverageIsMutable(); 5302 com.google.protobuf.AbstractMessageLite.Builder.addAll( 5303 values, coverage_); 5304 onChanged(); 5305 } else { 5306 coverageBuilder_.addAllMessages(values); 5307 } 5308 return this; 5309 } 5310 /** 5311 * <pre> 5312 * coverage report per file 5313 * </pre> 5314 * 5315 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5316 */ clearCoverage()5317 public Builder clearCoverage() { 5318 if (coverageBuilder_ == null) { 5319 coverage_ = java.util.Collections.emptyList(); 5320 bitField0_ = (bitField0_ & ~0x00000010); 5321 onChanged(); 5322 } else { 5323 coverageBuilder_.clear(); 5324 } 5325 return this; 5326 } 5327 /** 5328 * <pre> 5329 * coverage report per file 5330 * </pre> 5331 * 5332 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5333 */ removeCoverage(int index)5334 public Builder removeCoverage(int index) { 5335 if (coverageBuilder_ == null) { 5336 ensureCoverageIsMutable(); 5337 coverage_.remove(index); 5338 onChanged(); 5339 } else { 5340 coverageBuilder_.remove(index); 5341 } 5342 return this; 5343 } 5344 /** 5345 * <pre> 5346 * coverage report per file 5347 * </pre> 5348 * 5349 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5350 */ getCoverageBuilder( int index)5351 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder getCoverageBuilder( 5352 int index) { 5353 return getCoverageFieldBuilder().getBuilder(index); 5354 } 5355 /** 5356 * <pre> 5357 * coverage report per file 5358 * </pre> 5359 * 5360 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5361 */ getCoverageOrBuilder( int index)5362 public com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder getCoverageOrBuilder( 5363 int index) { 5364 if (coverageBuilder_ == null) { 5365 return coverage_.get(index); } else { 5366 return coverageBuilder_.getMessageOrBuilder(index); 5367 } 5368 } 5369 /** 5370 * <pre> 5371 * coverage report per file 5372 * </pre> 5373 * 5374 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5375 */ 5376 public java.util.List<? extends com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> getCoverageOrBuilderList()5377 getCoverageOrBuilderList() { 5378 if (coverageBuilder_ != null) { 5379 return coverageBuilder_.getMessageOrBuilderList(); 5380 } else { 5381 return java.util.Collections.unmodifiableList(coverage_); 5382 } 5383 } 5384 /** 5385 * <pre> 5386 * coverage report per file 5387 * </pre> 5388 * 5389 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5390 */ addCoverageBuilder()5391 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder addCoverageBuilder() { 5392 return getCoverageFieldBuilder().addBuilder( 5393 com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()); 5394 } 5395 /** 5396 * <pre> 5397 * coverage report per file 5398 * </pre> 5399 * 5400 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5401 */ addCoverageBuilder( int index)5402 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder addCoverageBuilder( 5403 int index) { 5404 return getCoverageFieldBuilder().addBuilder( 5405 index, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()); 5406 } 5407 /** 5408 * <pre> 5409 * coverage report per file 5410 * </pre> 5411 * 5412 * <code>repeated .android.vts.CoverageReportMessage coverage = 31;</code> 5413 */ 5414 public java.util.List<com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder> getCoverageBuilderList()5415 getCoverageBuilderList() { 5416 return getCoverageFieldBuilder().getBuilderList(); 5417 } 5418 private com.google.protobuf.RepeatedFieldBuilderV3< 5419 com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder> getCoverageFieldBuilder()5420 getCoverageFieldBuilder() { 5421 if (coverageBuilder_ == null) { 5422 coverageBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 5423 com.android.vts.proto.VtsReportMessage.CoverageReportMessage, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder, com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder>( 5424 coverage_, 5425 ((bitField0_ & 0x00000010) == 0x00000010), 5426 getParentForChildren(), 5427 isClean()); 5428 coverage_ = null; 5429 } 5430 return coverageBuilder_; 5431 } 5432 5433 private java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> profiling_ = 5434 java.util.Collections.emptyList(); ensureProfilingIsMutable()5435 private void ensureProfilingIsMutable() { 5436 if (!((bitField0_ & 0x00000020) == 0x00000020)) { 5437 profiling_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage>(profiling_); 5438 bitField0_ |= 0x00000020; 5439 } 5440 } 5441 5442 private com.google.protobuf.RepeatedFieldBuilderV3< 5443 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> profilingBuilder_; 5444 5445 /** 5446 * <pre> 5447 * profiling reports 5448 * </pre> 5449 * 5450 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5451 */ getProfilingList()5452 public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> getProfilingList() { 5453 if (profilingBuilder_ == null) { 5454 return java.util.Collections.unmodifiableList(profiling_); 5455 } else { 5456 return profilingBuilder_.getMessageList(); 5457 } 5458 } 5459 /** 5460 * <pre> 5461 * profiling reports 5462 * </pre> 5463 * 5464 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5465 */ getProfilingCount()5466 public int getProfilingCount() { 5467 if (profilingBuilder_ == null) { 5468 return profiling_.size(); 5469 } else { 5470 return profilingBuilder_.getCount(); 5471 } 5472 } 5473 /** 5474 * <pre> 5475 * profiling reports 5476 * </pre> 5477 * 5478 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5479 */ getProfiling(int index)5480 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getProfiling(int index) { 5481 if (profilingBuilder_ == null) { 5482 return profiling_.get(index); 5483 } else { 5484 return profilingBuilder_.getMessage(index); 5485 } 5486 } 5487 /** 5488 * <pre> 5489 * profiling reports 5490 * </pre> 5491 * 5492 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5493 */ setProfiling( int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value)5494 public Builder setProfiling( 5495 int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { 5496 if (profilingBuilder_ == null) { 5497 if (value == null) { 5498 throw new NullPointerException(); 5499 } 5500 ensureProfilingIsMutable(); 5501 profiling_.set(index, value); 5502 onChanged(); 5503 } else { 5504 profilingBuilder_.setMessage(index, value); 5505 } 5506 return this; 5507 } 5508 /** 5509 * <pre> 5510 * profiling reports 5511 * </pre> 5512 * 5513 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5514 */ setProfiling( int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue)5515 public Builder setProfiling( 5516 int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { 5517 if (profilingBuilder_ == null) { 5518 ensureProfilingIsMutable(); 5519 profiling_.set(index, builderForValue.build()); 5520 onChanged(); 5521 } else { 5522 profilingBuilder_.setMessage(index, builderForValue.build()); 5523 } 5524 return this; 5525 } 5526 /** 5527 * <pre> 5528 * profiling reports 5529 * </pre> 5530 * 5531 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5532 */ addProfiling(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value)5533 public Builder addProfiling(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { 5534 if (profilingBuilder_ == null) { 5535 if (value == null) { 5536 throw new NullPointerException(); 5537 } 5538 ensureProfilingIsMutable(); 5539 profiling_.add(value); 5540 onChanged(); 5541 } else { 5542 profilingBuilder_.addMessage(value); 5543 } 5544 return this; 5545 } 5546 /** 5547 * <pre> 5548 * profiling reports 5549 * </pre> 5550 * 5551 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5552 */ addProfiling( int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value)5553 public Builder addProfiling( 5554 int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage value) { 5555 if (profilingBuilder_ == null) { 5556 if (value == null) { 5557 throw new NullPointerException(); 5558 } 5559 ensureProfilingIsMutable(); 5560 profiling_.add(index, value); 5561 onChanged(); 5562 } else { 5563 profilingBuilder_.addMessage(index, value); 5564 } 5565 return this; 5566 } 5567 /** 5568 * <pre> 5569 * profiling reports 5570 * </pre> 5571 * 5572 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5573 */ addProfiling( com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue)5574 public Builder addProfiling( 5575 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { 5576 if (profilingBuilder_ == null) { 5577 ensureProfilingIsMutable(); 5578 profiling_.add(builderForValue.build()); 5579 onChanged(); 5580 } else { 5581 profilingBuilder_.addMessage(builderForValue.build()); 5582 } 5583 return this; 5584 } 5585 /** 5586 * <pre> 5587 * profiling reports 5588 * </pre> 5589 * 5590 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5591 */ addProfiling( int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue)5592 public Builder addProfiling( 5593 int index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder builderForValue) { 5594 if (profilingBuilder_ == null) { 5595 ensureProfilingIsMutable(); 5596 profiling_.add(index, builderForValue.build()); 5597 onChanged(); 5598 } else { 5599 profilingBuilder_.addMessage(index, builderForValue.build()); 5600 } 5601 return this; 5602 } 5603 /** 5604 * <pre> 5605 * profiling reports 5606 * </pre> 5607 * 5608 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5609 */ addAllProfiling( java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> values)5610 public Builder addAllProfiling( 5611 java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessage> values) { 5612 if (profilingBuilder_ == null) { 5613 ensureProfilingIsMutable(); 5614 com.google.protobuf.AbstractMessageLite.Builder.addAll( 5615 values, profiling_); 5616 onChanged(); 5617 } else { 5618 profilingBuilder_.addAllMessages(values); 5619 } 5620 return this; 5621 } 5622 /** 5623 * <pre> 5624 * profiling reports 5625 * </pre> 5626 * 5627 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5628 */ clearProfiling()5629 public Builder clearProfiling() { 5630 if (profilingBuilder_ == null) { 5631 profiling_ = java.util.Collections.emptyList(); 5632 bitField0_ = (bitField0_ & ~0x00000020); 5633 onChanged(); 5634 } else { 5635 profilingBuilder_.clear(); 5636 } 5637 return this; 5638 } 5639 /** 5640 * <pre> 5641 * profiling reports 5642 * </pre> 5643 * 5644 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5645 */ removeProfiling(int index)5646 public Builder removeProfiling(int index) { 5647 if (profilingBuilder_ == null) { 5648 ensureProfilingIsMutable(); 5649 profiling_.remove(index); 5650 onChanged(); 5651 } else { 5652 profilingBuilder_.remove(index); 5653 } 5654 return this; 5655 } 5656 /** 5657 * <pre> 5658 * profiling reports 5659 * </pre> 5660 * 5661 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5662 */ getProfilingBuilder( int index)5663 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder getProfilingBuilder( 5664 int index) { 5665 return getProfilingFieldBuilder().getBuilder(index); 5666 } 5667 /** 5668 * <pre> 5669 * profiling reports 5670 * </pre> 5671 * 5672 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5673 */ getProfilingOrBuilder( int index)5674 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder getProfilingOrBuilder( 5675 int index) { 5676 if (profilingBuilder_ == null) { 5677 return profiling_.get(index); } else { 5678 return profilingBuilder_.getMessageOrBuilder(index); 5679 } 5680 } 5681 /** 5682 * <pre> 5683 * profiling reports 5684 * </pre> 5685 * 5686 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5687 */ 5688 public java.util.List<? extends com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> getProfilingOrBuilderList()5689 getProfilingOrBuilderList() { 5690 if (profilingBuilder_ != null) { 5691 return profilingBuilder_.getMessageOrBuilderList(); 5692 } else { 5693 return java.util.Collections.unmodifiableList(profiling_); 5694 } 5695 } 5696 /** 5697 * <pre> 5698 * profiling reports 5699 * </pre> 5700 * 5701 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5702 */ addProfilingBuilder()5703 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder addProfilingBuilder() { 5704 return getProfilingFieldBuilder().addBuilder( 5705 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()); 5706 } 5707 /** 5708 * <pre> 5709 * profiling reports 5710 * </pre> 5711 * 5712 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5713 */ addProfilingBuilder( int index)5714 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder addProfilingBuilder( 5715 int index) { 5716 return getProfilingFieldBuilder().addBuilder( 5717 index, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()); 5718 } 5719 /** 5720 * <pre> 5721 * profiling reports 5722 * </pre> 5723 * 5724 * <code>repeated .android.vts.ProfilingReportMessage profiling = 41;</code> 5725 */ 5726 public java.util.List<com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder> getProfilingBuilderList()5727 getProfilingBuilderList() { 5728 return getProfilingFieldBuilder().getBuilderList(); 5729 } 5730 private com.google.protobuf.RepeatedFieldBuilderV3< 5731 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder> getProfilingFieldBuilder()5732 getProfilingFieldBuilder() { 5733 if (profilingBuilder_ == null) { 5734 profilingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 5735 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder, com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder>( 5736 profiling_, 5737 ((bitField0_ & 0x00000020) == 0x00000020), 5738 getParentForChildren(), 5739 isClean()); 5740 profiling_ = null; 5741 } 5742 return profilingBuilder_; 5743 } 5744 5745 private java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> systrace_ = 5746 java.util.Collections.emptyList(); ensureSystraceIsMutable()5747 private void ensureSystraceIsMutable() { 5748 if (!((bitField0_ & 0x00000040) == 0x00000040)) { 5749 systrace_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.SystraceReportMessage>(systrace_); 5750 bitField0_ |= 0x00000040; 5751 } 5752 } 5753 5754 private com.google.protobuf.RepeatedFieldBuilderV3< 5755 com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> systraceBuilder_; 5756 5757 /** 5758 * <pre> 5759 * systrace report message per file 5760 * </pre> 5761 * 5762 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5763 */ getSystraceList()5764 @java.lang.Deprecated public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage> getSystraceList() { 5765 if (systraceBuilder_ == null) { 5766 return java.util.Collections.unmodifiableList(systrace_); 5767 } else { 5768 return systraceBuilder_.getMessageList(); 5769 } 5770 } 5771 /** 5772 * <pre> 5773 * systrace report message per file 5774 * </pre> 5775 * 5776 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5777 */ getSystraceCount()5778 @java.lang.Deprecated public int getSystraceCount() { 5779 if (systraceBuilder_ == null) { 5780 return systrace_.size(); 5781 } else { 5782 return systraceBuilder_.getCount(); 5783 } 5784 } 5785 /** 5786 * <pre> 5787 * systrace report message per file 5788 * </pre> 5789 * 5790 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5791 */ getSystrace(int index)5792 @java.lang.Deprecated public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getSystrace(int index) { 5793 if (systraceBuilder_ == null) { 5794 return systrace_.get(index); 5795 } else { 5796 return systraceBuilder_.getMessage(index); 5797 } 5798 } 5799 /** 5800 * <pre> 5801 * systrace report message per file 5802 * </pre> 5803 * 5804 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5805 */ setSystrace( int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value)5806 @java.lang.Deprecated public Builder setSystrace( 5807 int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { 5808 if (systraceBuilder_ == null) { 5809 if (value == null) { 5810 throw new NullPointerException(); 5811 } 5812 ensureSystraceIsMutable(); 5813 systrace_.set(index, value); 5814 onChanged(); 5815 } else { 5816 systraceBuilder_.setMessage(index, value); 5817 } 5818 return this; 5819 } 5820 /** 5821 * <pre> 5822 * systrace report message per file 5823 * </pre> 5824 * 5825 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5826 */ setSystrace( int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue)5827 @java.lang.Deprecated public Builder setSystrace( 5828 int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { 5829 if (systraceBuilder_ == null) { 5830 ensureSystraceIsMutable(); 5831 systrace_.set(index, builderForValue.build()); 5832 onChanged(); 5833 } else { 5834 systraceBuilder_.setMessage(index, builderForValue.build()); 5835 } 5836 return this; 5837 } 5838 /** 5839 * <pre> 5840 * systrace report message per file 5841 * </pre> 5842 * 5843 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5844 */ addSystrace(com.android.vts.proto.VtsReportMessage.SystraceReportMessage value)5845 @java.lang.Deprecated public Builder addSystrace(com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { 5846 if (systraceBuilder_ == null) { 5847 if (value == null) { 5848 throw new NullPointerException(); 5849 } 5850 ensureSystraceIsMutable(); 5851 systrace_.add(value); 5852 onChanged(); 5853 } else { 5854 systraceBuilder_.addMessage(value); 5855 } 5856 return this; 5857 } 5858 /** 5859 * <pre> 5860 * systrace report message per file 5861 * </pre> 5862 * 5863 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5864 */ addSystrace( int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value)5865 @java.lang.Deprecated public Builder addSystrace( 5866 int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage value) { 5867 if (systraceBuilder_ == null) { 5868 if (value == null) { 5869 throw new NullPointerException(); 5870 } 5871 ensureSystraceIsMutable(); 5872 systrace_.add(index, value); 5873 onChanged(); 5874 } else { 5875 systraceBuilder_.addMessage(index, value); 5876 } 5877 return this; 5878 } 5879 /** 5880 * <pre> 5881 * systrace report message per file 5882 * </pre> 5883 * 5884 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5885 */ addSystrace( com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue)5886 @java.lang.Deprecated public Builder addSystrace( 5887 com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { 5888 if (systraceBuilder_ == null) { 5889 ensureSystraceIsMutable(); 5890 systrace_.add(builderForValue.build()); 5891 onChanged(); 5892 } else { 5893 systraceBuilder_.addMessage(builderForValue.build()); 5894 } 5895 return this; 5896 } 5897 /** 5898 * <pre> 5899 * systrace report message per file 5900 * </pre> 5901 * 5902 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5903 */ addSystrace( int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue)5904 @java.lang.Deprecated public Builder addSystrace( 5905 int index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder builderForValue) { 5906 if (systraceBuilder_ == null) { 5907 ensureSystraceIsMutable(); 5908 systrace_.add(index, builderForValue.build()); 5909 onChanged(); 5910 } else { 5911 systraceBuilder_.addMessage(index, builderForValue.build()); 5912 } 5913 return this; 5914 } 5915 /** 5916 * <pre> 5917 * systrace report message per file 5918 * </pre> 5919 * 5920 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5921 */ addAllSystrace( java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessage> values)5922 @java.lang.Deprecated public Builder addAllSystrace( 5923 java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessage> values) { 5924 if (systraceBuilder_ == null) { 5925 ensureSystraceIsMutable(); 5926 com.google.protobuf.AbstractMessageLite.Builder.addAll( 5927 values, systrace_); 5928 onChanged(); 5929 } else { 5930 systraceBuilder_.addAllMessages(values); 5931 } 5932 return this; 5933 } 5934 /** 5935 * <pre> 5936 * systrace report message per file 5937 * </pre> 5938 * 5939 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5940 */ clearSystrace()5941 @java.lang.Deprecated public Builder clearSystrace() { 5942 if (systraceBuilder_ == null) { 5943 systrace_ = java.util.Collections.emptyList(); 5944 bitField0_ = (bitField0_ & ~0x00000040); 5945 onChanged(); 5946 } else { 5947 systraceBuilder_.clear(); 5948 } 5949 return this; 5950 } 5951 /** 5952 * <pre> 5953 * systrace report message per file 5954 * </pre> 5955 * 5956 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5957 */ removeSystrace(int index)5958 @java.lang.Deprecated public Builder removeSystrace(int index) { 5959 if (systraceBuilder_ == null) { 5960 ensureSystraceIsMutable(); 5961 systrace_.remove(index); 5962 onChanged(); 5963 } else { 5964 systraceBuilder_.remove(index); 5965 } 5966 return this; 5967 } 5968 /** 5969 * <pre> 5970 * systrace report message per file 5971 * </pre> 5972 * 5973 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5974 */ getSystraceBuilder( int index)5975 @java.lang.Deprecated public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder getSystraceBuilder( 5976 int index) { 5977 return getSystraceFieldBuilder().getBuilder(index); 5978 } 5979 /** 5980 * <pre> 5981 * systrace report message per file 5982 * </pre> 5983 * 5984 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5985 */ getSystraceOrBuilder( int index)5986 @java.lang.Deprecated public com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder getSystraceOrBuilder( 5987 int index) { 5988 if (systraceBuilder_ == null) { 5989 return systrace_.get(index); } else { 5990 return systraceBuilder_.getMessageOrBuilder(index); 5991 } 5992 } 5993 /** 5994 * <pre> 5995 * systrace report message per file 5996 * </pre> 5997 * 5998 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 5999 */ 6000 @java.lang.Deprecated public java.util.List<? extends com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> getSystraceOrBuilderList()6001 getSystraceOrBuilderList() { 6002 if (systraceBuilder_ != null) { 6003 return systraceBuilder_.getMessageOrBuilderList(); 6004 } else { 6005 return java.util.Collections.unmodifiableList(systrace_); 6006 } 6007 } 6008 /** 6009 * <pre> 6010 * systrace report message per file 6011 * </pre> 6012 * 6013 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 6014 */ addSystraceBuilder()6015 @java.lang.Deprecated public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder addSystraceBuilder() { 6016 return getSystraceFieldBuilder().addBuilder( 6017 com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()); 6018 } 6019 /** 6020 * <pre> 6021 * systrace report message per file 6022 * </pre> 6023 * 6024 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 6025 */ addSystraceBuilder( int index)6026 @java.lang.Deprecated public com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder addSystraceBuilder( 6027 int index) { 6028 return getSystraceFieldBuilder().addBuilder( 6029 index, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()); 6030 } 6031 /** 6032 * <pre> 6033 * systrace report message per file 6034 * </pre> 6035 * 6036 * <code>repeated .android.vts.SystraceReportMessage systrace = 42 [deprecated = true];</code> 6037 */ 6038 @java.lang.Deprecated public java.util.List<com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder> getSystraceBuilderList()6039 getSystraceBuilderList() { 6040 return getSystraceFieldBuilder().getBuilderList(); 6041 } 6042 private com.google.protobuf.RepeatedFieldBuilderV3< 6043 com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder> getSystraceFieldBuilder()6044 getSystraceFieldBuilder() { 6045 if (systraceBuilder_ == null) { 6046 systraceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 6047 com.android.vts.proto.VtsReportMessage.SystraceReportMessage, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder, com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder>( 6048 systrace_, 6049 ((bitField0_ & 0x00000040) == 0x00000040), 6050 getParentForChildren(), 6051 isClean()); 6052 systrace_ = null; 6053 } 6054 return systraceBuilder_; 6055 } 6056 6057 private java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> log_ = 6058 java.util.Collections.emptyList(); ensureLogIsMutable()6059 private void ensureLogIsMutable() { 6060 if (!((bitField0_ & 0x00000080) == 0x00000080)) { 6061 log_ = new java.util.ArrayList<com.android.vts.proto.VtsReportMessage.LogMessage>(log_); 6062 bitField0_ |= 0x00000080; 6063 } 6064 } 6065 6066 private com.google.protobuf.RepeatedFieldBuilderV3< 6067 com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> logBuilder_; 6068 6069 /** 6070 * <pre> 6071 * log for each test case. May contain multiple logs such as logcat, host log, 6072 * etc. 6073 * </pre> 6074 * 6075 * <code>repeated .android.vts.LogMessage log = 101;</code> 6076 */ getLogList()6077 public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage> getLogList() { 6078 if (logBuilder_ == null) { 6079 return java.util.Collections.unmodifiableList(log_); 6080 } else { 6081 return logBuilder_.getMessageList(); 6082 } 6083 } 6084 /** 6085 * <pre> 6086 * log for each test case. May contain multiple logs such as logcat, host log, 6087 * etc. 6088 * </pre> 6089 * 6090 * <code>repeated .android.vts.LogMessage log = 101;</code> 6091 */ getLogCount()6092 public int getLogCount() { 6093 if (logBuilder_ == null) { 6094 return log_.size(); 6095 } else { 6096 return logBuilder_.getCount(); 6097 } 6098 } 6099 /** 6100 * <pre> 6101 * log for each test case. May contain multiple logs such as logcat, host log, 6102 * etc. 6103 * </pre> 6104 * 6105 * <code>repeated .android.vts.LogMessage log = 101;</code> 6106 */ getLog(int index)6107 public com.android.vts.proto.VtsReportMessage.LogMessage getLog(int index) { 6108 if (logBuilder_ == null) { 6109 return log_.get(index); 6110 } else { 6111 return logBuilder_.getMessage(index); 6112 } 6113 } 6114 /** 6115 * <pre> 6116 * log for each test case. May contain multiple logs such as logcat, host log, 6117 * etc. 6118 * </pre> 6119 * 6120 * <code>repeated .android.vts.LogMessage log = 101;</code> 6121 */ setLog( int index, com.android.vts.proto.VtsReportMessage.LogMessage value)6122 public Builder setLog( 6123 int index, com.android.vts.proto.VtsReportMessage.LogMessage value) { 6124 if (logBuilder_ == null) { 6125 if (value == null) { 6126 throw new NullPointerException(); 6127 } 6128 ensureLogIsMutable(); 6129 log_.set(index, value); 6130 onChanged(); 6131 } else { 6132 logBuilder_.setMessage(index, value); 6133 } 6134 return this; 6135 } 6136 /** 6137 * <pre> 6138 * log for each test case. May contain multiple logs such as logcat, host log, 6139 * etc. 6140 * </pre> 6141 * 6142 * <code>repeated .android.vts.LogMessage log = 101;</code> 6143 */ setLog( int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue)6144 public Builder setLog( 6145 int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { 6146 if (logBuilder_ == null) { 6147 ensureLogIsMutable(); 6148 log_.set(index, builderForValue.build()); 6149 onChanged(); 6150 } else { 6151 logBuilder_.setMessage(index, builderForValue.build()); 6152 } 6153 return this; 6154 } 6155 /** 6156 * <pre> 6157 * log for each test case. May contain multiple logs such as logcat, host log, 6158 * etc. 6159 * </pre> 6160 * 6161 * <code>repeated .android.vts.LogMessage log = 101;</code> 6162 */ addLog(com.android.vts.proto.VtsReportMessage.LogMessage value)6163 public Builder addLog(com.android.vts.proto.VtsReportMessage.LogMessage value) { 6164 if (logBuilder_ == null) { 6165 if (value == null) { 6166 throw new NullPointerException(); 6167 } 6168 ensureLogIsMutable(); 6169 log_.add(value); 6170 onChanged(); 6171 } else { 6172 logBuilder_.addMessage(value); 6173 } 6174 return this; 6175 } 6176 /** 6177 * <pre> 6178 * log for each test case. May contain multiple logs such as logcat, host log, 6179 * etc. 6180 * </pre> 6181 * 6182 * <code>repeated .android.vts.LogMessage log = 101;</code> 6183 */ addLog( int index, com.android.vts.proto.VtsReportMessage.LogMessage value)6184 public Builder addLog( 6185 int index, com.android.vts.proto.VtsReportMessage.LogMessage value) { 6186 if (logBuilder_ == null) { 6187 if (value == null) { 6188 throw new NullPointerException(); 6189 } 6190 ensureLogIsMutable(); 6191 log_.add(index, value); 6192 onChanged(); 6193 } else { 6194 logBuilder_.addMessage(index, value); 6195 } 6196 return this; 6197 } 6198 /** 6199 * <pre> 6200 * log for each test case. May contain multiple logs such as logcat, host log, 6201 * etc. 6202 * </pre> 6203 * 6204 * <code>repeated .android.vts.LogMessage log = 101;</code> 6205 */ addLog( com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue)6206 public Builder addLog( 6207 com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { 6208 if (logBuilder_ == null) { 6209 ensureLogIsMutable(); 6210 log_.add(builderForValue.build()); 6211 onChanged(); 6212 } else { 6213 logBuilder_.addMessage(builderForValue.build()); 6214 } 6215 return this; 6216 } 6217 /** 6218 * <pre> 6219 * log for each test case. May contain multiple logs such as logcat, host log, 6220 * etc. 6221 * </pre> 6222 * 6223 * <code>repeated .android.vts.LogMessage log = 101;</code> 6224 */ addLog( int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue)6225 public Builder addLog( 6226 int index, com.android.vts.proto.VtsReportMessage.LogMessage.Builder builderForValue) { 6227 if (logBuilder_ == null) { 6228 ensureLogIsMutable(); 6229 log_.add(index, builderForValue.build()); 6230 onChanged(); 6231 } else { 6232 logBuilder_.addMessage(index, builderForValue.build()); 6233 } 6234 return this; 6235 } 6236 /** 6237 * <pre> 6238 * log for each test case. May contain multiple logs such as logcat, host log, 6239 * etc. 6240 * </pre> 6241 * 6242 * <code>repeated .android.vts.LogMessage log = 101;</code> 6243 */ addAllLog( java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.LogMessage> values)6244 public Builder addAllLog( 6245 java.lang.Iterable<? extends com.android.vts.proto.VtsReportMessage.LogMessage> values) { 6246 if (logBuilder_ == null) { 6247 ensureLogIsMutable(); 6248 com.google.protobuf.AbstractMessageLite.Builder.addAll( 6249 values, log_); 6250 onChanged(); 6251 } else { 6252 logBuilder_.addAllMessages(values); 6253 } 6254 return this; 6255 } 6256 /** 6257 * <pre> 6258 * log for each test case. May contain multiple logs such as logcat, host log, 6259 * etc. 6260 * </pre> 6261 * 6262 * <code>repeated .android.vts.LogMessage log = 101;</code> 6263 */ clearLog()6264 public Builder clearLog() { 6265 if (logBuilder_ == null) { 6266 log_ = java.util.Collections.emptyList(); 6267 bitField0_ = (bitField0_ & ~0x00000080); 6268 onChanged(); 6269 } else { 6270 logBuilder_.clear(); 6271 } 6272 return this; 6273 } 6274 /** 6275 * <pre> 6276 * log for each test case. May contain multiple logs such as logcat, host log, 6277 * etc. 6278 * </pre> 6279 * 6280 * <code>repeated .android.vts.LogMessage log = 101;</code> 6281 */ removeLog(int index)6282 public Builder removeLog(int index) { 6283 if (logBuilder_ == null) { 6284 ensureLogIsMutable(); 6285 log_.remove(index); 6286 onChanged(); 6287 } else { 6288 logBuilder_.remove(index); 6289 } 6290 return this; 6291 } 6292 /** 6293 * <pre> 6294 * log for each test case. May contain multiple logs such as logcat, host log, 6295 * etc. 6296 * </pre> 6297 * 6298 * <code>repeated .android.vts.LogMessage log = 101;</code> 6299 */ getLogBuilder( int index)6300 public com.android.vts.proto.VtsReportMessage.LogMessage.Builder getLogBuilder( 6301 int index) { 6302 return getLogFieldBuilder().getBuilder(index); 6303 } 6304 /** 6305 * <pre> 6306 * log for each test case. May contain multiple logs such as logcat, host log, 6307 * etc. 6308 * </pre> 6309 * 6310 * <code>repeated .android.vts.LogMessage log = 101;</code> 6311 */ getLogOrBuilder( int index)6312 public com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder getLogOrBuilder( 6313 int index) { 6314 if (logBuilder_ == null) { 6315 return log_.get(index); } else { 6316 return logBuilder_.getMessageOrBuilder(index); 6317 } 6318 } 6319 /** 6320 * <pre> 6321 * log for each test case. May contain multiple logs such as logcat, host log, 6322 * etc. 6323 * </pre> 6324 * 6325 * <code>repeated .android.vts.LogMessage log = 101;</code> 6326 */ 6327 public java.util.List<? extends com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> getLogOrBuilderList()6328 getLogOrBuilderList() { 6329 if (logBuilder_ != null) { 6330 return logBuilder_.getMessageOrBuilderList(); 6331 } else { 6332 return java.util.Collections.unmodifiableList(log_); 6333 } 6334 } 6335 /** 6336 * <pre> 6337 * log for each test case. May contain multiple logs such as logcat, host log, 6338 * etc. 6339 * </pre> 6340 * 6341 * <code>repeated .android.vts.LogMessage log = 101;</code> 6342 */ addLogBuilder()6343 public com.android.vts.proto.VtsReportMessage.LogMessage.Builder addLogBuilder() { 6344 return getLogFieldBuilder().addBuilder( 6345 com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()); 6346 } 6347 /** 6348 * <pre> 6349 * log for each test case. May contain multiple logs such as logcat, host log, 6350 * etc. 6351 * </pre> 6352 * 6353 * <code>repeated .android.vts.LogMessage log = 101;</code> 6354 */ addLogBuilder( int index)6355 public com.android.vts.proto.VtsReportMessage.LogMessage.Builder addLogBuilder( 6356 int index) { 6357 return getLogFieldBuilder().addBuilder( 6358 index, com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()); 6359 } 6360 /** 6361 * <pre> 6362 * log for each test case. May contain multiple logs such as logcat, host log, 6363 * etc. 6364 * </pre> 6365 * 6366 * <code>repeated .android.vts.LogMessage log = 101;</code> 6367 */ 6368 public java.util.List<com.android.vts.proto.VtsReportMessage.LogMessage.Builder> getLogBuilderList()6369 getLogBuilderList() { 6370 return getLogFieldBuilder().getBuilderList(); 6371 } 6372 private com.google.protobuf.RepeatedFieldBuilderV3< 6373 com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder> getLogFieldBuilder()6374 getLogFieldBuilder() { 6375 if (logBuilder_ == null) { 6376 logBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< 6377 com.android.vts.proto.VtsReportMessage.LogMessage, com.android.vts.proto.VtsReportMessage.LogMessage.Builder, com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder>( 6378 log_, 6379 ((bitField0_ & 0x00000080) == 0x00000080), 6380 getParentForChildren(), 6381 isClean()); 6382 log_ = null; 6383 } 6384 return logBuilder_; 6385 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)6386 public final Builder setUnknownFields( 6387 final com.google.protobuf.UnknownFieldSet unknownFields) { 6388 return super.setUnknownFields(unknownFields); 6389 } 6390 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)6391 public final Builder mergeUnknownFields( 6392 final com.google.protobuf.UnknownFieldSet unknownFields) { 6393 return super.mergeUnknownFields(unknownFields); 6394 } 6395 6396 6397 // @@protoc_insertion_point(builder_scope:android.vts.TestCaseReportMessage) 6398 } 6399 6400 // @@protoc_insertion_point(class_scope:android.vts.TestCaseReportMessage) 6401 private static final com.android.vts.proto.VtsReportMessage.TestCaseReportMessage DEFAULT_INSTANCE; 6402 static { 6403 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.TestCaseReportMessage(); 6404 } 6405 getDefaultInstance()6406 public static com.android.vts.proto.VtsReportMessage.TestCaseReportMessage getDefaultInstance() { 6407 return DEFAULT_INSTANCE; 6408 } 6409 6410 @java.lang.Deprecated public static final com.google.protobuf.Parser<TestCaseReportMessage> 6411 PARSER = new com.google.protobuf.AbstractParser<TestCaseReportMessage>() { 6412 public TestCaseReportMessage parsePartialFrom( 6413 com.google.protobuf.CodedInputStream input, 6414 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6415 throws com.google.protobuf.InvalidProtocolBufferException { 6416 return new TestCaseReportMessage(input, extensionRegistry); 6417 } 6418 }; 6419 parser()6420 public static com.google.protobuf.Parser<TestCaseReportMessage> parser() { 6421 return PARSER; 6422 } 6423 6424 @java.lang.Override getParserForType()6425 public com.google.protobuf.Parser<TestCaseReportMessage> getParserForType() { 6426 return PARSER; 6427 } 6428 getDefaultInstanceForType()6429 public com.android.vts.proto.VtsReportMessage.TestCaseReportMessage getDefaultInstanceForType() { 6430 return DEFAULT_INSTANCE; 6431 } 6432 6433 } 6434 6435 public interface ProfilingReportMessageOrBuilder extends 6436 // @@protoc_insertion_point(interface_extends:android.vts.ProfilingReportMessage) 6437 com.google.protobuf.MessageOrBuilder { 6438 6439 /** 6440 * <pre> 6441 * the instrumentation point name. 6442 * </pre> 6443 * 6444 * <code>optional bytes name = 1;</code> 6445 */ hasName()6446 boolean hasName(); 6447 /** 6448 * <pre> 6449 * the instrumentation point name. 6450 * </pre> 6451 * 6452 * <code>optional bytes name = 1;</code> 6453 */ getName()6454 com.google.protobuf.ByteString getName(); 6455 6456 /** 6457 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 6458 */ hasType()6459 boolean hasType(); 6460 /** 6461 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 6462 */ getType()6463 com.android.vts.proto.VtsReportMessage.VtsProfilingType getType(); 6464 6465 /** 6466 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 6467 */ hasRegressionMode()6468 boolean hasRegressionMode(); 6469 /** 6470 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 6471 */ getRegressionMode()6472 com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode getRegressionMode(); 6473 6474 /** 6475 * <pre> 6476 * profiling start and end time stamp (for performance). 6477 * </pre> 6478 * 6479 * <code>optional int64 start_timestamp = 11;</code> 6480 */ hasStartTimestamp()6481 boolean hasStartTimestamp(); 6482 /** 6483 * <pre> 6484 * profiling start and end time stamp (for performance). 6485 * </pre> 6486 * 6487 * <code>optional int64 start_timestamp = 11;</code> 6488 */ getStartTimestamp()6489 long getStartTimestamp(); 6490 6491 /** 6492 * <code>optional int64 end_timestamp = 12;</code> 6493 */ hasEndTimestamp()6494 boolean hasEndTimestamp(); 6495 /** 6496 * <code>optional int64 end_timestamp = 12;</code> 6497 */ getEndTimestamp()6498 long getEndTimestamp(); 6499 6500 /** 6501 * <code>repeated bytes label = 21;</code> 6502 */ getLabelList()6503 java.util.List<com.google.protobuf.ByteString> getLabelList(); 6504 /** 6505 * <code>repeated bytes label = 21;</code> 6506 */ getLabelCount()6507 int getLabelCount(); 6508 /** 6509 * <code>repeated bytes label = 21;</code> 6510 */ getLabel(int index)6511 com.google.protobuf.ByteString getLabel(int index); 6512 6513 /** 6514 * <code>repeated int64 value = 22;</code> 6515 */ getValueList()6516 java.util.List<java.lang.Long> getValueList(); 6517 /** 6518 * <code>repeated int64 value = 22;</code> 6519 */ getValueCount()6520 int getValueCount(); 6521 /** 6522 * <code>repeated int64 value = 22;</code> 6523 */ getValue(int index)6524 long getValue(int index); 6525 6526 /** 6527 * <pre> 6528 * x-axis and y-axis title labels when displaying the data as a graph 6529 * </pre> 6530 * 6531 * <code>optional bytes x_axis_label = 31;</code> 6532 */ hasXAxisLabel()6533 boolean hasXAxisLabel(); 6534 /** 6535 * <pre> 6536 * x-axis and y-axis title labels when displaying the data as a graph 6537 * </pre> 6538 * 6539 * <code>optional bytes x_axis_label = 31;</code> 6540 */ getXAxisLabel()6541 com.google.protobuf.ByteString getXAxisLabel(); 6542 6543 /** 6544 * <code>optional bytes y_axis_label = 32;</code> 6545 */ hasYAxisLabel()6546 boolean hasYAxisLabel(); 6547 /** 6548 * <code>optional bytes y_axis_label = 32;</code> 6549 */ getYAxisLabel()6550 com.google.protobuf.ByteString getYAxisLabel(); 6551 6552 /** 6553 * <pre> 6554 * a list of strings where each string has the form of 'key=value'. 6555 * used to tell certain properties of the data (e.g., passthrough vs. 6556 * binderized). 6557 * </pre> 6558 * 6559 * <code>repeated bytes options = 41;</code> 6560 */ getOptionsList()6561 java.util.List<com.google.protobuf.ByteString> getOptionsList(); 6562 /** 6563 * <pre> 6564 * a list of strings where each string has the form of 'key=value'. 6565 * used to tell certain properties of the data (e.g., passthrough vs. 6566 * binderized). 6567 * </pre> 6568 * 6569 * <code>repeated bytes options = 41;</code> 6570 */ getOptionsCount()6571 int getOptionsCount(); 6572 /** 6573 * <pre> 6574 * a list of strings where each string has the form of 'key=value'. 6575 * used to tell certain properties of the data (e.g., passthrough vs. 6576 * binderized). 6577 * </pre> 6578 * 6579 * <code>repeated bytes options = 41;</code> 6580 */ getOptions(int index)6581 com.google.protobuf.ByteString getOptions(int index); 6582 } 6583 /** 6584 * <pre> 6585 * To specify a profiling report. 6586 * </pre> 6587 * 6588 * Protobuf type {@code android.vts.ProfilingReportMessage} 6589 */ 6590 public static final class ProfilingReportMessage extends 6591 com.google.protobuf.GeneratedMessageV3 implements 6592 // @@protoc_insertion_point(message_implements:android.vts.ProfilingReportMessage) 6593 ProfilingReportMessageOrBuilder { 6594 // Use ProfilingReportMessage.newBuilder() to construct. ProfilingReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)6595 private ProfilingReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 6596 super(builder); 6597 } ProfilingReportMessage()6598 private ProfilingReportMessage() { 6599 name_ = com.google.protobuf.ByteString.EMPTY; 6600 type_ = 0; 6601 regressionMode_ = 0; 6602 startTimestamp_ = 0L; 6603 endTimestamp_ = 0L; 6604 label_ = java.util.Collections.emptyList(); 6605 value_ = java.util.Collections.emptyList(); 6606 xAxisLabel_ = com.google.protobuf.ByteString.EMPTY; 6607 yAxisLabel_ = com.google.protobuf.ByteString.EMPTY; 6608 options_ = java.util.Collections.emptyList(); 6609 } 6610 6611 @java.lang.Override 6612 public final com.google.protobuf.UnknownFieldSet getUnknownFields()6613 getUnknownFields() { 6614 return this.unknownFields; 6615 } ProfilingReportMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)6616 private ProfilingReportMessage( 6617 com.google.protobuf.CodedInputStream input, 6618 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 6619 throws com.google.protobuf.InvalidProtocolBufferException { 6620 this(); 6621 int mutable_bitField0_ = 0; 6622 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 6623 com.google.protobuf.UnknownFieldSet.newBuilder(); 6624 try { 6625 boolean done = false; 6626 while (!done) { 6627 int tag = input.readTag(); 6628 switch (tag) { 6629 case 0: 6630 done = true; 6631 break; 6632 default: { 6633 if (!parseUnknownField(input, unknownFields, 6634 extensionRegistry, tag)) { 6635 done = true; 6636 } 6637 break; 6638 } 6639 case 10: { 6640 bitField0_ |= 0x00000001; 6641 name_ = input.readBytes(); 6642 break; 6643 } 6644 case 16: { 6645 int rawValue = input.readEnum(); 6646 com.android.vts.proto.VtsReportMessage.VtsProfilingType value = com.android.vts.proto.VtsReportMessage.VtsProfilingType.valueOf(rawValue); 6647 if (value == null) { 6648 unknownFields.mergeVarintField(2, rawValue); 6649 } else { 6650 bitField0_ |= 0x00000002; 6651 type_ = rawValue; 6652 } 6653 break; 6654 } 6655 case 24: { 6656 int rawValue = input.readEnum(); 6657 com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode value = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.valueOf(rawValue); 6658 if (value == null) { 6659 unknownFields.mergeVarintField(3, rawValue); 6660 } else { 6661 bitField0_ |= 0x00000004; 6662 regressionMode_ = rawValue; 6663 } 6664 break; 6665 } 6666 case 88: { 6667 bitField0_ |= 0x00000008; 6668 startTimestamp_ = input.readInt64(); 6669 break; 6670 } 6671 case 96: { 6672 bitField0_ |= 0x00000010; 6673 endTimestamp_ = input.readInt64(); 6674 break; 6675 } 6676 case 170: { 6677 if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 6678 label_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); 6679 mutable_bitField0_ |= 0x00000020; 6680 } 6681 label_.add(input.readBytes()); 6682 break; 6683 } 6684 case 176: { 6685 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 6686 value_ = new java.util.ArrayList<java.lang.Long>(); 6687 mutable_bitField0_ |= 0x00000040; 6688 } 6689 value_.add(input.readInt64()); 6690 break; 6691 } 6692 case 178: { 6693 int length = input.readRawVarint32(); 6694 int limit = input.pushLimit(length); 6695 if (!((mutable_bitField0_ & 0x00000040) == 0x00000040) && input.getBytesUntilLimit() > 0) { 6696 value_ = new java.util.ArrayList<java.lang.Long>(); 6697 mutable_bitField0_ |= 0x00000040; 6698 } 6699 while (input.getBytesUntilLimit() > 0) { 6700 value_.add(input.readInt64()); 6701 } 6702 input.popLimit(limit); 6703 break; 6704 } 6705 case 250: { 6706 bitField0_ |= 0x00000020; 6707 xAxisLabel_ = input.readBytes(); 6708 break; 6709 } 6710 case 258: { 6711 bitField0_ |= 0x00000040; 6712 yAxisLabel_ = input.readBytes(); 6713 break; 6714 } 6715 case 330: { 6716 if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { 6717 options_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); 6718 mutable_bitField0_ |= 0x00000200; 6719 } 6720 options_.add(input.readBytes()); 6721 break; 6722 } 6723 } 6724 } 6725 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 6726 throw e.setUnfinishedMessage(this); 6727 } catch (java.io.IOException e) { 6728 throw new com.google.protobuf.InvalidProtocolBufferException( 6729 e).setUnfinishedMessage(this); 6730 } finally { 6731 if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { 6732 label_ = java.util.Collections.unmodifiableList(label_); 6733 } 6734 if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { 6735 value_ = java.util.Collections.unmodifiableList(value_); 6736 } 6737 if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { 6738 options_ = java.util.Collections.unmodifiableList(options_); 6739 } 6740 this.unknownFields = unknownFields.build(); 6741 makeExtensionsImmutable(); 6742 } 6743 } 6744 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()6745 getDescriptor() { 6746 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_descriptor; 6747 } 6748 6749 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()6750 internalGetFieldAccessorTable() { 6751 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_fieldAccessorTable 6752 .ensureFieldAccessorsInitialized( 6753 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.class, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder.class); 6754 } 6755 6756 private int bitField0_; 6757 public static final int NAME_FIELD_NUMBER = 1; 6758 private com.google.protobuf.ByteString name_; 6759 /** 6760 * <pre> 6761 * the instrumentation point name. 6762 * </pre> 6763 * 6764 * <code>optional bytes name = 1;</code> 6765 */ hasName()6766 public boolean hasName() { 6767 return ((bitField0_ & 0x00000001) == 0x00000001); 6768 } 6769 /** 6770 * <pre> 6771 * the instrumentation point name. 6772 * </pre> 6773 * 6774 * <code>optional bytes name = 1;</code> 6775 */ getName()6776 public com.google.protobuf.ByteString getName() { 6777 return name_; 6778 } 6779 6780 public static final int TYPE_FIELD_NUMBER = 2; 6781 private int type_; 6782 /** 6783 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 6784 */ hasType()6785 public boolean hasType() { 6786 return ((bitField0_ & 0x00000002) == 0x00000002); 6787 } 6788 /** 6789 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 6790 */ getType()6791 public com.android.vts.proto.VtsReportMessage.VtsProfilingType getType() { 6792 com.android.vts.proto.VtsReportMessage.VtsProfilingType result = com.android.vts.proto.VtsReportMessage.VtsProfilingType.valueOf(type_); 6793 return result == null ? com.android.vts.proto.VtsReportMessage.VtsProfilingType.UNKNOWN_VTS_PROFILING_TYPE : result; 6794 } 6795 6796 public static final int REGRESSION_MODE_FIELD_NUMBER = 3; 6797 private int regressionMode_; 6798 /** 6799 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 6800 */ hasRegressionMode()6801 public boolean hasRegressionMode() { 6802 return ((bitField0_ & 0x00000004) == 0x00000004); 6803 } 6804 /** 6805 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 6806 */ getRegressionMode()6807 public com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode getRegressionMode() { 6808 com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode result = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.valueOf(regressionMode_); 6809 return result == null ? com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.UNKNOWN_REGRESSION_MODE : result; 6810 } 6811 6812 public static final int START_TIMESTAMP_FIELD_NUMBER = 11; 6813 private long startTimestamp_; 6814 /** 6815 * <pre> 6816 * profiling start and end time stamp (for performance). 6817 * </pre> 6818 * 6819 * <code>optional int64 start_timestamp = 11;</code> 6820 */ hasStartTimestamp()6821 public boolean hasStartTimestamp() { 6822 return ((bitField0_ & 0x00000008) == 0x00000008); 6823 } 6824 /** 6825 * <pre> 6826 * profiling start and end time stamp (for performance). 6827 * </pre> 6828 * 6829 * <code>optional int64 start_timestamp = 11;</code> 6830 */ getStartTimestamp()6831 public long getStartTimestamp() { 6832 return startTimestamp_; 6833 } 6834 6835 public static final int END_TIMESTAMP_FIELD_NUMBER = 12; 6836 private long endTimestamp_; 6837 /** 6838 * <code>optional int64 end_timestamp = 12;</code> 6839 */ hasEndTimestamp()6840 public boolean hasEndTimestamp() { 6841 return ((bitField0_ & 0x00000010) == 0x00000010); 6842 } 6843 /** 6844 * <code>optional int64 end_timestamp = 12;</code> 6845 */ getEndTimestamp()6846 public long getEndTimestamp() { 6847 return endTimestamp_; 6848 } 6849 6850 public static final int LABEL_FIELD_NUMBER = 21; 6851 private java.util.List<com.google.protobuf.ByteString> label_; 6852 /** 6853 * <code>repeated bytes label = 21;</code> 6854 */ 6855 public java.util.List<com.google.protobuf.ByteString> getLabelList()6856 getLabelList() { 6857 return label_; 6858 } 6859 /** 6860 * <code>repeated bytes label = 21;</code> 6861 */ getLabelCount()6862 public int getLabelCount() { 6863 return label_.size(); 6864 } 6865 /** 6866 * <code>repeated bytes label = 21;</code> 6867 */ getLabel(int index)6868 public com.google.protobuf.ByteString getLabel(int index) { 6869 return label_.get(index); 6870 } 6871 6872 public static final int VALUE_FIELD_NUMBER = 22; 6873 private java.util.List<java.lang.Long> value_; 6874 /** 6875 * <code>repeated int64 value = 22;</code> 6876 */ 6877 public java.util.List<java.lang.Long> getValueList()6878 getValueList() { 6879 return value_; 6880 } 6881 /** 6882 * <code>repeated int64 value = 22;</code> 6883 */ getValueCount()6884 public int getValueCount() { 6885 return value_.size(); 6886 } 6887 /** 6888 * <code>repeated int64 value = 22;</code> 6889 */ getValue(int index)6890 public long getValue(int index) { 6891 return value_.get(index); 6892 } 6893 6894 public static final int X_AXIS_LABEL_FIELD_NUMBER = 31; 6895 private com.google.protobuf.ByteString xAxisLabel_; 6896 /** 6897 * <pre> 6898 * x-axis and y-axis title labels when displaying the data as a graph 6899 * </pre> 6900 * 6901 * <code>optional bytes x_axis_label = 31;</code> 6902 */ hasXAxisLabel()6903 public boolean hasXAxisLabel() { 6904 return ((bitField0_ & 0x00000020) == 0x00000020); 6905 } 6906 /** 6907 * <pre> 6908 * x-axis and y-axis title labels when displaying the data as a graph 6909 * </pre> 6910 * 6911 * <code>optional bytes x_axis_label = 31;</code> 6912 */ getXAxisLabel()6913 public com.google.protobuf.ByteString getXAxisLabel() { 6914 return xAxisLabel_; 6915 } 6916 6917 public static final int Y_AXIS_LABEL_FIELD_NUMBER = 32; 6918 private com.google.protobuf.ByteString yAxisLabel_; 6919 /** 6920 * <code>optional bytes y_axis_label = 32;</code> 6921 */ hasYAxisLabel()6922 public boolean hasYAxisLabel() { 6923 return ((bitField0_ & 0x00000040) == 0x00000040); 6924 } 6925 /** 6926 * <code>optional bytes y_axis_label = 32;</code> 6927 */ getYAxisLabel()6928 public com.google.protobuf.ByteString getYAxisLabel() { 6929 return yAxisLabel_; 6930 } 6931 6932 public static final int OPTIONS_FIELD_NUMBER = 41; 6933 private java.util.List<com.google.protobuf.ByteString> options_; 6934 /** 6935 * <pre> 6936 * a list of strings where each string has the form of 'key=value'. 6937 * used to tell certain properties of the data (e.g., passthrough vs. 6938 * binderized). 6939 * </pre> 6940 * 6941 * <code>repeated bytes options = 41;</code> 6942 */ 6943 public java.util.List<com.google.protobuf.ByteString> getOptionsList()6944 getOptionsList() { 6945 return options_; 6946 } 6947 /** 6948 * <pre> 6949 * a list of strings where each string has the form of 'key=value'. 6950 * used to tell certain properties of the data (e.g., passthrough vs. 6951 * binderized). 6952 * </pre> 6953 * 6954 * <code>repeated bytes options = 41;</code> 6955 */ getOptionsCount()6956 public int getOptionsCount() { 6957 return options_.size(); 6958 } 6959 /** 6960 * <pre> 6961 * a list of strings where each string has the form of 'key=value'. 6962 * used to tell certain properties of the data (e.g., passthrough vs. 6963 * binderized). 6964 * </pre> 6965 * 6966 * <code>repeated bytes options = 41;</code> 6967 */ getOptions(int index)6968 public com.google.protobuf.ByteString getOptions(int index) { 6969 return options_.get(index); 6970 } 6971 6972 private byte memoizedIsInitialized = -1; isInitialized()6973 public final boolean isInitialized() { 6974 byte isInitialized = memoizedIsInitialized; 6975 if (isInitialized == 1) return true; 6976 if (isInitialized == 0) return false; 6977 6978 memoizedIsInitialized = 1; 6979 return true; 6980 } 6981 writeTo(com.google.protobuf.CodedOutputStream output)6982 public void writeTo(com.google.protobuf.CodedOutputStream output) 6983 throws java.io.IOException { 6984 if (((bitField0_ & 0x00000001) == 0x00000001)) { 6985 output.writeBytes(1, name_); 6986 } 6987 if (((bitField0_ & 0x00000002) == 0x00000002)) { 6988 output.writeEnum(2, type_); 6989 } 6990 if (((bitField0_ & 0x00000004) == 0x00000004)) { 6991 output.writeEnum(3, regressionMode_); 6992 } 6993 if (((bitField0_ & 0x00000008) == 0x00000008)) { 6994 output.writeInt64(11, startTimestamp_); 6995 } 6996 if (((bitField0_ & 0x00000010) == 0x00000010)) { 6997 output.writeInt64(12, endTimestamp_); 6998 } 6999 for (int i = 0; i < label_.size(); i++) { 7000 output.writeBytes(21, label_.get(i)); 7001 } 7002 for (int i = 0; i < value_.size(); i++) { 7003 output.writeInt64(22, value_.get(i)); 7004 } 7005 if (((bitField0_ & 0x00000020) == 0x00000020)) { 7006 output.writeBytes(31, xAxisLabel_); 7007 } 7008 if (((bitField0_ & 0x00000040) == 0x00000040)) { 7009 output.writeBytes(32, yAxisLabel_); 7010 } 7011 for (int i = 0; i < options_.size(); i++) { 7012 output.writeBytes(41, options_.get(i)); 7013 } 7014 unknownFields.writeTo(output); 7015 } 7016 getSerializedSize()7017 public int getSerializedSize() { 7018 int size = memoizedSize; 7019 if (size != -1) return size; 7020 7021 size = 0; 7022 if (((bitField0_ & 0x00000001) == 0x00000001)) { 7023 size += com.google.protobuf.CodedOutputStream 7024 .computeBytesSize(1, name_); 7025 } 7026 if (((bitField0_ & 0x00000002) == 0x00000002)) { 7027 size += com.google.protobuf.CodedOutputStream 7028 .computeEnumSize(2, type_); 7029 } 7030 if (((bitField0_ & 0x00000004) == 0x00000004)) { 7031 size += com.google.protobuf.CodedOutputStream 7032 .computeEnumSize(3, regressionMode_); 7033 } 7034 if (((bitField0_ & 0x00000008) == 0x00000008)) { 7035 size += com.google.protobuf.CodedOutputStream 7036 .computeInt64Size(11, startTimestamp_); 7037 } 7038 if (((bitField0_ & 0x00000010) == 0x00000010)) { 7039 size += com.google.protobuf.CodedOutputStream 7040 .computeInt64Size(12, endTimestamp_); 7041 } 7042 { 7043 int dataSize = 0; 7044 for (int i = 0; i < label_.size(); i++) { 7045 dataSize += com.google.protobuf.CodedOutputStream 7046 .computeBytesSizeNoTag(label_.get(i)); 7047 } 7048 size += dataSize; 7049 size += 2 * getLabelList().size(); 7050 } 7051 { 7052 int dataSize = 0; 7053 for (int i = 0; i < value_.size(); i++) { 7054 dataSize += com.google.protobuf.CodedOutputStream 7055 .computeInt64SizeNoTag(value_.get(i)); 7056 } 7057 size += dataSize; 7058 size += 2 * getValueList().size(); 7059 } 7060 if (((bitField0_ & 0x00000020) == 0x00000020)) { 7061 size += com.google.protobuf.CodedOutputStream 7062 .computeBytesSize(31, xAxisLabel_); 7063 } 7064 if (((bitField0_ & 0x00000040) == 0x00000040)) { 7065 size += com.google.protobuf.CodedOutputStream 7066 .computeBytesSize(32, yAxisLabel_); 7067 } 7068 { 7069 int dataSize = 0; 7070 for (int i = 0; i < options_.size(); i++) { 7071 dataSize += com.google.protobuf.CodedOutputStream 7072 .computeBytesSizeNoTag(options_.get(i)); 7073 } 7074 size += dataSize; 7075 size += 2 * getOptionsList().size(); 7076 } 7077 size += unknownFields.getSerializedSize(); 7078 memoizedSize = size; 7079 return size; 7080 } 7081 7082 private static final long serialVersionUID = 0L; 7083 @java.lang.Override equals(final java.lang.Object obj)7084 public boolean equals(final java.lang.Object obj) { 7085 if (obj == this) { 7086 return true; 7087 } 7088 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.ProfilingReportMessage)) { 7089 return super.equals(obj); 7090 } 7091 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage other = (com.android.vts.proto.VtsReportMessage.ProfilingReportMessage) obj; 7092 7093 boolean result = true; 7094 result = result && (hasName() == other.hasName()); 7095 if (hasName()) { 7096 result = result && getName() 7097 .equals(other.getName()); 7098 } 7099 result = result && (hasType() == other.hasType()); 7100 if (hasType()) { 7101 result = result && type_ == other.type_; 7102 } 7103 result = result && (hasRegressionMode() == other.hasRegressionMode()); 7104 if (hasRegressionMode()) { 7105 result = result && regressionMode_ == other.regressionMode_; 7106 } 7107 result = result && (hasStartTimestamp() == other.hasStartTimestamp()); 7108 if (hasStartTimestamp()) { 7109 result = result && (getStartTimestamp() 7110 == other.getStartTimestamp()); 7111 } 7112 result = result && (hasEndTimestamp() == other.hasEndTimestamp()); 7113 if (hasEndTimestamp()) { 7114 result = result && (getEndTimestamp() 7115 == other.getEndTimestamp()); 7116 } 7117 result = result && getLabelList() 7118 .equals(other.getLabelList()); 7119 result = result && getValueList() 7120 .equals(other.getValueList()); 7121 result = result && (hasXAxisLabel() == other.hasXAxisLabel()); 7122 if (hasXAxisLabel()) { 7123 result = result && getXAxisLabel() 7124 .equals(other.getXAxisLabel()); 7125 } 7126 result = result && (hasYAxisLabel() == other.hasYAxisLabel()); 7127 if (hasYAxisLabel()) { 7128 result = result && getYAxisLabel() 7129 .equals(other.getYAxisLabel()); 7130 } 7131 result = result && getOptionsList() 7132 .equals(other.getOptionsList()); 7133 result = result && unknownFields.equals(other.unknownFields); 7134 return result; 7135 } 7136 7137 @java.lang.Override hashCode()7138 public int hashCode() { 7139 if (memoizedHashCode != 0) { 7140 return memoizedHashCode; 7141 } 7142 int hash = 41; 7143 hash = (19 * hash) + getDescriptorForType().hashCode(); 7144 if (hasName()) { 7145 hash = (37 * hash) + NAME_FIELD_NUMBER; 7146 hash = (53 * hash) + getName().hashCode(); 7147 } 7148 if (hasType()) { 7149 hash = (37 * hash) + TYPE_FIELD_NUMBER; 7150 hash = (53 * hash) + type_; 7151 } 7152 if (hasRegressionMode()) { 7153 hash = (37 * hash) + REGRESSION_MODE_FIELD_NUMBER; 7154 hash = (53 * hash) + regressionMode_; 7155 } 7156 if (hasStartTimestamp()) { 7157 hash = (37 * hash) + START_TIMESTAMP_FIELD_NUMBER; 7158 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 7159 getStartTimestamp()); 7160 } 7161 if (hasEndTimestamp()) { 7162 hash = (37 * hash) + END_TIMESTAMP_FIELD_NUMBER; 7163 hash = (53 * hash) + com.google.protobuf.Internal.hashLong( 7164 getEndTimestamp()); 7165 } 7166 if (getLabelCount() > 0) { 7167 hash = (37 * hash) + LABEL_FIELD_NUMBER; 7168 hash = (53 * hash) + getLabelList().hashCode(); 7169 } 7170 if (getValueCount() > 0) { 7171 hash = (37 * hash) + VALUE_FIELD_NUMBER; 7172 hash = (53 * hash) + getValueList().hashCode(); 7173 } 7174 if (hasXAxisLabel()) { 7175 hash = (37 * hash) + X_AXIS_LABEL_FIELD_NUMBER; 7176 hash = (53 * hash) + getXAxisLabel().hashCode(); 7177 } 7178 if (hasYAxisLabel()) { 7179 hash = (37 * hash) + Y_AXIS_LABEL_FIELD_NUMBER; 7180 hash = (53 * hash) + getYAxisLabel().hashCode(); 7181 } 7182 if (getOptionsCount() > 0) { 7183 hash = (37 * hash) + OPTIONS_FIELD_NUMBER; 7184 hash = (53 * hash) + getOptionsList().hashCode(); 7185 } 7186 hash = (29 * hash) + unknownFields.hashCode(); 7187 memoizedHashCode = hash; 7188 return hash; 7189 } 7190 parseFrom( com.google.protobuf.ByteString data)7191 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( 7192 com.google.protobuf.ByteString data) 7193 throws com.google.protobuf.InvalidProtocolBufferException { 7194 return PARSER.parseFrom(data); 7195 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)7196 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( 7197 com.google.protobuf.ByteString data, 7198 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7199 throws com.google.protobuf.InvalidProtocolBufferException { 7200 return PARSER.parseFrom(data, extensionRegistry); 7201 } parseFrom(byte[] data)7202 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom(byte[] data) 7203 throws com.google.protobuf.InvalidProtocolBufferException { 7204 return PARSER.parseFrom(data); 7205 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)7206 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( 7207 byte[] data, 7208 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7209 throws com.google.protobuf.InvalidProtocolBufferException { 7210 return PARSER.parseFrom(data, extensionRegistry); 7211 } parseFrom(java.io.InputStream input)7212 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom(java.io.InputStream input) 7213 throws java.io.IOException { 7214 return com.google.protobuf.GeneratedMessageV3 7215 .parseWithIOException(PARSER, input); 7216 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)7217 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( 7218 java.io.InputStream input, 7219 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7220 throws java.io.IOException { 7221 return com.google.protobuf.GeneratedMessageV3 7222 .parseWithIOException(PARSER, input, extensionRegistry); 7223 } parseDelimitedFrom(java.io.InputStream input)7224 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseDelimitedFrom(java.io.InputStream input) 7225 throws java.io.IOException { 7226 return com.google.protobuf.GeneratedMessageV3 7227 .parseDelimitedWithIOException(PARSER, input); 7228 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)7229 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseDelimitedFrom( 7230 java.io.InputStream input, 7231 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7232 throws java.io.IOException { 7233 return com.google.protobuf.GeneratedMessageV3 7234 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 7235 } parseFrom( com.google.protobuf.CodedInputStream input)7236 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( 7237 com.google.protobuf.CodedInputStream input) 7238 throws java.io.IOException { 7239 return com.google.protobuf.GeneratedMessageV3 7240 .parseWithIOException(PARSER, input); 7241 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)7242 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parseFrom( 7243 com.google.protobuf.CodedInputStream input, 7244 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7245 throws java.io.IOException { 7246 return com.google.protobuf.GeneratedMessageV3 7247 .parseWithIOException(PARSER, input, extensionRegistry); 7248 } 7249 newBuilderForType()7250 public Builder newBuilderForType() { return newBuilder(); } newBuilder()7251 public static Builder newBuilder() { 7252 return DEFAULT_INSTANCE.toBuilder(); 7253 } newBuilder(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage prototype)7254 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage prototype) { 7255 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 7256 } toBuilder()7257 public Builder toBuilder() { 7258 return this == DEFAULT_INSTANCE 7259 ? new Builder() : new Builder().mergeFrom(this); 7260 } 7261 7262 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)7263 protected Builder newBuilderForType( 7264 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 7265 Builder builder = new Builder(parent); 7266 return builder; 7267 } 7268 /** 7269 * <pre> 7270 * To specify a profiling report. 7271 * </pre> 7272 * 7273 * Protobuf type {@code android.vts.ProfilingReportMessage} 7274 */ 7275 public static final class Builder extends 7276 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 7277 // @@protoc_insertion_point(builder_implements:android.vts.ProfilingReportMessage) 7278 com.android.vts.proto.VtsReportMessage.ProfilingReportMessageOrBuilder { 7279 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()7280 getDescriptor() { 7281 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_descriptor; 7282 } 7283 7284 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()7285 internalGetFieldAccessorTable() { 7286 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_fieldAccessorTable 7287 .ensureFieldAccessorsInitialized( 7288 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.class, com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.Builder.class); 7289 } 7290 7291 // Construct using com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.newBuilder() Builder()7292 private Builder() { 7293 maybeForceBuilderInitialization(); 7294 } 7295 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)7296 private Builder( 7297 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 7298 super(parent); 7299 maybeForceBuilderInitialization(); 7300 } maybeForceBuilderInitialization()7301 private void maybeForceBuilderInitialization() { 7302 if (com.google.protobuf.GeneratedMessageV3 7303 .alwaysUseFieldBuilders) { 7304 } 7305 } clear()7306 public Builder clear() { 7307 super.clear(); 7308 name_ = com.google.protobuf.ByteString.EMPTY; 7309 bitField0_ = (bitField0_ & ~0x00000001); 7310 type_ = 0; 7311 bitField0_ = (bitField0_ & ~0x00000002); 7312 regressionMode_ = 0; 7313 bitField0_ = (bitField0_ & ~0x00000004); 7314 startTimestamp_ = 0L; 7315 bitField0_ = (bitField0_ & ~0x00000008); 7316 endTimestamp_ = 0L; 7317 bitField0_ = (bitField0_ & ~0x00000010); 7318 label_ = java.util.Collections.emptyList(); 7319 bitField0_ = (bitField0_ & ~0x00000020); 7320 value_ = java.util.Collections.emptyList(); 7321 bitField0_ = (bitField0_ & ~0x00000040); 7322 xAxisLabel_ = com.google.protobuf.ByteString.EMPTY; 7323 bitField0_ = (bitField0_ & ~0x00000080); 7324 yAxisLabel_ = com.google.protobuf.ByteString.EMPTY; 7325 bitField0_ = (bitField0_ & ~0x00000100); 7326 options_ = java.util.Collections.emptyList(); 7327 bitField0_ = (bitField0_ & ~0x00000200); 7328 return this; 7329 } 7330 7331 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()7332 getDescriptorForType() { 7333 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ProfilingReportMessage_descriptor; 7334 } 7335 getDefaultInstanceForType()7336 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getDefaultInstanceForType() { 7337 return com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance(); 7338 } 7339 build()7340 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage build() { 7341 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage result = buildPartial(); 7342 if (!result.isInitialized()) { 7343 throw newUninitializedMessageException(result); 7344 } 7345 return result; 7346 } 7347 buildPartial()7348 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage buildPartial() { 7349 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage result = new com.android.vts.proto.VtsReportMessage.ProfilingReportMessage(this); 7350 int from_bitField0_ = bitField0_; 7351 int to_bitField0_ = 0; 7352 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 7353 to_bitField0_ |= 0x00000001; 7354 } 7355 result.name_ = name_; 7356 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 7357 to_bitField0_ |= 0x00000002; 7358 } 7359 result.type_ = type_; 7360 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 7361 to_bitField0_ |= 0x00000004; 7362 } 7363 result.regressionMode_ = regressionMode_; 7364 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 7365 to_bitField0_ |= 0x00000008; 7366 } 7367 result.startTimestamp_ = startTimestamp_; 7368 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 7369 to_bitField0_ |= 0x00000010; 7370 } 7371 result.endTimestamp_ = endTimestamp_; 7372 if (((bitField0_ & 0x00000020) == 0x00000020)) { 7373 label_ = java.util.Collections.unmodifiableList(label_); 7374 bitField0_ = (bitField0_ & ~0x00000020); 7375 } 7376 result.label_ = label_; 7377 if (((bitField0_ & 0x00000040) == 0x00000040)) { 7378 value_ = java.util.Collections.unmodifiableList(value_); 7379 bitField0_ = (bitField0_ & ~0x00000040); 7380 } 7381 result.value_ = value_; 7382 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 7383 to_bitField0_ |= 0x00000020; 7384 } 7385 result.xAxisLabel_ = xAxisLabel_; 7386 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 7387 to_bitField0_ |= 0x00000040; 7388 } 7389 result.yAxisLabel_ = yAxisLabel_; 7390 if (((bitField0_ & 0x00000200) == 0x00000200)) { 7391 options_ = java.util.Collections.unmodifiableList(options_); 7392 bitField0_ = (bitField0_ & ~0x00000200); 7393 } 7394 result.options_ = options_; 7395 result.bitField0_ = to_bitField0_; 7396 onBuilt(); 7397 return result; 7398 } 7399 clone()7400 public Builder clone() { 7401 return (Builder) super.clone(); 7402 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)7403 public Builder setField( 7404 com.google.protobuf.Descriptors.FieldDescriptor field, 7405 Object value) { 7406 return (Builder) super.setField(field, value); 7407 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)7408 public Builder clearField( 7409 com.google.protobuf.Descriptors.FieldDescriptor field) { 7410 return (Builder) super.clearField(field); 7411 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)7412 public Builder clearOneof( 7413 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 7414 return (Builder) super.clearOneof(oneof); 7415 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)7416 public Builder setRepeatedField( 7417 com.google.protobuf.Descriptors.FieldDescriptor field, 7418 int index, Object value) { 7419 return (Builder) super.setRepeatedField(field, index, value); 7420 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)7421 public Builder addRepeatedField( 7422 com.google.protobuf.Descriptors.FieldDescriptor field, 7423 Object value) { 7424 return (Builder) super.addRepeatedField(field, value); 7425 } mergeFrom(com.google.protobuf.Message other)7426 public Builder mergeFrom(com.google.protobuf.Message other) { 7427 if (other instanceof com.android.vts.proto.VtsReportMessage.ProfilingReportMessage) { 7428 return mergeFrom((com.android.vts.proto.VtsReportMessage.ProfilingReportMessage)other); 7429 } else { 7430 super.mergeFrom(other); 7431 return this; 7432 } 7433 } 7434 mergeFrom(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage other)7435 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.ProfilingReportMessage other) { 7436 if (other == com.android.vts.proto.VtsReportMessage.ProfilingReportMessage.getDefaultInstance()) return this; 7437 if (other.hasName()) { 7438 setName(other.getName()); 7439 } 7440 if (other.hasType()) { 7441 setType(other.getType()); 7442 } 7443 if (other.hasRegressionMode()) { 7444 setRegressionMode(other.getRegressionMode()); 7445 } 7446 if (other.hasStartTimestamp()) { 7447 setStartTimestamp(other.getStartTimestamp()); 7448 } 7449 if (other.hasEndTimestamp()) { 7450 setEndTimestamp(other.getEndTimestamp()); 7451 } 7452 if (!other.label_.isEmpty()) { 7453 if (label_.isEmpty()) { 7454 label_ = other.label_; 7455 bitField0_ = (bitField0_ & ~0x00000020); 7456 } else { 7457 ensureLabelIsMutable(); 7458 label_.addAll(other.label_); 7459 } 7460 onChanged(); 7461 } 7462 if (!other.value_.isEmpty()) { 7463 if (value_.isEmpty()) { 7464 value_ = other.value_; 7465 bitField0_ = (bitField0_ & ~0x00000040); 7466 } else { 7467 ensureValueIsMutable(); 7468 value_.addAll(other.value_); 7469 } 7470 onChanged(); 7471 } 7472 if (other.hasXAxisLabel()) { 7473 setXAxisLabel(other.getXAxisLabel()); 7474 } 7475 if (other.hasYAxisLabel()) { 7476 setYAxisLabel(other.getYAxisLabel()); 7477 } 7478 if (!other.options_.isEmpty()) { 7479 if (options_.isEmpty()) { 7480 options_ = other.options_; 7481 bitField0_ = (bitField0_ & ~0x00000200); 7482 } else { 7483 ensureOptionsIsMutable(); 7484 options_.addAll(other.options_); 7485 } 7486 onChanged(); 7487 } 7488 this.mergeUnknownFields(other.unknownFields); 7489 onChanged(); 7490 return this; 7491 } 7492 isInitialized()7493 public final boolean isInitialized() { 7494 return true; 7495 } 7496 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)7497 public Builder mergeFrom( 7498 com.google.protobuf.CodedInputStream input, 7499 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 7500 throws java.io.IOException { 7501 com.android.vts.proto.VtsReportMessage.ProfilingReportMessage parsedMessage = null; 7502 try { 7503 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 7504 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 7505 parsedMessage = (com.android.vts.proto.VtsReportMessage.ProfilingReportMessage) e.getUnfinishedMessage(); 7506 throw e.unwrapIOException(); 7507 } finally { 7508 if (parsedMessage != null) { 7509 mergeFrom(parsedMessage); 7510 } 7511 } 7512 return this; 7513 } 7514 private int bitField0_; 7515 7516 private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; 7517 /** 7518 * <pre> 7519 * the instrumentation point name. 7520 * </pre> 7521 * 7522 * <code>optional bytes name = 1;</code> 7523 */ hasName()7524 public boolean hasName() { 7525 return ((bitField0_ & 0x00000001) == 0x00000001); 7526 } 7527 /** 7528 * <pre> 7529 * the instrumentation point name. 7530 * </pre> 7531 * 7532 * <code>optional bytes name = 1;</code> 7533 */ getName()7534 public com.google.protobuf.ByteString getName() { 7535 return name_; 7536 } 7537 /** 7538 * <pre> 7539 * the instrumentation point name. 7540 * </pre> 7541 * 7542 * <code>optional bytes name = 1;</code> 7543 */ setName(com.google.protobuf.ByteString value)7544 public Builder setName(com.google.protobuf.ByteString value) { 7545 if (value == null) { 7546 throw new NullPointerException(); 7547 } 7548 bitField0_ |= 0x00000001; 7549 name_ = value; 7550 onChanged(); 7551 return this; 7552 } 7553 /** 7554 * <pre> 7555 * the instrumentation point name. 7556 * </pre> 7557 * 7558 * <code>optional bytes name = 1;</code> 7559 */ clearName()7560 public Builder clearName() { 7561 bitField0_ = (bitField0_ & ~0x00000001); 7562 name_ = getDefaultInstance().getName(); 7563 onChanged(); 7564 return this; 7565 } 7566 7567 private int type_ = 0; 7568 /** 7569 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 7570 */ hasType()7571 public boolean hasType() { 7572 return ((bitField0_ & 0x00000002) == 0x00000002); 7573 } 7574 /** 7575 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 7576 */ getType()7577 public com.android.vts.proto.VtsReportMessage.VtsProfilingType getType() { 7578 com.android.vts.proto.VtsReportMessage.VtsProfilingType result = com.android.vts.proto.VtsReportMessage.VtsProfilingType.valueOf(type_); 7579 return result == null ? com.android.vts.proto.VtsReportMessage.VtsProfilingType.UNKNOWN_VTS_PROFILING_TYPE : result; 7580 } 7581 /** 7582 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 7583 */ setType(com.android.vts.proto.VtsReportMessage.VtsProfilingType value)7584 public Builder setType(com.android.vts.proto.VtsReportMessage.VtsProfilingType value) { 7585 if (value == null) { 7586 throw new NullPointerException(); 7587 } 7588 bitField0_ |= 0x00000002; 7589 type_ = value.getNumber(); 7590 onChanged(); 7591 return this; 7592 } 7593 /** 7594 * <code>optional .android.vts.VtsProfilingType type = 2;</code> 7595 */ clearType()7596 public Builder clearType() { 7597 bitField0_ = (bitField0_ & ~0x00000002); 7598 type_ = 0; 7599 onChanged(); 7600 return this; 7601 } 7602 7603 private int regressionMode_ = 0; 7604 /** 7605 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 7606 */ hasRegressionMode()7607 public boolean hasRegressionMode() { 7608 return ((bitField0_ & 0x00000004) == 0x00000004); 7609 } 7610 /** 7611 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 7612 */ getRegressionMode()7613 public com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode getRegressionMode() { 7614 com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode result = com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.valueOf(regressionMode_); 7615 return result == null ? com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode.UNKNOWN_REGRESSION_MODE : result; 7616 } 7617 /** 7618 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 7619 */ setRegressionMode(com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode value)7620 public Builder setRegressionMode(com.android.vts.proto.VtsReportMessage.VtsProfilingRegressionMode value) { 7621 if (value == null) { 7622 throw new NullPointerException(); 7623 } 7624 bitField0_ |= 0x00000004; 7625 regressionMode_ = value.getNumber(); 7626 onChanged(); 7627 return this; 7628 } 7629 /** 7630 * <code>optional .android.vts.VtsProfilingRegressionMode regression_mode = 3;</code> 7631 */ clearRegressionMode()7632 public Builder clearRegressionMode() { 7633 bitField0_ = (bitField0_ & ~0x00000004); 7634 regressionMode_ = 0; 7635 onChanged(); 7636 return this; 7637 } 7638 7639 private long startTimestamp_ ; 7640 /** 7641 * <pre> 7642 * profiling start and end time stamp (for performance). 7643 * </pre> 7644 * 7645 * <code>optional int64 start_timestamp = 11;</code> 7646 */ hasStartTimestamp()7647 public boolean hasStartTimestamp() { 7648 return ((bitField0_ & 0x00000008) == 0x00000008); 7649 } 7650 /** 7651 * <pre> 7652 * profiling start and end time stamp (for performance). 7653 * </pre> 7654 * 7655 * <code>optional int64 start_timestamp = 11;</code> 7656 */ getStartTimestamp()7657 public long getStartTimestamp() { 7658 return startTimestamp_; 7659 } 7660 /** 7661 * <pre> 7662 * profiling start and end time stamp (for performance). 7663 * </pre> 7664 * 7665 * <code>optional int64 start_timestamp = 11;</code> 7666 */ setStartTimestamp(long value)7667 public Builder setStartTimestamp(long value) { 7668 bitField0_ |= 0x00000008; 7669 startTimestamp_ = value; 7670 onChanged(); 7671 return this; 7672 } 7673 /** 7674 * <pre> 7675 * profiling start and end time stamp (for performance). 7676 * </pre> 7677 * 7678 * <code>optional int64 start_timestamp = 11;</code> 7679 */ clearStartTimestamp()7680 public Builder clearStartTimestamp() { 7681 bitField0_ = (bitField0_ & ~0x00000008); 7682 startTimestamp_ = 0L; 7683 onChanged(); 7684 return this; 7685 } 7686 7687 private long endTimestamp_ ; 7688 /** 7689 * <code>optional int64 end_timestamp = 12;</code> 7690 */ hasEndTimestamp()7691 public boolean hasEndTimestamp() { 7692 return ((bitField0_ & 0x00000010) == 0x00000010); 7693 } 7694 /** 7695 * <code>optional int64 end_timestamp = 12;</code> 7696 */ getEndTimestamp()7697 public long getEndTimestamp() { 7698 return endTimestamp_; 7699 } 7700 /** 7701 * <code>optional int64 end_timestamp = 12;</code> 7702 */ setEndTimestamp(long value)7703 public Builder setEndTimestamp(long value) { 7704 bitField0_ |= 0x00000010; 7705 endTimestamp_ = value; 7706 onChanged(); 7707 return this; 7708 } 7709 /** 7710 * <code>optional int64 end_timestamp = 12;</code> 7711 */ clearEndTimestamp()7712 public Builder clearEndTimestamp() { 7713 bitField0_ = (bitField0_ & ~0x00000010); 7714 endTimestamp_ = 0L; 7715 onChanged(); 7716 return this; 7717 } 7718 7719 private java.util.List<com.google.protobuf.ByteString> label_ = java.util.Collections.emptyList(); ensureLabelIsMutable()7720 private void ensureLabelIsMutable() { 7721 if (!((bitField0_ & 0x00000020) == 0x00000020)) { 7722 label_ = new java.util.ArrayList<com.google.protobuf.ByteString>(label_); 7723 bitField0_ |= 0x00000020; 7724 } 7725 } 7726 /** 7727 * <code>repeated bytes label = 21;</code> 7728 */ 7729 public java.util.List<com.google.protobuf.ByteString> getLabelList()7730 getLabelList() { 7731 return java.util.Collections.unmodifiableList(label_); 7732 } 7733 /** 7734 * <code>repeated bytes label = 21;</code> 7735 */ getLabelCount()7736 public int getLabelCount() { 7737 return label_.size(); 7738 } 7739 /** 7740 * <code>repeated bytes label = 21;</code> 7741 */ getLabel(int index)7742 public com.google.protobuf.ByteString getLabel(int index) { 7743 return label_.get(index); 7744 } 7745 /** 7746 * <code>repeated bytes label = 21;</code> 7747 */ setLabel( int index, com.google.protobuf.ByteString value)7748 public Builder setLabel( 7749 int index, com.google.protobuf.ByteString value) { 7750 if (value == null) { 7751 throw new NullPointerException(); 7752 } 7753 ensureLabelIsMutable(); 7754 label_.set(index, value); 7755 onChanged(); 7756 return this; 7757 } 7758 /** 7759 * <code>repeated bytes label = 21;</code> 7760 */ addLabel(com.google.protobuf.ByteString value)7761 public Builder addLabel(com.google.protobuf.ByteString value) { 7762 if (value == null) { 7763 throw new NullPointerException(); 7764 } 7765 ensureLabelIsMutable(); 7766 label_.add(value); 7767 onChanged(); 7768 return this; 7769 } 7770 /** 7771 * <code>repeated bytes label = 21;</code> 7772 */ addAllLabel( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)7773 public Builder addAllLabel( 7774 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { 7775 ensureLabelIsMutable(); 7776 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7777 values, label_); 7778 onChanged(); 7779 return this; 7780 } 7781 /** 7782 * <code>repeated bytes label = 21;</code> 7783 */ clearLabel()7784 public Builder clearLabel() { 7785 label_ = java.util.Collections.emptyList(); 7786 bitField0_ = (bitField0_ & ~0x00000020); 7787 onChanged(); 7788 return this; 7789 } 7790 7791 private java.util.List<java.lang.Long> value_ = java.util.Collections.emptyList(); ensureValueIsMutable()7792 private void ensureValueIsMutable() { 7793 if (!((bitField0_ & 0x00000040) == 0x00000040)) { 7794 value_ = new java.util.ArrayList<java.lang.Long>(value_); 7795 bitField0_ |= 0x00000040; 7796 } 7797 } 7798 /** 7799 * <code>repeated int64 value = 22;</code> 7800 */ 7801 public java.util.List<java.lang.Long> getValueList()7802 getValueList() { 7803 return java.util.Collections.unmodifiableList(value_); 7804 } 7805 /** 7806 * <code>repeated int64 value = 22;</code> 7807 */ getValueCount()7808 public int getValueCount() { 7809 return value_.size(); 7810 } 7811 /** 7812 * <code>repeated int64 value = 22;</code> 7813 */ getValue(int index)7814 public long getValue(int index) { 7815 return value_.get(index); 7816 } 7817 /** 7818 * <code>repeated int64 value = 22;</code> 7819 */ setValue( int index, long value)7820 public Builder setValue( 7821 int index, long value) { 7822 ensureValueIsMutable(); 7823 value_.set(index, value); 7824 onChanged(); 7825 return this; 7826 } 7827 /** 7828 * <code>repeated int64 value = 22;</code> 7829 */ addValue(long value)7830 public Builder addValue(long value) { 7831 ensureValueIsMutable(); 7832 value_.add(value); 7833 onChanged(); 7834 return this; 7835 } 7836 /** 7837 * <code>repeated int64 value = 22;</code> 7838 */ addAllValue( java.lang.Iterable<? extends java.lang.Long> values)7839 public Builder addAllValue( 7840 java.lang.Iterable<? extends java.lang.Long> values) { 7841 ensureValueIsMutable(); 7842 com.google.protobuf.AbstractMessageLite.Builder.addAll( 7843 values, value_); 7844 onChanged(); 7845 return this; 7846 } 7847 /** 7848 * <code>repeated int64 value = 22;</code> 7849 */ clearValue()7850 public Builder clearValue() { 7851 value_ = java.util.Collections.emptyList(); 7852 bitField0_ = (bitField0_ & ~0x00000040); 7853 onChanged(); 7854 return this; 7855 } 7856 7857 private com.google.protobuf.ByteString xAxisLabel_ = com.google.protobuf.ByteString.EMPTY; 7858 /** 7859 * <pre> 7860 * x-axis and y-axis title labels when displaying the data as a graph 7861 * </pre> 7862 * 7863 * <code>optional bytes x_axis_label = 31;</code> 7864 */ hasXAxisLabel()7865 public boolean hasXAxisLabel() { 7866 return ((bitField0_ & 0x00000080) == 0x00000080); 7867 } 7868 /** 7869 * <pre> 7870 * x-axis and y-axis title labels when displaying the data as a graph 7871 * </pre> 7872 * 7873 * <code>optional bytes x_axis_label = 31;</code> 7874 */ getXAxisLabel()7875 public com.google.protobuf.ByteString getXAxisLabel() { 7876 return xAxisLabel_; 7877 } 7878 /** 7879 * <pre> 7880 * x-axis and y-axis title labels when displaying the data as a graph 7881 * </pre> 7882 * 7883 * <code>optional bytes x_axis_label = 31;</code> 7884 */ setXAxisLabel(com.google.protobuf.ByteString value)7885 public Builder setXAxisLabel(com.google.protobuf.ByteString value) { 7886 if (value == null) { 7887 throw new NullPointerException(); 7888 } 7889 bitField0_ |= 0x00000080; 7890 xAxisLabel_ = value; 7891 onChanged(); 7892 return this; 7893 } 7894 /** 7895 * <pre> 7896 * x-axis and y-axis title labels when displaying the data as a graph 7897 * </pre> 7898 * 7899 * <code>optional bytes x_axis_label = 31;</code> 7900 */ clearXAxisLabel()7901 public Builder clearXAxisLabel() { 7902 bitField0_ = (bitField0_ & ~0x00000080); 7903 xAxisLabel_ = getDefaultInstance().getXAxisLabel(); 7904 onChanged(); 7905 return this; 7906 } 7907 7908 private com.google.protobuf.ByteString yAxisLabel_ = com.google.protobuf.ByteString.EMPTY; 7909 /** 7910 * <code>optional bytes y_axis_label = 32;</code> 7911 */ hasYAxisLabel()7912 public boolean hasYAxisLabel() { 7913 return ((bitField0_ & 0x00000100) == 0x00000100); 7914 } 7915 /** 7916 * <code>optional bytes y_axis_label = 32;</code> 7917 */ getYAxisLabel()7918 public com.google.protobuf.ByteString getYAxisLabel() { 7919 return yAxisLabel_; 7920 } 7921 /** 7922 * <code>optional bytes y_axis_label = 32;</code> 7923 */ setYAxisLabel(com.google.protobuf.ByteString value)7924 public Builder setYAxisLabel(com.google.protobuf.ByteString value) { 7925 if (value == null) { 7926 throw new NullPointerException(); 7927 } 7928 bitField0_ |= 0x00000100; 7929 yAxisLabel_ = value; 7930 onChanged(); 7931 return this; 7932 } 7933 /** 7934 * <code>optional bytes y_axis_label = 32;</code> 7935 */ clearYAxisLabel()7936 public Builder clearYAxisLabel() { 7937 bitField0_ = (bitField0_ & ~0x00000100); 7938 yAxisLabel_ = getDefaultInstance().getYAxisLabel(); 7939 onChanged(); 7940 return this; 7941 } 7942 7943 private java.util.List<com.google.protobuf.ByteString> options_ = java.util.Collections.emptyList(); ensureOptionsIsMutable()7944 private void ensureOptionsIsMutable() { 7945 if (!((bitField0_ & 0x00000200) == 0x00000200)) { 7946 options_ = new java.util.ArrayList<com.google.protobuf.ByteString>(options_); 7947 bitField0_ |= 0x00000200; 7948 } 7949 } 7950 /** 7951 * <pre> 7952 * a list of strings where each string has the form of 'key=value'. 7953 * used to tell certain properties of the data (e.g., passthrough vs. 7954 * binderized). 7955 * </pre> 7956 * 7957 * <code>repeated bytes options = 41;</code> 7958 */ 7959 public java.util.List<com.google.protobuf.ByteString> getOptionsList()7960 getOptionsList() { 7961 return java.util.Collections.unmodifiableList(options_); 7962 } 7963 /** 7964 * <pre> 7965 * a list of strings where each string has the form of 'key=value'. 7966 * used to tell certain properties of the data (e.g., passthrough vs. 7967 * binderized). 7968 * </pre> 7969 * 7970 * <code>repeated bytes options = 41;</code> 7971 */ getOptionsCount()7972 public int getOptionsCount() { 7973 return options_.size(); 7974 } 7975 /** 7976 * <pre> 7977 * a list of strings where each string has the form of 'key=value'. 7978 * used to tell certain properties of the data (e.g., passthrough vs. 7979 * binderized). 7980 * </pre> 7981 * 7982 * <code>repeated bytes options = 41;</code> 7983 */ getOptions(int index)7984 public com.google.protobuf.ByteString getOptions(int index) { 7985 return options_.get(index); 7986 } 7987 /** 7988 * <pre> 7989 * a list of strings where each string has the form of 'key=value'. 7990 * used to tell certain properties of the data (e.g., passthrough vs. 7991 * binderized). 7992 * </pre> 7993 * 7994 * <code>repeated bytes options = 41;</code> 7995 */ setOptions( int index, com.google.protobuf.ByteString value)7996 public Builder setOptions( 7997 int index, com.google.protobuf.ByteString value) { 7998 if (value == null) { 7999 throw new NullPointerException(); 8000 } 8001 ensureOptionsIsMutable(); 8002 options_.set(index, value); 8003 onChanged(); 8004 return this; 8005 } 8006 /** 8007 * <pre> 8008 * a list of strings where each string has the form of 'key=value'. 8009 * used to tell certain properties of the data (e.g., passthrough vs. 8010 * binderized). 8011 * </pre> 8012 * 8013 * <code>repeated bytes options = 41;</code> 8014 */ addOptions(com.google.protobuf.ByteString value)8015 public Builder addOptions(com.google.protobuf.ByteString value) { 8016 if (value == null) { 8017 throw new NullPointerException(); 8018 } 8019 ensureOptionsIsMutable(); 8020 options_.add(value); 8021 onChanged(); 8022 return this; 8023 } 8024 /** 8025 * <pre> 8026 * a list of strings where each string has the form of 'key=value'. 8027 * used to tell certain properties of the data (e.g., passthrough vs. 8028 * binderized). 8029 * </pre> 8030 * 8031 * <code>repeated bytes options = 41;</code> 8032 */ addAllOptions( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)8033 public Builder addAllOptions( 8034 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { 8035 ensureOptionsIsMutable(); 8036 com.google.protobuf.AbstractMessageLite.Builder.addAll( 8037 values, options_); 8038 onChanged(); 8039 return this; 8040 } 8041 /** 8042 * <pre> 8043 * a list of strings where each string has the form of 'key=value'. 8044 * used to tell certain properties of the data (e.g., passthrough vs. 8045 * binderized). 8046 * </pre> 8047 * 8048 * <code>repeated bytes options = 41;</code> 8049 */ clearOptions()8050 public Builder clearOptions() { 8051 options_ = java.util.Collections.emptyList(); 8052 bitField0_ = (bitField0_ & ~0x00000200); 8053 onChanged(); 8054 return this; 8055 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)8056 public final Builder setUnknownFields( 8057 final com.google.protobuf.UnknownFieldSet unknownFields) { 8058 return super.setUnknownFields(unknownFields); 8059 } 8060 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)8061 public final Builder mergeUnknownFields( 8062 final com.google.protobuf.UnknownFieldSet unknownFields) { 8063 return super.mergeUnknownFields(unknownFields); 8064 } 8065 8066 8067 // @@protoc_insertion_point(builder_scope:android.vts.ProfilingReportMessage) 8068 } 8069 8070 // @@protoc_insertion_point(class_scope:android.vts.ProfilingReportMessage) 8071 private static final com.android.vts.proto.VtsReportMessage.ProfilingReportMessage DEFAULT_INSTANCE; 8072 static { 8073 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.ProfilingReportMessage(); 8074 } 8075 getDefaultInstance()8076 public static com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getDefaultInstance() { 8077 return DEFAULT_INSTANCE; 8078 } 8079 8080 @java.lang.Deprecated public static final com.google.protobuf.Parser<ProfilingReportMessage> 8081 PARSER = new com.google.protobuf.AbstractParser<ProfilingReportMessage>() { 8082 public ProfilingReportMessage parsePartialFrom( 8083 com.google.protobuf.CodedInputStream input, 8084 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8085 throws com.google.protobuf.InvalidProtocolBufferException { 8086 return new ProfilingReportMessage(input, extensionRegistry); 8087 } 8088 }; 8089 parser()8090 public static com.google.protobuf.Parser<ProfilingReportMessage> parser() { 8091 return PARSER; 8092 } 8093 8094 @java.lang.Override getParserForType()8095 public com.google.protobuf.Parser<ProfilingReportMessage> getParserForType() { 8096 return PARSER; 8097 } 8098 getDefaultInstanceForType()8099 public com.android.vts.proto.VtsReportMessage.ProfilingReportMessage getDefaultInstanceForType() { 8100 return DEFAULT_INSTANCE; 8101 } 8102 8103 } 8104 8105 public interface SystraceReportMessageOrBuilder extends 8106 // @@protoc_insertion_point(interface_extends:android.vts.SystraceReportMessage) 8107 com.google.protobuf.MessageOrBuilder { 8108 8109 /** 8110 * <pre> 8111 * the target process name used by systrace 8112 * </pre> 8113 * 8114 * <code>optional bytes process_name = 1;</code> 8115 */ hasProcessName()8116 boolean hasProcessName(); 8117 /** 8118 * <pre> 8119 * the target process name used by systrace 8120 * </pre> 8121 * 8122 * <code>optional bytes process_name = 1;</code> 8123 */ getProcessName()8124 com.google.protobuf.ByteString getProcessName(); 8125 8126 /** 8127 * <pre> 8128 * the produced html report 8129 * </pre> 8130 * 8131 * <code>repeated bytes html = 11;</code> 8132 */ getHtmlList()8133 java.util.List<com.google.protobuf.ByteString> getHtmlList(); 8134 /** 8135 * <pre> 8136 * the produced html report 8137 * </pre> 8138 * 8139 * <code>repeated bytes html = 11;</code> 8140 */ getHtmlCount()8141 int getHtmlCount(); 8142 /** 8143 * <pre> 8144 * the produced html report 8145 * </pre> 8146 * 8147 * <code>repeated bytes html = 11;</code> 8148 */ getHtml(int index)8149 com.google.protobuf.ByteString getHtml(int index); 8150 8151 /** 8152 * <pre> 8153 * URLs of the produced html reports 8154 * </pre> 8155 * 8156 * <code>repeated bytes url = 21;</code> 8157 */ getUrlList()8158 java.util.List<com.google.protobuf.ByteString> getUrlList(); 8159 /** 8160 * <pre> 8161 * URLs of the produced html reports 8162 * </pre> 8163 * 8164 * <code>repeated bytes url = 21;</code> 8165 */ getUrlCount()8166 int getUrlCount(); 8167 /** 8168 * <pre> 8169 * URLs of the produced html reports 8170 * </pre> 8171 * 8172 * <code>repeated bytes url = 21;</code> 8173 */ getUrl(int index)8174 com.google.protobuf.ByteString getUrl(int index); 8175 } 8176 /** 8177 * <pre> 8178 * To specify a systrace report. 8179 * </pre> 8180 * 8181 * Protobuf type {@code android.vts.SystraceReportMessage} 8182 */ 8183 public static final class SystraceReportMessage extends 8184 com.google.protobuf.GeneratedMessageV3 implements 8185 // @@protoc_insertion_point(message_implements:android.vts.SystraceReportMessage) 8186 SystraceReportMessageOrBuilder { 8187 // Use SystraceReportMessage.newBuilder() to construct. SystraceReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)8188 private SystraceReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 8189 super(builder); 8190 } SystraceReportMessage()8191 private SystraceReportMessage() { 8192 processName_ = com.google.protobuf.ByteString.EMPTY; 8193 html_ = java.util.Collections.emptyList(); 8194 url_ = java.util.Collections.emptyList(); 8195 } 8196 8197 @java.lang.Override 8198 public final com.google.protobuf.UnknownFieldSet getUnknownFields()8199 getUnknownFields() { 8200 return this.unknownFields; 8201 } SystraceReportMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)8202 private SystraceReportMessage( 8203 com.google.protobuf.CodedInputStream input, 8204 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8205 throws com.google.protobuf.InvalidProtocolBufferException { 8206 this(); 8207 int mutable_bitField0_ = 0; 8208 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 8209 com.google.protobuf.UnknownFieldSet.newBuilder(); 8210 try { 8211 boolean done = false; 8212 while (!done) { 8213 int tag = input.readTag(); 8214 switch (tag) { 8215 case 0: 8216 done = true; 8217 break; 8218 default: { 8219 if (!parseUnknownField(input, unknownFields, 8220 extensionRegistry, tag)) { 8221 done = true; 8222 } 8223 break; 8224 } 8225 case 10: { 8226 bitField0_ |= 0x00000001; 8227 processName_ = input.readBytes(); 8228 break; 8229 } 8230 case 90: { 8231 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 8232 html_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); 8233 mutable_bitField0_ |= 0x00000002; 8234 } 8235 html_.add(input.readBytes()); 8236 break; 8237 } 8238 case 170: { 8239 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 8240 url_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); 8241 mutable_bitField0_ |= 0x00000004; 8242 } 8243 url_.add(input.readBytes()); 8244 break; 8245 } 8246 } 8247 } 8248 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 8249 throw e.setUnfinishedMessage(this); 8250 } catch (java.io.IOException e) { 8251 throw new com.google.protobuf.InvalidProtocolBufferException( 8252 e).setUnfinishedMessage(this); 8253 } finally { 8254 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 8255 html_ = java.util.Collections.unmodifiableList(html_); 8256 } 8257 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 8258 url_ = java.util.Collections.unmodifiableList(url_); 8259 } 8260 this.unknownFields = unknownFields.build(); 8261 makeExtensionsImmutable(); 8262 } 8263 } 8264 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()8265 getDescriptor() { 8266 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_descriptor; 8267 } 8268 8269 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()8270 internalGetFieldAccessorTable() { 8271 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_fieldAccessorTable 8272 .ensureFieldAccessorsInitialized( 8273 com.android.vts.proto.VtsReportMessage.SystraceReportMessage.class, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder.class); 8274 } 8275 8276 private int bitField0_; 8277 public static final int PROCESS_NAME_FIELD_NUMBER = 1; 8278 private com.google.protobuf.ByteString processName_; 8279 /** 8280 * <pre> 8281 * the target process name used by systrace 8282 * </pre> 8283 * 8284 * <code>optional bytes process_name = 1;</code> 8285 */ hasProcessName()8286 public boolean hasProcessName() { 8287 return ((bitField0_ & 0x00000001) == 0x00000001); 8288 } 8289 /** 8290 * <pre> 8291 * the target process name used by systrace 8292 * </pre> 8293 * 8294 * <code>optional bytes process_name = 1;</code> 8295 */ getProcessName()8296 public com.google.protobuf.ByteString getProcessName() { 8297 return processName_; 8298 } 8299 8300 public static final int HTML_FIELD_NUMBER = 11; 8301 private java.util.List<com.google.protobuf.ByteString> html_; 8302 /** 8303 * <pre> 8304 * the produced html report 8305 * </pre> 8306 * 8307 * <code>repeated bytes html = 11;</code> 8308 */ 8309 public java.util.List<com.google.protobuf.ByteString> getHtmlList()8310 getHtmlList() { 8311 return html_; 8312 } 8313 /** 8314 * <pre> 8315 * the produced html report 8316 * </pre> 8317 * 8318 * <code>repeated bytes html = 11;</code> 8319 */ getHtmlCount()8320 public int getHtmlCount() { 8321 return html_.size(); 8322 } 8323 /** 8324 * <pre> 8325 * the produced html report 8326 * </pre> 8327 * 8328 * <code>repeated bytes html = 11;</code> 8329 */ getHtml(int index)8330 public com.google.protobuf.ByteString getHtml(int index) { 8331 return html_.get(index); 8332 } 8333 8334 public static final int URL_FIELD_NUMBER = 21; 8335 private java.util.List<com.google.protobuf.ByteString> url_; 8336 /** 8337 * <pre> 8338 * URLs of the produced html reports 8339 * </pre> 8340 * 8341 * <code>repeated bytes url = 21;</code> 8342 */ 8343 public java.util.List<com.google.protobuf.ByteString> getUrlList()8344 getUrlList() { 8345 return url_; 8346 } 8347 /** 8348 * <pre> 8349 * URLs of the produced html reports 8350 * </pre> 8351 * 8352 * <code>repeated bytes url = 21;</code> 8353 */ getUrlCount()8354 public int getUrlCount() { 8355 return url_.size(); 8356 } 8357 /** 8358 * <pre> 8359 * URLs of the produced html reports 8360 * </pre> 8361 * 8362 * <code>repeated bytes url = 21;</code> 8363 */ getUrl(int index)8364 public com.google.protobuf.ByteString getUrl(int index) { 8365 return url_.get(index); 8366 } 8367 8368 private byte memoizedIsInitialized = -1; isInitialized()8369 public final boolean isInitialized() { 8370 byte isInitialized = memoizedIsInitialized; 8371 if (isInitialized == 1) return true; 8372 if (isInitialized == 0) return false; 8373 8374 memoizedIsInitialized = 1; 8375 return true; 8376 } 8377 writeTo(com.google.protobuf.CodedOutputStream output)8378 public void writeTo(com.google.protobuf.CodedOutputStream output) 8379 throws java.io.IOException { 8380 if (((bitField0_ & 0x00000001) == 0x00000001)) { 8381 output.writeBytes(1, processName_); 8382 } 8383 for (int i = 0; i < html_.size(); i++) { 8384 output.writeBytes(11, html_.get(i)); 8385 } 8386 for (int i = 0; i < url_.size(); i++) { 8387 output.writeBytes(21, url_.get(i)); 8388 } 8389 unknownFields.writeTo(output); 8390 } 8391 getSerializedSize()8392 public int getSerializedSize() { 8393 int size = memoizedSize; 8394 if (size != -1) return size; 8395 8396 size = 0; 8397 if (((bitField0_ & 0x00000001) == 0x00000001)) { 8398 size += com.google.protobuf.CodedOutputStream 8399 .computeBytesSize(1, processName_); 8400 } 8401 { 8402 int dataSize = 0; 8403 for (int i = 0; i < html_.size(); i++) { 8404 dataSize += com.google.protobuf.CodedOutputStream 8405 .computeBytesSizeNoTag(html_.get(i)); 8406 } 8407 size += dataSize; 8408 size += 1 * getHtmlList().size(); 8409 } 8410 { 8411 int dataSize = 0; 8412 for (int i = 0; i < url_.size(); i++) { 8413 dataSize += com.google.protobuf.CodedOutputStream 8414 .computeBytesSizeNoTag(url_.get(i)); 8415 } 8416 size += dataSize; 8417 size += 2 * getUrlList().size(); 8418 } 8419 size += unknownFields.getSerializedSize(); 8420 memoizedSize = size; 8421 return size; 8422 } 8423 8424 private static final long serialVersionUID = 0L; 8425 @java.lang.Override equals(final java.lang.Object obj)8426 public boolean equals(final java.lang.Object obj) { 8427 if (obj == this) { 8428 return true; 8429 } 8430 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.SystraceReportMessage)) { 8431 return super.equals(obj); 8432 } 8433 com.android.vts.proto.VtsReportMessage.SystraceReportMessage other = (com.android.vts.proto.VtsReportMessage.SystraceReportMessage) obj; 8434 8435 boolean result = true; 8436 result = result && (hasProcessName() == other.hasProcessName()); 8437 if (hasProcessName()) { 8438 result = result && getProcessName() 8439 .equals(other.getProcessName()); 8440 } 8441 result = result && getHtmlList() 8442 .equals(other.getHtmlList()); 8443 result = result && getUrlList() 8444 .equals(other.getUrlList()); 8445 result = result && unknownFields.equals(other.unknownFields); 8446 return result; 8447 } 8448 8449 @java.lang.Override hashCode()8450 public int hashCode() { 8451 if (memoizedHashCode != 0) { 8452 return memoizedHashCode; 8453 } 8454 int hash = 41; 8455 hash = (19 * hash) + getDescriptorForType().hashCode(); 8456 if (hasProcessName()) { 8457 hash = (37 * hash) + PROCESS_NAME_FIELD_NUMBER; 8458 hash = (53 * hash) + getProcessName().hashCode(); 8459 } 8460 if (getHtmlCount() > 0) { 8461 hash = (37 * hash) + HTML_FIELD_NUMBER; 8462 hash = (53 * hash) + getHtmlList().hashCode(); 8463 } 8464 if (getUrlCount() > 0) { 8465 hash = (37 * hash) + URL_FIELD_NUMBER; 8466 hash = (53 * hash) + getUrlList().hashCode(); 8467 } 8468 hash = (29 * hash) + unknownFields.hashCode(); 8469 memoizedHashCode = hash; 8470 return hash; 8471 } 8472 parseFrom( com.google.protobuf.ByteString data)8473 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( 8474 com.google.protobuf.ByteString data) 8475 throws com.google.protobuf.InvalidProtocolBufferException { 8476 return PARSER.parseFrom(data); 8477 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)8478 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( 8479 com.google.protobuf.ByteString data, 8480 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8481 throws com.google.protobuf.InvalidProtocolBufferException { 8482 return PARSER.parseFrom(data, extensionRegistry); 8483 } parseFrom(byte[] data)8484 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom(byte[] data) 8485 throws com.google.protobuf.InvalidProtocolBufferException { 8486 return PARSER.parseFrom(data); 8487 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)8488 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( 8489 byte[] data, 8490 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8491 throws com.google.protobuf.InvalidProtocolBufferException { 8492 return PARSER.parseFrom(data, extensionRegistry); 8493 } parseFrom(java.io.InputStream input)8494 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom(java.io.InputStream input) 8495 throws java.io.IOException { 8496 return com.google.protobuf.GeneratedMessageV3 8497 .parseWithIOException(PARSER, input); 8498 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)8499 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( 8500 java.io.InputStream input, 8501 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8502 throws java.io.IOException { 8503 return com.google.protobuf.GeneratedMessageV3 8504 .parseWithIOException(PARSER, input, extensionRegistry); 8505 } parseDelimitedFrom(java.io.InputStream input)8506 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseDelimitedFrom(java.io.InputStream input) 8507 throws java.io.IOException { 8508 return com.google.protobuf.GeneratedMessageV3 8509 .parseDelimitedWithIOException(PARSER, input); 8510 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)8511 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseDelimitedFrom( 8512 java.io.InputStream input, 8513 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8514 throws java.io.IOException { 8515 return com.google.protobuf.GeneratedMessageV3 8516 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 8517 } parseFrom( com.google.protobuf.CodedInputStream input)8518 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( 8519 com.google.protobuf.CodedInputStream input) 8520 throws java.io.IOException { 8521 return com.google.protobuf.GeneratedMessageV3 8522 .parseWithIOException(PARSER, input); 8523 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)8524 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage parseFrom( 8525 com.google.protobuf.CodedInputStream input, 8526 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8527 throws java.io.IOException { 8528 return com.google.protobuf.GeneratedMessageV3 8529 .parseWithIOException(PARSER, input, extensionRegistry); 8530 } 8531 newBuilderForType()8532 public Builder newBuilderForType() { return newBuilder(); } newBuilder()8533 public static Builder newBuilder() { 8534 return DEFAULT_INSTANCE.toBuilder(); 8535 } newBuilder(com.android.vts.proto.VtsReportMessage.SystraceReportMessage prototype)8536 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.SystraceReportMessage prototype) { 8537 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 8538 } toBuilder()8539 public Builder toBuilder() { 8540 return this == DEFAULT_INSTANCE 8541 ? new Builder() : new Builder().mergeFrom(this); 8542 } 8543 8544 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)8545 protected Builder newBuilderForType( 8546 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 8547 Builder builder = new Builder(parent); 8548 return builder; 8549 } 8550 /** 8551 * <pre> 8552 * To specify a systrace report. 8553 * </pre> 8554 * 8555 * Protobuf type {@code android.vts.SystraceReportMessage} 8556 */ 8557 public static final class Builder extends 8558 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 8559 // @@protoc_insertion_point(builder_implements:android.vts.SystraceReportMessage) 8560 com.android.vts.proto.VtsReportMessage.SystraceReportMessageOrBuilder { 8561 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()8562 getDescriptor() { 8563 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_descriptor; 8564 } 8565 8566 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()8567 internalGetFieldAccessorTable() { 8568 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_fieldAccessorTable 8569 .ensureFieldAccessorsInitialized( 8570 com.android.vts.proto.VtsReportMessage.SystraceReportMessage.class, com.android.vts.proto.VtsReportMessage.SystraceReportMessage.Builder.class); 8571 } 8572 8573 // Construct using com.android.vts.proto.VtsReportMessage.SystraceReportMessage.newBuilder() Builder()8574 private Builder() { 8575 maybeForceBuilderInitialization(); 8576 } 8577 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)8578 private Builder( 8579 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 8580 super(parent); 8581 maybeForceBuilderInitialization(); 8582 } maybeForceBuilderInitialization()8583 private void maybeForceBuilderInitialization() { 8584 if (com.google.protobuf.GeneratedMessageV3 8585 .alwaysUseFieldBuilders) { 8586 } 8587 } clear()8588 public Builder clear() { 8589 super.clear(); 8590 processName_ = com.google.protobuf.ByteString.EMPTY; 8591 bitField0_ = (bitField0_ & ~0x00000001); 8592 html_ = java.util.Collections.emptyList(); 8593 bitField0_ = (bitField0_ & ~0x00000002); 8594 url_ = java.util.Collections.emptyList(); 8595 bitField0_ = (bitField0_ & ~0x00000004); 8596 return this; 8597 } 8598 8599 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()8600 getDescriptorForType() { 8601 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_SystraceReportMessage_descriptor; 8602 } 8603 getDefaultInstanceForType()8604 public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getDefaultInstanceForType() { 8605 return com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance(); 8606 } 8607 build()8608 public com.android.vts.proto.VtsReportMessage.SystraceReportMessage build() { 8609 com.android.vts.proto.VtsReportMessage.SystraceReportMessage result = buildPartial(); 8610 if (!result.isInitialized()) { 8611 throw newUninitializedMessageException(result); 8612 } 8613 return result; 8614 } 8615 buildPartial()8616 public com.android.vts.proto.VtsReportMessage.SystraceReportMessage buildPartial() { 8617 com.android.vts.proto.VtsReportMessage.SystraceReportMessage result = new com.android.vts.proto.VtsReportMessage.SystraceReportMessage(this); 8618 int from_bitField0_ = bitField0_; 8619 int to_bitField0_ = 0; 8620 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 8621 to_bitField0_ |= 0x00000001; 8622 } 8623 result.processName_ = processName_; 8624 if (((bitField0_ & 0x00000002) == 0x00000002)) { 8625 html_ = java.util.Collections.unmodifiableList(html_); 8626 bitField0_ = (bitField0_ & ~0x00000002); 8627 } 8628 result.html_ = html_; 8629 if (((bitField0_ & 0x00000004) == 0x00000004)) { 8630 url_ = java.util.Collections.unmodifiableList(url_); 8631 bitField0_ = (bitField0_ & ~0x00000004); 8632 } 8633 result.url_ = url_; 8634 result.bitField0_ = to_bitField0_; 8635 onBuilt(); 8636 return result; 8637 } 8638 clone()8639 public Builder clone() { 8640 return (Builder) super.clone(); 8641 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)8642 public Builder setField( 8643 com.google.protobuf.Descriptors.FieldDescriptor field, 8644 Object value) { 8645 return (Builder) super.setField(field, value); 8646 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)8647 public Builder clearField( 8648 com.google.protobuf.Descriptors.FieldDescriptor field) { 8649 return (Builder) super.clearField(field); 8650 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)8651 public Builder clearOneof( 8652 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 8653 return (Builder) super.clearOneof(oneof); 8654 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)8655 public Builder setRepeatedField( 8656 com.google.protobuf.Descriptors.FieldDescriptor field, 8657 int index, Object value) { 8658 return (Builder) super.setRepeatedField(field, index, value); 8659 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)8660 public Builder addRepeatedField( 8661 com.google.protobuf.Descriptors.FieldDescriptor field, 8662 Object value) { 8663 return (Builder) super.addRepeatedField(field, value); 8664 } mergeFrom(com.google.protobuf.Message other)8665 public Builder mergeFrom(com.google.protobuf.Message other) { 8666 if (other instanceof com.android.vts.proto.VtsReportMessage.SystraceReportMessage) { 8667 return mergeFrom((com.android.vts.proto.VtsReportMessage.SystraceReportMessage)other); 8668 } else { 8669 super.mergeFrom(other); 8670 return this; 8671 } 8672 } 8673 mergeFrom(com.android.vts.proto.VtsReportMessage.SystraceReportMessage other)8674 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.SystraceReportMessage other) { 8675 if (other == com.android.vts.proto.VtsReportMessage.SystraceReportMessage.getDefaultInstance()) return this; 8676 if (other.hasProcessName()) { 8677 setProcessName(other.getProcessName()); 8678 } 8679 if (!other.html_.isEmpty()) { 8680 if (html_.isEmpty()) { 8681 html_ = other.html_; 8682 bitField0_ = (bitField0_ & ~0x00000002); 8683 } else { 8684 ensureHtmlIsMutable(); 8685 html_.addAll(other.html_); 8686 } 8687 onChanged(); 8688 } 8689 if (!other.url_.isEmpty()) { 8690 if (url_.isEmpty()) { 8691 url_ = other.url_; 8692 bitField0_ = (bitField0_ & ~0x00000004); 8693 } else { 8694 ensureUrlIsMutable(); 8695 url_.addAll(other.url_); 8696 } 8697 onChanged(); 8698 } 8699 this.mergeUnknownFields(other.unknownFields); 8700 onChanged(); 8701 return this; 8702 } 8703 isInitialized()8704 public final boolean isInitialized() { 8705 return true; 8706 } 8707 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)8708 public Builder mergeFrom( 8709 com.google.protobuf.CodedInputStream input, 8710 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 8711 throws java.io.IOException { 8712 com.android.vts.proto.VtsReportMessage.SystraceReportMessage parsedMessage = null; 8713 try { 8714 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 8715 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 8716 parsedMessage = (com.android.vts.proto.VtsReportMessage.SystraceReportMessage) e.getUnfinishedMessage(); 8717 throw e.unwrapIOException(); 8718 } finally { 8719 if (parsedMessage != null) { 8720 mergeFrom(parsedMessage); 8721 } 8722 } 8723 return this; 8724 } 8725 private int bitField0_; 8726 8727 private com.google.protobuf.ByteString processName_ = com.google.protobuf.ByteString.EMPTY; 8728 /** 8729 * <pre> 8730 * the target process name used by systrace 8731 * </pre> 8732 * 8733 * <code>optional bytes process_name = 1;</code> 8734 */ hasProcessName()8735 public boolean hasProcessName() { 8736 return ((bitField0_ & 0x00000001) == 0x00000001); 8737 } 8738 /** 8739 * <pre> 8740 * the target process name used by systrace 8741 * </pre> 8742 * 8743 * <code>optional bytes process_name = 1;</code> 8744 */ getProcessName()8745 public com.google.protobuf.ByteString getProcessName() { 8746 return processName_; 8747 } 8748 /** 8749 * <pre> 8750 * the target process name used by systrace 8751 * </pre> 8752 * 8753 * <code>optional bytes process_name = 1;</code> 8754 */ setProcessName(com.google.protobuf.ByteString value)8755 public Builder setProcessName(com.google.protobuf.ByteString value) { 8756 if (value == null) { 8757 throw new NullPointerException(); 8758 } 8759 bitField0_ |= 0x00000001; 8760 processName_ = value; 8761 onChanged(); 8762 return this; 8763 } 8764 /** 8765 * <pre> 8766 * the target process name used by systrace 8767 * </pre> 8768 * 8769 * <code>optional bytes process_name = 1;</code> 8770 */ clearProcessName()8771 public Builder clearProcessName() { 8772 bitField0_ = (bitField0_ & ~0x00000001); 8773 processName_ = getDefaultInstance().getProcessName(); 8774 onChanged(); 8775 return this; 8776 } 8777 8778 private java.util.List<com.google.protobuf.ByteString> html_ = java.util.Collections.emptyList(); ensureHtmlIsMutable()8779 private void ensureHtmlIsMutable() { 8780 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 8781 html_ = new java.util.ArrayList<com.google.protobuf.ByteString>(html_); 8782 bitField0_ |= 0x00000002; 8783 } 8784 } 8785 /** 8786 * <pre> 8787 * the produced html report 8788 * </pre> 8789 * 8790 * <code>repeated bytes html = 11;</code> 8791 */ 8792 public java.util.List<com.google.protobuf.ByteString> getHtmlList()8793 getHtmlList() { 8794 return java.util.Collections.unmodifiableList(html_); 8795 } 8796 /** 8797 * <pre> 8798 * the produced html report 8799 * </pre> 8800 * 8801 * <code>repeated bytes html = 11;</code> 8802 */ getHtmlCount()8803 public int getHtmlCount() { 8804 return html_.size(); 8805 } 8806 /** 8807 * <pre> 8808 * the produced html report 8809 * </pre> 8810 * 8811 * <code>repeated bytes html = 11;</code> 8812 */ getHtml(int index)8813 public com.google.protobuf.ByteString getHtml(int index) { 8814 return html_.get(index); 8815 } 8816 /** 8817 * <pre> 8818 * the produced html report 8819 * </pre> 8820 * 8821 * <code>repeated bytes html = 11;</code> 8822 */ setHtml( int index, com.google.protobuf.ByteString value)8823 public Builder setHtml( 8824 int index, com.google.protobuf.ByteString value) { 8825 if (value == null) { 8826 throw new NullPointerException(); 8827 } 8828 ensureHtmlIsMutable(); 8829 html_.set(index, value); 8830 onChanged(); 8831 return this; 8832 } 8833 /** 8834 * <pre> 8835 * the produced html report 8836 * </pre> 8837 * 8838 * <code>repeated bytes html = 11;</code> 8839 */ addHtml(com.google.protobuf.ByteString value)8840 public Builder addHtml(com.google.protobuf.ByteString value) { 8841 if (value == null) { 8842 throw new NullPointerException(); 8843 } 8844 ensureHtmlIsMutable(); 8845 html_.add(value); 8846 onChanged(); 8847 return this; 8848 } 8849 /** 8850 * <pre> 8851 * the produced html report 8852 * </pre> 8853 * 8854 * <code>repeated bytes html = 11;</code> 8855 */ addAllHtml( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)8856 public Builder addAllHtml( 8857 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { 8858 ensureHtmlIsMutable(); 8859 com.google.protobuf.AbstractMessageLite.Builder.addAll( 8860 values, html_); 8861 onChanged(); 8862 return this; 8863 } 8864 /** 8865 * <pre> 8866 * the produced html report 8867 * </pre> 8868 * 8869 * <code>repeated bytes html = 11;</code> 8870 */ clearHtml()8871 public Builder clearHtml() { 8872 html_ = java.util.Collections.emptyList(); 8873 bitField0_ = (bitField0_ & ~0x00000002); 8874 onChanged(); 8875 return this; 8876 } 8877 8878 private java.util.List<com.google.protobuf.ByteString> url_ = java.util.Collections.emptyList(); ensureUrlIsMutable()8879 private void ensureUrlIsMutable() { 8880 if (!((bitField0_ & 0x00000004) == 0x00000004)) { 8881 url_ = new java.util.ArrayList<com.google.protobuf.ByteString>(url_); 8882 bitField0_ |= 0x00000004; 8883 } 8884 } 8885 /** 8886 * <pre> 8887 * URLs of the produced html reports 8888 * </pre> 8889 * 8890 * <code>repeated bytes url = 21;</code> 8891 */ 8892 public java.util.List<com.google.protobuf.ByteString> getUrlList()8893 getUrlList() { 8894 return java.util.Collections.unmodifiableList(url_); 8895 } 8896 /** 8897 * <pre> 8898 * URLs of the produced html reports 8899 * </pre> 8900 * 8901 * <code>repeated bytes url = 21;</code> 8902 */ getUrlCount()8903 public int getUrlCount() { 8904 return url_.size(); 8905 } 8906 /** 8907 * <pre> 8908 * URLs of the produced html reports 8909 * </pre> 8910 * 8911 * <code>repeated bytes url = 21;</code> 8912 */ getUrl(int index)8913 public com.google.protobuf.ByteString getUrl(int index) { 8914 return url_.get(index); 8915 } 8916 /** 8917 * <pre> 8918 * URLs of the produced html reports 8919 * </pre> 8920 * 8921 * <code>repeated bytes url = 21;</code> 8922 */ setUrl( int index, com.google.protobuf.ByteString value)8923 public Builder setUrl( 8924 int index, com.google.protobuf.ByteString value) { 8925 if (value == null) { 8926 throw new NullPointerException(); 8927 } 8928 ensureUrlIsMutable(); 8929 url_.set(index, value); 8930 onChanged(); 8931 return this; 8932 } 8933 /** 8934 * <pre> 8935 * URLs of the produced html reports 8936 * </pre> 8937 * 8938 * <code>repeated bytes url = 21;</code> 8939 */ addUrl(com.google.protobuf.ByteString value)8940 public Builder addUrl(com.google.protobuf.ByteString value) { 8941 if (value == null) { 8942 throw new NullPointerException(); 8943 } 8944 ensureUrlIsMutable(); 8945 url_.add(value); 8946 onChanged(); 8947 return this; 8948 } 8949 /** 8950 * <pre> 8951 * URLs of the produced html reports 8952 * </pre> 8953 * 8954 * <code>repeated bytes url = 21;</code> 8955 */ addAllUrl( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)8956 public Builder addAllUrl( 8957 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { 8958 ensureUrlIsMutable(); 8959 com.google.protobuf.AbstractMessageLite.Builder.addAll( 8960 values, url_); 8961 onChanged(); 8962 return this; 8963 } 8964 /** 8965 * <pre> 8966 * URLs of the produced html reports 8967 * </pre> 8968 * 8969 * <code>repeated bytes url = 21;</code> 8970 */ clearUrl()8971 public Builder clearUrl() { 8972 url_ = java.util.Collections.emptyList(); 8973 bitField0_ = (bitField0_ & ~0x00000004); 8974 onChanged(); 8975 return this; 8976 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)8977 public final Builder setUnknownFields( 8978 final com.google.protobuf.UnknownFieldSet unknownFields) { 8979 return super.setUnknownFields(unknownFields); 8980 } 8981 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)8982 public final Builder mergeUnknownFields( 8983 final com.google.protobuf.UnknownFieldSet unknownFields) { 8984 return super.mergeUnknownFields(unknownFields); 8985 } 8986 8987 8988 // @@protoc_insertion_point(builder_scope:android.vts.SystraceReportMessage) 8989 } 8990 8991 // @@protoc_insertion_point(class_scope:android.vts.SystraceReportMessage) 8992 private static final com.android.vts.proto.VtsReportMessage.SystraceReportMessage DEFAULT_INSTANCE; 8993 static { 8994 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.SystraceReportMessage(); 8995 } 8996 getDefaultInstance()8997 public static com.android.vts.proto.VtsReportMessage.SystraceReportMessage getDefaultInstance() { 8998 return DEFAULT_INSTANCE; 8999 } 9000 9001 @java.lang.Deprecated public static final com.google.protobuf.Parser<SystraceReportMessage> 9002 PARSER = new com.google.protobuf.AbstractParser<SystraceReportMessage>() { 9003 public SystraceReportMessage parsePartialFrom( 9004 com.google.protobuf.CodedInputStream input, 9005 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9006 throws com.google.protobuf.InvalidProtocolBufferException { 9007 return new SystraceReportMessage(input, extensionRegistry); 9008 } 9009 }; 9010 parser()9011 public static com.google.protobuf.Parser<SystraceReportMessage> parser() { 9012 return PARSER; 9013 } 9014 9015 @java.lang.Override getParserForType()9016 public com.google.protobuf.Parser<SystraceReportMessage> getParserForType() { 9017 return PARSER; 9018 } 9019 getDefaultInstanceForType()9020 public com.android.vts.proto.VtsReportMessage.SystraceReportMessage getDefaultInstanceForType() { 9021 return DEFAULT_INSTANCE; 9022 } 9023 9024 } 9025 9026 public interface CoverageReportMessageOrBuilder extends 9027 // @@protoc_insertion_point(interface_extends:android.vts.CoverageReportMessage) 9028 com.google.protobuf.MessageOrBuilder { 9029 9030 /** 9031 * <pre> 9032 * the path to the source file from the project root. 9033 * </pre> 9034 * 9035 * <code>optional bytes file_path = 11;</code> 9036 */ hasFilePath()9037 boolean hasFilePath(); 9038 /** 9039 * <pre> 9040 * the path to the source file from the project root. 9041 * </pre> 9042 * 9043 * <code>optional bytes file_path = 11;</code> 9044 */ getFilePath()9045 com.google.protobuf.ByteString getFilePath(); 9046 9047 /** 9048 * <pre> 9049 * the name of the project where the file can be found 9050 * </pre> 9051 * 9052 * <code>optional bytes project_name = 12;</code> 9053 */ hasProjectName()9054 boolean hasProjectName(); 9055 /** 9056 * <pre> 9057 * the name of the project where the file can be found 9058 * </pre> 9059 * 9060 * <code>optional bytes project_name = 12;</code> 9061 */ getProjectName()9062 com.google.protobuf.ByteString getProjectName(); 9063 9064 /** 9065 * <pre> 9066 * the commit ID identifying the code revision 9067 * </pre> 9068 * 9069 * <code>optional bytes revision = 13;</code> 9070 */ hasRevision()9071 boolean hasRevision(); 9072 /** 9073 * <pre> 9074 * the commit ID identifying the code revision 9075 * </pre> 9076 * 9077 * <code>optional bytes revision = 13;</code> 9078 */ getRevision()9079 com.google.protobuf.ByteString getRevision(); 9080 9081 /** 9082 * <pre> 9083 * i-th element gives the number of times i-th line is executed. 9084 * </pre> 9085 * 9086 * <code>repeated int64 line_coverage_vector = 23;</code> 9087 */ getLineCoverageVectorList()9088 java.util.List<java.lang.Long> getLineCoverageVectorList(); 9089 /** 9090 * <pre> 9091 * i-th element gives the number of times i-th line is executed. 9092 * </pre> 9093 * 9094 * <code>repeated int64 line_coverage_vector = 23;</code> 9095 */ getLineCoverageVectorCount()9096 int getLineCoverageVectorCount(); 9097 /** 9098 * <pre> 9099 * i-th element gives the number of times i-th line is executed. 9100 * </pre> 9101 * 9102 * <code>repeated int64 line_coverage_vector = 23;</code> 9103 */ getLineCoverageVector(int index)9104 long getLineCoverageVector(int index); 9105 9106 /** 9107 * <pre> 9108 * the number of source code lines that are instrumented for code coverage 9109 * measurement. 9110 * </pre> 9111 * 9112 * <code>optional int32 total_line_count = 101;</code> 9113 */ hasTotalLineCount()9114 boolean hasTotalLineCount(); 9115 /** 9116 * <pre> 9117 * the number of source code lines that are instrumented for code coverage 9118 * measurement. 9119 * </pre> 9120 * 9121 * <code>optional int32 total_line_count = 101;</code> 9122 */ getTotalLineCount()9123 int getTotalLineCount(); 9124 9125 /** 9126 * <pre> 9127 * the number of source code lines that are executed. 9128 * </pre> 9129 * 9130 * <code>optional int32 covered_line_count = 102;</code> 9131 */ hasCoveredLineCount()9132 boolean hasCoveredLineCount(); 9133 /** 9134 * <pre> 9135 * the number of source code lines that are executed. 9136 * </pre> 9137 * 9138 * <code>optional int32 covered_line_count = 102;</code> 9139 */ getCoveredLineCount()9140 int getCoveredLineCount(); 9141 9142 /** 9143 * <pre> 9144 * TODO(ryanjcampbell@) delete deprecated field 9145 * the directory path of a source file. 9146 * </pre> 9147 * 9148 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 9149 */ hasDirPath()9150 @java.lang.Deprecated boolean hasDirPath(); 9151 /** 9152 * <pre> 9153 * TODO(ryanjcampbell@) delete deprecated field 9154 * the directory path of a source file. 9155 * </pre> 9156 * 9157 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 9158 */ getDirPath()9159 @java.lang.Deprecated com.google.protobuf.ByteString getDirPath(); 9160 9161 /** 9162 * <pre> 9163 * TODO(ryanjcampbell@) delete deprecated field 9164 * the name of the source file. 9165 * </pre> 9166 * 9167 * <code>optional bytes file_name = 2 [deprecated = true];</code> 9168 */ hasFileName()9169 @java.lang.Deprecated boolean hasFileName(); 9170 /** 9171 * <pre> 9172 * TODO(ryanjcampbell@) delete deprecated field 9173 * the name of the source file. 9174 * </pre> 9175 * 9176 * <code>optional bytes file_name = 2 [deprecated = true];</code> 9177 */ getFileName()9178 @java.lang.Deprecated com.google.protobuf.ByteString getFileName(); 9179 9180 /** 9181 * <pre> 9182 * TODO(ryanjcampbell@) delete deprecated field 9183 * produced html report. 9184 * </pre> 9185 * 9186 * <code>optional bytes html = 3 [deprecated = true];</code> 9187 */ hasHtml()9188 @java.lang.Deprecated boolean hasHtml(); 9189 /** 9190 * <pre> 9191 * TODO(ryanjcampbell@) delete deprecated field 9192 * produced html report. 9193 * </pre> 9194 * 9195 * <code>optional bytes html = 3 [deprecated = true];</code> 9196 */ getHtml()9197 @java.lang.Deprecated com.google.protobuf.ByteString getHtml(); 9198 } 9199 /** 9200 * <pre> 9201 * To specify a coverage report. 9202 * </pre> 9203 * 9204 * Protobuf type {@code android.vts.CoverageReportMessage} 9205 */ 9206 public static final class CoverageReportMessage extends 9207 com.google.protobuf.GeneratedMessageV3 implements 9208 // @@protoc_insertion_point(message_implements:android.vts.CoverageReportMessage) 9209 CoverageReportMessageOrBuilder { 9210 // Use CoverageReportMessage.newBuilder() to construct. CoverageReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)9211 private CoverageReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 9212 super(builder); 9213 } CoverageReportMessage()9214 private CoverageReportMessage() { 9215 filePath_ = com.google.protobuf.ByteString.EMPTY; 9216 projectName_ = com.google.protobuf.ByteString.EMPTY; 9217 revision_ = com.google.protobuf.ByteString.EMPTY; 9218 lineCoverageVector_ = java.util.Collections.emptyList(); 9219 totalLineCount_ = 0; 9220 coveredLineCount_ = 0; 9221 dirPath_ = com.google.protobuf.ByteString.EMPTY; 9222 fileName_ = com.google.protobuf.ByteString.EMPTY; 9223 html_ = com.google.protobuf.ByteString.EMPTY; 9224 } 9225 9226 @java.lang.Override 9227 public final com.google.protobuf.UnknownFieldSet getUnknownFields()9228 getUnknownFields() { 9229 return this.unknownFields; 9230 } CoverageReportMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)9231 private CoverageReportMessage( 9232 com.google.protobuf.CodedInputStream input, 9233 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9234 throws com.google.protobuf.InvalidProtocolBufferException { 9235 this(); 9236 int mutable_bitField0_ = 0; 9237 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 9238 com.google.protobuf.UnknownFieldSet.newBuilder(); 9239 try { 9240 boolean done = false; 9241 while (!done) { 9242 int tag = input.readTag(); 9243 switch (tag) { 9244 case 0: 9245 done = true; 9246 break; 9247 default: { 9248 if (!parseUnknownField(input, unknownFields, 9249 extensionRegistry, tag)) { 9250 done = true; 9251 } 9252 break; 9253 } 9254 case 10: { 9255 bitField0_ |= 0x00000020; 9256 dirPath_ = input.readBytes(); 9257 break; 9258 } 9259 case 18: { 9260 bitField0_ |= 0x00000040; 9261 fileName_ = input.readBytes(); 9262 break; 9263 } 9264 case 26: { 9265 bitField0_ |= 0x00000080; 9266 html_ = input.readBytes(); 9267 break; 9268 } 9269 case 90: { 9270 bitField0_ |= 0x00000001; 9271 filePath_ = input.readBytes(); 9272 break; 9273 } 9274 case 98: { 9275 bitField0_ |= 0x00000002; 9276 projectName_ = input.readBytes(); 9277 break; 9278 } 9279 case 106: { 9280 bitField0_ |= 0x00000004; 9281 revision_ = input.readBytes(); 9282 break; 9283 } 9284 case 184: { 9285 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 9286 lineCoverageVector_ = new java.util.ArrayList<java.lang.Long>(); 9287 mutable_bitField0_ |= 0x00000008; 9288 } 9289 lineCoverageVector_.add(input.readInt64()); 9290 break; 9291 } 9292 case 186: { 9293 int length = input.readRawVarint32(); 9294 int limit = input.pushLimit(length); 9295 if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { 9296 lineCoverageVector_ = new java.util.ArrayList<java.lang.Long>(); 9297 mutable_bitField0_ |= 0x00000008; 9298 } 9299 while (input.getBytesUntilLimit() > 0) { 9300 lineCoverageVector_.add(input.readInt64()); 9301 } 9302 input.popLimit(limit); 9303 break; 9304 } 9305 case 808: { 9306 bitField0_ |= 0x00000008; 9307 totalLineCount_ = input.readInt32(); 9308 break; 9309 } 9310 case 816: { 9311 bitField0_ |= 0x00000010; 9312 coveredLineCount_ = input.readInt32(); 9313 break; 9314 } 9315 } 9316 } 9317 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 9318 throw e.setUnfinishedMessage(this); 9319 } catch (java.io.IOException e) { 9320 throw new com.google.protobuf.InvalidProtocolBufferException( 9321 e).setUnfinishedMessage(this); 9322 } finally { 9323 if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { 9324 lineCoverageVector_ = java.util.Collections.unmodifiableList(lineCoverageVector_); 9325 } 9326 this.unknownFields = unknownFields.build(); 9327 makeExtensionsImmutable(); 9328 } 9329 } 9330 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()9331 getDescriptor() { 9332 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_descriptor; 9333 } 9334 9335 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()9336 internalGetFieldAccessorTable() { 9337 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_fieldAccessorTable 9338 .ensureFieldAccessorsInitialized( 9339 com.android.vts.proto.VtsReportMessage.CoverageReportMessage.class, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder.class); 9340 } 9341 9342 private int bitField0_; 9343 public static final int FILE_PATH_FIELD_NUMBER = 11; 9344 private com.google.protobuf.ByteString filePath_; 9345 /** 9346 * <pre> 9347 * the path to the source file from the project root. 9348 * </pre> 9349 * 9350 * <code>optional bytes file_path = 11;</code> 9351 */ hasFilePath()9352 public boolean hasFilePath() { 9353 return ((bitField0_ & 0x00000001) == 0x00000001); 9354 } 9355 /** 9356 * <pre> 9357 * the path to the source file from the project root. 9358 * </pre> 9359 * 9360 * <code>optional bytes file_path = 11;</code> 9361 */ getFilePath()9362 public com.google.protobuf.ByteString getFilePath() { 9363 return filePath_; 9364 } 9365 9366 public static final int PROJECT_NAME_FIELD_NUMBER = 12; 9367 private com.google.protobuf.ByteString projectName_; 9368 /** 9369 * <pre> 9370 * the name of the project where the file can be found 9371 * </pre> 9372 * 9373 * <code>optional bytes project_name = 12;</code> 9374 */ hasProjectName()9375 public boolean hasProjectName() { 9376 return ((bitField0_ & 0x00000002) == 0x00000002); 9377 } 9378 /** 9379 * <pre> 9380 * the name of the project where the file can be found 9381 * </pre> 9382 * 9383 * <code>optional bytes project_name = 12;</code> 9384 */ getProjectName()9385 public com.google.protobuf.ByteString getProjectName() { 9386 return projectName_; 9387 } 9388 9389 public static final int REVISION_FIELD_NUMBER = 13; 9390 private com.google.protobuf.ByteString revision_; 9391 /** 9392 * <pre> 9393 * the commit ID identifying the code revision 9394 * </pre> 9395 * 9396 * <code>optional bytes revision = 13;</code> 9397 */ hasRevision()9398 public boolean hasRevision() { 9399 return ((bitField0_ & 0x00000004) == 0x00000004); 9400 } 9401 /** 9402 * <pre> 9403 * the commit ID identifying the code revision 9404 * </pre> 9405 * 9406 * <code>optional bytes revision = 13;</code> 9407 */ getRevision()9408 public com.google.protobuf.ByteString getRevision() { 9409 return revision_; 9410 } 9411 9412 public static final int LINE_COVERAGE_VECTOR_FIELD_NUMBER = 23; 9413 private java.util.List<java.lang.Long> lineCoverageVector_; 9414 /** 9415 * <pre> 9416 * i-th element gives the number of times i-th line is executed. 9417 * </pre> 9418 * 9419 * <code>repeated int64 line_coverage_vector = 23;</code> 9420 */ 9421 public java.util.List<java.lang.Long> getLineCoverageVectorList()9422 getLineCoverageVectorList() { 9423 return lineCoverageVector_; 9424 } 9425 /** 9426 * <pre> 9427 * i-th element gives the number of times i-th line is executed. 9428 * </pre> 9429 * 9430 * <code>repeated int64 line_coverage_vector = 23;</code> 9431 */ getLineCoverageVectorCount()9432 public int getLineCoverageVectorCount() { 9433 return lineCoverageVector_.size(); 9434 } 9435 /** 9436 * <pre> 9437 * i-th element gives the number of times i-th line is executed. 9438 * </pre> 9439 * 9440 * <code>repeated int64 line_coverage_vector = 23;</code> 9441 */ getLineCoverageVector(int index)9442 public long getLineCoverageVector(int index) { 9443 return lineCoverageVector_.get(index); 9444 } 9445 9446 public static final int TOTAL_LINE_COUNT_FIELD_NUMBER = 101; 9447 private int totalLineCount_; 9448 /** 9449 * <pre> 9450 * the number of source code lines that are instrumented for code coverage 9451 * measurement. 9452 * </pre> 9453 * 9454 * <code>optional int32 total_line_count = 101;</code> 9455 */ hasTotalLineCount()9456 public boolean hasTotalLineCount() { 9457 return ((bitField0_ & 0x00000008) == 0x00000008); 9458 } 9459 /** 9460 * <pre> 9461 * the number of source code lines that are instrumented for code coverage 9462 * measurement. 9463 * </pre> 9464 * 9465 * <code>optional int32 total_line_count = 101;</code> 9466 */ getTotalLineCount()9467 public int getTotalLineCount() { 9468 return totalLineCount_; 9469 } 9470 9471 public static final int COVERED_LINE_COUNT_FIELD_NUMBER = 102; 9472 private int coveredLineCount_; 9473 /** 9474 * <pre> 9475 * the number of source code lines that are executed. 9476 * </pre> 9477 * 9478 * <code>optional int32 covered_line_count = 102;</code> 9479 */ hasCoveredLineCount()9480 public boolean hasCoveredLineCount() { 9481 return ((bitField0_ & 0x00000010) == 0x00000010); 9482 } 9483 /** 9484 * <pre> 9485 * the number of source code lines that are executed. 9486 * </pre> 9487 * 9488 * <code>optional int32 covered_line_count = 102;</code> 9489 */ getCoveredLineCount()9490 public int getCoveredLineCount() { 9491 return coveredLineCount_; 9492 } 9493 9494 public static final int DIR_PATH_FIELD_NUMBER = 1; 9495 private com.google.protobuf.ByteString dirPath_; 9496 /** 9497 * <pre> 9498 * TODO(ryanjcampbell@) delete deprecated field 9499 * the directory path of a source file. 9500 * </pre> 9501 * 9502 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 9503 */ hasDirPath()9504 @java.lang.Deprecated public boolean hasDirPath() { 9505 return ((bitField0_ & 0x00000020) == 0x00000020); 9506 } 9507 /** 9508 * <pre> 9509 * TODO(ryanjcampbell@) delete deprecated field 9510 * the directory path of a source file. 9511 * </pre> 9512 * 9513 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 9514 */ getDirPath()9515 @java.lang.Deprecated public com.google.protobuf.ByteString getDirPath() { 9516 return dirPath_; 9517 } 9518 9519 public static final int FILE_NAME_FIELD_NUMBER = 2; 9520 private com.google.protobuf.ByteString fileName_; 9521 /** 9522 * <pre> 9523 * TODO(ryanjcampbell@) delete deprecated field 9524 * the name of the source file. 9525 * </pre> 9526 * 9527 * <code>optional bytes file_name = 2 [deprecated = true];</code> 9528 */ hasFileName()9529 @java.lang.Deprecated public boolean hasFileName() { 9530 return ((bitField0_ & 0x00000040) == 0x00000040); 9531 } 9532 /** 9533 * <pre> 9534 * TODO(ryanjcampbell@) delete deprecated field 9535 * the name of the source file. 9536 * </pre> 9537 * 9538 * <code>optional bytes file_name = 2 [deprecated = true];</code> 9539 */ getFileName()9540 @java.lang.Deprecated public com.google.protobuf.ByteString getFileName() { 9541 return fileName_; 9542 } 9543 9544 public static final int HTML_FIELD_NUMBER = 3; 9545 private com.google.protobuf.ByteString html_; 9546 /** 9547 * <pre> 9548 * TODO(ryanjcampbell@) delete deprecated field 9549 * produced html report. 9550 * </pre> 9551 * 9552 * <code>optional bytes html = 3 [deprecated = true];</code> 9553 */ hasHtml()9554 @java.lang.Deprecated public boolean hasHtml() { 9555 return ((bitField0_ & 0x00000080) == 0x00000080); 9556 } 9557 /** 9558 * <pre> 9559 * TODO(ryanjcampbell@) delete deprecated field 9560 * produced html report. 9561 * </pre> 9562 * 9563 * <code>optional bytes html = 3 [deprecated = true];</code> 9564 */ getHtml()9565 @java.lang.Deprecated public com.google.protobuf.ByteString getHtml() { 9566 return html_; 9567 } 9568 9569 private byte memoizedIsInitialized = -1; isInitialized()9570 public final boolean isInitialized() { 9571 byte isInitialized = memoizedIsInitialized; 9572 if (isInitialized == 1) return true; 9573 if (isInitialized == 0) return false; 9574 9575 memoizedIsInitialized = 1; 9576 return true; 9577 } 9578 writeTo(com.google.protobuf.CodedOutputStream output)9579 public void writeTo(com.google.protobuf.CodedOutputStream output) 9580 throws java.io.IOException { 9581 if (((bitField0_ & 0x00000020) == 0x00000020)) { 9582 output.writeBytes(1, dirPath_); 9583 } 9584 if (((bitField0_ & 0x00000040) == 0x00000040)) { 9585 output.writeBytes(2, fileName_); 9586 } 9587 if (((bitField0_ & 0x00000080) == 0x00000080)) { 9588 output.writeBytes(3, html_); 9589 } 9590 if (((bitField0_ & 0x00000001) == 0x00000001)) { 9591 output.writeBytes(11, filePath_); 9592 } 9593 if (((bitField0_ & 0x00000002) == 0x00000002)) { 9594 output.writeBytes(12, projectName_); 9595 } 9596 if (((bitField0_ & 0x00000004) == 0x00000004)) { 9597 output.writeBytes(13, revision_); 9598 } 9599 for (int i = 0; i < lineCoverageVector_.size(); i++) { 9600 output.writeInt64(23, lineCoverageVector_.get(i)); 9601 } 9602 if (((bitField0_ & 0x00000008) == 0x00000008)) { 9603 output.writeInt32(101, totalLineCount_); 9604 } 9605 if (((bitField0_ & 0x00000010) == 0x00000010)) { 9606 output.writeInt32(102, coveredLineCount_); 9607 } 9608 unknownFields.writeTo(output); 9609 } 9610 getSerializedSize()9611 public int getSerializedSize() { 9612 int size = memoizedSize; 9613 if (size != -1) return size; 9614 9615 size = 0; 9616 if (((bitField0_ & 0x00000020) == 0x00000020)) { 9617 size += com.google.protobuf.CodedOutputStream 9618 .computeBytesSize(1, dirPath_); 9619 } 9620 if (((bitField0_ & 0x00000040) == 0x00000040)) { 9621 size += com.google.protobuf.CodedOutputStream 9622 .computeBytesSize(2, fileName_); 9623 } 9624 if (((bitField0_ & 0x00000080) == 0x00000080)) { 9625 size += com.google.protobuf.CodedOutputStream 9626 .computeBytesSize(3, html_); 9627 } 9628 if (((bitField0_ & 0x00000001) == 0x00000001)) { 9629 size += com.google.protobuf.CodedOutputStream 9630 .computeBytesSize(11, filePath_); 9631 } 9632 if (((bitField0_ & 0x00000002) == 0x00000002)) { 9633 size += com.google.protobuf.CodedOutputStream 9634 .computeBytesSize(12, projectName_); 9635 } 9636 if (((bitField0_ & 0x00000004) == 0x00000004)) { 9637 size += com.google.protobuf.CodedOutputStream 9638 .computeBytesSize(13, revision_); 9639 } 9640 { 9641 int dataSize = 0; 9642 for (int i = 0; i < lineCoverageVector_.size(); i++) { 9643 dataSize += com.google.protobuf.CodedOutputStream 9644 .computeInt64SizeNoTag(lineCoverageVector_.get(i)); 9645 } 9646 size += dataSize; 9647 size += 2 * getLineCoverageVectorList().size(); 9648 } 9649 if (((bitField0_ & 0x00000008) == 0x00000008)) { 9650 size += com.google.protobuf.CodedOutputStream 9651 .computeInt32Size(101, totalLineCount_); 9652 } 9653 if (((bitField0_ & 0x00000010) == 0x00000010)) { 9654 size += com.google.protobuf.CodedOutputStream 9655 .computeInt32Size(102, coveredLineCount_); 9656 } 9657 size += unknownFields.getSerializedSize(); 9658 memoizedSize = size; 9659 return size; 9660 } 9661 9662 private static final long serialVersionUID = 0L; 9663 @java.lang.Override equals(final java.lang.Object obj)9664 public boolean equals(final java.lang.Object obj) { 9665 if (obj == this) { 9666 return true; 9667 } 9668 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.CoverageReportMessage)) { 9669 return super.equals(obj); 9670 } 9671 com.android.vts.proto.VtsReportMessage.CoverageReportMessage other = (com.android.vts.proto.VtsReportMessage.CoverageReportMessage) obj; 9672 9673 boolean result = true; 9674 result = result && (hasFilePath() == other.hasFilePath()); 9675 if (hasFilePath()) { 9676 result = result && getFilePath() 9677 .equals(other.getFilePath()); 9678 } 9679 result = result && (hasProjectName() == other.hasProjectName()); 9680 if (hasProjectName()) { 9681 result = result && getProjectName() 9682 .equals(other.getProjectName()); 9683 } 9684 result = result && (hasRevision() == other.hasRevision()); 9685 if (hasRevision()) { 9686 result = result && getRevision() 9687 .equals(other.getRevision()); 9688 } 9689 result = result && getLineCoverageVectorList() 9690 .equals(other.getLineCoverageVectorList()); 9691 result = result && (hasTotalLineCount() == other.hasTotalLineCount()); 9692 if (hasTotalLineCount()) { 9693 result = result && (getTotalLineCount() 9694 == other.getTotalLineCount()); 9695 } 9696 result = result && (hasCoveredLineCount() == other.hasCoveredLineCount()); 9697 if (hasCoveredLineCount()) { 9698 result = result && (getCoveredLineCount() 9699 == other.getCoveredLineCount()); 9700 } 9701 result = result && (hasDirPath() == other.hasDirPath()); 9702 if (hasDirPath()) { 9703 result = result && getDirPath() 9704 .equals(other.getDirPath()); 9705 } 9706 result = result && (hasFileName() == other.hasFileName()); 9707 if (hasFileName()) { 9708 result = result && getFileName() 9709 .equals(other.getFileName()); 9710 } 9711 result = result && (hasHtml() == other.hasHtml()); 9712 if (hasHtml()) { 9713 result = result && getHtml() 9714 .equals(other.getHtml()); 9715 } 9716 result = result && unknownFields.equals(other.unknownFields); 9717 return result; 9718 } 9719 9720 @java.lang.Override hashCode()9721 public int hashCode() { 9722 if (memoizedHashCode != 0) { 9723 return memoizedHashCode; 9724 } 9725 int hash = 41; 9726 hash = (19 * hash) + getDescriptorForType().hashCode(); 9727 if (hasFilePath()) { 9728 hash = (37 * hash) + FILE_PATH_FIELD_NUMBER; 9729 hash = (53 * hash) + getFilePath().hashCode(); 9730 } 9731 if (hasProjectName()) { 9732 hash = (37 * hash) + PROJECT_NAME_FIELD_NUMBER; 9733 hash = (53 * hash) + getProjectName().hashCode(); 9734 } 9735 if (hasRevision()) { 9736 hash = (37 * hash) + REVISION_FIELD_NUMBER; 9737 hash = (53 * hash) + getRevision().hashCode(); 9738 } 9739 if (getLineCoverageVectorCount() > 0) { 9740 hash = (37 * hash) + LINE_COVERAGE_VECTOR_FIELD_NUMBER; 9741 hash = (53 * hash) + getLineCoverageVectorList().hashCode(); 9742 } 9743 if (hasTotalLineCount()) { 9744 hash = (37 * hash) + TOTAL_LINE_COUNT_FIELD_NUMBER; 9745 hash = (53 * hash) + getTotalLineCount(); 9746 } 9747 if (hasCoveredLineCount()) { 9748 hash = (37 * hash) + COVERED_LINE_COUNT_FIELD_NUMBER; 9749 hash = (53 * hash) + getCoveredLineCount(); 9750 } 9751 if (hasDirPath()) { 9752 hash = (37 * hash) + DIR_PATH_FIELD_NUMBER; 9753 hash = (53 * hash) + getDirPath().hashCode(); 9754 } 9755 if (hasFileName()) { 9756 hash = (37 * hash) + FILE_NAME_FIELD_NUMBER; 9757 hash = (53 * hash) + getFileName().hashCode(); 9758 } 9759 if (hasHtml()) { 9760 hash = (37 * hash) + HTML_FIELD_NUMBER; 9761 hash = (53 * hash) + getHtml().hashCode(); 9762 } 9763 hash = (29 * hash) + unknownFields.hashCode(); 9764 memoizedHashCode = hash; 9765 return hash; 9766 } 9767 parseFrom( com.google.protobuf.ByteString data)9768 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( 9769 com.google.protobuf.ByteString data) 9770 throws com.google.protobuf.InvalidProtocolBufferException { 9771 return PARSER.parseFrom(data); 9772 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)9773 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( 9774 com.google.protobuf.ByteString data, 9775 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9776 throws com.google.protobuf.InvalidProtocolBufferException { 9777 return PARSER.parseFrom(data, extensionRegistry); 9778 } parseFrom(byte[] data)9779 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom(byte[] data) 9780 throws com.google.protobuf.InvalidProtocolBufferException { 9781 return PARSER.parseFrom(data); 9782 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)9783 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( 9784 byte[] data, 9785 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9786 throws com.google.protobuf.InvalidProtocolBufferException { 9787 return PARSER.parseFrom(data, extensionRegistry); 9788 } parseFrom(java.io.InputStream input)9789 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom(java.io.InputStream input) 9790 throws java.io.IOException { 9791 return com.google.protobuf.GeneratedMessageV3 9792 .parseWithIOException(PARSER, input); 9793 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)9794 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( 9795 java.io.InputStream input, 9796 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9797 throws java.io.IOException { 9798 return com.google.protobuf.GeneratedMessageV3 9799 .parseWithIOException(PARSER, input, extensionRegistry); 9800 } parseDelimitedFrom(java.io.InputStream input)9801 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseDelimitedFrom(java.io.InputStream input) 9802 throws java.io.IOException { 9803 return com.google.protobuf.GeneratedMessageV3 9804 .parseDelimitedWithIOException(PARSER, input); 9805 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)9806 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseDelimitedFrom( 9807 java.io.InputStream input, 9808 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9809 throws java.io.IOException { 9810 return com.google.protobuf.GeneratedMessageV3 9811 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 9812 } parseFrom( com.google.protobuf.CodedInputStream input)9813 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( 9814 com.google.protobuf.CodedInputStream input) 9815 throws java.io.IOException { 9816 return com.google.protobuf.GeneratedMessageV3 9817 .parseWithIOException(PARSER, input); 9818 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)9819 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage parseFrom( 9820 com.google.protobuf.CodedInputStream input, 9821 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 9822 throws java.io.IOException { 9823 return com.google.protobuf.GeneratedMessageV3 9824 .parseWithIOException(PARSER, input, extensionRegistry); 9825 } 9826 newBuilderForType()9827 public Builder newBuilderForType() { return newBuilder(); } newBuilder()9828 public static Builder newBuilder() { 9829 return DEFAULT_INSTANCE.toBuilder(); 9830 } newBuilder(com.android.vts.proto.VtsReportMessage.CoverageReportMessage prototype)9831 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.CoverageReportMessage prototype) { 9832 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 9833 } toBuilder()9834 public Builder toBuilder() { 9835 return this == DEFAULT_INSTANCE 9836 ? new Builder() : new Builder().mergeFrom(this); 9837 } 9838 9839 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)9840 protected Builder newBuilderForType( 9841 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 9842 Builder builder = new Builder(parent); 9843 return builder; 9844 } 9845 /** 9846 * <pre> 9847 * To specify a coverage report. 9848 * </pre> 9849 * 9850 * Protobuf type {@code android.vts.CoverageReportMessage} 9851 */ 9852 public static final class Builder extends 9853 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 9854 // @@protoc_insertion_point(builder_implements:android.vts.CoverageReportMessage) 9855 com.android.vts.proto.VtsReportMessage.CoverageReportMessageOrBuilder { 9856 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()9857 getDescriptor() { 9858 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_descriptor; 9859 } 9860 9861 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()9862 internalGetFieldAccessorTable() { 9863 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_fieldAccessorTable 9864 .ensureFieldAccessorsInitialized( 9865 com.android.vts.proto.VtsReportMessage.CoverageReportMessage.class, com.android.vts.proto.VtsReportMessage.CoverageReportMessage.Builder.class); 9866 } 9867 9868 // Construct using com.android.vts.proto.VtsReportMessage.CoverageReportMessage.newBuilder() Builder()9869 private Builder() { 9870 maybeForceBuilderInitialization(); 9871 } 9872 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)9873 private Builder( 9874 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 9875 super(parent); 9876 maybeForceBuilderInitialization(); 9877 } maybeForceBuilderInitialization()9878 private void maybeForceBuilderInitialization() { 9879 if (com.google.protobuf.GeneratedMessageV3 9880 .alwaysUseFieldBuilders) { 9881 } 9882 } clear()9883 public Builder clear() { 9884 super.clear(); 9885 filePath_ = com.google.protobuf.ByteString.EMPTY; 9886 bitField0_ = (bitField0_ & ~0x00000001); 9887 projectName_ = com.google.protobuf.ByteString.EMPTY; 9888 bitField0_ = (bitField0_ & ~0x00000002); 9889 revision_ = com.google.protobuf.ByteString.EMPTY; 9890 bitField0_ = (bitField0_ & ~0x00000004); 9891 lineCoverageVector_ = java.util.Collections.emptyList(); 9892 bitField0_ = (bitField0_ & ~0x00000008); 9893 totalLineCount_ = 0; 9894 bitField0_ = (bitField0_ & ~0x00000010); 9895 coveredLineCount_ = 0; 9896 bitField0_ = (bitField0_ & ~0x00000020); 9897 dirPath_ = com.google.protobuf.ByteString.EMPTY; 9898 bitField0_ = (bitField0_ & ~0x00000040); 9899 fileName_ = com.google.protobuf.ByteString.EMPTY; 9900 bitField0_ = (bitField0_ & ~0x00000080); 9901 html_ = com.google.protobuf.ByteString.EMPTY; 9902 bitField0_ = (bitField0_ & ~0x00000100); 9903 return this; 9904 } 9905 9906 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()9907 getDescriptorForType() { 9908 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_CoverageReportMessage_descriptor; 9909 } 9910 getDefaultInstanceForType()9911 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getDefaultInstanceForType() { 9912 return com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance(); 9913 } 9914 build()9915 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage build() { 9916 com.android.vts.proto.VtsReportMessage.CoverageReportMessage result = buildPartial(); 9917 if (!result.isInitialized()) { 9918 throw newUninitializedMessageException(result); 9919 } 9920 return result; 9921 } 9922 buildPartial()9923 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage buildPartial() { 9924 com.android.vts.proto.VtsReportMessage.CoverageReportMessage result = new com.android.vts.proto.VtsReportMessage.CoverageReportMessage(this); 9925 int from_bitField0_ = bitField0_; 9926 int to_bitField0_ = 0; 9927 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 9928 to_bitField0_ |= 0x00000001; 9929 } 9930 result.filePath_ = filePath_; 9931 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 9932 to_bitField0_ |= 0x00000002; 9933 } 9934 result.projectName_ = projectName_; 9935 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 9936 to_bitField0_ |= 0x00000004; 9937 } 9938 result.revision_ = revision_; 9939 if (((bitField0_ & 0x00000008) == 0x00000008)) { 9940 lineCoverageVector_ = java.util.Collections.unmodifiableList(lineCoverageVector_); 9941 bitField0_ = (bitField0_ & ~0x00000008); 9942 } 9943 result.lineCoverageVector_ = lineCoverageVector_; 9944 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 9945 to_bitField0_ |= 0x00000008; 9946 } 9947 result.totalLineCount_ = totalLineCount_; 9948 if (((from_bitField0_ & 0x00000020) == 0x00000020)) { 9949 to_bitField0_ |= 0x00000010; 9950 } 9951 result.coveredLineCount_ = coveredLineCount_; 9952 if (((from_bitField0_ & 0x00000040) == 0x00000040)) { 9953 to_bitField0_ |= 0x00000020; 9954 } 9955 result.dirPath_ = dirPath_; 9956 if (((from_bitField0_ & 0x00000080) == 0x00000080)) { 9957 to_bitField0_ |= 0x00000040; 9958 } 9959 result.fileName_ = fileName_; 9960 if (((from_bitField0_ & 0x00000100) == 0x00000100)) { 9961 to_bitField0_ |= 0x00000080; 9962 } 9963 result.html_ = html_; 9964 result.bitField0_ = to_bitField0_; 9965 onBuilt(); 9966 return result; 9967 } 9968 clone()9969 public Builder clone() { 9970 return (Builder) super.clone(); 9971 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)9972 public Builder setField( 9973 com.google.protobuf.Descriptors.FieldDescriptor field, 9974 Object value) { 9975 return (Builder) super.setField(field, value); 9976 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)9977 public Builder clearField( 9978 com.google.protobuf.Descriptors.FieldDescriptor field) { 9979 return (Builder) super.clearField(field); 9980 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)9981 public Builder clearOneof( 9982 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 9983 return (Builder) super.clearOneof(oneof); 9984 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)9985 public Builder setRepeatedField( 9986 com.google.protobuf.Descriptors.FieldDescriptor field, 9987 int index, Object value) { 9988 return (Builder) super.setRepeatedField(field, index, value); 9989 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)9990 public Builder addRepeatedField( 9991 com.google.protobuf.Descriptors.FieldDescriptor field, 9992 Object value) { 9993 return (Builder) super.addRepeatedField(field, value); 9994 } mergeFrom(com.google.protobuf.Message other)9995 public Builder mergeFrom(com.google.protobuf.Message other) { 9996 if (other instanceof com.android.vts.proto.VtsReportMessage.CoverageReportMessage) { 9997 return mergeFrom((com.android.vts.proto.VtsReportMessage.CoverageReportMessage)other); 9998 } else { 9999 super.mergeFrom(other); 10000 return this; 10001 } 10002 } 10003 mergeFrom(com.android.vts.proto.VtsReportMessage.CoverageReportMessage other)10004 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.CoverageReportMessage other) { 10005 if (other == com.android.vts.proto.VtsReportMessage.CoverageReportMessage.getDefaultInstance()) return this; 10006 if (other.hasFilePath()) { 10007 setFilePath(other.getFilePath()); 10008 } 10009 if (other.hasProjectName()) { 10010 setProjectName(other.getProjectName()); 10011 } 10012 if (other.hasRevision()) { 10013 setRevision(other.getRevision()); 10014 } 10015 if (!other.lineCoverageVector_.isEmpty()) { 10016 if (lineCoverageVector_.isEmpty()) { 10017 lineCoverageVector_ = other.lineCoverageVector_; 10018 bitField0_ = (bitField0_ & ~0x00000008); 10019 } else { 10020 ensureLineCoverageVectorIsMutable(); 10021 lineCoverageVector_.addAll(other.lineCoverageVector_); 10022 } 10023 onChanged(); 10024 } 10025 if (other.hasTotalLineCount()) { 10026 setTotalLineCount(other.getTotalLineCount()); 10027 } 10028 if (other.hasCoveredLineCount()) { 10029 setCoveredLineCount(other.getCoveredLineCount()); 10030 } 10031 if (other.hasDirPath()) { 10032 setDirPath(other.getDirPath()); 10033 } 10034 if (other.hasFileName()) { 10035 setFileName(other.getFileName()); 10036 } 10037 if (other.hasHtml()) { 10038 setHtml(other.getHtml()); 10039 } 10040 this.mergeUnknownFields(other.unknownFields); 10041 onChanged(); 10042 return this; 10043 } 10044 isInitialized()10045 public final boolean isInitialized() { 10046 return true; 10047 } 10048 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)10049 public Builder mergeFrom( 10050 com.google.protobuf.CodedInputStream input, 10051 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10052 throws java.io.IOException { 10053 com.android.vts.proto.VtsReportMessage.CoverageReportMessage parsedMessage = null; 10054 try { 10055 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 10056 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 10057 parsedMessage = (com.android.vts.proto.VtsReportMessage.CoverageReportMessage) e.getUnfinishedMessage(); 10058 throw e.unwrapIOException(); 10059 } finally { 10060 if (parsedMessage != null) { 10061 mergeFrom(parsedMessage); 10062 } 10063 } 10064 return this; 10065 } 10066 private int bitField0_; 10067 10068 private com.google.protobuf.ByteString filePath_ = com.google.protobuf.ByteString.EMPTY; 10069 /** 10070 * <pre> 10071 * the path to the source file from the project root. 10072 * </pre> 10073 * 10074 * <code>optional bytes file_path = 11;</code> 10075 */ hasFilePath()10076 public boolean hasFilePath() { 10077 return ((bitField0_ & 0x00000001) == 0x00000001); 10078 } 10079 /** 10080 * <pre> 10081 * the path to the source file from the project root. 10082 * </pre> 10083 * 10084 * <code>optional bytes file_path = 11;</code> 10085 */ getFilePath()10086 public com.google.protobuf.ByteString getFilePath() { 10087 return filePath_; 10088 } 10089 /** 10090 * <pre> 10091 * the path to the source file from the project root. 10092 * </pre> 10093 * 10094 * <code>optional bytes file_path = 11;</code> 10095 */ setFilePath(com.google.protobuf.ByteString value)10096 public Builder setFilePath(com.google.protobuf.ByteString value) { 10097 if (value == null) { 10098 throw new NullPointerException(); 10099 } 10100 bitField0_ |= 0x00000001; 10101 filePath_ = value; 10102 onChanged(); 10103 return this; 10104 } 10105 /** 10106 * <pre> 10107 * the path to the source file from the project root. 10108 * </pre> 10109 * 10110 * <code>optional bytes file_path = 11;</code> 10111 */ clearFilePath()10112 public Builder clearFilePath() { 10113 bitField0_ = (bitField0_ & ~0x00000001); 10114 filePath_ = getDefaultInstance().getFilePath(); 10115 onChanged(); 10116 return this; 10117 } 10118 10119 private com.google.protobuf.ByteString projectName_ = com.google.protobuf.ByteString.EMPTY; 10120 /** 10121 * <pre> 10122 * the name of the project where the file can be found 10123 * </pre> 10124 * 10125 * <code>optional bytes project_name = 12;</code> 10126 */ hasProjectName()10127 public boolean hasProjectName() { 10128 return ((bitField0_ & 0x00000002) == 0x00000002); 10129 } 10130 /** 10131 * <pre> 10132 * the name of the project where the file can be found 10133 * </pre> 10134 * 10135 * <code>optional bytes project_name = 12;</code> 10136 */ getProjectName()10137 public com.google.protobuf.ByteString getProjectName() { 10138 return projectName_; 10139 } 10140 /** 10141 * <pre> 10142 * the name of the project where the file can be found 10143 * </pre> 10144 * 10145 * <code>optional bytes project_name = 12;</code> 10146 */ setProjectName(com.google.protobuf.ByteString value)10147 public Builder setProjectName(com.google.protobuf.ByteString value) { 10148 if (value == null) { 10149 throw new NullPointerException(); 10150 } 10151 bitField0_ |= 0x00000002; 10152 projectName_ = value; 10153 onChanged(); 10154 return this; 10155 } 10156 /** 10157 * <pre> 10158 * the name of the project where the file can be found 10159 * </pre> 10160 * 10161 * <code>optional bytes project_name = 12;</code> 10162 */ clearProjectName()10163 public Builder clearProjectName() { 10164 bitField0_ = (bitField0_ & ~0x00000002); 10165 projectName_ = getDefaultInstance().getProjectName(); 10166 onChanged(); 10167 return this; 10168 } 10169 10170 private com.google.protobuf.ByteString revision_ = com.google.protobuf.ByteString.EMPTY; 10171 /** 10172 * <pre> 10173 * the commit ID identifying the code revision 10174 * </pre> 10175 * 10176 * <code>optional bytes revision = 13;</code> 10177 */ hasRevision()10178 public boolean hasRevision() { 10179 return ((bitField0_ & 0x00000004) == 0x00000004); 10180 } 10181 /** 10182 * <pre> 10183 * the commit ID identifying the code revision 10184 * </pre> 10185 * 10186 * <code>optional bytes revision = 13;</code> 10187 */ getRevision()10188 public com.google.protobuf.ByteString getRevision() { 10189 return revision_; 10190 } 10191 /** 10192 * <pre> 10193 * the commit ID identifying the code revision 10194 * </pre> 10195 * 10196 * <code>optional bytes revision = 13;</code> 10197 */ setRevision(com.google.protobuf.ByteString value)10198 public Builder setRevision(com.google.protobuf.ByteString value) { 10199 if (value == null) { 10200 throw new NullPointerException(); 10201 } 10202 bitField0_ |= 0x00000004; 10203 revision_ = value; 10204 onChanged(); 10205 return this; 10206 } 10207 /** 10208 * <pre> 10209 * the commit ID identifying the code revision 10210 * </pre> 10211 * 10212 * <code>optional bytes revision = 13;</code> 10213 */ clearRevision()10214 public Builder clearRevision() { 10215 bitField0_ = (bitField0_ & ~0x00000004); 10216 revision_ = getDefaultInstance().getRevision(); 10217 onChanged(); 10218 return this; 10219 } 10220 10221 private java.util.List<java.lang.Long> lineCoverageVector_ = java.util.Collections.emptyList(); ensureLineCoverageVectorIsMutable()10222 private void ensureLineCoverageVectorIsMutable() { 10223 if (!((bitField0_ & 0x00000008) == 0x00000008)) { 10224 lineCoverageVector_ = new java.util.ArrayList<java.lang.Long>(lineCoverageVector_); 10225 bitField0_ |= 0x00000008; 10226 } 10227 } 10228 /** 10229 * <pre> 10230 * i-th element gives the number of times i-th line is executed. 10231 * </pre> 10232 * 10233 * <code>repeated int64 line_coverage_vector = 23;</code> 10234 */ 10235 public java.util.List<java.lang.Long> getLineCoverageVectorList()10236 getLineCoverageVectorList() { 10237 return java.util.Collections.unmodifiableList(lineCoverageVector_); 10238 } 10239 /** 10240 * <pre> 10241 * i-th element gives the number of times i-th line is executed. 10242 * </pre> 10243 * 10244 * <code>repeated int64 line_coverage_vector = 23;</code> 10245 */ getLineCoverageVectorCount()10246 public int getLineCoverageVectorCount() { 10247 return lineCoverageVector_.size(); 10248 } 10249 /** 10250 * <pre> 10251 * i-th element gives the number of times i-th line is executed. 10252 * </pre> 10253 * 10254 * <code>repeated int64 line_coverage_vector = 23;</code> 10255 */ getLineCoverageVector(int index)10256 public long getLineCoverageVector(int index) { 10257 return lineCoverageVector_.get(index); 10258 } 10259 /** 10260 * <pre> 10261 * i-th element gives the number of times i-th line is executed. 10262 * </pre> 10263 * 10264 * <code>repeated int64 line_coverage_vector = 23;</code> 10265 */ setLineCoverageVector( int index, long value)10266 public Builder setLineCoverageVector( 10267 int index, long value) { 10268 ensureLineCoverageVectorIsMutable(); 10269 lineCoverageVector_.set(index, value); 10270 onChanged(); 10271 return this; 10272 } 10273 /** 10274 * <pre> 10275 * i-th element gives the number of times i-th line is executed. 10276 * </pre> 10277 * 10278 * <code>repeated int64 line_coverage_vector = 23;</code> 10279 */ addLineCoverageVector(long value)10280 public Builder addLineCoverageVector(long value) { 10281 ensureLineCoverageVectorIsMutable(); 10282 lineCoverageVector_.add(value); 10283 onChanged(); 10284 return this; 10285 } 10286 /** 10287 * <pre> 10288 * i-th element gives the number of times i-th line is executed. 10289 * </pre> 10290 * 10291 * <code>repeated int64 line_coverage_vector = 23;</code> 10292 */ addAllLineCoverageVector( java.lang.Iterable<? extends java.lang.Long> values)10293 public Builder addAllLineCoverageVector( 10294 java.lang.Iterable<? extends java.lang.Long> values) { 10295 ensureLineCoverageVectorIsMutable(); 10296 com.google.protobuf.AbstractMessageLite.Builder.addAll( 10297 values, lineCoverageVector_); 10298 onChanged(); 10299 return this; 10300 } 10301 /** 10302 * <pre> 10303 * i-th element gives the number of times i-th line is executed. 10304 * </pre> 10305 * 10306 * <code>repeated int64 line_coverage_vector = 23;</code> 10307 */ clearLineCoverageVector()10308 public Builder clearLineCoverageVector() { 10309 lineCoverageVector_ = java.util.Collections.emptyList(); 10310 bitField0_ = (bitField0_ & ~0x00000008); 10311 onChanged(); 10312 return this; 10313 } 10314 10315 private int totalLineCount_ ; 10316 /** 10317 * <pre> 10318 * the number of source code lines that are instrumented for code coverage 10319 * measurement. 10320 * </pre> 10321 * 10322 * <code>optional int32 total_line_count = 101;</code> 10323 */ hasTotalLineCount()10324 public boolean hasTotalLineCount() { 10325 return ((bitField0_ & 0x00000010) == 0x00000010); 10326 } 10327 /** 10328 * <pre> 10329 * the number of source code lines that are instrumented for code coverage 10330 * measurement. 10331 * </pre> 10332 * 10333 * <code>optional int32 total_line_count = 101;</code> 10334 */ getTotalLineCount()10335 public int getTotalLineCount() { 10336 return totalLineCount_; 10337 } 10338 /** 10339 * <pre> 10340 * the number of source code lines that are instrumented for code coverage 10341 * measurement. 10342 * </pre> 10343 * 10344 * <code>optional int32 total_line_count = 101;</code> 10345 */ setTotalLineCount(int value)10346 public Builder setTotalLineCount(int value) { 10347 bitField0_ |= 0x00000010; 10348 totalLineCount_ = value; 10349 onChanged(); 10350 return this; 10351 } 10352 /** 10353 * <pre> 10354 * the number of source code lines that are instrumented for code coverage 10355 * measurement. 10356 * </pre> 10357 * 10358 * <code>optional int32 total_line_count = 101;</code> 10359 */ clearTotalLineCount()10360 public Builder clearTotalLineCount() { 10361 bitField0_ = (bitField0_ & ~0x00000010); 10362 totalLineCount_ = 0; 10363 onChanged(); 10364 return this; 10365 } 10366 10367 private int coveredLineCount_ ; 10368 /** 10369 * <pre> 10370 * the number of source code lines that are executed. 10371 * </pre> 10372 * 10373 * <code>optional int32 covered_line_count = 102;</code> 10374 */ hasCoveredLineCount()10375 public boolean hasCoveredLineCount() { 10376 return ((bitField0_ & 0x00000020) == 0x00000020); 10377 } 10378 /** 10379 * <pre> 10380 * the number of source code lines that are executed. 10381 * </pre> 10382 * 10383 * <code>optional int32 covered_line_count = 102;</code> 10384 */ getCoveredLineCount()10385 public int getCoveredLineCount() { 10386 return coveredLineCount_; 10387 } 10388 /** 10389 * <pre> 10390 * the number of source code lines that are executed. 10391 * </pre> 10392 * 10393 * <code>optional int32 covered_line_count = 102;</code> 10394 */ setCoveredLineCount(int value)10395 public Builder setCoveredLineCount(int value) { 10396 bitField0_ |= 0x00000020; 10397 coveredLineCount_ = value; 10398 onChanged(); 10399 return this; 10400 } 10401 /** 10402 * <pre> 10403 * the number of source code lines that are executed. 10404 * </pre> 10405 * 10406 * <code>optional int32 covered_line_count = 102;</code> 10407 */ clearCoveredLineCount()10408 public Builder clearCoveredLineCount() { 10409 bitField0_ = (bitField0_ & ~0x00000020); 10410 coveredLineCount_ = 0; 10411 onChanged(); 10412 return this; 10413 } 10414 10415 private com.google.protobuf.ByteString dirPath_ = com.google.protobuf.ByteString.EMPTY; 10416 /** 10417 * <pre> 10418 * TODO(ryanjcampbell@) delete deprecated field 10419 * the directory path of a source file. 10420 * </pre> 10421 * 10422 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 10423 */ hasDirPath()10424 @java.lang.Deprecated public boolean hasDirPath() { 10425 return ((bitField0_ & 0x00000040) == 0x00000040); 10426 } 10427 /** 10428 * <pre> 10429 * TODO(ryanjcampbell@) delete deprecated field 10430 * the directory path of a source file. 10431 * </pre> 10432 * 10433 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 10434 */ getDirPath()10435 @java.lang.Deprecated public com.google.protobuf.ByteString getDirPath() { 10436 return dirPath_; 10437 } 10438 /** 10439 * <pre> 10440 * TODO(ryanjcampbell@) delete deprecated field 10441 * the directory path of a source file. 10442 * </pre> 10443 * 10444 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 10445 */ setDirPath(com.google.protobuf.ByteString value)10446 @java.lang.Deprecated public Builder setDirPath(com.google.protobuf.ByteString value) { 10447 if (value == null) { 10448 throw new NullPointerException(); 10449 } 10450 bitField0_ |= 0x00000040; 10451 dirPath_ = value; 10452 onChanged(); 10453 return this; 10454 } 10455 /** 10456 * <pre> 10457 * TODO(ryanjcampbell@) delete deprecated field 10458 * the directory path of a source file. 10459 * </pre> 10460 * 10461 * <code>optional bytes dir_path = 1 [deprecated = true];</code> 10462 */ clearDirPath()10463 @java.lang.Deprecated public Builder clearDirPath() { 10464 bitField0_ = (bitField0_ & ~0x00000040); 10465 dirPath_ = getDefaultInstance().getDirPath(); 10466 onChanged(); 10467 return this; 10468 } 10469 10470 private com.google.protobuf.ByteString fileName_ = com.google.protobuf.ByteString.EMPTY; 10471 /** 10472 * <pre> 10473 * TODO(ryanjcampbell@) delete deprecated field 10474 * the name of the source file. 10475 * </pre> 10476 * 10477 * <code>optional bytes file_name = 2 [deprecated = true];</code> 10478 */ hasFileName()10479 @java.lang.Deprecated public boolean hasFileName() { 10480 return ((bitField0_ & 0x00000080) == 0x00000080); 10481 } 10482 /** 10483 * <pre> 10484 * TODO(ryanjcampbell@) delete deprecated field 10485 * the name of the source file. 10486 * </pre> 10487 * 10488 * <code>optional bytes file_name = 2 [deprecated = true];</code> 10489 */ getFileName()10490 @java.lang.Deprecated public com.google.protobuf.ByteString getFileName() { 10491 return fileName_; 10492 } 10493 /** 10494 * <pre> 10495 * TODO(ryanjcampbell@) delete deprecated field 10496 * the name of the source file. 10497 * </pre> 10498 * 10499 * <code>optional bytes file_name = 2 [deprecated = true];</code> 10500 */ setFileName(com.google.protobuf.ByteString value)10501 @java.lang.Deprecated public Builder setFileName(com.google.protobuf.ByteString value) { 10502 if (value == null) { 10503 throw new NullPointerException(); 10504 } 10505 bitField0_ |= 0x00000080; 10506 fileName_ = value; 10507 onChanged(); 10508 return this; 10509 } 10510 /** 10511 * <pre> 10512 * TODO(ryanjcampbell@) delete deprecated field 10513 * the name of the source file. 10514 * </pre> 10515 * 10516 * <code>optional bytes file_name = 2 [deprecated = true];</code> 10517 */ clearFileName()10518 @java.lang.Deprecated public Builder clearFileName() { 10519 bitField0_ = (bitField0_ & ~0x00000080); 10520 fileName_ = getDefaultInstance().getFileName(); 10521 onChanged(); 10522 return this; 10523 } 10524 10525 private com.google.protobuf.ByteString html_ = com.google.protobuf.ByteString.EMPTY; 10526 /** 10527 * <pre> 10528 * TODO(ryanjcampbell@) delete deprecated field 10529 * produced html report. 10530 * </pre> 10531 * 10532 * <code>optional bytes html = 3 [deprecated = true];</code> 10533 */ hasHtml()10534 @java.lang.Deprecated public boolean hasHtml() { 10535 return ((bitField0_ & 0x00000100) == 0x00000100); 10536 } 10537 /** 10538 * <pre> 10539 * TODO(ryanjcampbell@) delete deprecated field 10540 * produced html report. 10541 * </pre> 10542 * 10543 * <code>optional bytes html = 3 [deprecated = true];</code> 10544 */ getHtml()10545 @java.lang.Deprecated public com.google.protobuf.ByteString getHtml() { 10546 return html_; 10547 } 10548 /** 10549 * <pre> 10550 * TODO(ryanjcampbell@) delete deprecated field 10551 * produced html report. 10552 * </pre> 10553 * 10554 * <code>optional bytes html = 3 [deprecated = true];</code> 10555 */ setHtml(com.google.protobuf.ByteString value)10556 @java.lang.Deprecated public Builder setHtml(com.google.protobuf.ByteString value) { 10557 if (value == null) { 10558 throw new NullPointerException(); 10559 } 10560 bitField0_ |= 0x00000100; 10561 html_ = value; 10562 onChanged(); 10563 return this; 10564 } 10565 /** 10566 * <pre> 10567 * TODO(ryanjcampbell@) delete deprecated field 10568 * produced html report. 10569 * </pre> 10570 * 10571 * <code>optional bytes html = 3 [deprecated = true];</code> 10572 */ clearHtml()10573 @java.lang.Deprecated public Builder clearHtml() { 10574 bitField0_ = (bitField0_ & ~0x00000100); 10575 html_ = getDefaultInstance().getHtml(); 10576 onChanged(); 10577 return this; 10578 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)10579 public final Builder setUnknownFields( 10580 final com.google.protobuf.UnknownFieldSet unknownFields) { 10581 return super.setUnknownFields(unknownFields); 10582 } 10583 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)10584 public final Builder mergeUnknownFields( 10585 final com.google.protobuf.UnknownFieldSet unknownFields) { 10586 return super.mergeUnknownFields(unknownFields); 10587 } 10588 10589 10590 // @@protoc_insertion_point(builder_scope:android.vts.CoverageReportMessage) 10591 } 10592 10593 // @@protoc_insertion_point(class_scope:android.vts.CoverageReportMessage) 10594 private static final com.android.vts.proto.VtsReportMessage.CoverageReportMessage DEFAULT_INSTANCE; 10595 static { 10596 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.CoverageReportMessage(); 10597 } 10598 getDefaultInstance()10599 public static com.android.vts.proto.VtsReportMessage.CoverageReportMessage getDefaultInstance() { 10600 return DEFAULT_INSTANCE; 10601 } 10602 10603 @java.lang.Deprecated public static final com.google.protobuf.Parser<CoverageReportMessage> 10604 PARSER = new com.google.protobuf.AbstractParser<CoverageReportMessage>() { 10605 public CoverageReportMessage parsePartialFrom( 10606 com.google.protobuf.CodedInputStream input, 10607 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10608 throws com.google.protobuf.InvalidProtocolBufferException { 10609 return new CoverageReportMessage(input, extensionRegistry); 10610 } 10611 }; 10612 parser()10613 public static com.google.protobuf.Parser<CoverageReportMessage> parser() { 10614 return PARSER; 10615 } 10616 10617 @java.lang.Override getParserForType()10618 public com.google.protobuf.Parser<CoverageReportMessage> getParserForType() { 10619 return PARSER; 10620 } 10621 getDefaultInstanceForType()10622 public com.android.vts.proto.VtsReportMessage.CoverageReportMessage getDefaultInstanceForType() { 10623 return DEFAULT_INSTANCE; 10624 } 10625 10626 } 10627 10628 public interface HalInterfaceMessageOrBuilder extends 10629 // @@protoc_insertion_point(interface_extends:android.vts.HalInterfaceMessage) 10630 com.google.protobuf.MessageOrBuilder { 10631 10632 /** 10633 * <pre> 10634 * HAL package name. e.g. android.hardware.foo. 10635 * </pre> 10636 * 10637 * <code>optional bytes hal_package_name = 1;</code> 10638 */ hasHalPackageName()10639 boolean hasHalPackageName(); 10640 /** 10641 * <pre> 10642 * HAL package name. e.g. android.hardware.foo. 10643 * </pre> 10644 * 10645 * <code>optional bytes hal_package_name = 1;</code> 10646 */ getHalPackageName()10647 com.google.protobuf.ByteString getHalPackageName(); 10648 10649 /** 10650 * <pre> 10651 * HAL (major) version. e.g. 1. 10652 * </pre> 10653 * 10654 * <code>optional int32 hal_version_major = 2;</code> 10655 */ hasHalVersionMajor()10656 boolean hasHalVersionMajor(); 10657 /** 10658 * <pre> 10659 * HAL (major) version. e.g. 1. 10660 * </pre> 10661 * 10662 * <code>optional int32 hal_version_major = 2;</code> 10663 */ getHalVersionMajor()10664 int getHalVersionMajor(); 10665 10666 /** 10667 * <pre> 10668 * HAL (minor) version. e.g. 0. 10669 * </pre> 10670 * 10671 * <code>optional int32 hal_version_minor = 3;</code> 10672 */ hasHalVersionMinor()10673 boolean hasHalVersionMinor(); 10674 /** 10675 * <pre> 10676 * HAL (minor) version. e.g. 0. 10677 * </pre> 10678 * 10679 * <code>optional int32 hal_version_minor = 3;</code> 10680 */ getHalVersionMinor()10681 int getHalVersionMinor(); 10682 10683 /** 10684 * <pre> 10685 * HAL interface name. e.g. IFoo. 10686 * </pre> 10687 * 10688 * <code>optional bytes hal_interface_name = 4;</code> 10689 */ hasHalInterfaceName()10690 boolean hasHalInterfaceName(); 10691 /** 10692 * <pre> 10693 * HAL interface name. e.g. IFoo. 10694 * </pre> 10695 * 10696 * <code>optional bytes hal_interface_name = 4;</code> 10697 */ getHalInterfaceName()10698 com.google.protobuf.ByteString getHalInterfaceName(); 10699 10700 /** 10701 * <pre> 10702 * HAL release level (e.g. "current", "27", "28") 10703 * </pre> 10704 * 10705 * <code>optional bytes hal_release_level = 5;</code> 10706 */ hasHalReleaseLevel()10707 boolean hasHalReleaseLevel(); 10708 /** 10709 * <pre> 10710 * HAL release level (e.g. "current", "27", "28") 10711 * </pre> 10712 * 10713 * <code>optional bytes hal_release_level = 5;</code> 10714 */ getHalReleaseLevel()10715 com.google.protobuf.ByteString getHalReleaseLevel(); 10716 } 10717 /** 10718 * <pre> 10719 * Information for a HAL interface. 10720 * </pre> 10721 * 10722 * Protobuf type {@code android.vts.HalInterfaceMessage} 10723 */ 10724 public static final class HalInterfaceMessage extends 10725 com.google.protobuf.GeneratedMessageV3 implements 10726 // @@protoc_insertion_point(message_implements:android.vts.HalInterfaceMessage) 10727 HalInterfaceMessageOrBuilder { 10728 // Use HalInterfaceMessage.newBuilder() to construct. HalInterfaceMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)10729 private HalInterfaceMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 10730 super(builder); 10731 } HalInterfaceMessage()10732 private HalInterfaceMessage() { 10733 halPackageName_ = com.google.protobuf.ByteString.EMPTY; 10734 halVersionMajor_ = 0; 10735 halVersionMinor_ = 0; 10736 halInterfaceName_ = com.google.protobuf.ByteString.EMPTY; 10737 halReleaseLevel_ = com.google.protobuf.ByteString.EMPTY; 10738 } 10739 10740 @java.lang.Override 10741 public final com.google.protobuf.UnknownFieldSet getUnknownFields()10742 getUnknownFields() { 10743 return this.unknownFields; 10744 } HalInterfaceMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)10745 private HalInterfaceMessage( 10746 com.google.protobuf.CodedInputStream input, 10747 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 10748 throws com.google.protobuf.InvalidProtocolBufferException { 10749 this(); 10750 int mutable_bitField0_ = 0; 10751 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 10752 com.google.protobuf.UnknownFieldSet.newBuilder(); 10753 try { 10754 boolean done = false; 10755 while (!done) { 10756 int tag = input.readTag(); 10757 switch (tag) { 10758 case 0: 10759 done = true; 10760 break; 10761 default: { 10762 if (!parseUnknownField(input, unknownFields, 10763 extensionRegistry, tag)) { 10764 done = true; 10765 } 10766 break; 10767 } 10768 case 10: { 10769 bitField0_ |= 0x00000001; 10770 halPackageName_ = input.readBytes(); 10771 break; 10772 } 10773 case 16: { 10774 bitField0_ |= 0x00000002; 10775 halVersionMajor_ = input.readInt32(); 10776 break; 10777 } 10778 case 24: { 10779 bitField0_ |= 0x00000004; 10780 halVersionMinor_ = input.readInt32(); 10781 break; 10782 } 10783 case 34: { 10784 bitField0_ |= 0x00000008; 10785 halInterfaceName_ = input.readBytes(); 10786 break; 10787 } 10788 case 42: { 10789 bitField0_ |= 0x00000010; 10790 halReleaseLevel_ = input.readBytes(); 10791 break; 10792 } 10793 } 10794 } 10795 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 10796 throw e.setUnfinishedMessage(this); 10797 } catch (java.io.IOException e) { 10798 throw new com.google.protobuf.InvalidProtocolBufferException( 10799 e).setUnfinishedMessage(this); 10800 } finally { 10801 this.unknownFields = unknownFields.build(); 10802 makeExtensionsImmutable(); 10803 } 10804 } 10805 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()10806 getDescriptor() { 10807 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_HalInterfaceMessage_descriptor; 10808 } 10809 10810 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()10811 internalGetFieldAccessorTable() { 10812 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_HalInterfaceMessage_fieldAccessorTable 10813 .ensureFieldAccessorsInitialized( 10814 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.class, com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder.class); 10815 } 10816 10817 private int bitField0_; 10818 public static final int HAL_PACKAGE_NAME_FIELD_NUMBER = 1; 10819 private com.google.protobuf.ByteString halPackageName_; 10820 /** 10821 * <pre> 10822 * HAL package name. e.g. android.hardware.foo. 10823 * </pre> 10824 * 10825 * <code>optional bytes hal_package_name = 1;</code> 10826 */ hasHalPackageName()10827 public boolean hasHalPackageName() { 10828 return ((bitField0_ & 0x00000001) == 0x00000001); 10829 } 10830 /** 10831 * <pre> 10832 * HAL package name. e.g. android.hardware.foo. 10833 * </pre> 10834 * 10835 * <code>optional bytes hal_package_name = 1;</code> 10836 */ getHalPackageName()10837 public com.google.protobuf.ByteString getHalPackageName() { 10838 return halPackageName_; 10839 } 10840 10841 public static final int HAL_VERSION_MAJOR_FIELD_NUMBER = 2; 10842 private int halVersionMajor_; 10843 /** 10844 * <pre> 10845 * HAL (major) version. e.g. 1. 10846 * </pre> 10847 * 10848 * <code>optional int32 hal_version_major = 2;</code> 10849 */ hasHalVersionMajor()10850 public boolean hasHalVersionMajor() { 10851 return ((bitField0_ & 0x00000002) == 0x00000002); 10852 } 10853 /** 10854 * <pre> 10855 * HAL (major) version. e.g. 1. 10856 * </pre> 10857 * 10858 * <code>optional int32 hal_version_major = 2;</code> 10859 */ getHalVersionMajor()10860 public int getHalVersionMajor() { 10861 return halVersionMajor_; 10862 } 10863 10864 public static final int HAL_VERSION_MINOR_FIELD_NUMBER = 3; 10865 private int halVersionMinor_; 10866 /** 10867 * <pre> 10868 * HAL (minor) version. e.g. 0. 10869 * </pre> 10870 * 10871 * <code>optional int32 hal_version_minor = 3;</code> 10872 */ hasHalVersionMinor()10873 public boolean hasHalVersionMinor() { 10874 return ((bitField0_ & 0x00000004) == 0x00000004); 10875 } 10876 /** 10877 * <pre> 10878 * HAL (minor) version. e.g. 0. 10879 * </pre> 10880 * 10881 * <code>optional int32 hal_version_minor = 3;</code> 10882 */ getHalVersionMinor()10883 public int getHalVersionMinor() { 10884 return halVersionMinor_; 10885 } 10886 10887 public static final int HAL_INTERFACE_NAME_FIELD_NUMBER = 4; 10888 private com.google.protobuf.ByteString halInterfaceName_; 10889 /** 10890 * <pre> 10891 * HAL interface name. e.g. IFoo. 10892 * </pre> 10893 * 10894 * <code>optional bytes hal_interface_name = 4;</code> 10895 */ hasHalInterfaceName()10896 public boolean hasHalInterfaceName() { 10897 return ((bitField0_ & 0x00000008) == 0x00000008); 10898 } 10899 /** 10900 * <pre> 10901 * HAL interface name. e.g. IFoo. 10902 * </pre> 10903 * 10904 * <code>optional bytes hal_interface_name = 4;</code> 10905 */ getHalInterfaceName()10906 public com.google.protobuf.ByteString getHalInterfaceName() { 10907 return halInterfaceName_; 10908 } 10909 10910 public static final int HAL_RELEASE_LEVEL_FIELD_NUMBER = 5; 10911 private com.google.protobuf.ByteString halReleaseLevel_; 10912 /** 10913 * <pre> 10914 * HAL release level (e.g. "current", "27", "28") 10915 * </pre> 10916 * 10917 * <code>optional bytes hal_release_level = 5;</code> 10918 */ hasHalReleaseLevel()10919 public boolean hasHalReleaseLevel() { 10920 return ((bitField0_ & 0x00000010) == 0x00000010); 10921 } 10922 /** 10923 * <pre> 10924 * HAL release level (e.g. "current", "27", "28") 10925 * </pre> 10926 * 10927 * <code>optional bytes hal_release_level = 5;</code> 10928 */ getHalReleaseLevel()10929 public com.google.protobuf.ByteString getHalReleaseLevel() { 10930 return halReleaseLevel_; 10931 } 10932 10933 private byte memoizedIsInitialized = -1; isInitialized()10934 public final boolean isInitialized() { 10935 byte isInitialized = memoizedIsInitialized; 10936 if (isInitialized == 1) return true; 10937 if (isInitialized == 0) return false; 10938 10939 memoizedIsInitialized = 1; 10940 return true; 10941 } 10942 writeTo(com.google.protobuf.CodedOutputStream output)10943 public void writeTo(com.google.protobuf.CodedOutputStream output) 10944 throws java.io.IOException { 10945 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10946 output.writeBytes(1, halPackageName_); 10947 } 10948 if (((bitField0_ & 0x00000002) == 0x00000002)) { 10949 output.writeInt32(2, halVersionMajor_); 10950 } 10951 if (((bitField0_ & 0x00000004) == 0x00000004)) { 10952 output.writeInt32(3, halVersionMinor_); 10953 } 10954 if (((bitField0_ & 0x00000008) == 0x00000008)) { 10955 output.writeBytes(4, halInterfaceName_); 10956 } 10957 if (((bitField0_ & 0x00000010) == 0x00000010)) { 10958 output.writeBytes(5, halReleaseLevel_); 10959 } 10960 unknownFields.writeTo(output); 10961 } 10962 getSerializedSize()10963 public int getSerializedSize() { 10964 int size = memoizedSize; 10965 if (size != -1) return size; 10966 10967 size = 0; 10968 if (((bitField0_ & 0x00000001) == 0x00000001)) { 10969 size += com.google.protobuf.CodedOutputStream 10970 .computeBytesSize(1, halPackageName_); 10971 } 10972 if (((bitField0_ & 0x00000002) == 0x00000002)) { 10973 size += com.google.protobuf.CodedOutputStream 10974 .computeInt32Size(2, halVersionMajor_); 10975 } 10976 if (((bitField0_ & 0x00000004) == 0x00000004)) { 10977 size += com.google.protobuf.CodedOutputStream 10978 .computeInt32Size(3, halVersionMinor_); 10979 } 10980 if (((bitField0_ & 0x00000008) == 0x00000008)) { 10981 size += com.google.protobuf.CodedOutputStream 10982 .computeBytesSize(4, halInterfaceName_); 10983 } 10984 if (((bitField0_ & 0x00000010) == 0x00000010)) { 10985 size += com.google.protobuf.CodedOutputStream 10986 .computeBytesSize(5, halReleaseLevel_); 10987 } 10988 size += unknownFields.getSerializedSize(); 10989 memoizedSize = size; 10990 return size; 10991 } 10992 10993 private static final long serialVersionUID = 0L; 10994 @java.lang.Override equals(final java.lang.Object obj)10995 public boolean equals(final java.lang.Object obj) { 10996 if (obj == this) { 10997 return true; 10998 } 10999 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.HalInterfaceMessage)) { 11000 return super.equals(obj); 11001 } 11002 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage other = (com.android.vts.proto.VtsReportMessage.HalInterfaceMessage) obj; 11003 11004 boolean result = true; 11005 result = result && (hasHalPackageName() == other.hasHalPackageName()); 11006 if (hasHalPackageName()) { 11007 result = result && getHalPackageName() 11008 .equals(other.getHalPackageName()); 11009 } 11010 result = result && (hasHalVersionMajor() == other.hasHalVersionMajor()); 11011 if (hasHalVersionMajor()) { 11012 result = result && (getHalVersionMajor() 11013 == other.getHalVersionMajor()); 11014 } 11015 result = result && (hasHalVersionMinor() == other.hasHalVersionMinor()); 11016 if (hasHalVersionMinor()) { 11017 result = result && (getHalVersionMinor() 11018 == other.getHalVersionMinor()); 11019 } 11020 result = result && (hasHalInterfaceName() == other.hasHalInterfaceName()); 11021 if (hasHalInterfaceName()) { 11022 result = result && getHalInterfaceName() 11023 .equals(other.getHalInterfaceName()); 11024 } 11025 result = result && (hasHalReleaseLevel() == other.hasHalReleaseLevel()); 11026 if (hasHalReleaseLevel()) { 11027 result = result && getHalReleaseLevel() 11028 .equals(other.getHalReleaseLevel()); 11029 } 11030 result = result && unknownFields.equals(other.unknownFields); 11031 return result; 11032 } 11033 11034 @java.lang.Override hashCode()11035 public int hashCode() { 11036 if (memoizedHashCode != 0) { 11037 return memoizedHashCode; 11038 } 11039 int hash = 41; 11040 hash = (19 * hash) + getDescriptorForType().hashCode(); 11041 if (hasHalPackageName()) { 11042 hash = (37 * hash) + HAL_PACKAGE_NAME_FIELD_NUMBER; 11043 hash = (53 * hash) + getHalPackageName().hashCode(); 11044 } 11045 if (hasHalVersionMajor()) { 11046 hash = (37 * hash) + HAL_VERSION_MAJOR_FIELD_NUMBER; 11047 hash = (53 * hash) + getHalVersionMajor(); 11048 } 11049 if (hasHalVersionMinor()) { 11050 hash = (37 * hash) + HAL_VERSION_MINOR_FIELD_NUMBER; 11051 hash = (53 * hash) + getHalVersionMinor(); 11052 } 11053 if (hasHalInterfaceName()) { 11054 hash = (37 * hash) + HAL_INTERFACE_NAME_FIELD_NUMBER; 11055 hash = (53 * hash) + getHalInterfaceName().hashCode(); 11056 } 11057 if (hasHalReleaseLevel()) { 11058 hash = (37 * hash) + HAL_RELEASE_LEVEL_FIELD_NUMBER; 11059 hash = (53 * hash) + getHalReleaseLevel().hashCode(); 11060 } 11061 hash = (29 * hash) + unknownFields.hashCode(); 11062 memoizedHashCode = hash; 11063 return hash; 11064 } 11065 parseFrom( com.google.protobuf.ByteString data)11066 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom( 11067 com.google.protobuf.ByteString data) 11068 throws com.google.protobuf.InvalidProtocolBufferException { 11069 return PARSER.parseFrom(data); 11070 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)11071 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom( 11072 com.google.protobuf.ByteString data, 11073 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11074 throws com.google.protobuf.InvalidProtocolBufferException { 11075 return PARSER.parseFrom(data, extensionRegistry); 11076 } parseFrom(byte[] data)11077 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom(byte[] data) 11078 throws com.google.protobuf.InvalidProtocolBufferException { 11079 return PARSER.parseFrom(data); 11080 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)11081 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom( 11082 byte[] data, 11083 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11084 throws com.google.protobuf.InvalidProtocolBufferException { 11085 return PARSER.parseFrom(data, extensionRegistry); 11086 } parseFrom(java.io.InputStream input)11087 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom(java.io.InputStream input) 11088 throws java.io.IOException { 11089 return com.google.protobuf.GeneratedMessageV3 11090 .parseWithIOException(PARSER, input); 11091 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)11092 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom( 11093 java.io.InputStream input, 11094 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11095 throws java.io.IOException { 11096 return com.google.protobuf.GeneratedMessageV3 11097 .parseWithIOException(PARSER, input, extensionRegistry); 11098 } parseDelimitedFrom(java.io.InputStream input)11099 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseDelimitedFrom(java.io.InputStream input) 11100 throws java.io.IOException { 11101 return com.google.protobuf.GeneratedMessageV3 11102 .parseDelimitedWithIOException(PARSER, input); 11103 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)11104 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseDelimitedFrom( 11105 java.io.InputStream input, 11106 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11107 throws java.io.IOException { 11108 return com.google.protobuf.GeneratedMessageV3 11109 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 11110 } parseFrom( com.google.protobuf.CodedInputStream input)11111 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom( 11112 com.google.protobuf.CodedInputStream input) 11113 throws java.io.IOException { 11114 return com.google.protobuf.GeneratedMessageV3 11115 .parseWithIOException(PARSER, input); 11116 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)11117 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parseFrom( 11118 com.google.protobuf.CodedInputStream input, 11119 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11120 throws java.io.IOException { 11121 return com.google.protobuf.GeneratedMessageV3 11122 .parseWithIOException(PARSER, input, extensionRegistry); 11123 } 11124 newBuilderForType()11125 public Builder newBuilderForType() { return newBuilder(); } newBuilder()11126 public static Builder newBuilder() { 11127 return DEFAULT_INSTANCE.toBuilder(); 11128 } newBuilder(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage prototype)11129 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage prototype) { 11130 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 11131 } toBuilder()11132 public Builder toBuilder() { 11133 return this == DEFAULT_INSTANCE 11134 ? new Builder() : new Builder().mergeFrom(this); 11135 } 11136 11137 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)11138 protected Builder newBuilderForType( 11139 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 11140 Builder builder = new Builder(parent); 11141 return builder; 11142 } 11143 /** 11144 * <pre> 11145 * Information for a HAL interface. 11146 * </pre> 11147 * 11148 * Protobuf type {@code android.vts.HalInterfaceMessage} 11149 */ 11150 public static final class Builder extends 11151 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 11152 // @@protoc_insertion_point(builder_implements:android.vts.HalInterfaceMessage) 11153 com.android.vts.proto.VtsReportMessage.HalInterfaceMessageOrBuilder { 11154 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()11155 getDescriptor() { 11156 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_HalInterfaceMessage_descriptor; 11157 } 11158 11159 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()11160 internalGetFieldAccessorTable() { 11161 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_HalInterfaceMessage_fieldAccessorTable 11162 .ensureFieldAccessorsInitialized( 11163 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.class, com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder.class); 11164 } 11165 11166 // Construct using com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.newBuilder() Builder()11167 private Builder() { 11168 maybeForceBuilderInitialization(); 11169 } 11170 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)11171 private Builder( 11172 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 11173 super(parent); 11174 maybeForceBuilderInitialization(); 11175 } maybeForceBuilderInitialization()11176 private void maybeForceBuilderInitialization() { 11177 if (com.google.protobuf.GeneratedMessageV3 11178 .alwaysUseFieldBuilders) { 11179 } 11180 } clear()11181 public Builder clear() { 11182 super.clear(); 11183 halPackageName_ = com.google.protobuf.ByteString.EMPTY; 11184 bitField0_ = (bitField0_ & ~0x00000001); 11185 halVersionMajor_ = 0; 11186 bitField0_ = (bitField0_ & ~0x00000002); 11187 halVersionMinor_ = 0; 11188 bitField0_ = (bitField0_ & ~0x00000004); 11189 halInterfaceName_ = com.google.protobuf.ByteString.EMPTY; 11190 bitField0_ = (bitField0_ & ~0x00000008); 11191 halReleaseLevel_ = com.google.protobuf.ByteString.EMPTY; 11192 bitField0_ = (bitField0_ & ~0x00000010); 11193 return this; 11194 } 11195 11196 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()11197 getDescriptorForType() { 11198 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_HalInterfaceMessage_descriptor; 11199 } 11200 getDefaultInstanceForType()11201 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessage getDefaultInstanceForType() { 11202 return com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.getDefaultInstance(); 11203 } 11204 build()11205 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessage build() { 11206 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage result = buildPartial(); 11207 if (!result.isInitialized()) { 11208 throw newUninitializedMessageException(result); 11209 } 11210 return result; 11211 } 11212 buildPartial()11213 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessage buildPartial() { 11214 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage result = new com.android.vts.proto.VtsReportMessage.HalInterfaceMessage(this); 11215 int from_bitField0_ = bitField0_; 11216 int to_bitField0_ = 0; 11217 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 11218 to_bitField0_ |= 0x00000001; 11219 } 11220 result.halPackageName_ = halPackageName_; 11221 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 11222 to_bitField0_ |= 0x00000002; 11223 } 11224 result.halVersionMajor_ = halVersionMajor_; 11225 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 11226 to_bitField0_ |= 0x00000004; 11227 } 11228 result.halVersionMinor_ = halVersionMinor_; 11229 if (((from_bitField0_ & 0x00000008) == 0x00000008)) { 11230 to_bitField0_ |= 0x00000008; 11231 } 11232 result.halInterfaceName_ = halInterfaceName_; 11233 if (((from_bitField0_ & 0x00000010) == 0x00000010)) { 11234 to_bitField0_ |= 0x00000010; 11235 } 11236 result.halReleaseLevel_ = halReleaseLevel_; 11237 result.bitField0_ = to_bitField0_; 11238 onBuilt(); 11239 return result; 11240 } 11241 clone()11242 public Builder clone() { 11243 return (Builder) super.clone(); 11244 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)11245 public Builder setField( 11246 com.google.protobuf.Descriptors.FieldDescriptor field, 11247 Object value) { 11248 return (Builder) super.setField(field, value); 11249 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)11250 public Builder clearField( 11251 com.google.protobuf.Descriptors.FieldDescriptor field) { 11252 return (Builder) super.clearField(field); 11253 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)11254 public Builder clearOneof( 11255 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 11256 return (Builder) super.clearOneof(oneof); 11257 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)11258 public Builder setRepeatedField( 11259 com.google.protobuf.Descriptors.FieldDescriptor field, 11260 int index, Object value) { 11261 return (Builder) super.setRepeatedField(field, index, value); 11262 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)11263 public Builder addRepeatedField( 11264 com.google.protobuf.Descriptors.FieldDescriptor field, 11265 Object value) { 11266 return (Builder) super.addRepeatedField(field, value); 11267 } mergeFrom(com.google.protobuf.Message other)11268 public Builder mergeFrom(com.google.protobuf.Message other) { 11269 if (other instanceof com.android.vts.proto.VtsReportMessage.HalInterfaceMessage) { 11270 return mergeFrom((com.android.vts.proto.VtsReportMessage.HalInterfaceMessage)other); 11271 } else { 11272 super.mergeFrom(other); 11273 return this; 11274 } 11275 } 11276 mergeFrom(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage other)11277 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage other) { 11278 if (other == com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.getDefaultInstance()) return this; 11279 if (other.hasHalPackageName()) { 11280 setHalPackageName(other.getHalPackageName()); 11281 } 11282 if (other.hasHalVersionMajor()) { 11283 setHalVersionMajor(other.getHalVersionMajor()); 11284 } 11285 if (other.hasHalVersionMinor()) { 11286 setHalVersionMinor(other.getHalVersionMinor()); 11287 } 11288 if (other.hasHalInterfaceName()) { 11289 setHalInterfaceName(other.getHalInterfaceName()); 11290 } 11291 if (other.hasHalReleaseLevel()) { 11292 setHalReleaseLevel(other.getHalReleaseLevel()); 11293 } 11294 this.mergeUnknownFields(other.unknownFields); 11295 onChanged(); 11296 return this; 11297 } 11298 isInitialized()11299 public final boolean isInitialized() { 11300 return true; 11301 } 11302 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)11303 public Builder mergeFrom( 11304 com.google.protobuf.CodedInputStream input, 11305 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11306 throws java.io.IOException { 11307 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage parsedMessage = null; 11308 try { 11309 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 11310 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 11311 parsedMessage = (com.android.vts.proto.VtsReportMessage.HalInterfaceMessage) e.getUnfinishedMessage(); 11312 throw e.unwrapIOException(); 11313 } finally { 11314 if (parsedMessage != null) { 11315 mergeFrom(parsedMessage); 11316 } 11317 } 11318 return this; 11319 } 11320 private int bitField0_; 11321 11322 private com.google.protobuf.ByteString halPackageName_ = com.google.protobuf.ByteString.EMPTY; 11323 /** 11324 * <pre> 11325 * HAL package name. e.g. android.hardware.foo. 11326 * </pre> 11327 * 11328 * <code>optional bytes hal_package_name = 1;</code> 11329 */ hasHalPackageName()11330 public boolean hasHalPackageName() { 11331 return ((bitField0_ & 0x00000001) == 0x00000001); 11332 } 11333 /** 11334 * <pre> 11335 * HAL package name. e.g. android.hardware.foo. 11336 * </pre> 11337 * 11338 * <code>optional bytes hal_package_name = 1;</code> 11339 */ getHalPackageName()11340 public com.google.protobuf.ByteString getHalPackageName() { 11341 return halPackageName_; 11342 } 11343 /** 11344 * <pre> 11345 * HAL package name. e.g. android.hardware.foo. 11346 * </pre> 11347 * 11348 * <code>optional bytes hal_package_name = 1;</code> 11349 */ setHalPackageName(com.google.protobuf.ByteString value)11350 public Builder setHalPackageName(com.google.protobuf.ByteString value) { 11351 if (value == null) { 11352 throw new NullPointerException(); 11353 } 11354 bitField0_ |= 0x00000001; 11355 halPackageName_ = value; 11356 onChanged(); 11357 return this; 11358 } 11359 /** 11360 * <pre> 11361 * HAL package name. e.g. android.hardware.foo. 11362 * </pre> 11363 * 11364 * <code>optional bytes hal_package_name = 1;</code> 11365 */ clearHalPackageName()11366 public Builder clearHalPackageName() { 11367 bitField0_ = (bitField0_ & ~0x00000001); 11368 halPackageName_ = getDefaultInstance().getHalPackageName(); 11369 onChanged(); 11370 return this; 11371 } 11372 11373 private int halVersionMajor_ ; 11374 /** 11375 * <pre> 11376 * HAL (major) version. e.g. 1. 11377 * </pre> 11378 * 11379 * <code>optional int32 hal_version_major = 2;</code> 11380 */ hasHalVersionMajor()11381 public boolean hasHalVersionMajor() { 11382 return ((bitField0_ & 0x00000002) == 0x00000002); 11383 } 11384 /** 11385 * <pre> 11386 * HAL (major) version. e.g. 1. 11387 * </pre> 11388 * 11389 * <code>optional int32 hal_version_major = 2;</code> 11390 */ getHalVersionMajor()11391 public int getHalVersionMajor() { 11392 return halVersionMajor_; 11393 } 11394 /** 11395 * <pre> 11396 * HAL (major) version. e.g. 1. 11397 * </pre> 11398 * 11399 * <code>optional int32 hal_version_major = 2;</code> 11400 */ setHalVersionMajor(int value)11401 public Builder setHalVersionMajor(int value) { 11402 bitField0_ |= 0x00000002; 11403 halVersionMajor_ = value; 11404 onChanged(); 11405 return this; 11406 } 11407 /** 11408 * <pre> 11409 * HAL (major) version. e.g. 1. 11410 * </pre> 11411 * 11412 * <code>optional int32 hal_version_major = 2;</code> 11413 */ clearHalVersionMajor()11414 public Builder clearHalVersionMajor() { 11415 bitField0_ = (bitField0_ & ~0x00000002); 11416 halVersionMajor_ = 0; 11417 onChanged(); 11418 return this; 11419 } 11420 11421 private int halVersionMinor_ ; 11422 /** 11423 * <pre> 11424 * HAL (minor) version. e.g. 0. 11425 * </pre> 11426 * 11427 * <code>optional int32 hal_version_minor = 3;</code> 11428 */ hasHalVersionMinor()11429 public boolean hasHalVersionMinor() { 11430 return ((bitField0_ & 0x00000004) == 0x00000004); 11431 } 11432 /** 11433 * <pre> 11434 * HAL (minor) version. e.g. 0. 11435 * </pre> 11436 * 11437 * <code>optional int32 hal_version_minor = 3;</code> 11438 */ getHalVersionMinor()11439 public int getHalVersionMinor() { 11440 return halVersionMinor_; 11441 } 11442 /** 11443 * <pre> 11444 * HAL (minor) version. e.g. 0. 11445 * </pre> 11446 * 11447 * <code>optional int32 hal_version_minor = 3;</code> 11448 */ setHalVersionMinor(int value)11449 public Builder setHalVersionMinor(int value) { 11450 bitField0_ |= 0x00000004; 11451 halVersionMinor_ = value; 11452 onChanged(); 11453 return this; 11454 } 11455 /** 11456 * <pre> 11457 * HAL (minor) version. e.g. 0. 11458 * </pre> 11459 * 11460 * <code>optional int32 hal_version_minor = 3;</code> 11461 */ clearHalVersionMinor()11462 public Builder clearHalVersionMinor() { 11463 bitField0_ = (bitField0_ & ~0x00000004); 11464 halVersionMinor_ = 0; 11465 onChanged(); 11466 return this; 11467 } 11468 11469 private com.google.protobuf.ByteString halInterfaceName_ = com.google.protobuf.ByteString.EMPTY; 11470 /** 11471 * <pre> 11472 * HAL interface name. e.g. IFoo. 11473 * </pre> 11474 * 11475 * <code>optional bytes hal_interface_name = 4;</code> 11476 */ hasHalInterfaceName()11477 public boolean hasHalInterfaceName() { 11478 return ((bitField0_ & 0x00000008) == 0x00000008); 11479 } 11480 /** 11481 * <pre> 11482 * HAL interface name. e.g. IFoo. 11483 * </pre> 11484 * 11485 * <code>optional bytes hal_interface_name = 4;</code> 11486 */ getHalInterfaceName()11487 public com.google.protobuf.ByteString getHalInterfaceName() { 11488 return halInterfaceName_; 11489 } 11490 /** 11491 * <pre> 11492 * HAL interface name. e.g. IFoo. 11493 * </pre> 11494 * 11495 * <code>optional bytes hal_interface_name = 4;</code> 11496 */ setHalInterfaceName(com.google.protobuf.ByteString value)11497 public Builder setHalInterfaceName(com.google.protobuf.ByteString value) { 11498 if (value == null) { 11499 throw new NullPointerException(); 11500 } 11501 bitField0_ |= 0x00000008; 11502 halInterfaceName_ = value; 11503 onChanged(); 11504 return this; 11505 } 11506 /** 11507 * <pre> 11508 * HAL interface name. e.g. IFoo. 11509 * </pre> 11510 * 11511 * <code>optional bytes hal_interface_name = 4;</code> 11512 */ clearHalInterfaceName()11513 public Builder clearHalInterfaceName() { 11514 bitField0_ = (bitField0_ & ~0x00000008); 11515 halInterfaceName_ = getDefaultInstance().getHalInterfaceName(); 11516 onChanged(); 11517 return this; 11518 } 11519 11520 private com.google.protobuf.ByteString halReleaseLevel_ = com.google.protobuf.ByteString.EMPTY; 11521 /** 11522 * <pre> 11523 * HAL release level (e.g. "current", "27", "28") 11524 * </pre> 11525 * 11526 * <code>optional bytes hal_release_level = 5;</code> 11527 */ hasHalReleaseLevel()11528 public boolean hasHalReleaseLevel() { 11529 return ((bitField0_ & 0x00000010) == 0x00000010); 11530 } 11531 /** 11532 * <pre> 11533 * HAL release level (e.g. "current", "27", "28") 11534 * </pre> 11535 * 11536 * <code>optional bytes hal_release_level = 5;</code> 11537 */ getHalReleaseLevel()11538 public com.google.protobuf.ByteString getHalReleaseLevel() { 11539 return halReleaseLevel_; 11540 } 11541 /** 11542 * <pre> 11543 * HAL release level (e.g. "current", "27", "28") 11544 * </pre> 11545 * 11546 * <code>optional bytes hal_release_level = 5;</code> 11547 */ setHalReleaseLevel(com.google.protobuf.ByteString value)11548 public Builder setHalReleaseLevel(com.google.protobuf.ByteString value) { 11549 if (value == null) { 11550 throw new NullPointerException(); 11551 } 11552 bitField0_ |= 0x00000010; 11553 halReleaseLevel_ = value; 11554 onChanged(); 11555 return this; 11556 } 11557 /** 11558 * <pre> 11559 * HAL release level (e.g. "current", "27", "28") 11560 * </pre> 11561 * 11562 * <code>optional bytes hal_release_level = 5;</code> 11563 */ clearHalReleaseLevel()11564 public Builder clearHalReleaseLevel() { 11565 bitField0_ = (bitField0_ & ~0x00000010); 11566 halReleaseLevel_ = getDefaultInstance().getHalReleaseLevel(); 11567 onChanged(); 11568 return this; 11569 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)11570 public final Builder setUnknownFields( 11571 final com.google.protobuf.UnknownFieldSet unknownFields) { 11572 return super.setUnknownFields(unknownFields); 11573 } 11574 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)11575 public final Builder mergeUnknownFields( 11576 final com.google.protobuf.UnknownFieldSet unknownFields) { 11577 return super.mergeUnknownFields(unknownFields); 11578 } 11579 11580 11581 // @@protoc_insertion_point(builder_scope:android.vts.HalInterfaceMessage) 11582 } 11583 11584 // @@protoc_insertion_point(class_scope:android.vts.HalInterfaceMessage) 11585 private static final com.android.vts.proto.VtsReportMessage.HalInterfaceMessage DEFAULT_INSTANCE; 11586 static { 11587 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.HalInterfaceMessage(); 11588 } 11589 getDefaultInstance()11590 public static com.android.vts.proto.VtsReportMessage.HalInterfaceMessage getDefaultInstance() { 11591 return DEFAULT_INSTANCE; 11592 } 11593 11594 @java.lang.Deprecated public static final com.google.protobuf.Parser<HalInterfaceMessage> 11595 PARSER = new com.google.protobuf.AbstractParser<HalInterfaceMessage>() { 11596 public HalInterfaceMessage parsePartialFrom( 11597 com.google.protobuf.CodedInputStream input, 11598 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11599 throws com.google.protobuf.InvalidProtocolBufferException { 11600 return new HalInterfaceMessage(input, extensionRegistry); 11601 } 11602 }; 11603 parser()11604 public static com.google.protobuf.Parser<HalInterfaceMessage> parser() { 11605 return PARSER; 11606 } 11607 11608 @java.lang.Override getParserForType()11609 public com.google.protobuf.Parser<HalInterfaceMessage> getParserForType() { 11610 return PARSER; 11611 } 11612 getDefaultInstanceForType()11613 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessage getDefaultInstanceForType() { 11614 return DEFAULT_INSTANCE; 11615 } 11616 11617 } 11618 11619 public interface ApiCoverageReportMessageOrBuilder extends 11620 // @@protoc_insertion_point(interface_extends:android.vts.ApiCoverageReportMessage) 11621 com.google.protobuf.MessageOrBuilder { 11622 11623 /** 11624 * <pre> 11625 * Hal interface info. 11626 * </pre> 11627 * 11628 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 11629 */ hasHalInterface()11630 boolean hasHalInterface(); 11631 /** 11632 * <pre> 11633 * Hal interface info. 11634 * </pre> 11635 * 11636 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 11637 */ getHalInterface()11638 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage getHalInterface(); 11639 /** 11640 * <pre> 11641 * Hal interface info. 11642 * </pre> 11643 * 11644 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 11645 */ getHalInterfaceOrBuilder()11646 com.android.vts.proto.VtsReportMessage.HalInterfaceMessageOrBuilder getHalInterfaceOrBuilder(); 11647 11648 /** 11649 * <pre> 11650 * APIs provided by the HAL with given package, version and interface name. 11651 * </pre> 11652 * 11653 * <code>repeated bytes hal_api = 11;</code> 11654 */ getHalApiList()11655 java.util.List<com.google.protobuf.ByteString> getHalApiList(); 11656 /** 11657 * <pre> 11658 * APIs provided by the HAL with given package, version and interface name. 11659 * </pre> 11660 * 11661 * <code>repeated bytes hal_api = 11;</code> 11662 */ getHalApiCount()11663 int getHalApiCount(); 11664 /** 11665 * <pre> 11666 * APIs provided by the HAL with given package, version and interface name. 11667 * </pre> 11668 * 11669 * <code>repeated bytes hal_api = 11;</code> 11670 */ getHalApi(int index)11671 com.google.protobuf.ByteString getHalApi(int index); 11672 11673 /** 11674 * <pre> 11675 * APIs covered by the test. 11676 * </pre> 11677 * 11678 * <code>repeated bytes covered_hal_api = 12;</code> 11679 */ getCoveredHalApiList()11680 java.util.List<com.google.protobuf.ByteString> getCoveredHalApiList(); 11681 /** 11682 * <pre> 11683 * APIs covered by the test. 11684 * </pre> 11685 * 11686 * <code>repeated bytes covered_hal_api = 12;</code> 11687 */ getCoveredHalApiCount()11688 int getCoveredHalApiCount(); 11689 /** 11690 * <pre> 11691 * APIs covered by the test. 11692 * </pre> 11693 * 11694 * <code>repeated bytes covered_hal_api = 12;</code> 11695 */ getCoveredHalApi(int index)11696 com.google.protobuf.ByteString getCoveredHalApi(int index); 11697 } 11698 /** 11699 * <pre> 11700 * To specify a API coverage report. Currently only for HAL API coverage. 11701 * </pre> 11702 * 11703 * Protobuf type {@code android.vts.ApiCoverageReportMessage} 11704 */ 11705 public static final class ApiCoverageReportMessage extends 11706 com.google.protobuf.GeneratedMessageV3 implements 11707 // @@protoc_insertion_point(message_implements:android.vts.ApiCoverageReportMessage) 11708 ApiCoverageReportMessageOrBuilder { 11709 // Use ApiCoverageReportMessage.newBuilder() to construct. ApiCoverageReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)11710 private ApiCoverageReportMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 11711 super(builder); 11712 } ApiCoverageReportMessage()11713 private ApiCoverageReportMessage() { 11714 halApi_ = java.util.Collections.emptyList(); 11715 coveredHalApi_ = java.util.Collections.emptyList(); 11716 } 11717 11718 @java.lang.Override 11719 public final com.google.protobuf.UnknownFieldSet getUnknownFields()11720 getUnknownFields() { 11721 return this.unknownFields; 11722 } ApiCoverageReportMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)11723 private ApiCoverageReportMessage( 11724 com.google.protobuf.CodedInputStream input, 11725 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 11726 throws com.google.protobuf.InvalidProtocolBufferException { 11727 this(); 11728 int mutable_bitField0_ = 0; 11729 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 11730 com.google.protobuf.UnknownFieldSet.newBuilder(); 11731 try { 11732 boolean done = false; 11733 while (!done) { 11734 int tag = input.readTag(); 11735 switch (tag) { 11736 case 0: 11737 done = true; 11738 break; 11739 default: { 11740 if (!parseUnknownField(input, unknownFields, 11741 extensionRegistry, tag)) { 11742 done = true; 11743 } 11744 break; 11745 } 11746 case 10: { 11747 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder subBuilder = null; 11748 if (((bitField0_ & 0x00000001) == 0x00000001)) { 11749 subBuilder = halInterface_.toBuilder(); 11750 } 11751 halInterface_ = input.readMessage(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.PARSER, extensionRegistry); 11752 if (subBuilder != null) { 11753 subBuilder.mergeFrom(halInterface_); 11754 halInterface_ = subBuilder.buildPartial(); 11755 } 11756 bitField0_ |= 0x00000001; 11757 break; 11758 } 11759 case 90: { 11760 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 11761 halApi_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); 11762 mutable_bitField0_ |= 0x00000002; 11763 } 11764 halApi_.add(input.readBytes()); 11765 break; 11766 } 11767 case 98: { 11768 if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 11769 coveredHalApi_ = new java.util.ArrayList<com.google.protobuf.ByteString>(); 11770 mutable_bitField0_ |= 0x00000004; 11771 } 11772 coveredHalApi_.add(input.readBytes()); 11773 break; 11774 } 11775 } 11776 } 11777 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 11778 throw e.setUnfinishedMessage(this); 11779 } catch (java.io.IOException e) { 11780 throw new com.google.protobuf.InvalidProtocolBufferException( 11781 e).setUnfinishedMessage(this); 11782 } finally { 11783 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { 11784 halApi_ = java.util.Collections.unmodifiableList(halApi_); 11785 } 11786 if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { 11787 coveredHalApi_ = java.util.Collections.unmodifiableList(coveredHalApi_); 11788 } 11789 this.unknownFields = unknownFields.build(); 11790 makeExtensionsImmutable(); 11791 } 11792 } 11793 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()11794 getDescriptor() { 11795 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ApiCoverageReportMessage_descriptor; 11796 } 11797 11798 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()11799 internalGetFieldAccessorTable() { 11800 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ApiCoverageReportMessage_fieldAccessorTable 11801 .ensureFieldAccessorsInitialized( 11802 com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage.class, com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage.Builder.class); 11803 } 11804 11805 private int bitField0_; 11806 public static final int HAL_INTERFACE_FIELD_NUMBER = 1; 11807 private com.android.vts.proto.VtsReportMessage.HalInterfaceMessage halInterface_; 11808 /** 11809 * <pre> 11810 * Hal interface info. 11811 * </pre> 11812 * 11813 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 11814 */ hasHalInterface()11815 public boolean hasHalInterface() { 11816 return ((bitField0_ & 0x00000001) == 0x00000001); 11817 } 11818 /** 11819 * <pre> 11820 * Hal interface info. 11821 * </pre> 11822 * 11823 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 11824 */ getHalInterface()11825 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessage getHalInterface() { 11826 return halInterface_ == null ? com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.getDefaultInstance() : halInterface_; 11827 } 11828 /** 11829 * <pre> 11830 * Hal interface info. 11831 * </pre> 11832 * 11833 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 11834 */ getHalInterfaceOrBuilder()11835 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessageOrBuilder getHalInterfaceOrBuilder() { 11836 return halInterface_ == null ? com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.getDefaultInstance() : halInterface_; 11837 } 11838 11839 public static final int HAL_API_FIELD_NUMBER = 11; 11840 private java.util.List<com.google.protobuf.ByteString> halApi_; 11841 /** 11842 * <pre> 11843 * APIs provided by the HAL with given package, version and interface name. 11844 * </pre> 11845 * 11846 * <code>repeated bytes hal_api = 11;</code> 11847 */ 11848 public java.util.List<com.google.protobuf.ByteString> getHalApiList()11849 getHalApiList() { 11850 return halApi_; 11851 } 11852 /** 11853 * <pre> 11854 * APIs provided by the HAL with given package, version and interface name. 11855 * </pre> 11856 * 11857 * <code>repeated bytes hal_api = 11;</code> 11858 */ getHalApiCount()11859 public int getHalApiCount() { 11860 return halApi_.size(); 11861 } 11862 /** 11863 * <pre> 11864 * APIs provided by the HAL with given package, version and interface name. 11865 * </pre> 11866 * 11867 * <code>repeated bytes hal_api = 11;</code> 11868 */ getHalApi(int index)11869 public com.google.protobuf.ByteString getHalApi(int index) { 11870 return halApi_.get(index); 11871 } 11872 11873 public static final int COVERED_HAL_API_FIELD_NUMBER = 12; 11874 private java.util.List<com.google.protobuf.ByteString> coveredHalApi_; 11875 /** 11876 * <pre> 11877 * APIs covered by the test. 11878 * </pre> 11879 * 11880 * <code>repeated bytes covered_hal_api = 12;</code> 11881 */ 11882 public java.util.List<com.google.protobuf.ByteString> getCoveredHalApiList()11883 getCoveredHalApiList() { 11884 return coveredHalApi_; 11885 } 11886 /** 11887 * <pre> 11888 * APIs covered by the test. 11889 * </pre> 11890 * 11891 * <code>repeated bytes covered_hal_api = 12;</code> 11892 */ getCoveredHalApiCount()11893 public int getCoveredHalApiCount() { 11894 return coveredHalApi_.size(); 11895 } 11896 /** 11897 * <pre> 11898 * APIs covered by the test. 11899 * </pre> 11900 * 11901 * <code>repeated bytes covered_hal_api = 12;</code> 11902 */ getCoveredHalApi(int index)11903 public com.google.protobuf.ByteString getCoveredHalApi(int index) { 11904 return coveredHalApi_.get(index); 11905 } 11906 11907 private byte memoizedIsInitialized = -1; isInitialized()11908 public final boolean isInitialized() { 11909 byte isInitialized = memoizedIsInitialized; 11910 if (isInitialized == 1) return true; 11911 if (isInitialized == 0) return false; 11912 11913 memoizedIsInitialized = 1; 11914 return true; 11915 } 11916 writeTo(com.google.protobuf.CodedOutputStream output)11917 public void writeTo(com.google.protobuf.CodedOutputStream output) 11918 throws java.io.IOException { 11919 if (((bitField0_ & 0x00000001) == 0x00000001)) { 11920 output.writeMessage(1, getHalInterface()); 11921 } 11922 for (int i = 0; i < halApi_.size(); i++) { 11923 output.writeBytes(11, halApi_.get(i)); 11924 } 11925 for (int i = 0; i < coveredHalApi_.size(); i++) { 11926 output.writeBytes(12, coveredHalApi_.get(i)); 11927 } 11928 unknownFields.writeTo(output); 11929 } 11930 getSerializedSize()11931 public int getSerializedSize() { 11932 int size = memoizedSize; 11933 if (size != -1) return size; 11934 11935 size = 0; 11936 if (((bitField0_ & 0x00000001) == 0x00000001)) { 11937 size += com.google.protobuf.CodedOutputStream 11938 .computeMessageSize(1, getHalInterface()); 11939 } 11940 { 11941 int dataSize = 0; 11942 for (int i = 0; i < halApi_.size(); i++) { 11943 dataSize += com.google.protobuf.CodedOutputStream 11944 .computeBytesSizeNoTag(halApi_.get(i)); 11945 } 11946 size += dataSize; 11947 size += 1 * getHalApiList().size(); 11948 } 11949 { 11950 int dataSize = 0; 11951 for (int i = 0; i < coveredHalApi_.size(); i++) { 11952 dataSize += com.google.protobuf.CodedOutputStream 11953 .computeBytesSizeNoTag(coveredHalApi_.get(i)); 11954 } 11955 size += dataSize; 11956 size += 1 * getCoveredHalApiList().size(); 11957 } 11958 size += unknownFields.getSerializedSize(); 11959 memoizedSize = size; 11960 return size; 11961 } 11962 11963 private static final long serialVersionUID = 0L; 11964 @java.lang.Override equals(final java.lang.Object obj)11965 public boolean equals(final java.lang.Object obj) { 11966 if (obj == this) { 11967 return true; 11968 } 11969 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage)) { 11970 return super.equals(obj); 11971 } 11972 com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage other = (com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage) obj; 11973 11974 boolean result = true; 11975 result = result && (hasHalInterface() == other.hasHalInterface()); 11976 if (hasHalInterface()) { 11977 result = result && getHalInterface() 11978 .equals(other.getHalInterface()); 11979 } 11980 result = result && getHalApiList() 11981 .equals(other.getHalApiList()); 11982 result = result && getCoveredHalApiList() 11983 .equals(other.getCoveredHalApiList()); 11984 result = result && unknownFields.equals(other.unknownFields); 11985 return result; 11986 } 11987 11988 @java.lang.Override hashCode()11989 public int hashCode() { 11990 if (memoizedHashCode != 0) { 11991 return memoizedHashCode; 11992 } 11993 int hash = 41; 11994 hash = (19 * hash) + getDescriptorForType().hashCode(); 11995 if (hasHalInterface()) { 11996 hash = (37 * hash) + HAL_INTERFACE_FIELD_NUMBER; 11997 hash = (53 * hash) + getHalInterface().hashCode(); 11998 } 11999 if (getHalApiCount() > 0) { 12000 hash = (37 * hash) + HAL_API_FIELD_NUMBER; 12001 hash = (53 * hash) + getHalApiList().hashCode(); 12002 } 12003 if (getCoveredHalApiCount() > 0) { 12004 hash = (37 * hash) + COVERED_HAL_API_FIELD_NUMBER; 12005 hash = (53 * hash) + getCoveredHalApiList().hashCode(); 12006 } 12007 hash = (29 * hash) + unknownFields.hashCode(); 12008 memoizedHashCode = hash; 12009 return hash; 12010 } 12011 parseFrom( com.google.protobuf.ByteString data)12012 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom( 12013 com.google.protobuf.ByteString data) 12014 throws com.google.protobuf.InvalidProtocolBufferException { 12015 return PARSER.parseFrom(data); 12016 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)12017 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom( 12018 com.google.protobuf.ByteString data, 12019 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12020 throws com.google.protobuf.InvalidProtocolBufferException { 12021 return PARSER.parseFrom(data, extensionRegistry); 12022 } parseFrom(byte[] data)12023 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom(byte[] data) 12024 throws com.google.protobuf.InvalidProtocolBufferException { 12025 return PARSER.parseFrom(data); 12026 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)12027 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom( 12028 byte[] data, 12029 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12030 throws com.google.protobuf.InvalidProtocolBufferException { 12031 return PARSER.parseFrom(data, extensionRegistry); 12032 } parseFrom(java.io.InputStream input)12033 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom(java.io.InputStream input) 12034 throws java.io.IOException { 12035 return com.google.protobuf.GeneratedMessageV3 12036 .parseWithIOException(PARSER, input); 12037 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)12038 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom( 12039 java.io.InputStream input, 12040 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12041 throws java.io.IOException { 12042 return com.google.protobuf.GeneratedMessageV3 12043 .parseWithIOException(PARSER, input, extensionRegistry); 12044 } parseDelimitedFrom(java.io.InputStream input)12045 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseDelimitedFrom(java.io.InputStream input) 12046 throws java.io.IOException { 12047 return com.google.protobuf.GeneratedMessageV3 12048 .parseDelimitedWithIOException(PARSER, input); 12049 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)12050 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseDelimitedFrom( 12051 java.io.InputStream input, 12052 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12053 throws java.io.IOException { 12054 return com.google.protobuf.GeneratedMessageV3 12055 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 12056 } parseFrom( com.google.protobuf.CodedInputStream input)12057 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom( 12058 com.google.protobuf.CodedInputStream input) 12059 throws java.io.IOException { 12060 return com.google.protobuf.GeneratedMessageV3 12061 .parseWithIOException(PARSER, input); 12062 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)12063 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parseFrom( 12064 com.google.protobuf.CodedInputStream input, 12065 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12066 throws java.io.IOException { 12067 return com.google.protobuf.GeneratedMessageV3 12068 .parseWithIOException(PARSER, input, extensionRegistry); 12069 } 12070 newBuilderForType()12071 public Builder newBuilderForType() { return newBuilder(); } newBuilder()12072 public static Builder newBuilder() { 12073 return DEFAULT_INSTANCE.toBuilder(); 12074 } newBuilder(com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage prototype)12075 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage prototype) { 12076 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 12077 } toBuilder()12078 public Builder toBuilder() { 12079 return this == DEFAULT_INSTANCE 12080 ? new Builder() : new Builder().mergeFrom(this); 12081 } 12082 12083 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)12084 protected Builder newBuilderForType( 12085 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12086 Builder builder = new Builder(parent); 12087 return builder; 12088 } 12089 /** 12090 * <pre> 12091 * To specify a API coverage report. Currently only for HAL API coverage. 12092 * </pre> 12093 * 12094 * Protobuf type {@code android.vts.ApiCoverageReportMessage} 12095 */ 12096 public static final class Builder extends 12097 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 12098 // @@protoc_insertion_point(builder_implements:android.vts.ApiCoverageReportMessage) 12099 com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessageOrBuilder { 12100 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()12101 getDescriptor() { 12102 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ApiCoverageReportMessage_descriptor; 12103 } 12104 12105 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()12106 internalGetFieldAccessorTable() { 12107 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ApiCoverageReportMessage_fieldAccessorTable 12108 .ensureFieldAccessorsInitialized( 12109 com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage.class, com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage.Builder.class); 12110 } 12111 12112 // Construct using com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage.newBuilder() Builder()12113 private Builder() { 12114 maybeForceBuilderInitialization(); 12115 } 12116 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)12117 private Builder( 12118 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 12119 super(parent); 12120 maybeForceBuilderInitialization(); 12121 } maybeForceBuilderInitialization()12122 private void maybeForceBuilderInitialization() { 12123 if (com.google.protobuf.GeneratedMessageV3 12124 .alwaysUseFieldBuilders) { 12125 getHalInterfaceFieldBuilder(); 12126 } 12127 } clear()12128 public Builder clear() { 12129 super.clear(); 12130 if (halInterfaceBuilder_ == null) { 12131 halInterface_ = null; 12132 } else { 12133 halInterfaceBuilder_.clear(); 12134 } 12135 bitField0_ = (bitField0_ & ~0x00000001); 12136 halApi_ = java.util.Collections.emptyList(); 12137 bitField0_ = (bitField0_ & ~0x00000002); 12138 coveredHalApi_ = java.util.Collections.emptyList(); 12139 bitField0_ = (bitField0_ & ~0x00000004); 12140 return this; 12141 } 12142 12143 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()12144 getDescriptorForType() { 12145 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_ApiCoverageReportMessage_descriptor; 12146 } 12147 getDefaultInstanceForType()12148 public com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage getDefaultInstanceForType() { 12149 return com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage.getDefaultInstance(); 12150 } 12151 build()12152 public com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage build() { 12153 com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage result = buildPartial(); 12154 if (!result.isInitialized()) { 12155 throw newUninitializedMessageException(result); 12156 } 12157 return result; 12158 } 12159 buildPartial()12160 public com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage buildPartial() { 12161 com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage result = new com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage(this); 12162 int from_bitField0_ = bitField0_; 12163 int to_bitField0_ = 0; 12164 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 12165 to_bitField0_ |= 0x00000001; 12166 } 12167 if (halInterfaceBuilder_ == null) { 12168 result.halInterface_ = halInterface_; 12169 } else { 12170 result.halInterface_ = halInterfaceBuilder_.build(); 12171 } 12172 if (((bitField0_ & 0x00000002) == 0x00000002)) { 12173 halApi_ = java.util.Collections.unmodifiableList(halApi_); 12174 bitField0_ = (bitField0_ & ~0x00000002); 12175 } 12176 result.halApi_ = halApi_; 12177 if (((bitField0_ & 0x00000004) == 0x00000004)) { 12178 coveredHalApi_ = java.util.Collections.unmodifiableList(coveredHalApi_); 12179 bitField0_ = (bitField0_ & ~0x00000004); 12180 } 12181 result.coveredHalApi_ = coveredHalApi_; 12182 result.bitField0_ = to_bitField0_; 12183 onBuilt(); 12184 return result; 12185 } 12186 clone()12187 public Builder clone() { 12188 return (Builder) super.clone(); 12189 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)12190 public Builder setField( 12191 com.google.protobuf.Descriptors.FieldDescriptor field, 12192 Object value) { 12193 return (Builder) super.setField(field, value); 12194 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)12195 public Builder clearField( 12196 com.google.protobuf.Descriptors.FieldDescriptor field) { 12197 return (Builder) super.clearField(field); 12198 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)12199 public Builder clearOneof( 12200 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 12201 return (Builder) super.clearOneof(oneof); 12202 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)12203 public Builder setRepeatedField( 12204 com.google.protobuf.Descriptors.FieldDescriptor field, 12205 int index, Object value) { 12206 return (Builder) super.setRepeatedField(field, index, value); 12207 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)12208 public Builder addRepeatedField( 12209 com.google.protobuf.Descriptors.FieldDescriptor field, 12210 Object value) { 12211 return (Builder) super.addRepeatedField(field, value); 12212 } mergeFrom(com.google.protobuf.Message other)12213 public Builder mergeFrom(com.google.protobuf.Message other) { 12214 if (other instanceof com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage) { 12215 return mergeFrom((com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage)other); 12216 } else { 12217 super.mergeFrom(other); 12218 return this; 12219 } 12220 } 12221 mergeFrom(com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage other)12222 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage other) { 12223 if (other == com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage.getDefaultInstance()) return this; 12224 if (other.hasHalInterface()) { 12225 mergeHalInterface(other.getHalInterface()); 12226 } 12227 if (!other.halApi_.isEmpty()) { 12228 if (halApi_.isEmpty()) { 12229 halApi_ = other.halApi_; 12230 bitField0_ = (bitField0_ & ~0x00000002); 12231 } else { 12232 ensureHalApiIsMutable(); 12233 halApi_.addAll(other.halApi_); 12234 } 12235 onChanged(); 12236 } 12237 if (!other.coveredHalApi_.isEmpty()) { 12238 if (coveredHalApi_.isEmpty()) { 12239 coveredHalApi_ = other.coveredHalApi_; 12240 bitField0_ = (bitField0_ & ~0x00000004); 12241 } else { 12242 ensureCoveredHalApiIsMutable(); 12243 coveredHalApi_.addAll(other.coveredHalApi_); 12244 } 12245 onChanged(); 12246 } 12247 this.mergeUnknownFields(other.unknownFields); 12248 onChanged(); 12249 return this; 12250 } 12251 isInitialized()12252 public final boolean isInitialized() { 12253 return true; 12254 } 12255 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)12256 public Builder mergeFrom( 12257 com.google.protobuf.CodedInputStream input, 12258 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12259 throws java.io.IOException { 12260 com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage parsedMessage = null; 12261 try { 12262 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 12263 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 12264 parsedMessage = (com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage) e.getUnfinishedMessage(); 12265 throw e.unwrapIOException(); 12266 } finally { 12267 if (parsedMessage != null) { 12268 mergeFrom(parsedMessage); 12269 } 12270 } 12271 return this; 12272 } 12273 private int bitField0_; 12274 12275 private com.android.vts.proto.VtsReportMessage.HalInterfaceMessage halInterface_ = null; 12276 private com.google.protobuf.SingleFieldBuilderV3< 12277 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage, com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder, com.android.vts.proto.VtsReportMessage.HalInterfaceMessageOrBuilder> halInterfaceBuilder_; 12278 /** 12279 * <pre> 12280 * Hal interface info. 12281 * </pre> 12282 * 12283 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12284 */ hasHalInterface()12285 public boolean hasHalInterface() { 12286 return ((bitField0_ & 0x00000001) == 0x00000001); 12287 } 12288 /** 12289 * <pre> 12290 * Hal interface info. 12291 * </pre> 12292 * 12293 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12294 */ getHalInterface()12295 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessage getHalInterface() { 12296 if (halInterfaceBuilder_ == null) { 12297 return halInterface_ == null ? com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.getDefaultInstance() : halInterface_; 12298 } else { 12299 return halInterfaceBuilder_.getMessage(); 12300 } 12301 } 12302 /** 12303 * <pre> 12304 * Hal interface info. 12305 * </pre> 12306 * 12307 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12308 */ setHalInterface(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage value)12309 public Builder setHalInterface(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage value) { 12310 if (halInterfaceBuilder_ == null) { 12311 if (value == null) { 12312 throw new NullPointerException(); 12313 } 12314 halInterface_ = value; 12315 onChanged(); 12316 } else { 12317 halInterfaceBuilder_.setMessage(value); 12318 } 12319 bitField0_ |= 0x00000001; 12320 return this; 12321 } 12322 /** 12323 * <pre> 12324 * Hal interface info. 12325 * </pre> 12326 * 12327 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12328 */ setHalInterface( com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder builderForValue)12329 public Builder setHalInterface( 12330 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder builderForValue) { 12331 if (halInterfaceBuilder_ == null) { 12332 halInterface_ = builderForValue.build(); 12333 onChanged(); 12334 } else { 12335 halInterfaceBuilder_.setMessage(builderForValue.build()); 12336 } 12337 bitField0_ |= 0x00000001; 12338 return this; 12339 } 12340 /** 12341 * <pre> 12342 * Hal interface info. 12343 * </pre> 12344 * 12345 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12346 */ mergeHalInterface(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage value)12347 public Builder mergeHalInterface(com.android.vts.proto.VtsReportMessage.HalInterfaceMessage value) { 12348 if (halInterfaceBuilder_ == null) { 12349 if (((bitField0_ & 0x00000001) == 0x00000001) && 12350 halInterface_ != null && 12351 halInterface_ != com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.getDefaultInstance()) { 12352 halInterface_ = 12353 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.newBuilder(halInterface_).mergeFrom(value).buildPartial(); 12354 } else { 12355 halInterface_ = value; 12356 } 12357 onChanged(); 12358 } else { 12359 halInterfaceBuilder_.mergeFrom(value); 12360 } 12361 bitField0_ |= 0x00000001; 12362 return this; 12363 } 12364 /** 12365 * <pre> 12366 * Hal interface info. 12367 * </pre> 12368 * 12369 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12370 */ clearHalInterface()12371 public Builder clearHalInterface() { 12372 if (halInterfaceBuilder_ == null) { 12373 halInterface_ = null; 12374 onChanged(); 12375 } else { 12376 halInterfaceBuilder_.clear(); 12377 } 12378 bitField0_ = (bitField0_ & ~0x00000001); 12379 return this; 12380 } 12381 /** 12382 * <pre> 12383 * Hal interface info. 12384 * </pre> 12385 * 12386 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12387 */ getHalInterfaceBuilder()12388 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder getHalInterfaceBuilder() { 12389 bitField0_ |= 0x00000001; 12390 onChanged(); 12391 return getHalInterfaceFieldBuilder().getBuilder(); 12392 } 12393 /** 12394 * <pre> 12395 * Hal interface info. 12396 * </pre> 12397 * 12398 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12399 */ getHalInterfaceOrBuilder()12400 public com.android.vts.proto.VtsReportMessage.HalInterfaceMessageOrBuilder getHalInterfaceOrBuilder() { 12401 if (halInterfaceBuilder_ != null) { 12402 return halInterfaceBuilder_.getMessageOrBuilder(); 12403 } else { 12404 return halInterface_ == null ? 12405 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.getDefaultInstance() : halInterface_; 12406 } 12407 } 12408 /** 12409 * <pre> 12410 * Hal interface info. 12411 * </pre> 12412 * 12413 * <code>optional .android.vts.HalInterfaceMessage hal_interface = 1;</code> 12414 */ 12415 private com.google.protobuf.SingleFieldBuilderV3< 12416 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage, com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder, com.android.vts.proto.VtsReportMessage.HalInterfaceMessageOrBuilder> getHalInterfaceFieldBuilder()12417 getHalInterfaceFieldBuilder() { 12418 if (halInterfaceBuilder_ == null) { 12419 halInterfaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< 12420 com.android.vts.proto.VtsReportMessage.HalInterfaceMessage, com.android.vts.proto.VtsReportMessage.HalInterfaceMessage.Builder, com.android.vts.proto.VtsReportMessage.HalInterfaceMessageOrBuilder>( 12421 getHalInterface(), 12422 getParentForChildren(), 12423 isClean()); 12424 halInterface_ = null; 12425 } 12426 return halInterfaceBuilder_; 12427 } 12428 12429 private java.util.List<com.google.protobuf.ByteString> halApi_ = java.util.Collections.emptyList(); ensureHalApiIsMutable()12430 private void ensureHalApiIsMutable() { 12431 if (!((bitField0_ & 0x00000002) == 0x00000002)) { 12432 halApi_ = new java.util.ArrayList<com.google.protobuf.ByteString>(halApi_); 12433 bitField0_ |= 0x00000002; 12434 } 12435 } 12436 /** 12437 * <pre> 12438 * APIs provided by the HAL with given package, version and interface name. 12439 * </pre> 12440 * 12441 * <code>repeated bytes hal_api = 11;</code> 12442 */ 12443 public java.util.List<com.google.protobuf.ByteString> getHalApiList()12444 getHalApiList() { 12445 return java.util.Collections.unmodifiableList(halApi_); 12446 } 12447 /** 12448 * <pre> 12449 * APIs provided by the HAL with given package, version and interface name. 12450 * </pre> 12451 * 12452 * <code>repeated bytes hal_api = 11;</code> 12453 */ getHalApiCount()12454 public int getHalApiCount() { 12455 return halApi_.size(); 12456 } 12457 /** 12458 * <pre> 12459 * APIs provided by the HAL with given package, version and interface name. 12460 * </pre> 12461 * 12462 * <code>repeated bytes hal_api = 11;</code> 12463 */ getHalApi(int index)12464 public com.google.protobuf.ByteString getHalApi(int index) { 12465 return halApi_.get(index); 12466 } 12467 /** 12468 * <pre> 12469 * APIs provided by the HAL with given package, version and interface name. 12470 * </pre> 12471 * 12472 * <code>repeated bytes hal_api = 11;</code> 12473 */ setHalApi( int index, com.google.protobuf.ByteString value)12474 public Builder setHalApi( 12475 int index, com.google.protobuf.ByteString value) { 12476 if (value == null) { 12477 throw new NullPointerException(); 12478 } 12479 ensureHalApiIsMutable(); 12480 halApi_.set(index, value); 12481 onChanged(); 12482 return this; 12483 } 12484 /** 12485 * <pre> 12486 * APIs provided by the HAL with given package, version and interface name. 12487 * </pre> 12488 * 12489 * <code>repeated bytes hal_api = 11;</code> 12490 */ addHalApi(com.google.protobuf.ByteString value)12491 public Builder addHalApi(com.google.protobuf.ByteString value) { 12492 if (value == null) { 12493 throw new NullPointerException(); 12494 } 12495 ensureHalApiIsMutable(); 12496 halApi_.add(value); 12497 onChanged(); 12498 return this; 12499 } 12500 /** 12501 * <pre> 12502 * APIs provided by the HAL with given package, version and interface name. 12503 * </pre> 12504 * 12505 * <code>repeated bytes hal_api = 11;</code> 12506 */ addAllHalApi( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)12507 public Builder addAllHalApi( 12508 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { 12509 ensureHalApiIsMutable(); 12510 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12511 values, halApi_); 12512 onChanged(); 12513 return this; 12514 } 12515 /** 12516 * <pre> 12517 * APIs provided by the HAL with given package, version and interface name. 12518 * </pre> 12519 * 12520 * <code>repeated bytes hal_api = 11;</code> 12521 */ clearHalApi()12522 public Builder clearHalApi() { 12523 halApi_ = java.util.Collections.emptyList(); 12524 bitField0_ = (bitField0_ & ~0x00000002); 12525 onChanged(); 12526 return this; 12527 } 12528 12529 private java.util.List<com.google.protobuf.ByteString> coveredHalApi_ = java.util.Collections.emptyList(); ensureCoveredHalApiIsMutable()12530 private void ensureCoveredHalApiIsMutable() { 12531 if (!((bitField0_ & 0x00000004) == 0x00000004)) { 12532 coveredHalApi_ = new java.util.ArrayList<com.google.protobuf.ByteString>(coveredHalApi_); 12533 bitField0_ |= 0x00000004; 12534 } 12535 } 12536 /** 12537 * <pre> 12538 * APIs covered by the test. 12539 * </pre> 12540 * 12541 * <code>repeated bytes covered_hal_api = 12;</code> 12542 */ 12543 public java.util.List<com.google.protobuf.ByteString> getCoveredHalApiList()12544 getCoveredHalApiList() { 12545 return java.util.Collections.unmodifiableList(coveredHalApi_); 12546 } 12547 /** 12548 * <pre> 12549 * APIs covered by the test. 12550 * </pre> 12551 * 12552 * <code>repeated bytes covered_hal_api = 12;</code> 12553 */ getCoveredHalApiCount()12554 public int getCoveredHalApiCount() { 12555 return coveredHalApi_.size(); 12556 } 12557 /** 12558 * <pre> 12559 * APIs covered by the test. 12560 * </pre> 12561 * 12562 * <code>repeated bytes covered_hal_api = 12;</code> 12563 */ getCoveredHalApi(int index)12564 public com.google.protobuf.ByteString getCoveredHalApi(int index) { 12565 return coveredHalApi_.get(index); 12566 } 12567 /** 12568 * <pre> 12569 * APIs covered by the test. 12570 * </pre> 12571 * 12572 * <code>repeated bytes covered_hal_api = 12;</code> 12573 */ setCoveredHalApi( int index, com.google.protobuf.ByteString value)12574 public Builder setCoveredHalApi( 12575 int index, com.google.protobuf.ByteString value) { 12576 if (value == null) { 12577 throw new NullPointerException(); 12578 } 12579 ensureCoveredHalApiIsMutable(); 12580 coveredHalApi_.set(index, value); 12581 onChanged(); 12582 return this; 12583 } 12584 /** 12585 * <pre> 12586 * APIs covered by the test. 12587 * </pre> 12588 * 12589 * <code>repeated bytes covered_hal_api = 12;</code> 12590 */ addCoveredHalApi(com.google.protobuf.ByteString value)12591 public Builder addCoveredHalApi(com.google.protobuf.ByteString value) { 12592 if (value == null) { 12593 throw new NullPointerException(); 12594 } 12595 ensureCoveredHalApiIsMutable(); 12596 coveredHalApi_.add(value); 12597 onChanged(); 12598 return this; 12599 } 12600 /** 12601 * <pre> 12602 * APIs covered by the test. 12603 * </pre> 12604 * 12605 * <code>repeated bytes covered_hal_api = 12;</code> 12606 */ addAllCoveredHalApi( java.lang.Iterable<? extends com.google.protobuf.ByteString> values)12607 public Builder addAllCoveredHalApi( 12608 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) { 12609 ensureCoveredHalApiIsMutable(); 12610 com.google.protobuf.AbstractMessageLite.Builder.addAll( 12611 values, coveredHalApi_); 12612 onChanged(); 12613 return this; 12614 } 12615 /** 12616 * <pre> 12617 * APIs covered by the test. 12618 * </pre> 12619 * 12620 * <code>repeated bytes covered_hal_api = 12;</code> 12621 */ clearCoveredHalApi()12622 public Builder clearCoveredHalApi() { 12623 coveredHalApi_ = java.util.Collections.emptyList(); 12624 bitField0_ = (bitField0_ & ~0x00000004); 12625 onChanged(); 12626 return this; 12627 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)12628 public final Builder setUnknownFields( 12629 final com.google.protobuf.UnknownFieldSet unknownFields) { 12630 return super.setUnknownFields(unknownFields); 12631 } 12632 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)12633 public final Builder mergeUnknownFields( 12634 final com.google.protobuf.UnknownFieldSet unknownFields) { 12635 return super.mergeUnknownFields(unknownFields); 12636 } 12637 12638 12639 // @@protoc_insertion_point(builder_scope:android.vts.ApiCoverageReportMessage) 12640 } 12641 12642 // @@protoc_insertion_point(class_scope:android.vts.ApiCoverageReportMessage) 12643 private static final com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage DEFAULT_INSTANCE; 12644 static { 12645 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage(); 12646 } 12647 getDefaultInstance()12648 public static com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage getDefaultInstance() { 12649 return DEFAULT_INSTANCE; 12650 } 12651 12652 @java.lang.Deprecated public static final com.google.protobuf.Parser<ApiCoverageReportMessage> 12653 PARSER = new com.google.protobuf.AbstractParser<ApiCoverageReportMessage>() { 12654 public ApiCoverageReportMessage parsePartialFrom( 12655 com.google.protobuf.CodedInputStream input, 12656 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12657 throws com.google.protobuf.InvalidProtocolBufferException { 12658 return new ApiCoverageReportMessage(input, extensionRegistry); 12659 } 12660 }; 12661 parser()12662 public static com.google.protobuf.Parser<ApiCoverageReportMessage> parser() { 12663 return PARSER; 12664 } 12665 12666 @java.lang.Override getParserForType()12667 public com.google.protobuf.Parser<ApiCoverageReportMessage> getParserForType() { 12668 return PARSER; 12669 } 12670 getDefaultInstanceForType()12671 public com.android.vts.proto.VtsReportMessage.ApiCoverageReportMessage getDefaultInstanceForType() { 12672 return DEFAULT_INSTANCE; 12673 } 12674 12675 } 12676 12677 public interface LogMessageOrBuilder extends 12678 // @@protoc_insertion_point(interface_extends:android.vts.LogMessage) 12679 com.google.protobuf.MessageOrBuilder { 12680 12681 /** 12682 * <pre> 12683 * URL of a produced log file (e.g., stdout, stderr). 12684 * </pre> 12685 * 12686 * <code>optional bytes url = 1;</code> 12687 */ hasUrl()12688 boolean hasUrl(); 12689 /** 12690 * <pre> 12691 * URL of a produced log file (e.g., stdout, stderr). 12692 * </pre> 12693 * 12694 * <code>optional bytes url = 1;</code> 12695 */ getUrl()12696 com.google.protobuf.ByteString getUrl(); 12697 12698 /** 12699 * <pre> 12700 * Name of a log file. 12701 * </pre> 12702 * 12703 * <code>optional bytes name = 2;</code> 12704 */ hasName()12705 boolean hasName(); 12706 /** 12707 * <pre> 12708 * Name of a log file. 12709 * </pre> 12710 * 12711 * <code>optional bytes name = 2;</code> 12712 */ getName()12713 com.google.protobuf.ByteString getName(); 12714 12715 /** 12716 * <pre> 12717 * Content of log. Caution: do not put too much log in protobuf message, 12718 * as BigTable for example recommends < 10 MB for each record cell. 12719 * </pre> 12720 * 12721 * <code>optional bytes content = 3;</code> 12722 */ hasContent()12723 boolean hasContent(); 12724 /** 12725 * <pre> 12726 * Content of log. Caution: do not put too much log in protobuf message, 12727 * as BigTable for example recommends < 10 MB for each record cell. 12728 * </pre> 12729 * 12730 * <code>optional bytes content = 3;</code> 12731 */ getContent()12732 com.google.protobuf.ByteString getContent(); 12733 } 12734 /** 12735 * <pre> 12736 * To specify log report. This can be used either for per-test-module 12737 * log message or per-test-case log message. 12738 * </pre> 12739 * 12740 * Protobuf type {@code android.vts.LogMessage} 12741 */ 12742 public static final class LogMessage extends 12743 com.google.protobuf.GeneratedMessageV3 implements 12744 // @@protoc_insertion_point(message_implements:android.vts.LogMessage) 12745 LogMessageOrBuilder { 12746 // Use LogMessage.newBuilder() to construct. LogMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)12747 private LogMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 12748 super(builder); 12749 } LogMessage()12750 private LogMessage() { 12751 url_ = com.google.protobuf.ByteString.EMPTY; 12752 name_ = com.google.protobuf.ByteString.EMPTY; 12753 content_ = com.google.protobuf.ByteString.EMPTY; 12754 } 12755 12756 @java.lang.Override 12757 public final com.google.protobuf.UnknownFieldSet getUnknownFields()12758 getUnknownFields() { 12759 return this.unknownFields; 12760 } LogMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)12761 private LogMessage( 12762 com.google.protobuf.CodedInputStream input, 12763 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 12764 throws com.google.protobuf.InvalidProtocolBufferException { 12765 this(); 12766 int mutable_bitField0_ = 0; 12767 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 12768 com.google.protobuf.UnknownFieldSet.newBuilder(); 12769 try { 12770 boolean done = false; 12771 while (!done) { 12772 int tag = input.readTag(); 12773 switch (tag) { 12774 case 0: 12775 done = true; 12776 break; 12777 default: { 12778 if (!parseUnknownField(input, unknownFields, 12779 extensionRegistry, tag)) { 12780 done = true; 12781 } 12782 break; 12783 } 12784 case 10: { 12785 bitField0_ |= 0x00000001; 12786 url_ = input.readBytes(); 12787 break; 12788 } 12789 case 18: { 12790 bitField0_ |= 0x00000002; 12791 name_ = input.readBytes(); 12792 break; 12793 } 12794 case 26: { 12795 bitField0_ |= 0x00000004; 12796 content_ = input.readBytes(); 12797 break; 12798 } 12799 } 12800 } 12801 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 12802 throw e.setUnfinishedMessage(this); 12803 } catch (java.io.IOException e) { 12804 throw new com.google.protobuf.InvalidProtocolBufferException( 12805 e).setUnfinishedMessage(this); 12806 } finally { 12807 this.unknownFields = unknownFields.build(); 12808 makeExtensionsImmutable(); 12809 } 12810 } 12811 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()12812 getDescriptor() { 12813 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_descriptor; 12814 } 12815 12816 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()12817 internalGetFieldAccessorTable() { 12818 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_fieldAccessorTable 12819 .ensureFieldAccessorsInitialized( 12820 com.android.vts.proto.VtsReportMessage.LogMessage.class, com.android.vts.proto.VtsReportMessage.LogMessage.Builder.class); 12821 } 12822 12823 private int bitField0_; 12824 public static final int URL_FIELD_NUMBER = 1; 12825 private com.google.protobuf.ByteString url_; 12826 /** 12827 * <pre> 12828 * URL of a produced log file (e.g., stdout, stderr). 12829 * </pre> 12830 * 12831 * <code>optional bytes url = 1;</code> 12832 */ hasUrl()12833 public boolean hasUrl() { 12834 return ((bitField0_ & 0x00000001) == 0x00000001); 12835 } 12836 /** 12837 * <pre> 12838 * URL of a produced log file (e.g., stdout, stderr). 12839 * </pre> 12840 * 12841 * <code>optional bytes url = 1;</code> 12842 */ getUrl()12843 public com.google.protobuf.ByteString getUrl() { 12844 return url_; 12845 } 12846 12847 public static final int NAME_FIELD_NUMBER = 2; 12848 private com.google.protobuf.ByteString name_; 12849 /** 12850 * <pre> 12851 * Name of a log file. 12852 * </pre> 12853 * 12854 * <code>optional bytes name = 2;</code> 12855 */ hasName()12856 public boolean hasName() { 12857 return ((bitField0_ & 0x00000002) == 0x00000002); 12858 } 12859 /** 12860 * <pre> 12861 * Name of a log file. 12862 * </pre> 12863 * 12864 * <code>optional bytes name = 2;</code> 12865 */ getName()12866 public com.google.protobuf.ByteString getName() { 12867 return name_; 12868 } 12869 12870 public static final int CONTENT_FIELD_NUMBER = 3; 12871 private com.google.protobuf.ByteString content_; 12872 /** 12873 * <pre> 12874 * Content of log. Caution: do not put too much log in protobuf message, 12875 * as BigTable for example recommends < 10 MB for each record cell. 12876 * </pre> 12877 * 12878 * <code>optional bytes content = 3;</code> 12879 */ hasContent()12880 public boolean hasContent() { 12881 return ((bitField0_ & 0x00000004) == 0x00000004); 12882 } 12883 /** 12884 * <pre> 12885 * Content of log. Caution: do not put too much log in protobuf message, 12886 * as BigTable for example recommends < 10 MB for each record cell. 12887 * </pre> 12888 * 12889 * <code>optional bytes content = 3;</code> 12890 */ getContent()12891 public com.google.protobuf.ByteString getContent() { 12892 return content_; 12893 } 12894 12895 private byte memoizedIsInitialized = -1; isInitialized()12896 public final boolean isInitialized() { 12897 byte isInitialized = memoizedIsInitialized; 12898 if (isInitialized == 1) return true; 12899 if (isInitialized == 0) return false; 12900 12901 memoizedIsInitialized = 1; 12902 return true; 12903 } 12904 writeTo(com.google.protobuf.CodedOutputStream output)12905 public void writeTo(com.google.protobuf.CodedOutputStream output) 12906 throws java.io.IOException { 12907 if (((bitField0_ & 0x00000001) == 0x00000001)) { 12908 output.writeBytes(1, url_); 12909 } 12910 if (((bitField0_ & 0x00000002) == 0x00000002)) { 12911 output.writeBytes(2, name_); 12912 } 12913 if (((bitField0_ & 0x00000004) == 0x00000004)) { 12914 output.writeBytes(3, content_); 12915 } 12916 unknownFields.writeTo(output); 12917 } 12918 getSerializedSize()12919 public int getSerializedSize() { 12920 int size = memoizedSize; 12921 if (size != -1) return size; 12922 12923 size = 0; 12924 if (((bitField0_ & 0x00000001) == 0x00000001)) { 12925 size += com.google.protobuf.CodedOutputStream 12926 .computeBytesSize(1, url_); 12927 } 12928 if (((bitField0_ & 0x00000002) == 0x00000002)) { 12929 size += com.google.protobuf.CodedOutputStream 12930 .computeBytesSize(2, name_); 12931 } 12932 if (((bitField0_ & 0x00000004) == 0x00000004)) { 12933 size += com.google.protobuf.CodedOutputStream 12934 .computeBytesSize(3, content_); 12935 } 12936 size += unknownFields.getSerializedSize(); 12937 memoizedSize = size; 12938 return size; 12939 } 12940 12941 private static final long serialVersionUID = 0L; 12942 @java.lang.Override equals(final java.lang.Object obj)12943 public boolean equals(final java.lang.Object obj) { 12944 if (obj == this) { 12945 return true; 12946 } 12947 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.LogMessage)) { 12948 return super.equals(obj); 12949 } 12950 com.android.vts.proto.VtsReportMessage.LogMessage other = (com.android.vts.proto.VtsReportMessage.LogMessage) obj; 12951 12952 boolean result = true; 12953 result = result && (hasUrl() == other.hasUrl()); 12954 if (hasUrl()) { 12955 result = result && getUrl() 12956 .equals(other.getUrl()); 12957 } 12958 result = result && (hasName() == other.hasName()); 12959 if (hasName()) { 12960 result = result && getName() 12961 .equals(other.getName()); 12962 } 12963 result = result && (hasContent() == other.hasContent()); 12964 if (hasContent()) { 12965 result = result && getContent() 12966 .equals(other.getContent()); 12967 } 12968 result = result && unknownFields.equals(other.unknownFields); 12969 return result; 12970 } 12971 12972 @java.lang.Override hashCode()12973 public int hashCode() { 12974 if (memoizedHashCode != 0) { 12975 return memoizedHashCode; 12976 } 12977 int hash = 41; 12978 hash = (19 * hash) + getDescriptorForType().hashCode(); 12979 if (hasUrl()) { 12980 hash = (37 * hash) + URL_FIELD_NUMBER; 12981 hash = (53 * hash) + getUrl().hashCode(); 12982 } 12983 if (hasName()) { 12984 hash = (37 * hash) + NAME_FIELD_NUMBER; 12985 hash = (53 * hash) + getName().hashCode(); 12986 } 12987 if (hasContent()) { 12988 hash = (37 * hash) + CONTENT_FIELD_NUMBER; 12989 hash = (53 * hash) + getContent().hashCode(); 12990 } 12991 hash = (29 * hash) + unknownFields.hashCode(); 12992 memoizedHashCode = hash; 12993 return hash; 12994 } 12995 parseFrom( com.google.protobuf.ByteString data)12996 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( 12997 com.google.protobuf.ByteString data) 12998 throws com.google.protobuf.InvalidProtocolBufferException { 12999 return PARSER.parseFrom(data); 13000 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13001 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( 13002 com.google.protobuf.ByteString data, 13003 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13004 throws com.google.protobuf.InvalidProtocolBufferException { 13005 return PARSER.parseFrom(data, extensionRegistry); 13006 } parseFrom(byte[] data)13007 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom(byte[] data) 13008 throws com.google.protobuf.InvalidProtocolBufferException { 13009 return PARSER.parseFrom(data); 13010 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13011 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( 13012 byte[] data, 13013 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13014 throws com.google.protobuf.InvalidProtocolBufferException { 13015 return PARSER.parseFrom(data, extensionRegistry); 13016 } parseFrom(java.io.InputStream input)13017 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom(java.io.InputStream input) 13018 throws java.io.IOException { 13019 return com.google.protobuf.GeneratedMessageV3 13020 .parseWithIOException(PARSER, input); 13021 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13022 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( 13023 java.io.InputStream input, 13024 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13025 throws java.io.IOException { 13026 return com.google.protobuf.GeneratedMessageV3 13027 .parseWithIOException(PARSER, input, extensionRegistry); 13028 } parseDelimitedFrom(java.io.InputStream input)13029 public static com.android.vts.proto.VtsReportMessage.LogMessage parseDelimitedFrom(java.io.InputStream input) 13030 throws java.io.IOException { 13031 return com.google.protobuf.GeneratedMessageV3 13032 .parseDelimitedWithIOException(PARSER, input); 13033 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13034 public static com.android.vts.proto.VtsReportMessage.LogMessage parseDelimitedFrom( 13035 java.io.InputStream input, 13036 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13037 throws java.io.IOException { 13038 return com.google.protobuf.GeneratedMessageV3 13039 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 13040 } parseFrom( com.google.protobuf.CodedInputStream input)13041 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( 13042 com.google.protobuf.CodedInputStream input) 13043 throws java.io.IOException { 13044 return com.google.protobuf.GeneratedMessageV3 13045 .parseWithIOException(PARSER, input); 13046 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13047 public static com.android.vts.proto.VtsReportMessage.LogMessage parseFrom( 13048 com.google.protobuf.CodedInputStream input, 13049 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13050 throws java.io.IOException { 13051 return com.google.protobuf.GeneratedMessageV3 13052 .parseWithIOException(PARSER, input, extensionRegistry); 13053 } 13054 newBuilderForType()13055 public Builder newBuilderForType() { return newBuilder(); } newBuilder()13056 public static Builder newBuilder() { 13057 return DEFAULT_INSTANCE.toBuilder(); 13058 } newBuilder(com.android.vts.proto.VtsReportMessage.LogMessage prototype)13059 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.LogMessage prototype) { 13060 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 13061 } toBuilder()13062 public Builder toBuilder() { 13063 return this == DEFAULT_INSTANCE 13064 ? new Builder() : new Builder().mergeFrom(this); 13065 } 13066 13067 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)13068 protected Builder newBuilderForType( 13069 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13070 Builder builder = new Builder(parent); 13071 return builder; 13072 } 13073 /** 13074 * <pre> 13075 * To specify log report. This can be used either for per-test-module 13076 * log message or per-test-case log message. 13077 * </pre> 13078 * 13079 * Protobuf type {@code android.vts.LogMessage} 13080 */ 13081 public static final class Builder extends 13082 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 13083 // @@protoc_insertion_point(builder_implements:android.vts.LogMessage) 13084 com.android.vts.proto.VtsReportMessage.LogMessageOrBuilder { 13085 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()13086 getDescriptor() { 13087 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_descriptor; 13088 } 13089 13090 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()13091 internalGetFieldAccessorTable() { 13092 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_fieldAccessorTable 13093 .ensureFieldAccessorsInitialized( 13094 com.android.vts.proto.VtsReportMessage.LogMessage.class, com.android.vts.proto.VtsReportMessage.LogMessage.Builder.class); 13095 } 13096 13097 // Construct using com.android.vts.proto.VtsReportMessage.LogMessage.newBuilder() Builder()13098 private Builder() { 13099 maybeForceBuilderInitialization(); 13100 } 13101 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)13102 private Builder( 13103 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13104 super(parent); 13105 maybeForceBuilderInitialization(); 13106 } maybeForceBuilderInitialization()13107 private void maybeForceBuilderInitialization() { 13108 if (com.google.protobuf.GeneratedMessageV3 13109 .alwaysUseFieldBuilders) { 13110 } 13111 } clear()13112 public Builder clear() { 13113 super.clear(); 13114 url_ = com.google.protobuf.ByteString.EMPTY; 13115 bitField0_ = (bitField0_ & ~0x00000001); 13116 name_ = com.google.protobuf.ByteString.EMPTY; 13117 bitField0_ = (bitField0_ & ~0x00000002); 13118 content_ = com.google.protobuf.ByteString.EMPTY; 13119 bitField0_ = (bitField0_ & ~0x00000004); 13120 return this; 13121 } 13122 13123 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()13124 getDescriptorForType() { 13125 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_LogMessage_descriptor; 13126 } 13127 getDefaultInstanceForType()13128 public com.android.vts.proto.VtsReportMessage.LogMessage getDefaultInstanceForType() { 13129 return com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance(); 13130 } 13131 build()13132 public com.android.vts.proto.VtsReportMessage.LogMessage build() { 13133 com.android.vts.proto.VtsReportMessage.LogMessage result = buildPartial(); 13134 if (!result.isInitialized()) { 13135 throw newUninitializedMessageException(result); 13136 } 13137 return result; 13138 } 13139 buildPartial()13140 public com.android.vts.proto.VtsReportMessage.LogMessage buildPartial() { 13141 com.android.vts.proto.VtsReportMessage.LogMessage result = new com.android.vts.proto.VtsReportMessage.LogMessage(this); 13142 int from_bitField0_ = bitField0_; 13143 int to_bitField0_ = 0; 13144 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 13145 to_bitField0_ |= 0x00000001; 13146 } 13147 result.url_ = url_; 13148 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 13149 to_bitField0_ |= 0x00000002; 13150 } 13151 result.name_ = name_; 13152 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 13153 to_bitField0_ |= 0x00000004; 13154 } 13155 result.content_ = content_; 13156 result.bitField0_ = to_bitField0_; 13157 onBuilt(); 13158 return result; 13159 } 13160 clone()13161 public Builder clone() { 13162 return (Builder) super.clone(); 13163 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)13164 public Builder setField( 13165 com.google.protobuf.Descriptors.FieldDescriptor field, 13166 Object value) { 13167 return (Builder) super.setField(field, value); 13168 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)13169 public Builder clearField( 13170 com.google.protobuf.Descriptors.FieldDescriptor field) { 13171 return (Builder) super.clearField(field); 13172 } clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof)13173 public Builder clearOneof( 13174 com.google.protobuf.Descriptors.OneofDescriptor oneof) { 13175 return (Builder) super.clearOneof(oneof); 13176 } setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)13177 public Builder setRepeatedField( 13178 com.google.protobuf.Descriptors.FieldDescriptor field, 13179 int index, Object value) { 13180 return (Builder) super.setRepeatedField(field, index, value); 13181 } addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)13182 public Builder addRepeatedField( 13183 com.google.protobuf.Descriptors.FieldDescriptor field, 13184 Object value) { 13185 return (Builder) super.addRepeatedField(field, value); 13186 } mergeFrom(com.google.protobuf.Message other)13187 public Builder mergeFrom(com.google.protobuf.Message other) { 13188 if (other instanceof com.android.vts.proto.VtsReportMessage.LogMessage) { 13189 return mergeFrom((com.android.vts.proto.VtsReportMessage.LogMessage)other); 13190 } else { 13191 super.mergeFrom(other); 13192 return this; 13193 } 13194 } 13195 mergeFrom(com.android.vts.proto.VtsReportMessage.LogMessage other)13196 public Builder mergeFrom(com.android.vts.proto.VtsReportMessage.LogMessage other) { 13197 if (other == com.android.vts.proto.VtsReportMessage.LogMessage.getDefaultInstance()) return this; 13198 if (other.hasUrl()) { 13199 setUrl(other.getUrl()); 13200 } 13201 if (other.hasName()) { 13202 setName(other.getName()); 13203 } 13204 if (other.hasContent()) { 13205 setContent(other.getContent()); 13206 } 13207 this.mergeUnknownFields(other.unknownFields); 13208 onChanged(); 13209 return this; 13210 } 13211 isInitialized()13212 public final boolean isInitialized() { 13213 return true; 13214 } 13215 mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13216 public Builder mergeFrom( 13217 com.google.protobuf.CodedInputStream input, 13218 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13219 throws java.io.IOException { 13220 com.android.vts.proto.VtsReportMessage.LogMessage parsedMessage = null; 13221 try { 13222 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); 13223 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 13224 parsedMessage = (com.android.vts.proto.VtsReportMessage.LogMessage) e.getUnfinishedMessage(); 13225 throw e.unwrapIOException(); 13226 } finally { 13227 if (parsedMessage != null) { 13228 mergeFrom(parsedMessage); 13229 } 13230 } 13231 return this; 13232 } 13233 private int bitField0_; 13234 13235 private com.google.protobuf.ByteString url_ = com.google.protobuf.ByteString.EMPTY; 13236 /** 13237 * <pre> 13238 * URL of a produced log file (e.g., stdout, stderr). 13239 * </pre> 13240 * 13241 * <code>optional bytes url = 1;</code> 13242 */ hasUrl()13243 public boolean hasUrl() { 13244 return ((bitField0_ & 0x00000001) == 0x00000001); 13245 } 13246 /** 13247 * <pre> 13248 * URL of a produced log file (e.g., stdout, stderr). 13249 * </pre> 13250 * 13251 * <code>optional bytes url = 1;</code> 13252 */ getUrl()13253 public com.google.protobuf.ByteString getUrl() { 13254 return url_; 13255 } 13256 /** 13257 * <pre> 13258 * URL of a produced log file (e.g., stdout, stderr). 13259 * </pre> 13260 * 13261 * <code>optional bytes url = 1;</code> 13262 */ setUrl(com.google.protobuf.ByteString value)13263 public Builder setUrl(com.google.protobuf.ByteString value) { 13264 if (value == null) { 13265 throw new NullPointerException(); 13266 } 13267 bitField0_ |= 0x00000001; 13268 url_ = value; 13269 onChanged(); 13270 return this; 13271 } 13272 /** 13273 * <pre> 13274 * URL of a produced log file (e.g., stdout, stderr). 13275 * </pre> 13276 * 13277 * <code>optional bytes url = 1;</code> 13278 */ clearUrl()13279 public Builder clearUrl() { 13280 bitField0_ = (bitField0_ & ~0x00000001); 13281 url_ = getDefaultInstance().getUrl(); 13282 onChanged(); 13283 return this; 13284 } 13285 13286 private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; 13287 /** 13288 * <pre> 13289 * Name of a log file. 13290 * </pre> 13291 * 13292 * <code>optional bytes name = 2;</code> 13293 */ hasName()13294 public boolean hasName() { 13295 return ((bitField0_ & 0x00000002) == 0x00000002); 13296 } 13297 /** 13298 * <pre> 13299 * Name of a log file. 13300 * </pre> 13301 * 13302 * <code>optional bytes name = 2;</code> 13303 */ getName()13304 public com.google.protobuf.ByteString getName() { 13305 return name_; 13306 } 13307 /** 13308 * <pre> 13309 * Name of a log file. 13310 * </pre> 13311 * 13312 * <code>optional bytes name = 2;</code> 13313 */ setName(com.google.protobuf.ByteString value)13314 public Builder setName(com.google.protobuf.ByteString value) { 13315 if (value == null) { 13316 throw new NullPointerException(); 13317 } 13318 bitField0_ |= 0x00000002; 13319 name_ = value; 13320 onChanged(); 13321 return this; 13322 } 13323 /** 13324 * <pre> 13325 * Name of a log file. 13326 * </pre> 13327 * 13328 * <code>optional bytes name = 2;</code> 13329 */ clearName()13330 public Builder clearName() { 13331 bitField0_ = (bitField0_ & ~0x00000002); 13332 name_ = getDefaultInstance().getName(); 13333 onChanged(); 13334 return this; 13335 } 13336 13337 private com.google.protobuf.ByteString content_ = com.google.protobuf.ByteString.EMPTY; 13338 /** 13339 * <pre> 13340 * Content of log. Caution: do not put too much log in protobuf message, 13341 * as BigTable for example recommends < 10 MB for each record cell. 13342 * </pre> 13343 * 13344 * <code>optional bytes content = 3;</code> 13345 */ hasContent()13346 public boolean hasContent() { 13347 return ((bitField0_ & 0x00000004) == 0x00000004); 13348 } 13349 /** 13350 * <pre> 13351 * Content of log. Caution: do not put too much log in protobuf message, 13352 * as BigTable for example recommends < 10 MB for each record cell. 13353 * </pre> 13354 * 13355 * <code>optional bytes content = 3;</code> 13356 */ getContent()13357 public com.google.protobuf.ByteString getContent() { 13358 return content_; 13359 } 13360 /** 13361 * <pre> 13362 * Content of log. Caution: do not put too much log in protobuf message, 13363 * as BigTable for example recommends < 10 MB for each record cell. 13364 * </pre> 13365 * 13366 * <code>optional bytes content = 3;</code> 13367 */ setContent(com.google.protobuf.ByteString value)13368 public Builder setContent(com.google.protobuf.ByteString value) { 13369 if (value == null) { 13370 throw new NullPointerException(); 13371 } 13372 bitField0_ |= 0x00000004; 13373 content_ = value; 13374 onChanged(); 13375 return this; 13376 } 13377 /** 13378 * <pre> 13379 * Content of log. Caution: do not put too much log in protobuf message, 13380 * as BigTable for example recommends < 10 MB for each record cell. 13381 * </pre> 13382 * 13383 * <code>optional bytes content = 3;</code> 13384 */ clearContent()13385 public Builder clearContent() { 13386 bitField0_ = (bitField0_ & ~0x00000004); 13387 content_ = getDefaultInstance().getContent(); 13388 onChanged(); 13389 return this; 13390 } setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)13391 public final Builder setUnknownFields( 13392 final com.google.protobuf.UnknownFieldSet unknownFields) { 13393 return super.setUnknownFields(unknownFields); 13394 } 13395 mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields)13396 public final Builder mergeUnknownFields( 13397 final com.google.protobuf.UnknownFieldSet unknownFields) { 13398 return super.mergeUnknownFields(unknownFields); 13399 } 13400 13401 13402 // @@protoc_insertion_point(builder_scope:android.vts.LogMessage) 13403 } 13404 13405 // @@protoc_insertion_point(class_scope:android.vts.LogMessage) 13406 private static final com.android.vts.proto.VtsReportMessage.LogMessage DEFAULT_INSTANCE; 13407 static { 13408 DEFAULT_INSTANCE = new com.android.vts.proto.VtsReportMessage.LogMessage(); 13409 } 13410 getDefaultInstance()13411 public static com.android.vts.proto.VtsReportMessage.LogMessage getDefaultInstance() { 13412 return DEFAULT_INSTANCE; 13413 } 13414 13415 @java.lang.Deprecated public static final com.google.protobuf.Parser<LogMessage> 13416 PARSER = new com.google.protobuf.AbstractParser<LogMessage>() { 13417 public LogMessage parsePartialFrom( 13418 com.google.protobuf.CodedInputStream input, 13419 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13420 throws com.google.protobuf.InvalidProtocolBufferException { 13421 return new LogMessage(input, extensionRegistry); 13422 } 13423 }; 13424 parser()13425 public static com.google.protobuf.Parser<LogMessage> parser() { 13426 return PARSER; 13427 } 13428 13429 @java.lang.Override getParserForType()13430 public com.google.protobuf.Parser<LogMessage> getParserForType() { 13431 return PARSER; 13432 } 13433 getDefaultInstanceForType()13434 public com.android.vts.proto.VtsReportMessage.LogMessage getDefaultInstanceForType() { 13435 return DEFAULT_INSTANCE; 13436 } 13437 13438 } 13439 13440 public interface UrlResourceMessageOrBuilder extends 13441 // @@protoc_insertion_point(interface_extends:android.vts.UrlResourceMessage) 13442 com.google.protobuf.MessageOrBuilder { 13443 13444 /** 13445 * <pre> 13446 * URL of a resource file. 13447 * </pre> 13448 * 13449 * <code>optional bytes url = 1;</code> 13450 */ hasUrl()13451 boolean hasUrl(); 13452 /** 13453 * <pre> 13454 * URL of a resource file. 13455 * </pre> 13456 * 13457 * <code>optional bytes url = 1;</code> 13458 */ getUrl()13459 com.google.protobuf.ByteString getUrl(); 13460 13461 /** 13462 * <pre> 13463 * Name of a resource file representing its type and does not have to be 13464 * the same as the exact file name. 13465 * </pre> 13466 * 13467 * <code>optional bytes name = 2;</code> 13468 */ hasName()13469 boolean hasName(); 13470 /** 13471 * <pre> 13472 * Name of a resource file representing its type and does not have to be 13473 * the same as the exact file name. 13474 * </pre> 13475 * 13476 * <code>optional bytes name = 2;</code> 13477 */ getName()13478 com.google.protobuf.ByteString getName(); 13479 13480 /** 13481 * <pre> 13482 * Raw content of a resource file. Used if the file is small. 13483 * </pre> 13484 * 13485 * <code>optional bytes content = 3;</code> 13486 */ hasContent()13487 boolean hasContent(); 13488 /** 13489 * <pre> 13490 * Raw content of a resource file. Used if the file is small. 13491 * </pre> 13492 * 13493 * <code>optional bytes content = 3;</code> 13494 */ getContent()13495 com.google.protobuf.ByteString getContent(); 13496 } 13497 /** 13498 * <pre> 13499 * To specify a resource object (reachable via a URL or contained in the 13500 * message). This can be used to store a log file or an XML (or HTML) report 13501 * file kept in a Google Cloud Storage (GCS) bucket or partner's network file 13502 * system, or hosted by a HTTP server. 13503 * </pre> 13504 * 13505 * Protobuf type {@code android.vts.UrlResourceMessage} 13506 */ 13507 public static final class UrlResourceMessage extends 13508 com.google.protobuf.GeneratedMessageV3 implements 13509 // @@protoc_insertion_point(message_implements:android.vts.UrlResourceMessage) 13510 UrlResourceMessageOrBuilder { 13511 // Use UrlResourceMessage.newBuilder() to construct. UrlResourceMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)13512 private UrlResourceMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { 13513 super(builder); 13514 } UrlResourceMessage()13515 private UrlResourceMessage() { 13516 url_ = com.google.protobuf.ByteString.EMPTY; 13517 name_ = com.google.protobuf.ByteString.EMPTY; 13518 content_ = com.google.protobuf.ByteString.EMPTY; 13519 } 13520 13521 @java.lang.Override 13522 public final com.google.protobuf.UnknownFieldSet getUnknownFields()13523 getUnknownFields() { 13524 return this.unknownFields; 13525 } UrlResourceMessage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13526 private UrlResourceMessage( 13527 com.google.protobuf.CodedInputStream input, 13528 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13529 throws com.google.protobuf.InvalidProtocolBufferException { 13530 this(); 13531 int mutable_bitField0_ = 0; 13532 com.google.protobuf.UnknownFieldSet.Builder unknownFields = 13533 com.google.protobuf.UnknownFieldSet.newBuilder(); 13534 try { 13535 boolean done = false; 13536 while (!done) { 13537 int tag = input.readTag(); 13538 switch (tag) { 13539 case 0: 13540 done = true; 13541 break; 13542 default: { 13543 if (!parseUnknownField(input, unknownFields, 13544 extensionRegistry, tag)) { 13545 done = true; 13546 } 13547 break; 13548 } 13549 case 10: { 13550 bitField0_ |= 0x00000001; 13551 url_ = input.readBytes(); 13552 break; 13553 } 13554 case 18: { 13555 bitField0_ |= 0x00000002; 13556 name_ = input.readBytes(); 13557 break; 13558 } 13559 case 26: { 13560 bitField0_ |= 0x00000004; 13561 content_ = input.readBytes(); 13562 break; 13563 } 13564 } 13565 } 13566 } catch (com.google.protobuf.InvalidProtocolBufferException e) { 13567 throw e.setUnfinishedMessage(this); 13568 } catch (java.io.IOException e) { 13569 throw new com.google.protobuf.InvalidProtocolBufferException( 13570 e).setUnfinishedMessage(this); 13571 } finally { 13572 this.unknownFields = unknownFields.build(); 13573 makeExtensionsImmutable(); 13574 } 13575 } 13576 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()13577 getDescriptor() { 13578 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_descriptor; 13579 } 13580 13581 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()13582 internalGetFieldAccessorTable() { 13583 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_fieldAccessorTable 13584 .ensureFieldAccessorsInitialized( 13585 com.android.vts.proto.VtsReportMessage.UrlResourceMessage.class, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder.class); 13586 } 13587 13588 private int bitField0_; 13589 public static final int URL_FIELD_NUMBER = 1; 13590 private com.google.protobuf.ByteString url_; 13591 /** 13592 * <pre> 13593 * URL of a resource file. 13594 * </pre> 13595 * 13596 * <code>optional bytes url = 1;</code> 13597 */ hasUrl()13598 public boolean hasUrl() { 13599 return ((bitField0_ & 0x00000001) == 0x00000001); 13600 } 13601 /** 13602 * <pre> 13603 * URL of a resource file. 13604 * </pre> 13605 * 13606 * <code>optional bytes url = 1;</code> 13607 */ getUrl()13608 public com.google.protobuf.ByteString getUrl() { 13609 return url_; 13610 } 13611 13612 public static final int NAME_FIELD_NUMBER = 2; 13613 private com.google.protobuf.ByteString name_; 13614 /** 13615 * <pre> 13616 * Name of a resource file representing its type and does not have to be 13617 * the same as the exact file name. 13618 * </pre> 13619 * 13620 * <code>optional bytes name = 2;</code> 13621 */ hasName()13622 public boolean hasName() { 13623 return ((bitField0_ & 0x00000002) == 0x00000002); 13624 } 13625 /** 13626 * <pre> 13627 * Name of a resource file representing its type and does not have to be 13628 * the same as the exact file name. 13629 * </pre> 13630 * 13631 * <code>optional bytes name = 2;</code> 13632 */ getName()13633 public com.google.protobuf.ByteString getName() { 13634 return name_; 13635 } 13636 13637 public static final int CONTENT_FIELD_NUMBER = 3; 13638 private com.google.protobuf.ByteString content_; 13639 /** 13640 * <pre> 13641 * Raw content of a resource file. Used if the file is small. 13642 * </pre> 13643 * 13644 * <code>optional bytes content = 3;</code> 13645 */ hasContent()13646 public boolean hasContent() { 13647 return ((bitField0_ & 0x00000004) == 0x00000004); 13648 } 13649 /** 13650 * <pre> 13651 * Raw content of a resource file. Used if the file is small. 13652 * </pre> 13653 * 13654 * <code>optional bytes content = 3;</code> 13655 */ getContent()13656 public com.google.protobuf.ByteString getContent() { 13657 return content_; 13658 } 13659 13660 private byte memoizedIsInitialized = -1; isInitialized()13661 public final boolean isInitialized() { 13662 byte isInitialized = memoizedIsInitialized; 13663 if (isInitialized == 1) return true; 13664 if (isInitialized == 0) return false; 13665 13666 memoizedIsInitialized = 1; 13667 return true; 13668 } 13669 writeTo(com.google.protobuf.CodedOutputStream output)13670 public void writeTo(com.google.protobuf.CodedOutputStream output) 13671 throws java.io.IOException { 13672 if (((bitField0_ & 0x00000001) == 0x00000001)) { 13673 output.writeBytes(1, url_); 13674 } 13675 if (((bitField0_ & 0x00000002) == 0x00000002)) { 13676 output.writeBytes(2, name_); 13677 } 13678 if (((bitField0_ & 0x00000004) == 0x00000004)) { 13679 output.writeBytes(3, content_); 13680 } 13681 unknownFields.writeTo(output); 13682 } 13683 getSerializedSize()13684 public int getSerializedSize() { 13685 int size = memoizedSize; 13686 if (size != -1) return size; 13687 13688 size = 0; 13689 if (((bitField0_ & 0x00000001) == 0x00000001)) { 13690 size += com.google.protobuf.CodedOutputStream 13691 .computeBytesSize(1, url_); 13692 } 13693 if (((bitField0_ & 0x00000002) == 0x00000002)) { 13694 size += com.google.protobuf.CodedOutputStream 13695 .computeBytesSize(2, name_); 13696 } 13697 if (((bitField0_ & 0x00000004) == 0x00000004)) { 13698 size += com.google.protobuf.CodedOutputStream 13699 .computeBytesSize(3, content_); 13700 } 13701 size += unknownFields.getSerializedSize(); 13702 memoizedSize = size; 13703 return size; 13704 } 13705 13706 private static final long serialVersionUID = 0L; 13707 @java.lang.Override equals(final java.lang.Object obj)13708 public boolean equals(final java.lang.Object obj) { 13709 if (obj == this) { 13710 return true; 13711 } 13712 if (!(obj instanceof com.android.vts.proto.VtsReportMessage.UrlResourceMessage)) { 13713 return super.equals(obj); 13714 } 13715 com.android.vts.proto.VtsReportMessage.UrlResourceMessage other = (com.android.vts.proto.VtsReportMessage.UrlResourceMessage) obj; 13716 13717 boolean result = true; 13718 result = result && (hasUrl() == other.hasUrl()); 13719 if (hasUrl()) { 13720 result = result && getUrl() 13721 .equals(other.getUrl()); 13722 } 13723 result = result && (hasName() == other.hasName()); 13724 if (hasName()) { 13725 result = result && getName() 13726 .equals(other.getName()); 13727 } 13728 result = result && (hasContent() == other.hasContent()); 13729 if (hasContent()) { 13730 result = result && getContent() 13731 .equals(other.getContent()); 13732 } 13733 result = result && unknownFields.equals(other.unknownFields); 13734 return result; 13735 } 13736 13737 @java.lang.Override hashCode()13738 public int hashCode() { 13739 if (memoizedHashCode != 0) { 13740 return memoizedHashCode; 13741 } 13742 int hash = 41; 13743 hash = (19 * hash) + getDescriptorForType().hashCode(); 13744 if (hasUrl()) { 13745 hash = (37 * hash) + URL_FIELD_NUMBER; 13746 hash = (53 * hash) + getUrl().hashCode(); 13747 } 13748 if (hasName()) { 13749 hash = (37 * hash) + NAME_FIELD_NUMBER; 13750 hash = (53 * hash) + getName().hashCode(); 13751 } 13752 if (hasContent()) { 13753 hash = (37 * hash) + CONTENT_FIELD_NUMBER; 13754 hash = (53 * hash) + getContent().hashCode(); 13755 } 13756 hash = (29 * hash) + unknownFields.hashCode(); 13757 memoizedHashCode = hash; 13758 return hash; 13759 } 13760 parseFrom( com.google.protobuf.ByteString data)13761 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( 13762 com.google.protobuf.ByteString data) 13763 throws com.google.protobuf.InvalidProtocolBufferException { 13764 return PARSER.parseFrom(data); 13765 } parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13766 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( 13767 com.google.protobuf.ByteString data, 13768 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13769 throws com.google.protobuf.InvalidProtocolBufferException { 13770 return PARSER.parseFrom(data, extensionRegistry); 13771 } parseFrom(byte[] data)13772 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom(byte[] data) 13773 throws com.google.protobuf.InvalidProtocolBufferException { 13774 return PARSER.parseFrom(data); 13775 } parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13776 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( 13777 byte[] data, 13778 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13779 throws com.google.protobuf.InvalidProtocolBufferException { 13780 return PARSER.parseFrom(data, extensionRegistry); 13781 } parseFrom(java.io.InputStream input)13782 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom(java.io.InputStream input) 13783 throws java.io.IOException { 13784 return com.google.protobuf.GeneratedMessageV3 13785 .parseWithIOException(PARSER, input); 13786 } parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13787 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( 13788 java.io.InputStream input, 13789 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13790 throws java.io.IOException { 13791 return com.google.protobuf.GeneratedMessageV3 13792 .parseWithIOException(PARSER, input, extensionRegistry); 13793 } parseDelimitedFrom(java.io.InputStream input)13794 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseDelimitedFrom(java.io.InputStream input) 13795 throws java.io.IOException { 13796 return com.google.protobuf.GeneratedMessageV3 13797 .parseDelimitedWithIOException(PARSER, input); 13798 } parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13799 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseDelimitedFrom( 13800 java.io.InputStream input, 13801 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13802 throws java.io.IOException { 13803 return com.google.protobuf.GeneratedMessageV3 13804 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); 13805 } parseFrom( com.google.protobuf.CodedInputStream input)13806 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( 13807 com.google.protobuf.CodedInputStream input) 13808 throws java.io.IOException { 13809 return com.google.protobuf.GeneratedMessageV3 13810 .parseWithIOException(PARSER, input); 13811 } parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)13812 public static com.android.vts.proto.VtsReportMessage.UrlResourceMessage parseFrom( 13813 com.google.protobuf.CodedInputStream input, 13814 com.google.protobuf.ExtensionRegistryLite extensionRegistry) 13815 throws java.io.IOException { 13816 return com.google.protobuf.GeneratedMessageV3 13817 .parseWithIOException(PARSER, input, extensionRegistry); 13818 } 13819 newBuilderForType()13820 public Builder newBuilderForType() { return newBuilder(); } newBuilder()13821 public static Builder newBuilder() { 13822 return DEFAULT_INSTANCE.toBuilder(); 13823 } newBuilder(com.android.vts.proto.VtsReportMessage.UrlResourceMessage prototype)13824 public static Builder newBuilder(com.android.vts.proto.VtsReportMessage.UrlResourceMessage prototype) { 13825 return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); 13826 } toBuilder()13827 public Builder toBuilder() { 13828 return this == DEFAULT_INSTANCE 13829 ? new Builder() : new Builder().mergeFrom(this); 13830 } 13831 13832 @java.lang.Override newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)13833 protected Builder newBuilderForType( 13834 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13835 Builder builder = new Builder(parent); 13836 return builder; 13837 } 13838 /** 13839 * <pre> 13840 * To specify a resource object (reachable via a URL or contained in the 13841 * message). This can be used to store a log file or an XML (or HTML) report 13842 * file kept in a Google Cloud Storage (GCS) bucket or partner's network file 13843 * system, or hosted by a HTTP server. 13844 * </pre> 13845 * 13846 * Protobuf type {@code android.vts.UrlResourceMessage} 13847 */ 13848 public static final class Builder extends 13849 com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements 13850 // @@protoc_insertion_point(builder_implements:android.vts.UrlResourceMessage) 13851 com.android.vts.proto.VtsReportMessage.UrlResourceMessageOrBuilder { 13852 public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()13853 getDescriptor() { 13854 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_descriptor; 13855 } 13856 13857 protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()13858 internalGetFieldAccessorTable() { 13859 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_fieldAccessorTable 13860 .ensureFieldAccessorsInitialized( 13861 com.android.vts.proto.VtsReportMessage.UrlResourceMessage.class, com.android.vts.proto.VtsReportMessage.UrlResourceMessage.Builder.class); 13862 } 13863 13864 // Construct using com.android.vts.proto.VtsReportMessage.UrlResourceMessage.newBuilder() Builder()13865 private Builder() { 13866 maybeForceBuilderInitialization(); 13867 } 13868 Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent)13869 private Builder( 13870 com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { 13871 super(parent); 13872 maybeForceBuilderInitialization(); 13873 } maybeForceBuilderInitialization()13874 private void maybeForceBuilderInitialization() { 13875 if (com.google.protobuf.GeneratedMessageV3 13876 .alwaysUseFieldBuilders) { 13877 } 13878 } clear()13879 public Builder clear() { 13880 super.clear(); 13881 url_ = com.google.protobuf.ByteString.EMPTY; 13882 bitField0_ = (bitField0_ & ~0x00000001); 13883 name_ = com.google.protobuf.ByteString.EMPTY; 13884 bitField0_ = (bitField0_ & ~0x00000002); 13885 content_ = com.google.protobuf.ByteString.EMPTY; 13886 bitField0_ = (bitField0_ & ~0x00000004); 13887 return this; 13888 } 13889 13890 public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()13891 getDescriptorForType() { 13892 return com.android.vts.proto.VtsReportMessage.internal_static_android_vts_UrlResourceMessage_descriptor; 13893 } 13894 getDefaultInstanceForType()13895 public com.android.vts.proto.VtsReportMessage.UrlResourceMessage getDefaultInstanceForType() { 13896 return com.android.vts.proto.VtsReportMessage.UrlResourceMessage.getDefaultInstance(); 13897 } 13898 build()13899 public com.android.vts.proto.VtsReportMessage.UrlResourceMessage build() { 13900 com.android.vts.proto.VtsReportMessage.UrlResourceMessage result = buildPartial(); 13901 if (!result.isInitialized()) { 13902 throw newUninitializedMessageException(result); 13903 } 13904 return result; 13905 } 13906 buildPartial()13907 public com.android.vts.proto.VtsReportMessage.UrlResourceMessage buildPartial() { 13908 com.android.vts.proto.VtsReportMessage.UrlResourceMessage result = new com.android.vts.proto.VtsReportMessage.UrlResourceMessage(this); 13909 int from_bitField0_ = bitField0_; 13910 int to_bitField0_ = 0; 13911 if (((from_bitField0_ & 0x00000001) == 0x00000001)) { 13912 to_bitField0_ |= 0x00000001; 13913 } 13914 result.url_ = url_; 13915 if (((from_bitField0_ & 0x00000002) == 0x00000002)) { 13916 to_bitField0_ |= 0x00000002; 13917 } 13918 result.name_ = name_; 13919 if (((from_bitField0_ & 0x00000004) == 0x00000004)) { 13920 to_bitField0_ |= 0x00000004; 13921 } 13922 result.content_ = content_; 13923 result.bitField0_ = to_bitField0_; 13924 onBuilt(); 13925 return result; 13926 } 13927 clone()13928 public Builder clone() { 13929 return (Builder) super.clone(); 13930 } setField( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)13931 public Builder setField( 13932 com.google.protobuf.Descriptors.FieldDescriptor field, 13933 Object value) { 13934 return (Builder) super.setField(field, value); 13935 } clearField( com.google.protobuf.Descriptors.FieldDescriptor field)13936