summaryrefslogtreecommitdiff
path: root/src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java
diff options
context:
space:
mode:
authorJongmok <jongmok@google.com>2018-03-19 17:14:39 +0900
committerJongmok <jongmok@google.com>2018-03-21 09:23:13 +0900
commit5056c0e94b32cb4d23089f165358e062e38f3c36 (patch)
tree6b6dbf72d3c4cd40d3f81af13b9474bb8795372a /src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java
parentd7557ead04451532e9f0dc6987f1633d7f44af38 (diff)
downloaddashboard-5056c0e94b32cb4d23089f165358e062e38f3c36.tar.gz
Adding host controller test result protobuf.
Test: mma Bug: 74777042 Change-Id: If48417c15f67f9ea391c78ccc60af23de15ece15
Diffstat (limited to 'src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java')
-rw-r--r--src/main/java/com/android/vts/proto/TestSuiteResultMessageProto.java2872
1 files changed, 2872 insertions, 0 deletions
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 {
+
+ /**
+ * <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>
+ * 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();
+
+ /**
+ * <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();
+
+ /**
+ * <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>
+ * 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_ = "";
+ 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_;
+ /**
+ * <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 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_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <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_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <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_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <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_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * <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_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * <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_ & 0x00000040) == 0x00000040);
+ }
+ /**
+ * <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_ & 0x00000080) == 0x00000080);
+ }
+ /**
+ * <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_ & 0x00000100) == 0x00000100);
+ }
+ /**
+ * <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_ & 0x00000200) == 0x00000200);
+ }
+ /**
+ * <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 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_ & 0x00000400) == 0x00000400);
+ }
+ /**
+ * <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_ & 0x00000800) == 0x00000800);
+ }
+ /**
+ * <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 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_ & 0x00001000) == 0x00001000);
+ }
+ /**
+ * <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_ & 0x00002000) == 0x00002000);
+ }
+ /**
+ * <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_ & 0x00004000) == 0x00004000);
+ }
+ /**
+ * <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_ & 0x00008000) == 0x00008000);
+ }
+ /**
+ * <code>optional int32 modules_total = 44;</code>
+ */
+ 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;
+ }
+ /**
+ * <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) {
+ }
+ }
+ 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_ = "";
+ /**
+ * <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 branch_ = "";
+ /**
+ * <pre>
+ * test suite build info
+ * </pre>
+ *
+ * <code>required string branch = 11;</code>
+ */
+ public boolean hasBranch() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <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_ |= 0x00000002;
+ branch_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * test suite build info
+ * </pre>
+ *
+ * <code>required string branch = 11;</code>
+ */
+ public Builder clearBranch() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ 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_ |= 0x00000002;
+ branch_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object target_ = "";
+ /**
+ * <code>required string target = 12;</code>
+ */
+ public boolean hasTarget() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <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_ |= 0x00000004;
+ target_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>required string target = 12;</code>
+ */
+ public Builder clearTarget() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ 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_ |= 0x00000004;
+ target_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object buildId_ = "";
+ /**
+ * <code>required string build_id = 13;</code>
+ */
+ public boolean hasBuildId() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <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_ |= 0x00000008;
+ buildId_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>required string build_id = 13;</code>
+ */
+ public Builder clearBuildId() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ 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_ |= 0x00000008;
+ 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_ & 0x00000010) == 0x00000010);
+ }
+ /**
+ * <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_ |= 0x00000010;
+ suitePlan_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * attributes of Result tag
+ * </pre>
+ *
+ * <code>optional string suite_plan = 21;</code>
+ */
+ public Builder clearSuitePlan() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ 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_ |= 0x00000010;
+ suitePlan_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object suiteVersion_ = "";
+ /**
+ * <code>optional string suite_version = 22;</code>
+ */
+ public boolean hasSuiteVersion() {
+ return ((bitField0_ & 0x00000020) == 0x00000020);
+ }
+ /**
+ * <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_ |= 0x00000020;
+ suiteVersion_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string suite_version = 22;</code>
+ */
+ public Builder clearSuiteVersion() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ 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_ |= 0x00000020;
+ suiteVersion_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object suiteBuildNumber_ = "";
+ /**
+ * <code>optional string suite_build_number = 23;</code>
+ */
+ public boolean hasSuiteBuildNumber() {
+ return ((bitField0_ & 0x00000040) == 0x00000040);
+ }
+ /**
+ * <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_ |= 0x00000040;
+ suiteBuildNumber_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string suite_build_number = 23;</code>
+ */
+ public Builder clearSuiteBuildNumber() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ 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_ |= 0x00000040;
+ suiteBuildNumber_ = value;
+ onChanged();
+ return this;
+ }
+
+ private long startTime_ ;
+ /**
+ * <code>optional int64 start_time = 24;</code>
+ */
+ public boolean hasStartTime() {
+ return ((bitField0_ & 0x00000080) == 0x00000080);
+ }
+ /**
+ * <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_ |= 0x00000080;
+ startTime_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int64 start_time = 24;</code>
+ */
+ public Builder clearStartTime() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ startTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long endTime_ ;
+ /**
+ * <code>optional int64 end_time = 25;</code>
+ */
+ public boolean hasEndTime() {
+ return ((bitField0_ & 0x00000100) == 0x00000100);
+ }
+ /**
+ * <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_ |= 0x00000100;
+ endTime_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int64 end_time = 25;</code>
+ */
+ public Builder clearEndTime() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ endTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object hostName_ = "";
+ /**
+ * <code>optional string host_name = 26;</code>
+ */
+ public boolean hasHostName() {
+ return ((bitField0_ & 0x00000200) == 0x00000200);
+ }
+ /**
+ * <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_ |= 0x00000200;
+ hostName_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string host_name = 26;</code>
+ */
+ public Builder clearHostName() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ 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_ |= 0x00000200;
+ hostName_ = 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_ & 0x00000400) == 0x00000400);
+ }
+ /**
+ * <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_ |= 0x00000400;
+ buildSystemFingerprint_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <pre>
+ * attributes of Build tag
+ * </pre>
+ *
+ * <code>optional string build_system_fingerprint = 31;</code>
+ */
+ public Builder clearBuildSystemFingerprint() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ 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_ |= 0x00000400;
+ buildSystemFingerprint_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object buildVendorFingerprint_ = "";
+ /**
+ * <code>optional string build_vendor_fingerprint = 32;</code>
+ */
+ public boolean hasBuildVendorFingerprint() {
+ return ((bitField0_ & 0x00000800) == 0x00000800);
+ }
+ /**
+ * <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_ |= 0x00000800;
+ buildVendorFingerprint_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional string build_vendor_fingerprint = 32;</code>
+ */
+ public Builder clearBuildVendorFingerprint() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ 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_ |= 0x00000800;
+ buildVendorFingerprint_ = value;
+ 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_ & 0x00001000) == 0x00001000);
+ }
+ /**
+ * <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_ |= 0x00001000;
+ 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_ & ~0x00001000);
+ passedTestCaseCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int failedTestCaseCount_ ;
+ /**
+ * <code>optional int32 failed_test_case_count = 42;</code>
+ */
+ public boolean hasFailedTestCaseCount() {
+ return ((bitField0_ & 0x00002000) == 0x00002000);
+ }
+ /**
+ * <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_ |= 0x00002000;
+ failedTestCaseCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 failed_test_case_count = 42;</code>
+ */
+ public Builder clearFailedTestCaseCount() {
+ bitField0_ = (bitField0_ & ~0x00002000);
+ failedTestCaseCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int modulesDone_ ;
+ /**
+ * <code>optional int32 modules_done = 43;</code>
+ */
+ public boolean hasModulesDone() {
+ return ((bitField0_ & 0x00004000) == 0x00004000);
+ }
+ /**
+ * <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_ |= 0x00004000;
+ modulesDone_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 modules_done = 43;</code>
+ */
+ public Builder clearModulesDone() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ modulesDone_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int modulesTotal_ ;
+ /**
+ * <code>optional int32 modules_total = 44;</code>
+ */
+ public boolean hasModulesTotal() {
+ return ((bitField0_ & 0x00008000) == 0x00008000);
+ }
+ /**
+ * <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_ |= 0x00008000;
+ modulesTotal_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional int32 modules_total = 44;</code>
+ */
+ 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<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\"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)
+}