From 5056c0e94b32cb4d23089f165358e062e38f3c36 Mon Sep 17 00:00:00 2001 From: Jongmok Date: Mon, 19 Mar 2018 17:14:39 +0900 Subject: Adding host controller test result protobuf. Test: mma Bug: 74777042 Change-Id: If48417c15f67f9ea391c78ccc60af23de15ece15 --- .../vts/proto/TestSuiteResultMessageProto.java | 2872 ++++++++++++++++++++ 1 file changed, 2872 insertions(+) create mode 100644 src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java (limited to 'src/main/java') diff --git a/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java b/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java new file mode 100644 index 0000000..3d4cdd0 --- /dev/null +++ b/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java @@ -0,0 +1,2872 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto/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 { + + /** + *
+     * oauth2.0 access token
+     * 
+ * + * optional string access_token = 1; + */ + boolean hasAccessToken(); + /** + *
+     * oauth2.0 access token
+     * 
+ * + * optional string access_token = 1; + */ + java.lang.String getAccessToken(); + /** + *
+     * oauth2.0 access token
+     * 
+ * + * optional string access_token = 1; + */ + com.google.protobuf.ByteString + getAccessTokenBytes(); + + /** + *
+     * test suite build info
+     * 
+ * + * required string branch = 11; + */ + boolean hasBranch(); + /** + *
+     * test suite build info
+     * 
+ * + * required string branch = 11; + */ + java.lang.String getBranch(); + /** + *
+     * test suite build info
+     * 
+ * + * required string branch = 11; + */ + com.google.protobuf.ByteString + getBranchBytes(); + + /** + * required string target = 12; + */ + boolean hasTarget(); + /** + * required string target = 12; + */ + java.lang.String getTarget(); + /** + * required string target = 12; + */ + com.google.protobuf.ByteString + getTargetBytes(); + + /** + * required string build_id = 13; + */ + boolean hasBuildId(); + /** + * required string build_id = 13; + */ + java.lang.String getBuildId(); + /** + * required string build_id = 13; + */ + com.google.protobuf.ByteString + getBuildIdBytes(); + + /** + *
+     * attributes of Result tag
+     * 
+ * + * optional string suite_plan = 21; + */ + boolean hasSuitePlan(); + /** + *
+     * attributes of Result tag
+     * 
+ * + * optional string suite_plan = 21; + */ + java.lang.String getSuitePlan(); + /** + *
+     * attributes of Result tag
+     * 
+ * + * optional string suite_plan = 21; + */ + com.google.protobuf.ByteString + getSuitePlanBytes(); + + /** + * optional string suite_version = 22; + */ + boolean hasSuiteVersion(); + /** + * optional string suite_version = 22; + */ + java.lang.String getSuiteVersion(); + /** + * optional string suite_version = 22; + */ + com.google.protobuf.ByteString + getSuiteVersionBytes(); + + /** + * optional string suite_build_number = 23; + */ + boolean hasSuiteBuildNumber(); + /** + * optional string suite_build_number = 23; + */ + java.lang.String getSuiteBuildNumber(); + /** + * optional string suite_build_number = 23; + */ + com.google.protobuf.ByteString + getSuiteBuildNumberBytes(); + + /** + * optional int64 start_time = 24; + */ + boolean hasStartTime(); + /** + * optional int64 start_time = 24; + */ + long getStartTime(); + + /** + * optional int64 end_time = 25; + */ + boolean hasEndTime(); + /** + * optional int64 end_time = 25; + */ + long getEndTime(); + + /** + * optional string host_name = 26; + */ + boolean hasHostName(); + /** + * optional string host_name = 26; + */ + java.lang.String getHostName(); + /** + * optional string host_name = 26; + */ + com.google.protobuf.ByteString + getHostNameBytes(); + + /** + *
+     * attributes of Build tag
+     * 
+ * + * optional string build_system_fingerprint = 31; + */ + boolean hasBuildSystemFingerprint(); + /** + *
+     * attributes of Build tag
+     * 
+ * + * optional string build_system_fingerprint = 31; + */ + java.lang.String getBuildSystemFingerprint(); + /** + *
+     * attributes of Build tag
+     * 
+ * + * optional string build_system_fingerprint = 31; + */ + com.google.protobuf.ByteString + getBuildSystemFingerprintBytes(); + + /** + * optional string build_vendor_fingerprint = 32; + */ + boolean hasBuildVendorFingerprint(); + /** + * optional string build_vendor_fingerprint = 32; + */ + java.lang.String getBuildVendorFingerprint(); + /** + * optional string build_vendor_fingerprint = 32; + */ + com.google.protobuf.ByteString + getBuildVendorFingerprintBytes(); + + /** + *
+     * attributes of Summary tag
+     * 
+ * + * optional int32 passed_test_case_count = 41; + */ + boolean hasPassedTestCaseCount(); + /** + *
+     * attributes of Summary tag
+     * 
+ * + * optional int32 passed_test_case_count = 41; + */ + int getPassedTestCaseCount(); + + /** + * optional int32 failed_test_case_count = 42; + */ + boolean hasFailedTestCaseCount(); + /** + * optional int32 failed_test_case_count = 42; + */ + int getFailedTestCaseCount(); + + /** + * optional int32 modules_done = 43; + */ + boolean hasModulesDone(); + /** + * optional int32 modules_done = 43; + */ + int getModulesDone(); + + /** + * optional int32 modules_total = 44; + */ + boolean hasModulesTotal(); + /** + * optional int32 modules_total = 44; + */ + int getModulesTotal(); + } + /** + *
+   * To specify the test results which are uploaded to vts dashboard.
+   * 
+ * + * 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_ = ""; + branch_ = ""; + target_ = ""; + buildId_ = ""; + suitePlan_ = ""; + suiteVersion_ = ""; + suiteBuildNumber_ = ""; + startTime_ = 0L; + endTime_ = 0L; + hostName_ = ""; + buildSystemFingerprint_ = ""; + buildVendorFingerprint_ = ""; + passedTestCaseCount_ = 0; + failedTestCaseCount_ = 0; + modulesDone_ = 0; + modulesTotal_ = 0; + } + + @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 90: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000002; + branch_ = bs; + break; + } + case 98: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000004; + target_ = bs; + break; + } + case 106: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000008; + buildId_ = bs; + break; + } + case 170: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000010; + suitePlan_ = bs; + break; + } + case 178: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000020; + suiteVersion_ = bs; + break; + } + case 186: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000040; + suiteBuildNumber_ = bs; + break; + } + case 192: { + bitField0_ |= 0x00000080; + startTime_ = input.readInt64(); + break; + } + case 200: { + bitField0_ |= 0x00000100; + endTime_ = input.readInt64(); + break; + } + case 210: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000200; + hostName_ = bs; + break; + } + case 250: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000400; + buildSystemFingerprint_ = bs; + break; + } + case 258: { + com.google.protobuf.ByteString bs = input.readBytes(); + bitField0_ |= 0x00000800; + buildVendorFingerprint_ = bs; + break; + } + case 328: { + bitField0_ |= 0x00001000; + passedTestCaseCount_ = input.readInt32(); + break; + } + case 336: { + bitField0_ |= 0x00002000; + failedTestCaseCount_ = input.readInt32(); + break; + } + case 344: { + bitField0_ |= 0x00004000; + modulesDone_ = input.readInt32(); + break; + } + case 352: { + bitField0_ |= 0x00008000; + modulesTotal_ = input.readInt32(); + 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 { + 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_; + /** + *
+     * oauth2.0 access token
+     * 
+ * + * optional string access_token = 1; + */ + public boolean hasAccessToken() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+     * oauth2.0 access token
+     * 
+ * + * optional string access_token = 1; + */ + 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; + } + } + /** + *
+     * oauth2.0 access token
+     * 
+ * + * optional string access_token = 1; + */ + 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 BRANCH_FIELD_NUMBER = 11; + private volatile java.lang.Object branch_; + /** + *
+     * test suite build info
+     * 
+ * + * required string branch = 11; + */ + public boolean hasBranch() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+     * test suite build info
+     * 
+ * + * required string branch = 11; + */ + 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; + } + } + /** + *
+     * test suite build info
+     * 
+ * + * required string branch = 11; + */ + 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_; + /** + * required string target = 12; + */ + public boolean hasTarget() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required string target = 12; + */ + 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; + } + } + /** + * required string target = 12; + */ + 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_; + /** + * required string build_id = 13; + */ + public boolean hasBuildId() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required string build_id = 13; + */ + 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; + } + } + /** + * required string build_id = 13; + */ + 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_; + /** + *
+     * attributes of Result tag
+     * 
+ * + * optional string suite_plan = 21; + */ + public boolean hasSuitePlan() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
+     * attributes of Result tag
+     * 
+ * + * optional string suite_plan = 21; + */ + 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; + } + } + /** + *
+     * attributes of Result tag
+     * 
+ * + * optional string suite_plan = 21; + */ + 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_; + /** + * optional string suite_version = 22; + */ + public boolean hasSuiteVersion() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional string suite_version = 22; + */ + 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; + } + } + /** + * optional string suite_version = 22; + */ + 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_; + /** + * optional string suite_build_number = 23; + */ + public boolean hasSuiteBuildNumber() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional string suite_build_number = 23; + */ + 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; + } + } + /** + * optional string suite_build_number = 23; + */ + 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_; + /** + * optional int64 start_time = 24; + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional int64 start_time = 24; + */ + public long getStartTime() { + return startTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 25; + private long endTime_; + /** + * optional int64 end_time = 25; + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional int64 end_time = 25; + */ + public long getEndTime() { + return endTime_; + } + + public static final int HOST_NAME_FIELD_NUMBER = 26; + private volatile java.lang.Object hostName_; + /** + * optional string host_name = 26; + */ + public boolean hasHostName() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional string host_name = 26; + */ + 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; + } + } + /** + * optional string host_name = 26; + */ + 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 BUILD_SYSTEM_FINGERPRINT_FIELD_NUMBER = 31; + private volatile java.lang.Object buildSystemFingerprint_; + /** + *
+     * attributes of Build tag
+     * 
+ * + * optional string build_system_fingerprint = 31; + */ + public boolean hasBuildSystemFingerprint() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + *
+     * attributes of Build tag
+     * 
+ * + * optional string build_system_fingerprint = 31; + */ + 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; + } + } + /** + *
+     * attributes of Build tag
+     * 
+ * + * optional string build_system_fingerprint = 31; + */ + 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_; + /** + * optional string build_vendor_fingerprint = 32; + */ + public boolean hasBuildVendorFingerprint() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional string build_vendor_fingerprint = 32; + */ + 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; + } + } + /** + * optional string build_vendor_fingerprint = 32; + */ + 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 PASSED_TEST_CASE_COUNT_FIELD_NUMBER = 41; + private int passedTestCaseCount_; + /** + *
+     * attributes of Summary tag
+     * 
+ * + * optional int32 passed_test_case_count = 41; + */ + public boolean hasPassedTestCaseCount() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + *
+     * attributes of Summary tag
+     * 
+ * + * optional int32 passed_test_case_count = 41; + */ + public int getPassedTestCaseCount() { + return passedTestCaseCount_; + } + + public static final int FAILED_TEST_CASE_COUNT_FIELD_NUMBER = 42; + private int failedTestCaseCount_; + /** + * optional int32 failed_test_case_count = 42; + */ + public boolean hasFailedTestCaseCount() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional int32 failed_test_case_count = 42; + */ + public int getFailedTestCaseCount() { + return failedTestCaseCount_; + } + + public static final int MODULES_DONE_FIELD_NUMBER = 43; + private int modulesDone_; + /** + * optional int32 modules_done = 43; + */ + public boolean hasModulesDone() { + return ((bitField0_ & 0x00004000) == 0x00004000); + } + /** + * optional int32 modules_done = 43; + */ + public int getModulesDone() { + return modulesDone_; + } + + public static final int MODULES_TOTAL_FIELD_NUMBER = 44; + private int modulesTotal_; + /** + * optional int32 modules_total = 44; + */ + public boolean hasModulesTotal() { + return ((bitField0_ & 0x00008000) == 0x00008000); + } + /** + * optional int32 modules_total = 44; + */ + public int getModulesTotal() { + return modulesTotal_; + } + + 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, 11, branch_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, target_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, buildId_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 21, suitePlan_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, suiteVersion_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 23, suiteBuildNumber_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + output.writeInt64(24, startTime_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + output.writeInt64(25, endTime_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 26, hostName_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 31, buildSystemFingerprint_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 32, buildVendorFingerprint_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + output.writeInt32(41, passedTestCaseCount_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + output.writeInt32(42, failedTestCaseCount_); + } + if (((bitField0_ & 0x00004000) == 0x00004000)) { + output.writeInt32(43, modulesDone_); + } + if (((bitField0_ & 0x00008000) == 0x00008000)) { + output.writeInt32(44, modulesTotal_); + } + 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(11, branch_); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, target_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, buildId_); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, suitePlan_); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, suiteVersion_); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, suiteBuildNumber_); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(24, startTime_); + } + if (((bitField0_ & 0x00000100) == 0x00000100)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(25, endTime_); + } + if (((bitField0_ & 0x00000200) == 0x00000200)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, hostName_); + } + if (((bitField0_ & 0x00000400) == 0x00000400)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, buildSystemFingerprint_); + } + if (((bitField0_ & 0x00000800) == 0x00000800)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, buildVendorFingerprint_); + } + if (((bitField0_ & 0x00001000) == 0x00001000)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(41, passedTestCaseCount_); + } + if (((bitField0_ & 0x00002000) == 0x00002000)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(42, failedTestCaseCount_); + } + if (((bitField0_ & 0x00004000) == 0x00004000)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(43, modulesDone_); + } + if (((bitField0_ & 0x00008000) == 0x00008000)) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(44, modulesTotal_); + } + 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 && (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 && (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 && (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 && 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 (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 (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 (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(); + } + 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; + } + /** + *
+     * To specify the test results which are uploaded to vts dashboard.
+     * 
+ * + * Protobuf type {@code android.vts.TestSuiteResultMessage} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.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) { + } + } + public Builder clear() { + super.clear(); + accessToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + branch_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + target_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + buildId_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + suitePlan_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + suiteVersion_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); + suiteBuildNumber_ = ""; + bitField0_ = (bitField0_ & ~0x00000040); + startTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000080); + endTime_ = 0L; + bitField0_ = (bitField0_ & ~0x00000100); + hostName_ = ""; + bitField0_ = (bitField0_ & ~0x00000200); + buildSystemFingerprint_ = ""; + bitField0_ = (bitField0_ & ~0x00000400); + buildVendorFingerprint_ = ""; + bitField0_ = (bitField0_ & ~0x00000800); + passedTestCaseCount_ = 0; + bitField0_ = (bitField0_ & ~0x00001000); + failedTestCaseCount_ = 0; + bitField0_ = (bitField0_ & ~0x00002000); + modulesDone_ = 0; + bitField0_ = (bitField0_ & ~0x00004000); + modulesTotal_ = 0; + bitField0_ = (bitField0_ & ~0x00008000); + 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.branch_ = branch_; + if (((from_bitField0_ & 0x00000004) == 0x00000004)) { + to_bitField0_ |= 0x00000004; + } + result.target_ = target_; + if (((from_bitField0_ & 0x00000008) == 0x00000008)) { + to_bitField0_ |= 0x00000008; + } + result.buildId_ = buildId_; + if (((from_bitField0_ & 0x00000010) == 0x00000010)) { + to_bitField0_ |= 0x00000010; + } + result.suitePlan_ = suitePlan_; + if (((from_bitField0_ & 0x00000020) == 0x00000020)) { + to_bitField0_ |= 0x00000020; + } + result.suiteVersion_ = suiteVersion_; + if (((from_bitField0_ & 0x00000040) == 0x00000040)) { + to_bitField0_ |= 0x00000040; + } + result.suiteBuildNumber_ = suiteBuildNumber_; + if (((from_bitField0_ & 0x00000080) == 0x00000080)) { + to_bitField0_ |= 0x00000080; + } + result.startTime_ = startTime_; + if (((from_bitField0_ & 0x00000100) == 0x00000100)) { + to_bitField0_ |= 0x00000100; + } + result.endTime_ = endTime_; + if (((from_bitField0_ & 0x00000200) == 0x00000200)) { + to_bitField0_ |= 0x00000200; + } + result.hostName_ = hostName_; + if (((from_bitField0_ & 0x00000400) == 0x00000400)) { + to_bitField0_ |= 0x00000400; + } + result.buildSystemFingerprint_ = buildSystemFingerprint_; + if (((from_bitField0_ & 0x00000800) == 0x00000800)) { + to_bitField0_ |= 0x00000800; + } + result.buildVendorFingerprint_ = buildVendorFingerprint_; + if (((from_bitField0_ & 0x00001000) == 0x00001000)) { + to_bitField0_ |= 0x00001000; + } + result.passedTestCaseCount_ = passedTestCaseCount_; + if (((from_bitField0_ & 0x00002000) == 0x00002000)) { + to_bitField0_ |= 0x00002000; + } + result.failedTestCaseCount_ = failedTestCaseCount_; + if (((from_bitField0_ & 0x00004000) == 0x00004000)) { + to_bitField0_ |= 0x00004000; + } + result.modulesDone_ = modulesDone_; + if (((from_bitField0_ & 0x00008000) == 0x00008000)) { + to_bitField0_ |= 0x00008000; + } + result.modulesTotal_ = modulesTotal_; + 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.hasBranch()) { + bitField0_ |= 0x00000002; + branch_ = other.branch_; + onChanged(); + } + if (other.hasTarget()) { + bitField0_ |= 0x00000004; + target_ = other.target_; + onChanged(); + } + if (other.hasBuildId()) { + bitField0_ |= 0x00000008; + buildId_ = other.buildId_; + onChanged(); + } + if (other.hasSuitePlan()) { + bitField0_ |= 0x00000010; + suitePlan_ = other.suitePlan_; + onChanged(); + } + if (other.hasSuiteVersion()) { + bitField0_ |= 0x00000020; + suiteVersion_ = other.suiteVersion_; + onChanged(); + } + if (other.hasSuiteBuildNumber()) { + bitField0_ |= 0x00000040; + suiteBuildNumber_ = other.suiteBuildNumber_; + onChanged(); + } + if (other.hasStartTime()) { + setStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + setEndTime(other.getEndTime()); + } + if (other.hasHostName()) { + bitField0_ |= 0x00000200; + hostName_ = other.hostName_; + onChanged(); + } + if (other.hasBuildSystemFingerprint()) { + bitField0_ |= 0x00000400; + buildSystemFingerprint_ = other.buildSystemFingerprint_; + onChanged(); + } + if (other.hasBuildVendorFingerprint()) { + bitField0_ |= 0x00000800; + buildVendorFingerprint_ = other.buildVendorFingerprint_; + onChanged(); + } + if (other.hasPassedTestCaseCount()) { + setPassedTestCaseCount(other.getPassedTestCaseCount()); + } + if (other.hasFailedTestCaseCount()) { + setFailedTestCaseCount(other.getFailedTestCaseCount()); + } + if (other.hasModulesDone()) { + setModulesDone(other.getModulesDone()); + } + if (other.hasModulesTotal()) { + setModulesTotal(other.getModulesTotal()); + } + 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_ = ""; + /** + *
+       * oauth2.0 access token
+       * 
+ * + * optional string access_token = 1; + */ + public boolean hasAccessToken() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + *
+       * oauth2.0 access token
+       * 
+ * + * optional string access_token = 1; + */ + 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; + } + } + /** + *
+       * oauth2.0 access token
+       * 
+ * + * optional string access_token = 1; + */ + 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; + } + } + /** + *
+       * oauth2.0 access token
+       * 
+ * + * optional string access_token = 1; + */ + public Builder setAccessToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + accessToken_ = value; + onChanged(); + return this; + } + /** + *
+       * oauth2.0 access token
+       * 
+ * + * optional string access_token = 1; + */ + public Builder clearAccessToken() { + bitField0_ = (bitField0_ & ~0x00000001); + accessToken_ = getDefaultInstance().getAccessToken(); + onChanged(); + return this; + } + /** + *
+       * oauth2.0 access token
+       * 
+ * + * optional string access_token = 1; + */ + 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 branch_ = ""; + /** + *
+       * test suite build info
+       * 
+ * + * required string branch = 11; + */ + public boolean hasBranch() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + *
+       * test suite build info
+       * 
+ * + * required string branch = 11; + */ + 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; + } + } + /** + *
+       * test suite build info
+       * 
+ * + * required string branch = 11; + */ + 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; + } + } + /** + *
+       * test suite build info
+       * 
+ * + * required string branch = 11; + */ + public Builder setBranch( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + branch_ = value; + onChanged(); + return this; + } + /** + *
+       * test suite build info
+       * 
+ * + * required string branch = 11; + */ + public Builder clearBranch() { + bitField0_ = (bitField0_ & ~0x00000002); + branch_ = getDefaultInstance().getBranch(); + onChanged(); + return this; + } + /** + *
+       * test suite build info
+       * 
+ * + * required string branch = 11; + */ + public Builder setBranchBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + branch_ = value; + onChanged(); + return this; + } + + private java.lang.Object target_ = ""; + /** + * required string target = 12; + */ + public boolean hasTarget() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * required string target = 12; + */ + 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; + } + } + /** + * required string target = 12; + */ + 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; + } + } + /** + * required string target = 12; + */ + public Builder setTarget( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + target_ = value; + onChanged(); + return this; + } + /** + * required string target = 12; + */ + public Builder clearTarget() { + bitField0_ = (bitField0_ & ~0x00000004); + target_ = getDefaultInstance().getTarget(); + onChanged(); + return this; + } + /** + * required string target = 12; + */ + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000004; + target_ = value; + onChanged(); + return this; + } + + private java.lang.Object buildId_ = ""; + /** + * required string build_id = 13; + */ + public boolean hasBuildId() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * required string build_id = 13; + */ + 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; + } + } + /** + * required string build_id = 13; + */ + 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; + } + } + /** + * required string build_id = 13; + */ + public Builder setBuildId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + buildId_ = value; + onChanged(); + return this; + } + /** + * required string build_id = 13; + */ + public Builder clearBuildId() { + bitField0_ = (bitField0_ & ~0x00000008); + buildId_ = getDefaultInstance().getBuildId(); + onChanged(); + return this; + } + /** + * required string build_id = 13; + */ + public Builder setBuildIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + buildId_ = value; + onChanged(); + return this; + } + + private java.lang.Object suitePlan_ = ""; + /** + *
+       * attributes of Result tag
+       * 
+ * + * optional string suite_plan = 21; + */ + public boolean hasSuitePlan() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + *
+       * attributes of Result tag
+       * 
+ * + * optional string suite_plan = 21; + */ + 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; + } + } + /** + *
+       * attributes of Result tag
+       * 
+ * + * optional string suite_plan = 21; + */ + 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; + } + } + /** + *
+       * attributes of Result tag
+       * 
+ * + * optional string suite_plan = 21; + */ + public Builder setSuitePlan( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + suitePlan_ = value; + onChanged(); + return this; + } + /** + *
+       * attributes of Result tag
+       * 
+ * + * optional string suite_plan = 21; + */ + public Builder clearSuitePlan() { + bitField0_ = (bitField0_ & ~0x00000010); + suitePlan_ = getDefaultInstance().getSuitePlan(); + onChanged(); + return this; + } + /** + *
+       * attributes of Result tag
+       * 
+ * + * optional string suite_plan = 21; + */ + public Builder setSuitePlanBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + suitePlan_ = value; + onChanged(); + return this; + } + + private java.lang.Object suiteVersion_ = ""; + /** + * optional string suite_version = 22; + */ + public boolean hasSuiteVersion() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * optional string suite_version = 22; + */ + 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; + } + } + /** + * optional string suite_version = 22; + */ + 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; + } + } + /** + * optional string suite_version = 22; + */ + public Builder setSuiteVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + suiteVersion_ = value; + onChanged(); + return this; + } + /** + * optional string suite_version = 22; + */ + public Builder clearSuiteVersion() { + bitField0_ = (bitField0_ & ~0x00000020); + suiteVersion_ = getDefaultInstance().getSuiteVersion(); + onChanged(); + return this; + } + /** + * optional string suite_version = 22; + */ + public Builder setSuiteVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + suiteVersion_ = value; + onChanged(); + return this; + } + + private java.lang.Object suiteBuildNumber_ = ""; + /** + * optional string suite_build_number = 23; + */ + public boolean hasSuiteBuildNumber() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * optional string suite_build_number = 23; + */ + 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; + } + } + /** + * optional string suite_build_number = 23; + */ + 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; + } + } + /** + * optional string suite_build_number = 23; + */ + public Builder setSuiteBuildNumber( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + suiteBuildNumber_ = value; + onChanged(); + return this; + } + /** + * optional string suite_build_number = 23; + */ + public Builder clearSuiteBuildNumber() { + bitField0_ = (bitField0_ & ~0x00000040); + suiteBuildNumber_ = getDefaultInstance().getSuiteBuildNumber(); + onChanged(); + return this; + } + /** + * optional string suite_build_number = 23; + */ + public Builder setSuiteBuildNumberBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + suiteBuildNumber_ = value; + onChanged(); + return this; + } + + private long startTime_ ; + /** + * optional int64 start_time = 24; + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * optional int64 start_time = 24; + */ + public long getStartTime() { + return startTime_; + } + /** + * optional int64 start_time = 24; + */ + public Builder setStartTime(long value) { + bitField0_ |= 0x00000080; + startTime_ = value; + onChanged(); + return this; + } + /** + * optional int64 start_time = 24; + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000080); + startTime_ = 0L; + onChanged(); + return this; + } + + private long endTime_ ; + /** + * optional int64 end_time = 25; + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000100) == 0x00000100); + } + /** + * optional int64 end_time = 25; + */ + public long getEndTime() { + return endTime_; + } + /** + * optional int64 end_time = 25; + */ + public Builder setEndTime(long value) { + bitField0_ |= 0x00000100; + endTime_ = value; + onChanged(); + return this; + } + /** + * optional int64 end_time = 25; + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000100); + endTime_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object hostName_ = ""; + /** + * optional string host_name = 26; + */ + public boolean hasHostName() { + return ((bitField0_ & 0x00000200) == 0x00000200); + } + /** + * optional string host_name = 26; + */ + 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; + } + } + /** + * optional string host_name = 26; + */ + 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; + } + } + /** + * optional string host_name = 26; + */ + public Builder setHostName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + hostName_ = value; + onChanged(); + return this; + } + /** + * optional string host_name = 26; + */ + public Builder clearHostName() { + bitField0_ = (bitField0_ & ~0x00000200); + hostName_ = getDefaultInstance().getHostName(); + onChanged(); + return this; + } + /** + * optional string host_name = 26; + */ + public Builder setHostNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + hostName_ = value; + onChanged(); + return this; + } + + private java.lang.Object buildSystemFingerprint_ = ""; + /** + *
+       * attributes of Build tag
+       * 
+ * + * optional string build_system_fingerprint = 31; + */ + public boolean hasBuildSystemFingerprint() { + return ((bitField0_ & 0x00000400) == 0x00000400); + } + /** + *
+       * attributes of Build tag
+       * 
+ * + * optional string build_system_fingerprint = 31; + */ + 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; + } + } + /** + *
+       * attributes of Build tag
+       * 
+ * + * optional string build_system_fingerprint = 31; + */ + 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; + } + } + /** + *
+       * attributes of Build tag
+       * 
+ * + * optional string build_system_fingerprint = 31; + */ + public Builder setBuildSystemFingerprint( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + buildSystemFingerprint_ = value; + onChanged(); + return this; + } + /** + *
+       * attributes of Build tag
+       * 
+ * + * optional string build_system_fingerprint = 31; + */ + public Builder clearBuildSystemFingerprint() { + bitField0_ = (bitField0_ & ~0x00000400); + buildSystemFingerprint_ = getDefaultInstance().getBuildSystemFingerprint(); + onChanged(); + return this; + } + /** + *
+       * attributes of Build tag
+       * 
+ * + * optional string build_system_fingerprint = 31; + */ + public Builder setBuildSystemFingerprintBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + buildSystemFingerprint_ = value; + onChanged(); + return this; + } + + private java.lang.Object buildVendorFingerprint_ = ""; + /** + * optional string build_vendor_fingerprint = 32; + */ + public boolean hasBuildVendorFingerprint() { + return ((bitField0_ & 0x00000800) == 0x00000800); + } + /** + * optional string build_vendor_fingerprint = 32; + */ + 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; + } + } + /** + * optional string build_vendor_fingerprint = 32; + */ + 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; + } + } + /** + * optional string build_vendor_fingerprint = 32; + */ + public Builder setBuildVendorFingerprint( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; + buildVendorFingerprint_ = value; + onChanged(); + return this; + } + /** + * optional string build_vendor_fingerprint = 32; + */ + public Builder clearBuildVendorFingerprint() { + bitField0_ = (bitField0_ & ~0x00000800); + buildVendorFingerprint_ = getDefaultInstance().getBuildVendorFingerprint(); + onChanged(); + return this; + } + /** + * optional string build_vendor_fingerprint = 32; + */ + public Builder setBuildVendorFingerprintBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; + buildVendorFingerprint_ = value; + onChanged(); + return this; + } + + private int passedTestCaseCount_ ; + /** + *
+       * attributes of Summary tag
+       * 
+ * + * optional int32 passed_test_case_count = 41; + */ + public boolean hasPassedTestCaseCount() { + return ((bitField0_ & 0x00001000) == 0x00001000); + } + /** + *
+       * attributes of Summary tag
+       * 
+ * + * optional int32 passed_test_case_count = 41; + */ + public int getPassedTestCaseCount() { + return passedTestCaseCount_; + } + /** + *
+       * attributes of Summary tag
+       * 
+ * + * optional int32 passed_test_case_count = 41; + */ + public Builder setPassedTestCaseCount(int value) { + bitField0_ |= 0x00001000; + passedTestCaseCount_ = value; + onChanged(); + return this; + } + /** + *
+       * attributes of Summary tag
+       * 
+ * + * optional int32 passed_test_case_count = 41; + */ + public Builder clearPassedTestCaseCount() { + bitField0_ = (bitField0_ & ~0x00001000); + passedTestCaseCount_ = 0; + onChanged(); + return this; + } + + private int failedTestCaseCount_ ; + /** + * optional int32 failed_test_case_count = 42; + */ + public boolean hasFailedTestCaseCount() { + return ((bitField0_ & 0x00002000) == 0x00002000); + } + /** + * optional int32 failed_test_case_count = 42; + */ + public int getFailedTestCaseCount() { + return failedTestCaseCount_; + } + /** + * optional int32 failed_test_case_count = 42; + */ + public Builder setFailedTestCaseCount(int value) { + bitField0_ |= 0x00002000; + failedTestCaseCount_ = value; + onChanged(); + return this; + } + /** + * optional int32 failed_test_case_count = 42; + */ + public Builder clearFailedTestCaseCount() { + bitField0_ = (bitField0_ & ~0x00002000); + failedTestCaseCount_ = 0; + onChanged(); + return this; + } + + private int modulesDone_ ; + /** + * optional int32 modules_done = 43; + */ + public boolean hasModulesDone() { + return ((bitField0_ & 0x00004000) == 0x00004000); + } + /** + * optional int32 modules_done = 43; + */ + public int getModulesDone() { + return modulesDone_; + } + /** + * optional int32 modules_done = 43; + */ + public Builder setModulesDone(int value) { + bitField0_ |= 0x00004000; + modulesDone_ = value; + onChanged(); + return this; + } + /** + * optional int32 modules_done = 43; + */ + public Builder clearModulesDone() { + bitField0_ = (bitField0_ & ~0x00004000); + modulesDone_ = 0; + onChanged(); + return this; + } + + private int modulesTotal_ ; + /** + * optional int32 modules_total = 44; + */ + public boolean hasModulesTotal() { + return ((bitField0_ & 0x00008000) == 0x00008000); + } + /** + * optional int32 modules_total = 44; + */ + public int getModulesTotal() { + return modulesTotal_; + } + /** + * optional int32 modules_total = 44; + */ + public Builder setModulesTotal(int value) { + bitField0_ |= 0x00008000; + modulesTotal_ = value; + onChanged(); + return this; + } + /** + * optional int32 modules_total = 44; + */ + public Builder clearModulesTotal() { + bitField0_ = (bitField0_ & ~0x00008000); + modulesTotal_ = 0; + onChanged(); + return this; + } + 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 + PARSER = new com.google.protobuf.AbstractParser() { + 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 parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser 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\"proto/TestSuiteResultMessage.proto\022\013an" + + "droid.vts\"\221\003\n\026TestSuiteResultMessage\022\024\n\014" + + "access_token\030\001 \001(\t\022\016\n\006branch\030\013 \002(\t\022\016\n\006ta" + + "rget\030\014 \002(\t\022\020\n\010build_id\030\r \002(\t\022\022\n\nsuite_pl" + + "an\030\025 \001(\t\022\025\n\rsuite_version\030\026 \001(\t\022\032\n\022suite" + + "_build_number\030\027 \001(\t\022\022\n\nstart_time\030\030 \001(\003\022" + + "\020\n\010end_time\030\031 \001(\003\022\021\n\thost_name\030\032 \001(\t\022 \n\030" + + "build_system_fingerprint\030\037 \001(\t\022 \n\030build_" + + "vendor_fingerprint\030 \001(\t\022\036\n\026passed_test_" + + "case_count\030) \001(\005\022\036\n\026failed_test_case_cou", + "nt\030* \001(\005\022\024\n\014modules_done\030+ \001(\005\022\025\n\rmodule" + + "s_total\030, \001(\005B6\n\025com.android.vts.protoB\033" + + "TestSuiteResultMessageProtoP\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[] { + }, 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", "Branch", "Target", "BuildId", "SuitePlan", "SuiteVersion", "SuiteBuildNumber", "StartTime", "EndTime", "HostName", "BuildSystemFingerprint", "BuildVendorFingerprint", "PassedTestCaseCount", "FailedTestCaseCount", "ModulesDone", "ModulesTotal", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} -- cgit v1.2.3