summaryrefslogtreecommitdiff
path: root/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java')
-rw-r--r--src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java4512
1 files changed, 0 insertions, 4512 deletions
diff --git a/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java b/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java
deleted file mode 100644
index f152227..0000000
--- a/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java
+++ /dev/null
@@ -1,4512 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: TestSuiteResultMessage.proto
-
-package com.android.vts.proto;
-
-public final class TestSuiteResultMessageProto {
- private TestSuiteResultMessageProto() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- public interface TestSuiteResultMessageOrBuilder extends
- // @@protoc_insertion_point(interface_extends:android.vts.TestSuiteResultMessage)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- boolean hasAccessToken();
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- java.lang.String getAccessToken();
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- com.google.protobuf.ByteString
- getAccessTokenBytes();
-
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- boolean hasResultPath();
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- java.lang.String getResultPath();
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- com.google.protobuf.ByteString
- getResultPathBytes();
-
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- boolean hasBootSuccess();
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- boolean getBootSuccess();
-
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- boolean hasBranch();
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- java.lang.String getBranch();
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- com.google.protobuf.ByteString
- getBranchBytes();
-
- /**
- * <code>required string target = 12;</code>
- */
- boolean hasTarget();
- /**
- * <code>required string target = 12;</code>
- */
- java.lang.String getTarget();
- /**
- * <code>required string target = 12;</code>
- */
- com.google.protobuf.ByteString
- getTargetBytes();
-
- /**
- * <code>required string build_id = 13;</code>
- */
- boolean hasBuildId();
- /**
- * <code>required string build_id = 13;</code>
- */
- java.lang.String getBuildId();
- /**
- * <code>required string build_id = 13;</code>
- */
- com.google.protobuf.ByteString
- getBuildIdBytes();
-
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- boolean hasSuitePlan();
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- java.lang.String getSuitePlan();
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- com.google.protobuf.ByteString
- getSuitePlanBytes();
-
- /**
- * <code>optional string suite_version = 22;</code>
- */
- boolean hasSuiteVersion();
- /**
- * <code>optional string suite_version = 22;</code>
- */
- java.lang.String getSuiteVersion();
- /**
- * <code>optional string suite_version = 22;</code>
- */
- com.google.protobuf.ByteString
- getSuiteVersionBytes();
-
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- boolean hasSuiteBuildNumber();
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- java.lang.String getSuiteBuildNumber();
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- com.google.protobuf.ByteString
- getSuiteBuildNumberBytes();
-
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- boolean hasStartTime();
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- long getStartTime();
-
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- boolean hasEndTime();
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- long getEndTime();
-
- /**
- * <code>optional string host_name = 26;</code>
- */
- boolean hasHostName();
- /**
- * <code>optional string host_name = 26;</code>
- */
- java.lang.String getHostName();
- /**
- * <code>optional string host_name = 26;</code>
- */
- com.google.protobuf.ByteString
- getHostNameBytes();
-
- /**
- * <code>optional string suite_name = 27;</code>
- */
- boolean hasSuiteName();
- /**
- * <code>optional string suite_name = 27;</code>
- */
- java.lang.String getSuiteName();
- /**
- * <code>optional string suite_name = 27;</code>
- */
- com.google.protobuf.ByteString
- getSuiteNameBytes();
-
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- boolean hasBuildSystemFingerprint();
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- java.lang.String getBuildSystemFingerprint();
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- com.google.protobuf.ByteString
- getBuildSystemFingerprintBytes();
-
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- boolean hasBuildVendorFingerprint();
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- java.lang.String getBuildVendorFingerprint();
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- com.google.protobuf.ByteString
- getBuildVendorFingerprintBytes();
-
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- boolean hasTestType();
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- int getTestType();
-
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- boolean hasPassedTestCaseCount();
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- int getPassedTestCaseCount();
-
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- boolean hasFailedTestCaseCount();
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- int getFailedTestCaseCount();
-
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- boolean hasModulesDone();
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- int getModulesDone();
-
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- boolean hasModulesTotal();
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- int getModulesTotal();
-
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- boolean hasInfraLogPath();
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- java.lang.String getInfraLogPath();
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- com.google.protobuf.ByteString
- getInfraLogPathBytes();
-
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- java.util.List<java.lang.String>
- getRepackedImagePathList();
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- int getRepackedImagePathCount();
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- java.lang.String getRepackedImagePath(int index);
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- com.google.protobuf.ByteString
- getRepackedImagePathBytes(int index);
-
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- boolean hasVendorBuildId();
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- java.lang.String getVendorBuildId();
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- com.google.protobuf.ByteString
- getVendorBuildIdBytes();
-
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- boolean hasGsiBuildId();
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- java.lang.String getGsiBuildId();
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- com.google.protobuf.ByteString
- getGsiBuildIdBytes();
-
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated boolean hasScheduleConfig();
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage getScheduleConfig();
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessageOrBuilder getScheduleConfigOrBuilder();
- }
- /**
- * <pre>
- * To specify the test results which are uploaded to vts dashboard.
- * </pre>
- *
- * Protobuf type {@code android.vts.TestSuiteResultMessage}
- */
- public static final class TestSuiteResultMessage extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:android.vts.TestSuiteResultMessage)
- TestSuiteResultMessageOrBuilder {
- // Use TestSuiteResultMessage.newBuilder() to construct.
- private TestSuiteResultMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private TestSuiteResultMessage() {
- accessToken_ = "";
- resultPath_ = "";
- bootSuccess_ = true;
- branch_ = "";
- target_ = "";
- buildId_ = "";
- suitePlan_ = "";
- suiteVersion_ = "";
- suiteBuildNumber_ = "";
- startTime_ = 0L;
- endTime_ = 0L;
- hostName_ = "";
- suiteName_ = "";
- buildSystemFingerprint_ = "";
- buildVendorFingerprint_ = "";
- testType_ = 0;
- passedTestCaseCount_ = 0;
- failedTestCaseCount_ = 0;
- modulesDone_ = 0;
- modulesTotal_ = 0;
- infraLogPath_ = "";
- repackedImagePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- vendorBuildId_ = "";
- gsiBuildId_ = "";
- }
-
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private TestSuiteResultMessage(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- this();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000001;
- accessToken_ = bs;
- break;
- }
- case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000002;
- resultPath_ = bs;
- break;
- }
- case 24: {
- bitField0_ |= 0x00000004;
- bootSuccess_ = input.readBool();
- break;
- }
- case 90: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000008;
- branch_ = bs;
- break;
- }
- case 98: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000010;
- target_ = bs;
- break;
- }
- case 106: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000020;
- buildId_ = bs;
- break;
- }
- case 170: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000040;
- suitePlan_ = bs;
- break;
- }
- case 178: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000080;
- suiteVersion_ = bs;
- break;
- }
- case 186: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000100;
- suiteBuildNumber_ = bs;
- break;
- }
- case 192: {
- bitField0_ |= 0x00000200;
- startTime_ = input.readInt64();
- break;
- }
- case 200: {
- bitField0_ |= 0x00000400;
- endTime_ = input.readInt64();
- break;
- }
- case 210: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00000800;
- hostName_ = bs;
- break;
- }
- case 218: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00001000;
- suiteName_ = bs;
- break;
- }
- case 250: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00002000;
- buildSystemFingerprint_ = bs;
- break;
- }
- case 258: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00004000;
- buildVendorFingerprint_ = bs;
- break;
- }
- case 264: {
- bitField0_ |= 0x00008000;
- testType_ = input.readInt32();
- break;
- }
- case 328: {
- bitField0_ |= 0x00010000;
- passedTestCaseCount_ = input.readInt32();
- break;
- }
- case 336: {
- bitField0_ |= 0x00020000;
- failedTestCaseCount_ = input.readInt32();
- break;
- }
- case 344: {
- bitField0_ |= 0x00040000;
- modulesDone_ = input.readInt32();
- break;
- }
- case 352: {
- bitField0_ |= 0x00080000;
- modulesTotal_ = input.readInt32();
- break;
- }
- case 410: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00100000;
- infraLogPath_ = bs;
- break;
- }
- case 418: {
- com.google.protobuf.ByteString bs = input.readBytes();
- if (!((mutable_bitField0_ & 0x00200000) == 0x00200000)) {
- repackedImagePath_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00200000;
- }
- repackedImagePath_.add(bs);
- break;
- }
- case 490: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00200000;
- vendorBuildId_ = bs;
- break;
- }
- case 498: {
- com.google.protobuf.ByteString bs = input.readBytes();
- bitField0_ |= 0x00400000;
- gsiBuildId_ = bs;
- break;
- }
- case 506: {
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.Builder subBuilder = null;
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
- subBuilder = scheduleConfig_.toBuilder();
- }
- scheduleConfig_ = input.readMessage(com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(scheduleConfig_);
- scheduleConfig_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00800000;
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e).setUnfinishedMessage(this);
- } finally {
- if (((mutable_bitField0_ & 0x00200000) == 0x00200000)) {
- repackedImagePath_ = repackedImagePath_.getUnmodifiableView();
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.android.vts.proto.TestSuiteResultMessageProto.internal_static_android_vts_TestSuiteResultMessage_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.android.vts.proto.TestSuiteResultMessageProto.internal_static_android_vts_TestSuiteResultMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.class, com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder.class);
- }
-
- private int bitField0_;
- public static final int ACCESS_TOKEN_FIELD_NUMBER = 1;
- private volatile java.lang.Object accessToken_;
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public boolean hasAccessToken() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public java.lang.String getAccessToken() {
- java.lang.Object ref = accessToken_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- accessToken_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public com.google.protobuf.ByteString
- getAccessTokenBytes() {
- java.lang.Object ref = accessToken_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- accessToken_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int RESULT_PATH_FIELD_NUMBER = 2;
- private volatile java.lang.Object resultPath_;
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public boolean hasResultPath() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public java.lang.String getResultPath() {
- java.lang.Object ref = resultPath_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- resultPath_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public com.google.protobuf.ByteString
- getResultPathBytes() {
- java.lang.Object ref = resultPath_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- resultPath_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int BOOT_SUCCESS_FIELD_NUMBER = 3;
- private boolean bootSuccess_;
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- public boolean hasBootSuccess() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- public boolean getBootSuccess() {
- return bootSuccess_;
- }
-
- public static final int BRANCH_FIELD_NUMBER = 11;
- private volatile java.lang.Object branch_;
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public boolean hasBranch() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public java.lang.String getBranch() {
- java.lang.Object ref = branch_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- branch_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public com.google.protobuf.ByteString
- getBranchBytes() {
- java.lang.Object ref = branch_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- branch_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int TARGET_FIELD_NUMBER = 12;
- private volatile java.lang.Object target_;
- /**
- * <code>required string target = 12;</code>
- */
- public boolean hasTarget() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * <code>required string target = 12;</code>
- */
- public java.lang.String getTarget() {
- java.lang.Object ref = target_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- target_ = s;
- }
- return s;
- }
- }
- /**
- * <code>required string target = 12;</code>
- */
- public com.google.protobuf.ByteString
- getTargetBytes() {
- java.lang.Object ref = target_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- target_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int BUILD_ID_FIELD_NUMBER = 13;
- private volatile java.lang.Object buildId_;
- /**
- * <code>required string build_id = 13;</code>
- */
- public boolean hasBuildId() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- /**
- * <code>required string build_id = 13;</code>
- */
- public java.lang.String getBuildId() {
- java.lang.Object ref = buildId_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- buildId_ = s;
- }
- return s;
- }
- }
- /**
- * <code>required string build_id = 13;</code>
- */
- public com.google.protobuf.ByteString
- getBuildIdBytes() {
- java.lang.Object ref = buildId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- buildId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int SUITE_PLAN_FIELD_NUMBER = 21;
- private volatile java.lang.Object suitePlan_;
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public boolean hasSuitePlan() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public java.lang.String getSuitePlan() {
- java.lang.Object ref = suitePlan_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suitePlan_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public com.google.protobuf.ByteString
- getSuitePlanBytes() {
- java.lang.Object ref = suitePlan_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suitePlan_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int SUITE_VERSION_FIELD_NUMBER = 22;
- private volatile java.lang.Object suiteVersion_;
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public boolean hasSuiteVersion() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public java.lang.String getSuiteVersion() {
- java.lang.Object ref = suiteVersion_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suiteVersion_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public com.google.protobuf.ByteString
- getSuiteVersionBytes() {
- java.lang.Object ref = suiteVersion_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suiteVersion_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int SUITE_BUILD_NUMBER_FIELD_NUMBER = 23;
- private volatile java.lang.Object suiteBuildNumber_;
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public boolean hasSuiteBuildNumber() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public java.lang.String getSuiteBuildNumber() {
- java.lang.Object ref = suiteBuildNumber_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suiteBuildNumber_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public com.google.protobuf.ByteString
- getSuiteBuildNumberBytes() {
- java.lang.Object ref = suiteBuildNumber_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suiteBuildNumber_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int START_TIME_FIELD_NUMBER = 24;
- private long startTime_;
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- public boolean hasStartTime() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- public long getStartTime() {
- return startTime_;
- }
-
- public static final int END_TIME_FIELD_NUMBER = 25;
- private long endTime_;
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- public boolean hasEndTime() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- public long getEndTime() {
- return endTime_;
- }
-
- public static final int HOST_NAME_FIELD_NUMBER = 26;
- private volatile java.lang.Object hostName_;
- /**
- * <code>optional string host_name = 26;</code>
- */
- public boolean hasHostName() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- /**
- * <code>optional string host_name = 26;</code>
- */
- public java.lang.String getHostName() {
- java.lang.Object ref = hostName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- hostName_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string host_name = 26;</code>
- */
- public com.google.protobuf.ByteString
- getHostNameBytes() {
- java.lang.Object ref = hostName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- hostName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int SUITE_NAME_FIELD_NUMBER = 27;
- private volatile java.lang.Object suiteName_;
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public boolean hasSuiteName() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public java.lang.String getSuiteName() {
- java.lang.Object ref = suiteName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suiteName_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public com.google.protobuf.ByteString
- getSuiteNameBytes() {
- java.lang.Object ref = suiteName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suiteName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int BUILD_SYSTEM_FINGERPRINT_FIELD_NUMBER = 31;
- private volatile java.lang.Object buildSystemFingerprint_;
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public boolean hasBuildSystemFingerprint() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public java.lang.String getBuildSystemFingerprint() {
- java.lang.Object ref = buildSystemFingerprint_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- buildSystemFingerprint_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public com.google.protobuf.ByteString
- getBuildSystemFingerprintBytes() {
- java.lang.Object ref = buildSystemFingerprint_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- buildSystemFingerprint_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int BUILD_VENDOR_FINGERPRINT_FIELD_NUMBER = 32;
- private volatile java.lang.Object buildVendorFingerprint_;
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public boolean hasBuildVendorFingerprint() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public java.lang.String getBuildVendorFingerprint() {
- java.lang.Object ref = buildVendorFingerprint_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- buildVendorFingerprint_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public com.google.protobuf.ByteString
- getBuildVendorFingerprintBytes() {
- java.lang.Object ref = buildVendorFingerprint_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- buildVendorFingerprint_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int TEST_TYPE_FIELD_NUMBER = 33;
- private int testType_;
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- public boolean hasTestType() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
- }
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- public int getTestType() {
- return testType_;
- }
-
- public static final int PASSED_TEST_CASE_COUNT_FIELD_NUMBER = 41;
- private int passedTestCaseCount_;
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- public boolean hasPassedTestCaseCount() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
- }
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- public int getPassedTestCaseCount() {
- return passedTestCaseCount_;
- }
-
- public static final int FAILED_TEST_CASE_COUNT_FIELD_NUMBER = 42;
- private int failedTestCaseCount_;
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- public boolean hasFailedTestCaseCount() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
- }
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- public int getFailedTestCaseCount() {
- return failedTestCaseCount_;
- }
-
- public static final int MODULES_DONE_FIELD_NUMBER = 43;
- private int modulesDone_;
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- public boolean hasModulesDone() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
- }
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- public int getModulesDone() {
- return modulesDone_;
- }
-
- public static final int MODULES_TOTAL_FIELD_NUMBER = 44;
- private int modulesTotal_;
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- public boolean hasModulesTotal() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
- }
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- public int getModulesTotal() {
- return modulesTotal_;
- }
-
- public static final int INFRA_LOG_PATH_FIELD_NUMBER = 51;
- private volatile java.lang.Object infraLogPath_;
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public boolean hasInfraLogPath() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
- }
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public java.lang.String getInfraLogPath() {
- java.lang.Object ref = infraLogPath_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- infraLogPath_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public com.google.protobuf.ByteString
- getInfraLogPathBytes() {
- java.lang.Object ref = infraLogPath_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- infraLogPath_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int REPACKED_IMAGE_PATH_FIELD_NUMBER = 52;
- private com.google.protobuf.LazyStringList repackedImagePath_;
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public com.google.protobuf.ProtocolStringList
- getRepackedImagePathList() {
- return repackedImagePath_;
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public int getRepackedImagePathCount() {
- return repackedImagePath_.size();
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public java.lang.String getRepackedImagePath(int index) {
- return repackedImagePath_.get(index);
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public com.google.protobuf.ByteString
- getRepackedImagePathBytes(int index) {
- return repackedImagePath_.getByteString(index);
- }
-
- public static final int VENDOR_BUILD_ID_FIELD_NUMBER = 61;
- private volatile java.lang.Object vendorBuildId_;
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public boolean hasVendorBuildId() {
- return ((bitField0_ & 0x00200000) == 0x00200000);
- }
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public java.lang.String getVendorBuildId() {
- java.lang.Object ref = vendorBuildId_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- vendorBuildId_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public com.google.protobuf.ByteString
- getVendorBuildIdBytes() {
- java.lang.Object ref = vendorBuildId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- vendorBuildId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int GSI_BUILD_ID_FIELD_NUMBER = 62;
- private volatile java.lang.Object gsiBuildId_;
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public boolean hasGsiBuildId() {
- return ((bitField0_ & 0x00400000) == 0x00400000);
- }
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public java.lang.String getGsiBuildId() {
- java.lang.Object ref = gsiBuildId_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- gsiBuildId_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public com.google.protobuf.ByteString
- getGsiBuildIdBytes() {
- java.lang.Object ref = gsiBuildId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- gsiBuildId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int SCHEDULE_CONFIG_FIELD_NUMBER = 63;
- private com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage scheduleConfig_;
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public boolean hasScheduleConfig() {
- return ((bitField0_ & 0x00800000) == 0x00800000);
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage getScheduleConfig() {
- return scheduleConfig_ == null ? com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.getDefaultInstance() : scheduleConfig_;
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessageOrBuilder getScheduleConfigOrBuilder() {
- return scheduleConfig_ == null ? com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.getDefaultInstance() : scheduleConfig_;
- }
-
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- if (!hasBranch()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasTarget()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasBuildId()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accessToken_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, resultPath_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBool(3, bootSuccess_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 11, branch_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 12, target_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 13, buildId_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 21, suitePlan_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 22, suiteVersion_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 23, suiteBuildNumber_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeInt64(24, startTime_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- output.writeInt64(25, endTime_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 26, hostName_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 27, suiteName_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 31, buildSystemFingerprint_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 32, buildVendorFingerprint_);
- }
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
- output.writeInt32(33, testType_);
- }
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- output.writeInt32(41, passedTestCaseCount_);
- }
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- output.writeInt32(42, failedTestCaseCount_);
- }
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
- output.writeInt32(43, modulesDone_);
- }
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
- output.writeInt32(44, modulesTotal_);
- }
- if (((bitField0_ & 0x00100000) == 0x00100000)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 51, infraLogPath_);
- }
- for (int i = 0; i < repackedImagePath_.size(); i++) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 52, repackedImagePath_.getRaw(i));
- }
- if (((bitField0_ & 0x00200000) == 0x00200000)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 61, vendorBuildId_);
- }
- if (((bitField0_ & 0x00400000) == 0x00400000)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 62, gsiBuildId_);
- }
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
- output.writeMessage(63, getScheduleConfig());
- }
- unknownFields.writeTo(output);
- }
-
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accessToken_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, resultPath_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(3, bootSuccess_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, branch_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, target_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, buildId_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, suitePlan_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, suiteVersion_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, suiteBuildNumber_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(24, startTime_);
- }
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(25, endTime_);
- }
- if (((bitField0_ & 0x00000800) == 0x00000800)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, hostName_);
- }
- if (((bitField0_ & 0x00001000) == 0x00001000)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, suiteName_);
- }
- if (((bitField0_ & 0x00002000) == 0x00002000)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, buildSystemFingerprint_);
- }
- if (((bitField0_ & 0x00004000) == 0x00004000)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, buildVendorFingerprint_);
- }
- if (((bitField0_ & 0x00008000) == 0x00008000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(33, testType_);
- }
- if (((bitField0_ & 0x00010000) == 0x00010000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(41, passedTestCaseCount_);
- }
- if (((bitField0_ & 0x00020000) == 0x00020000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(42, failedTestCaseCount_);
- }
- if (((bitField0_ & 0x00040000) == 0x00040000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(43, modulesDone_);
- }
- if (((bitField0_ & 0x00080000) == 0x00080000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(44, modulesTotal_);
- }
- if (((bitField0_ & 0x00100000) == 0x00100000)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(51, infraLogPath_);
- }
- {
- int dataSize = 0;
- for (int i = 0; i < repackedImagePath_.size(); i++) {
- dataSize += computeStringSizeNoTag(repackedImagePath_.getRaw(i));
- }
- size += dataSize;
- size += 2 * getRepackedImagePathList().size();
- }
- if (((bitField0_ & 0x00200000) == 0x00200000)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(61, vendorBuildId_);
- }
- if (((bitField0_ & 0x00400000) == 0x00400000)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(62, gsiBuildId_);
- }
- if (((bitField0_ & 0x00800000) == 0x00800000)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(63, getScheduleConfig());
- }
- size += unknownFields.getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage)) {
- return super.equals(obj);
- }
- com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage other = (com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage) obj;
-
- boolean result = true;
- result = result && (hasAccessToken() == other.hasAccessToken());
- if (hasAccessToken()) {
- result = result && getAccessToken()
- .equals(other.getAccessToken());
- }
- result = result && (hasResultPath() == other.hasResultPath());
- if (hasResultPath()) {
- result = result && getResultPath()
- .equals(other.getResultPath());
- }
- result = result && (hasBootSuccess() == other.hasBootSuccess());
- if (hasBootSuccess()) {
- result = result && (getBootSuccess()
- == other.getBootSuccess());
- }
- result = result && (hasBranch() == other.hasBranch());
- if (hasBranch()) {
- result = result && getBranch()
- .equals(other.getBranch());
- }
- result = result && (hasTarget() == other.hasTarget());
- if (hasTarget()) {
- result = result && getTarget()
- .equals(other.getTarget());
- }
- result = result && (hasBuildId() == other.hasBuildId());
- if (hasBuildId()) {
- result = result && getBuildId()
- .equals(other.getBuildId());
- }
- result = result && (hasSuitePlan() == other.hasSuitePlan());
- if (hasSuitePlan()) {
- result = result && getSuitePlan()
- .equals(other.getSuitePlan());
- }
- result = result && (hasSuiteVersion() == other.hasSuiteVersion());
- if (hasSuiteVersion()) {
- result = result && getSuiteVersion()
- .equals(other.getSuiteVersion());
- }
- result = result && (hasSuiteBuildNumber() == other.hasSuiteBuildNumber());
- if (hasSuiteBuildNumber()) {
- result = result && getSuiteBuildNumber()
- .equals(other.getSuiteBuildNumber());
- }
- result = result && (hasStartTime() == other.hasStartTime());
- if (hasStartTime()) {
- result = result && (getStartTime()
- == other.getStartTime());
- }
- result = result && (hasEndTime() == other.hasEndTime());
- if (hasEndTime()) {
- result = result && (getEndTime()
- == other.getEndTime());
- }
- result = result && (hasHostName() == other.hasHostName());
- if (hasHostName()) {
- result = result && getHostName()
- .equals(other.getHostName());
- }
- result = result && (hasSuiteName() == other.hasSuiteName());
- if (hasSuiteName()) {
- result = result && getSuiteName()
- .equals(other.getSuiteName());
- }
- result = result && (hasBuildSystemFingerprint() == other.hasBuildSystemFingerprint());
- if (hasBuildSystemFingerprint()) {
- result = result && getBuildSystemFingerprint()
- .equals(other.getBuildSystemFingerprint());
- }
- result = result && (hasBuildVendorFingerprint() == other.hasBuildVendorFingerprint());
- if (hasBuildVendorFingerprint()) {
- result = result && getBuildVendorFingerprint()
- .equals(other.getBuildVendorFingerprint());
- }
- result = result && (hasTestType() == other.hasTestType());
- if (hasTestType()) {
- result = result && (getTestType()
- == other.getTestType());
- }
- result = result && (hasPassedTestCaseCount() == other.hasPassedTestCaseCount());
- if (hasPassedTestCaseCount()) {
- result = result && (getPassedTestCaseCount()
- == other.getPassedTestCaseCount());
- }
- result = result && (hasFailedTestCaseCount() == other.hasFailedTestCaseCount());
- if (hasFailedTestCaseCount()) {
- result = result && (getFailedTestCaseCount()
- == other.getFailedTestCaseCount());
- }
- result = result && (hasModulesDone() == other.hasModulesDone());
- if (hasModulesDone()) {
- result = result && (getModulesDone()
- == other.getModulesDone());
- }
- result = result && (hasModulesTotal() == other.hasModulesTotal());
- if (hasModulesTotal()) {
- result = result && (getModulesTotal()
- == other.getModulesTotal());
- }
- result = result && (hasInfraLogPath() == other.hasInfraLogPath());
- if (hasInfraLogPath()) {
- result = result && getInfraLogPath()
- .equals(other.getInfraLogPath());
- }
- result = result && getRepackedImagePathList()
- .equals(other.getRepackedImagePathList());
- result = result && (hasVendorBuildId() == other.hasVendorBuildId());
- if (hasVendorBuildId()) {
- result = result && getVendorBuildId()
- .equals(other.getVendorBuildId());
- }
- result = result && (hasGsiBuildId() == other.hasGsiBuildId());
- if (hasGsiBuildId()) {
- result = result && getGsiBuildId()
- .equals(other.getGsiBuildId());
- }
- result = result && (hasScheduleConfig() == other.hasScheduleConfig());
- if (hasScheduleConfig()) {
- result = result && getScheduleConfig()
- .equals(other.getScheduleConfig());
- }
- result = result && unknownFields.equals(other.unknownFields);
- return result;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptorForType().hashCode();
- if (hasAccessToken()) {
- hash = (37 * hash) + ACCESS_TOKEN_FIELD_NUMBER;
- hash = (53 * hash) + getAccessToken().hashCode();
- }
- if (hasResultPath()) {
- hash = (37 * hash) + RESULT_PATH_FIELD_NUMBER;
- hash = (53 * hash) + getResultPath().hashCode();
- }
- if (hasBootSuccess()) {
- hash = (37 * hash) + BOOT_SUCCESS_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getBootSuccess());
- }
- if (hasBranch()) {
- hash = (37 * hash) + BRANCH_FIELD_NUMBER;
- hash = (53 * hash) + getBranch().hashCode();
- }
- if (hasTarget()) {
- hash = (37 * hash) + TARGET_FIELD_NUMBER;
- hash = (53 * hash) + getTarget().hashCode();
- }
- if (hasBuildId()) {
- hash = (37 * hash) + BUILD_ID_FIELD_NUMBER;
- hash = (53 * hash) + getBuildId().hashCode();
- }
- if (hasSuitePlan()) {
- hash = (37 * hash) + SUITE_PLAN_FIELD_NUMBER;
- hash = (53 * hash) + getSuitePlan().hashCode();
- }
- if (hasSuiteVersion()) {
- hash = (37 * hash) + SUITE_VERSION_FIELD_NUMBER;
- hash = (53 * hash) + getSuiteVersion().hashCode();
- }
- if (hasSuiteBuildNumber()) {
- hash = (37 * hash) + SUITE_BUILD_NUMBER_FIELD_NUMBER;
- hash = (53 * hash) + getSuiteBuildNumber().hashCode();
- }
- if (hasStartTime()) {
- hash = (37 * hash) + START_TIME_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getStartTime());
- }
- if (hasEndTime()) {
- hash = (37 * hash) + END_TIME_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getEndTime());
- }
- if (hasHostName()) {
- hash = (37 * hash) + HOST_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getHostName().hashCode();
- }
- if (hasSuiteName()) {
- hash = (37 * hash) + SUITE_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getSuiteName().hashCode();
- }
- if (hasBuildSystemFingerprint()) {
- hash = (37 * hash) + BUILD_SYSTEM_FINGERPRINT_FIELD_NUMBER;
- hash = (53 * hash) + getBuildSystemFingerprint().hashCode();
- }
- if (hasBuildVendorFingerprint()) {
- hash = (37 * hash) + BUILD_VENDOR_FINGERPRINT_FIELD_NUMBER;
- hash = (53 * hash) + getBuildVendorFingerprint().hashCode();
- }
- if (hasTestType()) {
- hash = (37 * hash) + TEST_TYPE_FIELD_NUMBER;
- hash = (53 * hash) + getTestType();
- }
- if (hasPassedTestCaseCount()) {
- hash = (37 * hash) + PASSED_TEST_CASE_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + getPassedTestCaseCount();
- }
- if (hasFailedTestCaseCount()) {
- hash = (37 * hash) + FAILED_TEST_CASE_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + getFailedTestCaseCount();
- }
- if (hasModulesDone()) {
- hash = (37 * hash) + MODULES_DONE_FIELD_NUMBER;
- hash = (53 * hash) + getModulesDone();
- }
- if (hasModulesTotal()) {
- hash = (37 * hash) + MODULES_TOTAL_FIELD_NUMBER;
- hash = (53 * hash) + getModulesTotal();
- }
- if (hasInfraLogPath()) {
- hash = (37 * hash) + INFRA_LOG_PATH_FIELD_NUMBER;
- hash = (53 * hash) + getInfraLogPath().hashCode();
- }
- if (getRepackedImagePathCount() > 0) {
- hash = (37 * hash) + REPACKED_IMAGE_PATH_FIELD_NUMBER;
- hash = (53 * hash) + getRepackedImagePathList().hashCode();
- }
- if (hasVendorBuildId()) {
- hash = (37 * hash) + VENDOR_BUILD_ID_FIELD_NUMBER;
- hash = (53 * hash) + getVendorBuildId().hashCode();
- }
- if (hasGsiBuildId()) {
- hash = (37 * hash) + GSI_BUILD_ID_FIELD_NUMBER;
- hash = (53 * hash) + getGsiBuildId().hashCode();
- }
- if (hasScheduleConfig()) {
- hash = (37 * hash) + SCHEDULE_CONFIG_FIELD_NUMBER;
- hash = (53 * hash) + getScheduleConfig().hashCode();
- }
- hash = (29 * hash) + unknownFields.hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * <pre>
- * To specify the test results which are uploaded to vts dashboard.
- * </pre>
- *
- * Protobuf type {@code android.vts.TestSuiteResultMessage}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:android.vts.TestSuiteResultMessage)
- com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessageOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.android.vts.proto.TestSuiteResultMessageProto.internal_static_android_vts_TestSuiteResultMessage_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.android.vts.proto.TestSuiteResultMessageProto.internal_static_android_vts_TestSuiteResultMessage_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.class, com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.Builder.class);
- }
-
- // Construct using com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getScheduleConfigFieldBuilder();
- }
- }
- public Builder clear() {
- super.clear();
- accessToken_ = "";
- bitField0_ = (bitField0_ & ~0x00000001);
- resultPath_ = "";
- bitField0_ = (bitField0_ & ~0x00000002);
- bootSuccess_ = true;
- bitField0_ = (bitField0_ & ~0x00000004);
- branch_ = "";
- bitField0_ = (bitField0_ & ~0x00000008);
- target_ = "";
- bitField0_ = (bitField0_ & ~0x00000010);
- buildId_ = "";
- bitField0_ = (bitField0_ & ~0x00000020);
- suitePlan_ = "";
- bitField0_ = (bitField0_ & ~0x00000040);
- suiteVersion_ = "";
- bitField0_ = (bitField0_ & ~0x00000080);
- suiteBuildNumber_ = "";
- bitField0_ = (bitField0_ & ~0x00000100);
- startTime_ = 0L;
- bitField0_ = (bitField0_ & ~0x00000200);
- endTime_ = 0L;
- bitField0_ = (bitField0_ & ~0x00000400);
- hostName_ = "";
- bitField0_ = (bitField0_ & ~0x00000800);
- suiteName_ = "";
- bitField0_ = (bitField0_ & ~0x00001000);
- buildSystemFingerprint_ = "";
- bitField0_ = (bitField0_ & ~0x00002000);
- buildVendorFingerprint_ = "";
- bitField0_ = (bitField0_ & ~0x00004000);
- testType_ = 0;
- bitField0_ = (bitField0_ & ~0x00008000);
- passedTestCaseCount_ = 0;
- bitField0_ = (bitField0_ & ~0x00010000);
- failedTestCaseCount_ = 0;
- bitField0_ = (bitField0_ & ~0x00020000);
- modulesDone_ = 0;
- bitField0_ = (bitField0_ & ~0x00040000);
- modulesTotal_ = 0;
- bitField0_ = (bitField0_ & ~0x00080000);
- infraLogPath_ = "";
- bitField0_ = (bitField0_ & ~0x00100000);
- repackedImagePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00200000);
- vendorBuildId_ = "";
- bitField0_ = (bitField0_ & ~0x00400000);
- gsiBuildId_ = "";
- bitField0_ = (bitField0_ & ~0x00800000);
- if (scheduleConfigBuilder_ == null) {
- scheduleConfig_ = null;
- } else {
- scheduleConfigBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x01000000);
- return this;
- }
-
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.android.vts.proto.TestSuiteResultMessageProto.internal_static_android_vts_TestSuiteResultMessage_descriptor;
- }
-
- public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage getDefaultInstanceForType() {
- return com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance();
- }
-
- public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage build() {
- com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage buildPartial() {
- com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage result = new com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage(this);
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
- to_bitField0_ |= 0x00000001;
- }
- result.accessToken_ = accessToken_;
- if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
- to_bitField0_ |= 0x00000002;
- }
- result.resultPath_ = resultPath_;
- if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
- to_bitField0_ |= 0x00000004;
- }
- result.bootSuccess_ = bootSuccess_;
- if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
- to_bitField0_ |= 0x00000008;
- }
- result.branch_ = branch_;
- if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
- to_bitField0_ |= 0x00000010;
- }
- result.target_ = target_;
- if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
- to_bitField0_ |= 0x00000020;
- }
- result.buildId_ = buildId_;
- if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
- to_bitField0_ |= 0x00000040;
- }
- result.suitePlan_ = suitePlan_;
- if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
- to_bitField0_ |= 0x00000080;
- }
- result.suiteVersion_ = suiteVersion_;
- if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
- to_bitField0_ |= 0x00000100;
- }
- result.suiteBuildNumber_ = suiteBuildNumber_;
- if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
- to_bitField0_ |= 0x00000200;
- }
- result.startTime_ = startTime_;
- if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
- to_bitField0_ |= 0x00000400;
- }
- result.endTime_ = endTime_;
- if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
- to_bitField0_ |= 0x00000800;
- }
- result.hostName_ = hostName_;
- if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
- to_bitField0_ |= 0x00001000;
- }
- result.suiteName_ = suiteName_;
- if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
- to_bitField0_ |= 0x00002000;
- }
- result.buildSystemFingerprint_ = buildSystemFingerprint_;
- if (((from_bitField0_ & 0x00004000) == 0x00004000)) {
- to_bitField0_ |= 0x00004000;
- }
- result.buildVendorFingerprint_ = buildVendorFingerprint_;
- if (((from_bitField0_ & 0x00008000) == 0x00008000)) {
- to_bitField0_ |= 0x00008000;
- }
- result.testType_ = testType_;
- if (((from_bitField0_ & 0x00010000) == 0x00010000)) {
- to_bitField0_ |= 0x00010000;
- }
- result.passedTestCaseCount_ = passedTestCaseCount_;
- if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
- to_bitField0_ |= 0x00020000;
- }
- result.failedTestCaseCount_ = failedTestCaseCount_;
- if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
- to_bitField0_ |= 0x00040000;
- }
- result.modulesDone_ = modulesDone_;
- if (((from_bitField0_ & 0x00080000) == 0x00080000)) {
- to_bitField0_ |= 0x00080000;
- }
- result.modulesTotal_ = modulesTotal_;
- if (((from_bitField0_ & 0x00100000) == 0x00100000)) {
- to_bitField0_ |= 0x00100000;
- }
- result.infraLogPath_ = infraLogPath_;
- if (((bitField0_ & 0x00200000) == 0x00200000)) {
- repackedImagePath_ = repackedImagePath_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00200000);
- }
- result.repackedImagePath_ = repackedImagePath_;
- if (((from_bitField0_ & 0x00400000) == 0x00400000)) {
- to_bitField0_ |= 0x00200000;
- }
- result.vendorBuildId_ = vendorBuildId_;
- if (((from_bitField0_ & 0x00800000) == 0x00800000)) {
- to_bitField0_ |= 0x00400000;
- }
- result.gsiBuildId_ = gsiBuildId_;
- if (((from_bitField0_ & 0x01000000) == 0x01000000)) {
- to_bitField0_ |= 0x00800000;
- }
- if (scheduleConfigBuilder_ == null) {
- result.scheduleConfig_ = scheduleConfig_;
- } else {
- result.scheduleConfig_ = scheduleConfigBuilder_.build();
- }
- result.bitField0_ = to_bitField0_;
- onBuilt();
- return result;
- }
-
- public Builder clone() {
- return (Builder) super.clone();
- }
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.setField(field, value);
- }
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return (Builder) super.clearField(field);
- }
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return (Builder) super.clearOneof(oneof);
- }
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, Object value) {
- return (Builder) super.setRepeatedField(field, index, value);
- }
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- Object value) {
- return (Builder) super.addRepeatedField(field, value);
- }
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage) {
- return mergeFrom((com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage other) {
- if (other == com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage.getDefaultInstance()) return this;
- if (other.hasAccessToken()) {
- bitField0_ |= 0x00000001;
- accessToken_ = other.accessToken_;
- onChanged();
- }
- if (other.hasResultPath()) {
- bitField0_ |= 0x00000002;
- resultPath_ = other.resultPath_;
- onChanged();
- }
- if (other.hasBootSuccess()) {
- setBootSuccess(other.getBootSuccess());
- }
- if (other.hasBranch()) {
- bitField0_ |= 0x00000008;
- branch_ = other.branch_;
- onChanged();
- }
- if (other.hasTarget()) {
- bitField0_ |= 0x00000010;
- target_ = other.target_;
- onChanged();
- }
- if (other.hasBuildId()) {
- bitField0_ |= 0x00000020;
- buildId_ = other.buildId_;
- onChanged();
- }
- if (other.hasSuitePlan()) {
- bitField0_ |= 0x00000040;
- suitePlan_ = other.suitePlan_;
- onChanged();
- }
- if (other.hasSuiteVersion()) {
- bitField0_ |= 0x00000080;
- suiteVersion_ = other.suiteVersion_;
- onChanged();
- }
- if (other.hasSuiteBuildNumber()) {
- bitField0_ |= 0x00000100;
- suiteBuildNumber_ = other.suiteBuildNumber_;
- onChanged();
- }
- if (other.hasStartTime()) {
- setStartTime(other.getStartTime());
- }
- if (other.hasEndTime()) {
- setEndTime(other.getEndTime());
- }
- if (other.hasHostName()) {
- bitField0_ |= 0x00000800;
- hostName_ = other.hostName_;
- onChanged();
- }
- if (other.hasSuiteName()) {
- bitField0_ |= 0x00001000;
- suiteName_ = other.suiteName_;
- onChanged();
- }
- if (other.hasBuildSystemFingerprint()) {
- bitField0_ |= 0x00002000;
- buildSystemFingerprint_ = other.buildSystemFingerprint_;
- onChanged();
- }
- if (other.hasBuildVendorFingerprint()) {
- bitField0_ |= 0x00004000;
- buildVendorFingerprint_ = other.buildVendorFingerprint_;
- onChanged();
- }
- if (other.hasTestType()) {
- setTestType(other.getTestType());
- }
- if (other.hasPassedTestCaseCount()) {
- setPassedTestCaseCount(other.getPassedTestCaseCount());
- }
- if (other.hasFailedTestCaseCount()) {
- setFailedTestCaseCount(other.getFailedTestCaseCount());
- }
- if (other.hasModulesDone()) {
- setModulesDone(other.getModulesDone());
- }
- if (other.hasModulesTotal()) {
- setModulesTotal(other.getModulesTotal());
- }
- if (other.hasInfraLogPath()) {
- bitField0_ |= 0x00100000;
- infraLogPath_ = other.infraLogPath_;
- onChanged();
- }
- if (!other.repackedImagePath_.isEmpty()) {
- if (repackedImagePath_.isEmpty()) {
- repackedImagePath_ = other.repackedImagePath_;
- bitField0_ = (bitField0_ & ~0x00200000);
- } else {
- ensureRepackedImagePathIsMutable();
- repackedImagePath_.addAll(other.repackedImagePath_);
- }
- onChanged();
- }
- if (other.hasVendorBuildId()) {
- bitField0_ |= 0x00400000;
- vendorBuildId_ = other.vendorBuildId_;
- onChanged();
- }
- if (other.hasGsiBuildId()) {
- bitField0_ |= 0x00800000;
- gsiBuildId_ = other.gsiBuildId_;
- onChanged();
- }
- if (other.hasScheduleConfig()) {
- mergeScheduleConfig(other.getScheduleConfig());
- }
- this.mergeUnknownFields(other.unknownFields);
- onChanged();
- return this;
- }
-
- public final boolean isInitialized() {
- if (!hasBranch()) {
- return false;
- }
- if (!hasTarget()) {
- return false;
- }
- if (!hasBuildId()) {
- return false;
- }
- return true;
- }
-
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage parsedMessage = null;
- try {
- parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- parsedMessage = (com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage) e.getUnfinishedMessage();
- throw e.unwrapIOException();
- } finally {
- if (parsedMessage != null) {
- mergeFrom(parsedMessage);
- }
- }
- return this;
- }
- private int bitField0_;
-
- private java.lang.Object accessToken_ = "";
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public boolean hasAccessToken() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public java.lang.String getAccessToken() {
- java.lang.Object ref = accessToken_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- accessToken_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public com.google.protobuf.ByteString
- getAccessTokenBytes() {
- java.lang.Object ref = accessToken_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- accessToken_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public Builder setAccessToken(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- accessToken_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public Builder clearAccessToken() {
- bitField0_ = (bitField0_ & ~0x00000001);
- accessToken_ = getDefaultInstance().getAccessToken();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * oauth2.0 access token
- * </pre>
- *
- * <code>optional string access_token = 1;</code>
- */
- public Builder setAccessTokenBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- accessToken_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object resultPath_ = "";
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public boolean hasResultPath() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public java.lang.String getResultPath() {
- java.lang.Object ref = resultPath_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- resultPath_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public com.google.protobuf.ByteString
- getResultPathBytes() {
- java.lang.Object ref = resultPath_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- resultPath_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public Builder setResultPath(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- resultPath_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public Builder clearResultPath() {
- bitField0_ = (bitField0_ & ~0x00000002);
- resultPath_ = getDefaultInstance().getResultPath();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the corresponding result directory
- * </pre>
- *
- * <code>optional string result_path = 2;</code>
- */
- public Builder setResultPathBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- resultPath_ = value;
- onChanged();
- return this;
- }
-
- private boolean bootSuccess_ = true;
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- public boolean hasBootSuccess() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- public boolean getBootSuccess() {
- return bootSuccess_;
- }
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- public Builder setBootSuccess(boolean value) {
- bitField0_ |= 0x00000004;
- bootSuccess_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * whether the device(s) booted-up successfully
- * </pre>
- *
- * <code>optional bool boot_success = 3 [default = true];</code>
- */
- public Builder clearBootSuccess() {
- bitField0_ = (bitField0_ & ~0x00000004);
- bootSuccess_ = true;
- onChanged();
- return this;
- }
-
- private java.lang.Object branch_ = "";
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public boolean hasBranch() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public java.lang.String getBranch() {
- java.lang.Object ref = branch_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- branch_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public com.google.protobuf.ByteString
- getBranchBytes() {
- java.lang.Object ref = branch_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- branch_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public Builder setBranch(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- branch_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public Builder clearBranch() {
- bitField0_ = (bitField0_ & ~0x00000008);
- branch_ = getDefaultInstance().getBranch();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * test suite build info
- * </pre>
- *
- * <code>required string branch = 11;</code>
- */
- public Builder setBranchBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000008;
- branch_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object target_ = "";
- /**
- * <code>required string target = 12;</code>
- */
- public boolean hasTarget() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * <code>required string target = 12;</code>
- */
- public java.lang.String getTarget() {
- java.lang.Object ref = target_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- target_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>required string target = 12;</code>
- */
- public com.google.protobuf.ByteString
- getTargetBytes() {
- java.lang.Object ref = target_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- target_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>required string target = 12;</code>
- */
- public Builder setTarget(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- target_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>required string target = 12;</code>
- */
- public Builder clearTarget() {
- bitField0_ = (bitField0_ & ~0x00000010);
- target_ = getDefaultInstance().getTarget();
- onChanged();
- return this;
- }
- /**
- * <code>required string target = 12;</code>
- */
- public Builder setTargetBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000010;
- target_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object buildId_ = "";
- /**
- * <code>required string build_id = 13;</code>
- */
- public boolean hasBuildId() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- /**
- * <code>required string build_id = 13;</code>
- */
- public java.lang.String getBuildId() {
- java.lang.Object ref = buildId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- buildId_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>required string build_id = 13;</code>
- */
- public com.google.protobuf.ByteString
- getBuildIdBytes() {
- java.lang.Object ref = buildId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- buildId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>required string build_id = 13;</code>
- */
- public Builder setBuildId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- buildId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>required string build_id = 13;</code>
- */
- public Builder clearBuildId() {
- bitField0_ = (bitField0_ & ~0x00000020);
- buildId_ = getDefaultInstance().getBuildId();
- onChanged();
- return this;
- }
- /**
- * <code>required string build_id = 13;</code>
- */
- public Builder setBuildIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000020;
- buildId_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object suitePlan_ = "";
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public boolean hasSuitePlan() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public java.lang.String getSuitePlan() {
- java.lang.Object ref = suitePlan_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suitePlan_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public com.google.protobuf.ByteString
- getSuitePlanBytes() {
- java.lang.Object ref = suitePlan_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suitePlan_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public Builder setSuitePlan(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000040;
- suitePlan_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public Builder clearSuitePlan() {
- bitField0_ = (bitField0_ & ~0x00000040);
- suitePlan_ = getDefaultInstance().getSuitePlan();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * attributes of Result tag
- * </pre>
- *
- * <code>optional string suite_plan = 21;</code>
- */
- public Builder setSuitePlanBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000040;
- suitePlan_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object suiteVersion_ = "";
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public boolean hasSuiteVersion() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public java.lang.String getSuiteVersion() {
- java.lang.Object ref = suiteVersion_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suiteVersion_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public com.google.protobuf.ByteString
- getSuiteVersionBytes() {
- java.lang.Object ref = suiteVersion_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suiteVersion_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public Builder setSuiteVersion(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000080;
- suiteVersion_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public Builder clearSuiteVersion() {
- bitField0_ = (bitField0_ & ~0x00000080);
- suiteVersion_ = getDefaultInstance().getSuiteVersion();
- onChanged();
- return this;
- }
- /**
- * <code>optional string suite_version = 22;</code>
- */
- public Builder setSuiteVersionBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000080;
- suiteVersion_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object suiteBuildNumber_ = "";
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public boolean hasSuiteBuildNumber() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public java.lang.String getSuiteBuildNumber() {
- java.lang.Object ref = suiteBuildNumber_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suiteBuildNumber_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public com.google.protobuf.ByteString
- getSuiteBuildNumberBytes() {
- java.lang.Object ref = suiteBuildNumber_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suiteBuildNumber_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public Builder setSuiteBuildNumber(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000100;
- suiteBuildNumber_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public Builder clearSuiteBuildNumber() {
- bitField0_ = (bitField0_ & ~0x00000100);
- suiteBuildNumber_ = getDefaultInstance().getSuiteBuildNumber();
- onChanged();
- return this;
- }
- /**
- * <code>optional string suite_build_number = 23;</code>
- */
- public Builder setSuiteBuildNumberBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000100;
- suiteBuildNumber_ = value;
- onChanged();
- return this;
- }
-
- private long startTime_ ;
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- public boolean hasStartTime() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- public long getStartTime() {
- return startTime_;
- }
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- public Builder setStartTime(long value) {
- bitField0_ |= 0x00000200;
- startTime_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional int64 start_time = 24;</code>
- */
- public Builder clearStartTime() {
- bitField0_ = (bitField0_ & ~0x00000200);
- startTime_ = 0L;
- onChanged();
- return this;
- }
-
- private long endTime_ ;
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- public boolean hasEndTime() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- public long getEndTime() {
- return endTime_;
- }
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- public Builder setEndTime(long value) {
- bitField0_ |= 0x00000400;
- endTime_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional int64 end_time = 25;</code>
- */
- public Builder clearEndTime() {
- bitField0_ = (bitField0_ & ~0x00000400);
- endTime_ = 0L;
- onChanged();
- return this;
- }
-
- private java.lang.Object hostName_ = "";
- /**
- * <code>optional string host_name = 26;</code>
- */
- public boolean hasHostName() {
- return ((bitField0_ & 0x00000800) == 0x00000800);
- }
- /**
- * <code>optional string host_name = 26;</code>
- */
- public java.lang.String getHostName() {
- java.lang.Object ref = hostName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- hostName_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string host_name = 26;</code>
- */
- public com.google.protobuf.ByteString
- getHostNameBytes() {
- java.lang.Object ref = hostName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- hostName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string host_name = 26;</code>
- */
- public Builder setHostName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000800;
- hostName_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional string host_name = 26;</code>
- */
- public Builder clearHostName() {
- bitField0_ = (bitField0_ & ~0x00000800);
- hostName_ = getDefaultInstance().getHostName();
- onChanged();
- return this;
- }
- /**
- * <code>optional string host_name = 26;</code>
- */
- public Builder setHostNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000800;
- hostName_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object suiteName_ = "";
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public boolean hasSuiteName() {
- return ((bitField0_ & 0x00001000) == 0x00001000);
- }
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public java.lang.String getSuiteName() {
- java.lang.Object ref = suiteName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- suiteName_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public com.google.protobuf.ByteString
- getSuiteNameBytes() {
- java.lang.Object ref = suiteName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- suiteName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public Builder setSuiteName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00001000;
- suiteName_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public Builder clearSuiteName() {
- bitField0_ = (bitField0_ & ~0x00001000);
- suiteName_ = getDefaultInstance().getSuiteName();
- onChanged();
- return this;
- }
- /**
- * <code>optional string suite_name = 27;</code>
- */
- public Builder setSuiteNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00001000;
- suiteName_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object buildSystemFingerprint_ = "";
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public boolean hasBuildSystemFingerprint() {
- return ((bitField0_ & 0x00002000) == 0x00002000);
- }
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public java.lang.String getBuildSystemFingerprint() {
- java.lang.Object ref = buildSystemFingerprint_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- buildSystemFingerprint_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public com.google.protobuf.ByteString
- getBuildSystemFingerprintBytes() {
- java.lang.Object ref = buildSystemFingerprint_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- buildSystemFingerprint_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public Builder setBuildSystemFingerprint(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00002000;
- buildSystemFingerprint_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public Builder clearBuildSystemFingerprint() {
- bitField0_ = (bitField0_ & ~0x00002000);
- buildSystemFingerprint_ = getDefaultInstance().getBuildSystemFingerprint();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * attributes of Build tag
- * </pre>
- *
- * <code>optional string build_system_fingerprint = 31;</code>
- */
- public Builder setBuildSystemFingerprintBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00002000;
- buildSystemFingerprint_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object buildVendorFingerprint_ = "";
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public boolean hasBuildVendorFingerprint() {
- return ((bitField0_ & 0x00004000) == 0x00004000);
- }
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public java.lang.String getBuildVendorFingerprint() {
- java.lang.Object ref = buildVendorFingerprint_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- buildVendorFingerprint_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public com.google.protobuf.ByteString
- getBuildVendorFingerprintBytes() {
- java.lang.Object ref = buildVendorFingerprint_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- buildVendorFingerprint_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public Builder setBuildVendorFingerprint(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00004000;
- buildVendorFingerprint_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public Builder clearBuildVendorFingerprint() {
- bitField0_ = (bitField0_ & ~0x00004000);
- buildVendorFingerprint_ = getDefaultInstance().getBuildVendorFingerprint();
- onChanged();
- return this;
- }
- /**
- * <code>optional string build_vendor_fingerprint = 32;</code>
- */
- public Builder setBuildVendorFingerprintBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00004000;
- buildVendorFingerprint_ = value;
- onChanged();
- return this;
- }
-
- private int testType_ ;
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- public boolean hasTestType() {
- return ((bitField0_ & 0x00008000) == 0x00008000);
- }
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- public int getTestType() {
- return testType_;
- }
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- public Builder setTestType(int value) {
- bitField0_ |= 0x00008000;
- testType_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 test_type = 33 [default = 0];</code>
- */
- public Builder clearTestType() {
- bitField0_ = (bitField0_ & ~0x00008000);
- testType_ = 0;
- onChanged();
- return this;
- }
-
- private int passedTestCaseCount_ ;
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- public boolean hasPassedTestCaseCount() {
- return ((bitField0_ & 0x00010000) == 0x00010000);
- }
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- public int getPassedTestCaseCount() {
- return passedTestCaseCount_;
- }
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- public Builder setPassedTestCaseCount(int value) {
- bitField0_ |= 0x00010000;
- passedTestCaseCount_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * attributes of Summary tag
- * </pre>
- *
- * <code>optional int32 passed_test_case_count = 41;</code>
- */
- public Builder clearPassedTestCaseCount() {
- bitField0_ = (bitField0_ & ~0x00010000);
- passedTestCaseCount_ = 0;
- onChanged();
- return this;
- }
-
- private int failedTestCaseCount_ ;
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- public boolean hasFailedTestCaseCount() {
- return ((bitField0_ & 0x00020000) == 0x00020000);
- }
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- public int getFailedTestCaseCount() {
- return failedTestCaseCount_;
- }
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- public Builder setFailedTestCaseCount(int value) {
- bitField0_ |= 0x00020000;
- failedTestCaseCount_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 failed_test_case_count = 42;</code>
- */
- public Builder clearFailedTestCaseCount() {
- bitField0_ = (bitField0_ & ~0x00020000);
- failedTestCaseCount_ = 0;
- onChanged();
- return this;
- }
-
- private int modulesDone_ ;
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- public boolean hasModulesDone() {
- return ((bitField0_ & 0x00040000) == 0x00040000);
- }
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- public int getModulesDone() {
- return modulesDone_;
- }
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- public Builder setModulesDone(int value) {
- bitField0_ |= 0x00040000;
- modulesDone_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 modules_done = 43;</code>
- */
- public Builder clearModulesDone() {
- bitField0_ = (bitField0_ & ~0x00040000);
- modulesDone_ = 0;
- onChanged();
- return this;
- }
-
- private int modulesTotal_ ;
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- public boolean hasModulesTotal() {
- return ((bitField0_ & 0x00080000) == 0x00080000);
- }
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- public int getModulesTotal() {
- return modulesTotal_;
- }
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- public Builder setModulesTotal(int value) {
- bitField0_ |= 0x00080000;
- modulesTotal_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 modules_total = 44;</code>
- */
- public Builder clearModulesTotal() {
- bitField0_ = (bitField0_ & ~0x00080000);
- modulesTotal_ = 0;
- onChanged();
- return this;
- }
-
- private java.lang.Object infraLogPath_ = "";
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public boolean hasInfraLogPath() {
- return ((bitField0_ & 0x00100000) == 0x00100000);
- }
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public java.lang.String getInfraLogPath() {
- java.lang.Object ref = infraLogPath_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- infraLogPath_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public com.google.protobuf.ByteString
- getInfraLogPathBytes() {
- java.lang.Object ref = infraLogPath_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- infraLogPath_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public Builder setInfraLogPath(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00100000;
- infraLogPath_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public Builder clearInfraLogPath() {
- bitField0_ = (bitField0_ & ~0x00100000);
- infraLogPath_ = getDefaultInstance().getInfraLogPath();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the corresponding infra log file.
- * </pre>
- *
- * <code>optional string infra_log_path = 51;</code>
- */
- public Builder setInfraLogPathBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00100000;
- infraLogPath_ = value;
- onChanged();
- return this;
- }
-
- private com.google.protobuf.LazyStringList repackedImagePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureRepackedImagePathIsMutable() {
- if (!((bitField0_ & 0x00200000) == 0x00200000)) {
- repackedImagePath_ = new com.google.protobuf.LazyStringArrayList(repackedImagePath_);
- bitField0_ |= 0x00200000;
- }
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public com.google.protobuf.ProtocolStringList
- getRepackedImagePathList() {
- return repackedImagePath_.getUnmodifiableView();
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public int getRepackedImagePathCount() {
- return repackedImagePath_.size();
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public java.lang.String getRepackedImagePath(int index) {
- return repackedImagePath_.get(index);
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public com.google.protobuf.ByteString
- getRepackedImagePathBytes(int index) {
- return repackedImagePath_.getByteString(index);
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public Builder setRepackedImagePath(
- int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureRepackedImagePathIsMutable();
- repackedImagePath_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public Builder addRepackedImagePath(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureRepackedImagePathIsMutable();
- repackedImagePath_.add(value);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public Builder addAllRepackedImagePath(
- java.lang.Iterable<java.lang.String> values) {
- ensureRepackedImagePathIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, repackedImagePath_);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public Builder clearRepackedImagePath() {
- repackedImagePath_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00200000);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * GCS path to the repacked device[+GSI] image set.
- * </pre>
- *
- * <code>repeated string repacked_image_path = 52;</code>
- */
- public Builder addRepackedImagePathBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureRepackedImagePathIsMutable();
- repackedImagePath_.add(value);
- onChanged();
- return this;
- }
-
- private java.lang.Object vendorBuildId_ = "";
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public boolean hasVendorBuildId() {
- return ((bitField0_ & 0x00400000) == 0x00400000);
- }
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public java.lang.String getVendorBuildId() {
- java.lang.Object ref = vendorBuildId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- vendorBuildId_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public com.google.protobuf.ByteString
- getVendorBuildIdBytes() {
- java.lang.Object ref = vendorBuildId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- vendorBuildId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public Builder setVendorBuildId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00400000;
- vendorBuildId_ = value;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public Builder clearVendorBuildId() {
- bitField0_ = (bitField0_ & ~0x00400000);
- vendorBuildId_ = getDefaultInstance().getVendorBuildId();
- onChanged();
- return this;
- }
- /**
- * <pre>
- * Fetch info used to fetch and flash certain builds for retry_prompt command.
- * </pre>
- *
- * <code>optional string vendor_build_id = 61;</code>
- */
- public Builder setVendorBuildIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00400000;
- vendorBuildId_ = value;
- onChanged();
- return this;
- }
-
- private java.lang.Object gsiBuildId_ = "";
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public boolean hasGsiBuildId() {
- return ((bitField0_ & 0x00800000) == 0x00800000);
- }
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public java.lang.String getGsiBuildId() {
- java.lang.Object ref = gsiBuildId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- gsiBuildId_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public com.google.protobuf.ByteString
- getGsiBuildIdBytes() {
- java.lang.Object ref = gsiBuildId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- gsiBuildId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public Builder setGsiBuildId(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00800000;
- gsiBuildId_ = value;
- onChanged();
- return this;
- }
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public Builder clearGsiBuildId() {
- bitField0_ = (bitField0_ & ~0x00800000);
- gsiBuildId_ = getDefaultInstance().getGsiBuildId();
- onChanged();
- return this;
- }
- /**
- * <code>optional string gsi_build_id = 62;</code>
- */
- public Builder setGsiBuildIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00800000;
- gsiBuildId_ = value;
- onChanged();
- return this;
- }
-
- private com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage scheduleConfig_ = null;
- private com.google.protobuf.SingleFieldBuilderV3<
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage, com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.Builder, com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessageOrBuilder> scheduleConfigBuilder_;
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public boolean hasScheduleConfig() {
- return ((bitField0_ & 0x01000000) == 0x01000000);
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage getScheduleConfig() {
- if (scheduleConfigBuilder_ == null) {
- return scheduleConfig_ == null ? com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.getDefaultInstance() : scheduleConfig_;
- } else {
- return scheduleConfigBuilder_.getMessage();
- }
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public Builder setScheduleConfig(com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage value) {
- if (scheduleConfigBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- scheduleConfig_ = value;
- onChanged();
- } else {
- scheduleConfigBuilder_.setMessage(value);
- }
- bitField0_ |= 0x01000000;
- return this;
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public Builder setScheduleConfig(
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.Builder builderForValue) {
- if (scheduleConfigBuilder_ == null) {
- scheduleConfig_ = builderForValue.build();
- onChanged();
- } else {
- scheduleConfigBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x01000000;
- return this;
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public Builder mergeScheduleConfig(com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage value) {
- if (scheduleConfigBuilder_ == null) {
- if (((bitField0_ & 0x01000000) == 0x01000000) &&
- scheduleConfig_ != null &&
- scheduleConfig_ != com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.getDefaultInstance()) {
- scheduleConfig_ =
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.newBuilder(scheduleConfig_).mergeFrom(value).buildPartial();
- } else {
- scheduleConfig_ = value;
- }
- onChanged();
- } else {
- scheduleConfigBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x01000000;
- return this;
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public Builder clearScheduleConfig() {
- if (scheduleConfigBuilder_ == null) {
- scheduleConfig_ = null;
- onChanged();
- } else {
- scheduleConfigBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x01000000);
- return this;
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.Builder getScheduleConfigBuilder() {
- bitField0_ |= 0x01000000;
- onChanged();
- return getScheduleConfigFieldBuilder().getBuilder();
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- @java.lang.Deprecated public com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessageOrBuilder getScheduleConfigOrBuilder() {
- if (scheduleConfigBuilder_ != null) {
- return scheduleConfigBuilder_.getMessageOrBuilder();
- } else {
- return scheduleConfig_ == null ?
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.getDefaultInstance() : scheduleConfig_;
- }
- }
- /**
- * <code>optional .android.test.lab.ScheduleConfigMessage schedule_config = 63 [deprecated = true];</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage, com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.Builder, com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessageOrBuilder>
- getScheduleConfigFieldBuilder() {
- if (scheduleConfigBuilder_ == null) {
- scheduleConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage, com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessage.Builder, com.android.vts.proto.TestScheduleConfigMessageOuterClass.ScheduleConfigMessageOrBuilder>(
- getScheduleConfig(),
- getParentForChildren(),
- isClean());
- scheduleConfig_ = null;
- }
- return scheduleConfigBuilder_;
- }
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:android.vts.TestSuiteResultMessage)
- }
-
- // @@protoc_insertion_point(class_scope:android.vts.TestSuiteResultMessage)
- private static final com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage();
- }
-
- public static com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<TestSuiteResultMessage>
- PARSER = new com.google.protobuf.AbstractParser<TestSuiteResultMessage>() {
- public TestSuiteResultMessage parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return new TestSuiteResultMessage(input, extensionRegistry);
- }
- };
-
- public static com.google.protobuf.Parser<TestSuiteResultMessage> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<TestSuiteResultMessage> getParserForType() {
- return PARSER;
- }
-
- public com.android.vts.proto.TestSuiteResultMessageProto.TestSuiteResultMessage getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- private static final com.google.protobuf.Descriptors.Descriptor
- internal_static_android_vts_TestSuiteResultMessage_descriptor;
- private static final
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_android_vts_TestSuiteResultMessage_fieldAccessorTable;
-
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
- return descriptor;
- }
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
- static {
- java.lang.String[] descriptorData = {
- "\n\034TestSuiteResultMessage.proto\022\013android." +
- "vts\032\037TestScheduleConfigMessage.proto\"\226\005\n" +
- "\026TestSuiteResultMessage\022\024\n\014access_token\030" +
- "\001 \001(\t\022\023\n\013result_path\030\002 \001(\t\022\032\n\014boot_succe" +
- "ss\030\003 \001(\010:\004true\022\016\n\006branch\030\013 \002(\t\022\016\n\006target" +
- "\030\014 \002(\t\022\020\n\010build_id\030\r \002(\t\022\022\n\nsuite_plan\030\025" +
- " \001(\t\022\025\n\rsuite_version\030\026 \001(\t\022\032\n\022suite_bui" +
- "ld_number\030\027 \001(\t\022\022\n\nstart_time\030\030 \001(\003\022\020\n\010e" +
- "nd_time\030\031 \001(\003\022\021\n\thost_name\030\032 \001(\t\022\022\n\nsuit" +
- "e_name\030\033 \001(\t\022 \n\030build_system_fingerprint",
- "\030\037 \001(\t\022 \n\030build_vendor_fingerprint\030 \001(\t" +
- "\022\024\n\ttest_type\030! \001(\005:\0010\022\036\n\026passed_test_ca" +
- "se_count\030) \001(\005\022\036\n\026failed_test_case_count" +
- "\030* \001(\005\022\024\n\014modules_done\030+ \001(\005\022\025\n\rmodules_" +
- "total\030, \001(\005\022\026\n\016infra_log_path\0303 \001(\t\022\033\n\023r" +
- "epacked_image_path\0304 \003(\t\022\027\n\017vendor_build" +
- "_id\030= \001(\t\022\024\n\014gsi_build_id\030> \001(\t\022D\n\017sched" +
- "ule_config\030? \001(\0132\'.android.test.lab.Sche" +
- "duleConfigMessageB\002\030\001B6\n\025com.android.vts" +
- ".protoB\033TestSuiteResultMessageProtoP\000"
- };
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.getDescriptor(),
- }, assigner);
- internal_static_android_vts_TestSuiteResultMessage_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_android_vts_TestSuiteResultMessage_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_android_vts_TestSuiteResultMessage_descriptor,
- new java.lang.String[] { "AccessToken", "ResultPath", "BootSuccess", "Branch", "Target", "BuildId", "SuitePlan", "SuiteVersion", "SuiteBuildNumber", "StartTime", "EndTime", "HostName", "SuiteName", "BuildSystemFingerprint", "BuildVendorFingerprint", "TestType", "PassedTestCaseCount", "FailedTestCaseCount", "ModulesDone", "ModulesTotal", "InfraLogPath", "RepackedImagePath", "VendorBuildId", "GsiBuildId", "ScheduleConfig", });
- com.android.vts.proto.TestScheduleConfigMessageOuterClass.getDescriptor();
- }
-
- // @@protoc_insertion_point(outer_class_scope)
-}