// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: bazel-out/local-fastbuild/bin/src/main/protobuf/libtest_status_java_proto_srcjar.srcjar.preprocessed/test_status.proto

package com.google.devtools.build.lib.view.test;

public final class TestStatus {
  private TestStatus() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * <pre>
   * Status data of test cases which failed (used only for printing test summary)
   * </pre>
   *
   * Protobuf enum {@code blaze.FailedTestCasesStatus}
   */
  public enum FailedTestCasesStatus
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <pre>
     ** Information about every test case is available. 
     * </pre>
     *
     * <code>FULL = 1;</code>
     */
    FULL(1),
    /**
     * <pre>
     ** Information about some test cases may be missing. 
     * </pre>
     *
     * <code>PARTIAL = 2;</code>
     */
    PARTIAL(2),
    /**
     * <pre>
     ** No information about individual test cases. 
     * </pre>
     *
     * <code>NOT_AVAILABLE = 3;</code>
     */
    NOT_AVAILABLE(3),
    /**
     * <pre>
     ** This is an empty object still without data. 
     * </pre>
     *
     * <code>EMPTY = 4;</code>
     */
    EMPTY(4),
    ;

    /**
     * <pre>
     ** Information about every test case is available. 
     * </pre>
     *
     * <code>FULL = 1;</code>
     */
    public static final int FULL_VALUE = 1;
    /**
     * <pre>
     ** Information about some test cases may be missing. 
     * </pre>
     *
     * <code>PARTIAL = 2;</code>
     */
    public static final int PARTIAL_VALUE = 2;
    /**
     * <pre>
     ** No information about individual test cases. 
     * </pre>
     *
     * <code>NOT_AVAILABLE = 3;</code>
     */
    public static final int NOT_AVAILABLE_VALUE = 3;
    /**
     * <pre>
     ** This is an empty object still without data. 
     * </pre>
     *
     * <code>EMPTY = 4;</code>
     */
    public static final int EMPTY_VALUE = 4;


    public final int getNumber() {
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static FailedTestCasesStatus valueOf(int value) {
      return forNumber(value);
    }

    public static FailedTestCasesStatus forNumber(int value) {
      switch (value) {
        case 1: return FULL;
        case 2: return PARTIAL;
        case 3: return NOT_AVAILABLE;
        case 4: return EMPTY;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<FailedTestCasesStatus>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        FailedTestCasesStatus> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<FailedTestCasesStatus>() {
            public FailedTestCasesStatus findValueByNumber(int number) {
              return FailedTestCasesStatus.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.google.devtools.build.lib.view.test.TestStatus.getDescriptor().getEnumTypes().get(0);
    }

    private static final FailedTestCasesStatus[] VALUES = values();

    public static FailedTestCasesStatus valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private FailedTestCasesStatus(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:blaze.FailedTestCasesStatus)
  }

  /**
   * <pre>
   * Detailed status data for a TestRunnerAction execution.
   * </pre>
   *
   * Protobuf enum {@code blaze.BlazeTestStatus}
   */
  public enum BlazeTestStatus
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>NO_STATUS = 0;</code>
     */
    NO_STATUS(0),
    /**
     * <code>PASSED = 1;</code>
     */
    PASSED(1),
    /**
     * <code>FLAKY = 2;</code>
     */
    FLAKY(2),
    /**
     * <code>TIMEOUT = 3;</code>
     */
    TIMEOUT(3),
    /**
     * <code>FAILED = 4;</code>
     */
    FAILED(4),
    /**
     * <code>INCOMPLETE = 5;</code>
     */
    INCOMPLETE(5),
    /**
     * <code>REMOTE_FAILURE = 6;</code>
     */
    REMOTE_FAILURE(6),
    /**
     * <code>FAILED_TO_BUILD = 7;</code>
     */
    FAILED_TO_BUILD(7),
    /**
     * <code>BLAZE_HALTED_BEFORE_TESTING = 8;</code>
     */
    BLAZE_HALTED_BEFORE_TESTING(8),
    ;

    /**
     * <code>NO_STATUS = 0;</code>
     */
    public static final int NO_STATUS_VALUE = 0;
    /**
     * <code>PASSED = 1;</code>
     */
    public static final int PASSED_VALUE = 1;
    /**
     * <code>FLAKY = 2;</code>
     */
    public static final int FLAKY_VALUE = 2;
    /**
     * <code>TIMEOUT = 3;</code>
     */
    public static final int TIMEOUT_VALUE = 3;
    /**
     * <code>FAILED = 4;</code>
     */
    public static final int FAILED_VALUE = 4;
    /**
     * <code>INCOMPLETE = 5;</code>
     */
    public static final int INCOMPLETE_VALUE = 5;
    /**
     * <code>REMOTE_FAILURE = 6;</code>
     */
    public static final int REMOTE_FAILURE_VALUE = 6;
    /**
     * <code>FAILED_TO_BUILD = 7;</code>
     */
    public static final int FAILED_TO_BUILD_VALUE = 7;
    /**
     * <code>BLAZE_HALTED_BEFORE_TESTING = 8;</code>
     */
    public static final int BLAZE_HALTED_BEFORE_TESTING_VALUE = 8;


    public final int getNumber() {
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static BlazeTestStatus valueOf(int value) {
      return forNumber(value);
    }

    public static BlazeTestStatus forNumber(int value) {
      switch (value) {
        case 0: return NO_STATUS;
        case 1: return PASSED;
        case 2: return FLAKY;
        case 3: return TIMEOUT;
        case 4: return FAILED;
        case 5: return INCOMPLETE;
        case 6: return REMOTE_FAILURE;
        case 7: return FAILED_TO_BUILD;
        case 8: return BLAZE_HALTED_BEFORE_TESTING;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<BlazeTestStatus>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        BlazeTestStatus> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<BlazeTestStatus>() {
            public BlazeTestStatus findValueByNumber(int number) {
              return BlazeTestStatus.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return com.google.devtools.build.lib.view.test.TestStatus.getDescriptor().getEnumTypes().get(1);
    }

    private static final BlazeTestStatus[] VALUES = values();

    public static BlazeTestStatus valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private BlazeTestStatus(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:blaze.BlazeTestStatus)
  }

  public interface TestCaseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze.TestCase)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    java.util.List<com.google.devtools.build.lib.view.test.TestStatus.TestCase> 
        getChildList();
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.TestCase getChild(int index);
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    int getChildCount();
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder> 
        getChildOrBuilderList();
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder getChildOrBuilder(
        int index);

    /**
     * <code>optional string name = 2;</code>
     */
    boolean hasName();
    /**
     * <code>optional string name = 2;</code>
     */
    java.lang.String getName();
    /**
     * <code>optional string name = 2;</code>
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * <code>optional string class_name = 3;</code>
     */
    boolean hasClassName();
    /**
     * <code>optional string class_name = 3;</code>
     */
    java.lang.String getClassName();
    /**
     * <code>optional string class_name = 3;</code>
     */
    com.google.protobuf.ByteString
        getClassNameBytes();

    /**
     * <code>optional int64 run_duration_millis = 4;</code>
     */
    boolean hasRunDurationMillis();
    /**
     * <code>optional int64 run_duration_millis = 4;</code>
     */
    long getRunDurationMillis();

    /**
     * <code>optional string result = 5;</code>
     */
    boolean hasResult();
    /**
     * <code>optional string result = 5;</code>
     */
    java.lang.String getResult();
    /**
     * <code>optional string result = 5;</code>
     */
    com.google.protobuf.ByteString
        getResultBytes();

    /**
     * <code>optional .blaze.TestCase.Type type = 6;</code>
     */
    boolean hasType();
    /**
     * <code>optional .blaze.TestCase.Type type = 6;</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type getType();

    /**
     * <code>optional .blaze.TestCase.Status status = 7;</code>
     */
    boolean hasStatus();
    /**
     * <code>optional .blaze.TestCase.Status status = 7;</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status getStatus();

    /**
     * <code>optional bool run = 8 [default = true];</code>
     */
    boolean hasRun();
    /**
     * <code>optional bool run = 8 [default = true];</code>
     */
    boolean getRun();
  }
  /**
   * <pre>
   * TestCase contains detailed data about all tests (cases/suites/decorators)
   * ran, structured in a tree. This data will be later used to present the tests
   * by the web status server.
   * </pre>
   *
   * Protobuf type {@code blaze.TestCase}
   */
  public  static final class TestCase extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze.TestCase)
      TestCaseOrBuilder {
    // Use TestCase.newBuilder() to construct.
    private TestCase(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private TestCase() {
      child_ = java.util.Collections.emptyList();
      name_ = "";
      className_ = "";
      runDurationMillis_ = 0L;
      result_ = "";
      type_ = 0;
      status_ = 0;
      run_ = true;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TestCase(
        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: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                child_ = new java.util.ArrayList<com.google.devtools.build.lib.view.test.TestStatus.TestCase>();
                mutable_bitField0_ |= 0x00000001;
              }
              child_.add(
                  input.readMessage(com.google.devtools.build.lib.view.test.TestStatus.TestCase.PARSER, extensionRegistry));
              break;
            }
            case 18: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000001;
              name_ = bs;
              break;
            }
            case 26: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000002;
              className_ = bs;
              break;
            }
            case 32: {
              bitField0_ |= 0x00000004;
              runDurationMillis_ = input.readInt64();
              break;
            }
            case 42: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000008;
              result_ = bs;
              break;
            }
            case 48: {
              int rawValue = input.readEnum();
              com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type value = com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(6, rawValue);
              } else {
                bitField0_ |= 0x00000010;
                type_ = rawValue;
              }
              break;
            }
            case 56: {
              int rawValue = input.readEnum();
              com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status value = com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(7, rawValue);
              } else {
                bitField0_ |= 0x00000020;
                status_ = rawValue;
              }
              break;
            }
            case 64: {
              bitField0_ |= 0x00000040;
              run_ = input.readBool();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          child_ = java.util.Collections.unmodifiableList(child_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestCase_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestCase_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.view.test.TestStatus.TestCase.class, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder.class);
    }

    /**
     * Protobuf enum {@code blaze.TestCase.Type}
     */
    public enum Type
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>TEST_CASE = 0;</code>
       */
      TEST_CASE(0),
      /**
       * <code>TEST_SUITE = 1;</code>
       */
      TEST_SUITE(1),
      /**
       * <code>TEST_DECORATOR = 2;</code>
       */
      TEST_DECORATOR(2),
      /**
       * <code>UNKNOWN = 3;</code>
       */
      UNKNOWN(3),
      ;

      /**
       * <code>TEST_CASE = 0;</code>
       */
      public static final int TEST_CASE_VALUE = 0;
      /**
       * <code>TEST_SUITE = 1;</code>
       */
      public static final int TEST_SUITE_VALUE = 1;
      /**
       * <code>TEST_DECORATOR = 2;</code>
       */
      public static final int TEST_DECORATOR_VALUE = 2;
      /**
       * <code>UNKNOWN = 3;</code>
       */
      public static final int UNKNOWN_VALUE = 3;


      public final int getNumber() {
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Type valueOf(int value) {
        return forNumber(value);
      }

      public static Type forNumber(int value) {
        switch (value) {
          case 0: return TEST_CASE;
          case 1: return TEST_SUITE;
          case 2: return TEST_DECORATOR;
          case 3: return UNKNOWN;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<Type>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Type> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<Type>() {
              public Type findValueByNumber(int number) {
                return Type.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDescriptor().getEnumTypes().get(0);
      }

      private static final Type[] VALUES = values();

      public static Type valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Type(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:blaze.TestCase.Type)
    }

    /**
     * Protobuf enum {@code blaze.TestCase.Status}
     */
    public enum Status
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <code>PASSED = 0;</code>
       */
      PASSED(0),
      /**
       * <code>FAILED = 1;</code>
       */
      FAILED(1),
      /**
       * <code>ERROR = 2;</code>
       */
      ERROR(2),
      ;

      /**
       * <code>PASSED = 0;</code>
       */
      public static final int PASSED_VALUE = 0;
      /**
       * <code>FAILED = 1;</code>
       */
      public static final int FAILED_VALUE = 1;
      /**
       * <code>ERROR = 2;</code>
       */
      public static final int ERROR_VALUE = 2;


      public final int getNumber() {
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Status valueOf(int value) {
        return forNumber(value);
      }

      public static Status forNumber(int value) {
        switch (value) {
          case 0: return PASSED;
          case 1: return FAILED;
          case 2: return ERROR;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap<Status>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Status> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap<Status>() {
              public Status findValueByNumber(int number) {
                return Status.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDescriptor().getEnumTypes().get(1);
      }

      private static final Status[] VALUES = values();

      public static Status valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Status(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:blaze.TestCase.Status)
    }

    private int bitField0_;
    public static final int CHILD_FIELD_NUMBER = 1;
    private java.util.List<com.google.devtools.build.lib.view.test.TestStatus.TestCase> child_;
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    public java.util.List<com.google.devtools.build.lib.view.test.TestStatus.TestCase> getChildList() {
      return child_;
    }
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder> 
        getChildOrBuilderList() {
      return child_;
    }
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    public int getChildCount() {
      return child_.size();
    }
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.TestCase getChild(int index) {
      return child_.get(index);
    }
    /**
     * <code>repeated .blaze.TestCase child = 1;</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder getChildOrBuilder(
        int index) {
      return child_.get(index);
    }

    public static final int NAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object name_;
    /**
     * <code>optional string name = 2;</code>
     */
    public boolean hasName() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>optional string name = 2;</code>
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      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()) {
          name_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string name = 2;</code>
     */
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int CLASS_NAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object className_;
    /**
     * <code>optional string class_name = 3;</code>
     */
    public boolean hasClassName() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>optional string class_name = 3;</code>
     */
    public java.lang.String getClassName() {
      java.lang.Object ref = className_;
      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()) {
          className_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string class_name = 3;</code>
     */
    public com.google.protobuf.ByteString
        getClassNameBytes() {
      java.lang.Object ref = className_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        className_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int RUN_DURATION_MILLIS_FIELD_NUMBER = 4;
    private long runDurationMillis_;
    /**
     * <code>optional int64 run_duration_millis = 4;</code>
     */
    public boolean hasRunDurationMillis() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>optional int64 run_duration_millis = 4;</code>
     */
    public long getRunDurationMillis() {
      return runDurationMillis_;
    }

    public static final int RESULT_FIELD_NUMBER = 5;
    private volatile java.lang.Object result_;
    /**
     * <code>optional string result = 5;</code>
     */
    public boolean hasResult() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * <code>optional string result = 5;</code>
     */
    public java.lang.String getResult() {
      java.lang.Object ref = result_;
      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()) {
          result_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string result = 5;</code>
     */
    public com.google.protobuf.ByteString
        getResultBytes() {
      java.lang.Object ref = result_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        result_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TYPE_FIELD_NUMBER = 6;
    private int type_;
    /**
     * <code>optional .blaze.TestCase.Type type = 6;</code>
     */
    public boolean hasType() {
      return ((bitField0_ & 0x00000010) == 0x00000010);
    }
    /**
     * <code>optional .blaze.TestCase.Type type = 6;</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type getType() {
      com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type result = com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type.valueOf(type_);
      return result == null ? com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type.TEST_CASE : result;
    }

    public static final int STATUS_FIELD_NUMBER = 7;
    private int status_;
    /**
     * <code>optional .blaze.TestCase.Status status = 7;</code>
     */
    public boolean hasStatus() {
      return ((bitField0_ & 0x00000020) == 0x00000020);
    }
    /**
     * <code>optional .blaze.TestCase.Status status = 7;</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status getStatus() {
      com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status result = com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status.valueOf(status_);
      return result == null ? com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status.PASSED : result;
    }

    public static final int RUN_FIELD_NUMBER = 8;
    private boolean run_;
    /**
     * <code>optional bool run = 8 [default = true];</code>
     */
    public boolean hasRun() {
      return ((bitField0_ & 0x00000040) == 0x00000040);
    }
    /**
     * <code>optional bool run = 8 [default = true];</code>
     */
    public boolean getRun() {
      return run_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < child_.size(); i++) {
        output.writeMessage(1, child_.get(i));
      }
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, className_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeInt64(4, runDurationMillis_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, result_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        output.writeEnum(6, type_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        output.writeEnum(7, status_);
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        output.writeBool(8, run_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < child_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, child_.get(i));
      }
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, className_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, runDurationMillis_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, result_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(6, type_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(7, status_);
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(8, run_);
      }
      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.google.devtools.build.lib.view.test.TestStatus.TestCase)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.view.test.TestStatus.TestCase other = (com.google.devtools.build.lib.view.test.TestStatus.TestCase) obj;

      boolean result = true;
      result = result && getChildList()
          .equals(other.getChildList());
      result = result && (hasName() == other.hasName());
      if (hasName()) {
        result = result && getName()
            .equals(other.getName());
      }
      result = result && (hasClassName() == other.hasClassName());
      if (hasClassName()) {
        result = result && getClassName()
            .equals(other.getClassName());
      }
      result = result && (hasRunDurationMillis() == other.hasRunDurationMillis());
      if (hasRunDurationMillis()) {
        result = result && (getRunDurationMillis()
            == other.getRunDurationMillis());
      }
      result = result && (hasResult() == other.hasResult());
      if (hasResult()) {
        result = result && getResult()
            .equals(other.getResult());
      }
      result = result && (hasType() == other.hasType());
      if (hasType()) {
        result = result && type_ == other.type_;
      }
      result = result && (hasStatus() == other.hasStatus());
      if (hasStatus()) {
        result = result && status_ == other.status_;
      }
      result = result && (hasRun() == other.hasRun());
      if (hasRun()) {
        result = result && (getRun()
            == other.getRun());
      }
      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 (getChildCount() > 0) {
        hash = (37 * hash) + CHILD_FIELD_NUMBER;
        hash = (53 * hash) + getChildList().hashCode();
      }
      if (hasName()) {
        hash = (37 * hash) + NAME_FIELD_NUMBER;
        hash = (53 * hash) + getName().hashCode();
      }
      if (hasClassName()) {
        hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER;
        hash = (53 * hash) + getClassName().hashCode();
      }
      if (hasRunDurationMillis()) {
        hash = (37 * hash) + RUN_DURATION_MILLIS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getRunDurationMillis());
      }
      if (hasResult()) {
        hash = (37 * hash) + RESULT_FIELD_NUMBER;
        hash = (53 * hash) + getResult().hashCode();
      }
      if (hasType()) {
        hash = (37 * hash) + TYPE_FIELD_NUMBER;
        hash = (53 * hash) + type_;
      }
      if (hasStatus()) {
        hash = (37 * hash) + STATUS_FIELD_NUMBER;
        hash = (53 * hash) + status_;
      }
      if (hasRun()) {
        hash = (37 * hash) + RUN_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getRun());
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase 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.google.devtools.build.lib.view.test.TestStatus.TestCase parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase 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.google.devtools.build.lib.view.test.TestStatus.TestCase parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase 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.google.devtools.build.lib.view.test.TestStatus.TestCase 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>
     * TestCase contains detailed data about all tests (cases/suites/decorators)
     * ran, structured in a tree. This data will be later used to present the tests
     * by the web status server.
     * </pre>
     *
     * Protobuf type {@code blaze.TestCase}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze.TestCase)
        com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestCase_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestCase_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.view.test.TestStatus.TestCase.class, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.view.test.TestStatus.TestCase.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getChildFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (childBuilder_ == null) {
          child_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          childBuilder_.clear();
        }
        name_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        className_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        runDurationMillis_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000008);
        result_ = "";
        bitField0_ = (bitField0_ & ~0x00000010);
        type_ = 0;
        bitField0_ = (bitField0_ & ~0x00000020);
        status_ = 0;
        bitField0_ = (bitField0_ & ~0x00000040);
        run_ = true;
        bitField0_ = (bitField0_ & ~0x00000080);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestCase_descriptor;
      }

      public com.google.devtools.build.lib.view.test.TestStatus.TestCase getDefaultInstanceForType() {
        return com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance();
      }

      public com.google.devtools.build.lib.view.test.TestStatus.TestCase build() {
        com.google.devtools.build.lib.view.test.TestStatus.TestCase result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.view.test.TestStatus.TestCase buildPartial() {
        com.google.devtools.build.lib.view.test.TestStatus.TestCase result = new com.google.devtools.build.lib.view.test.TestStatus.TestCase(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (childBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            child_ = java.util.Collections.unmodifiableList(child_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.child_ = child_;
        } else {
          result.child_ = childBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000001;
        }
        result.name_ = name_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000002;
        }
        result.className_ = className_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000004;
        }
        result.runDurationMillis_ = runDurationMillis_;
        if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
          to_bitField0_ |= 0x00000008;
        }
        result.result_ = result_;
        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
          to_bitField0_ |= 0x00000010;
        }
        result.type_ = type_;
        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
          to_bitField0_ |= 0x00000020;
        }
        result.status_ = status_;
        if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
          to_bitField0_ |= 0x00000040;
        }
        result.run_ = run_;
        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.google.devtools.build.lib.view.test.TestStatus.TestCase) {
          return mergeFrom((com.google.devtools.build.lib.view.test.TestStatus.TestCase)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.view.test.TestStatus.TestCase other) {
        if (other == com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance()) return this;
        if (childBuilder_ == null) {
          if (!other.child_.isEmpty()) {
            if (child_.isEmpty()) {
              child_ = other.child_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureChildIsMutable();
              child_.addAll(other.child_);
            }
            onChanged();
          }
        } else {
          if (!other.child_.isEmpty()) {
            if (childBuilder_.isEmpty()) {
              childBuilder_.dispose();
              childBuilder_ = null;
              child_ = other.child_;
              bitField0_ = (bitField0_ & ~0x00000001);
              childBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getChildFieldBuilder() : null;
            } else {
              childBuilder_.addAllMessages(other.child_);
            }
          }
        }
        if (other.hasName()) {
          bitField0_ |= 0x00000002;
          name_ = other.name_;
          onChanged();
        }
        if (other.hasClassName()) {
          bitField0_ |= 0x00000004;
          className_ = other.className_;
          onChanged();
        }
        if (other.hasRunDurationMillis()) {
          setRunDurationMillis(other.getRunDurationMillis());
        }
        if (other.hasResult()) {
          bitField0_ |= 0x00000010;
          result_ = other.result_;
          onChanged();
        }
        if (other.hasType()) {
          setType(other.getType());
        }
        if (other.hasStatus()) {
          setStatus(other.getStatus());
        }
        if (other.hasRun()) {
          setRun(other.getRun());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.devtools.build.lib.view.test.TestStatus.TestCase parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.view.test.TestStatus.TestCase) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List<com.google.devtools.build.lib.view.test.TestStatus.TestCase> child_ =
        java.util.Collections.emptyList();
      private void ensureChildIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          child_ = new java.util.ArrayList<com.google.devtools.build.lib.view.test.TestStatus.TestCase>(child_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.view.test.TestStatus.TestCase, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder, com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder> childBuilder_;

      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.view.test.TestStatus.TestCase> getChildList() {
        if (childBuilder_ == null) {
          return java.util.Collections.unmodifiableList(child_);
        } else {
          return childBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public int getChildCount() {
        if (childBuilder_ == null) {
          return child_.size();
        } else {
          return childBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase getChild(int index) {
        if (childBuilder_ == null) {
          return child_.get(index);
        } else {
          return childBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder setChild(
          int index, com.google.devtools.build.lib.view.test.TestStatus.TestCase value) {
        if (childBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureChildIsMutable();
          child_.set(index, value);
          onChanged();
        } else {
          childBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder setChild(
          int index, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder builderForValue) {
        if (childBuilder_ == null) {
          ensureChildIsMutable();
          child_.set(index, builderForValue.build());
          onChanged();
        } else {
          childBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder addChild(com.google.devtools.build.lib.view.test.TestStatus.TestCase value) {
        if (childBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureChildIsMutable();
          child_.add(value);
          onChanged();
        } else {
          childBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder addChild(
          int index, com.google.devtools.build.lib.view.test.TestStatus.TestCase value) {
        if (childBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureChildIsMutable();
          child_.add(index, value);
          onChanged();
        } else {
          childBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder addChild(
          com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder builderForValue) {
        if (childBuilder_ == null) {
          ensureChildIsMutable();
          child_.add(builderForValue.build());
          onChanged();
        } else {
          childBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder addChild(
          int index, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder builderForValue) {
        if (childBuilder_ == null) {
          ensureChildIsMutable();
          child_.add(index, builderForValue.build());
          onChanged();
        } else {
          childBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder addAllChild(
          java.lang.Iterable<? extends com.google.devtools.build.lib.view.test.TestStatus.TestCase> values) {
        if (childBuilder_ == null) {
          ensureChildIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, child_);
          onChanged();
        } else {
          childBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder clearChild() {
        if (childBuilder_ == null) {
          child_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          childBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public Builder removeChild(int index) {
        if (childBuilder_ == null) {
          ensureChildIsMutable();
          child_.remove(index);
          onChanged();
        } else {
          childBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder getChildBuilder(
          int index) {
        return getChildFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder getChildOrBuilder(
          int index) {
        if (childBuilder_ == null) {
          return child_.get(index);  } else {
          return childBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder> 
           getChildOrBuilderList() {
        if (childBuilder_ != null) {
          return childBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(child_);
        }
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder addChildBuilder() {
        return getChildFieldBuilder().addBuilder(
            com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder addChildBuilder(
          int index) {
        return getChildFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze.TestCase child = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder> 
           getChildBuilderList() {
        return getChildFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.view.test.TestStatus.TestCase, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder, com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder> 
          getChildFieldBuilder() {
        if (childBuilder_ == null) {
          childBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.view.test.TestStatus.TestCase, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder, com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder>(
                  child_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          child_ = null;
        }
        return childBuilder_;
      }

      private java.lang.Object name_ = "";
      /**
       * <code>optional string name = 2;</code>
       */
      public boolean hasName() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>optional string name = 2;</code>
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        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()) {
            name_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string name = 2;</code>
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string name = 2;</code>
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string name = 2;</code>
       */
      public Builder clearName() {
        bitField0_ = (bitField0_ & ~0x00000002);
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <code>optional string name = 2;</code>
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        name_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object className_ = "";
      /**
       * <code>optional string class_name = 3;</code>
       */
      public boolean hasClassName() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>optional string class_name = 3;</code>
       */
      public java.lang.String getClassName() {
        java.lang.Object ref = className_;
        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()) {
            className_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string class_name = 3;</code>
       */
      public com.google.protobuf.ByteString
          getClassNameBytes() {
        java.lang.Object ref = className_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          className_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string class_name = 3;</code>
       */
      public Builder setClassName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        className_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string class_name = 3;</code>
       */
      public Builder clearClassName() {
        bitField0_ = (bitField0_ & ~0x00000004);
        className_ = getDefaultInstance().getClassName();
        onChanged();
        return this;
      }
      /**
       * <code>optional string class_name = 3;</code>
       */
      public Builder setClassNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        className_ = value;
        onChanged();
        return this;
      }

      private long runDurationMillis_ ;
      /**
       * <code>optional int64 run_duration_millis = 4;</code>
       */
      public boolean hasRunDurationMillis() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * <code>optional int64 run_duration_millis = 4;</code>
       */
      public long getRunDurationMillis() {
        return runDurationMillis_;
      }
      /**
       * <code>optional int64 run_duration_millis = 4;</code>
       */
      public Builder setRunDurationMillis(long value) {
        bitField0_ |= 0x00000008;
        runDurationMillis_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int64 run_duration_millis = 4;</code>
       */
      public Builder clearRunDurationMillis() {
        bitField0_ = (bitField0_ & ~0x00000008);
        runDurationMillis_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object result_ = "";
      /**
       * <code>optional string result = 5;</code>
       */
      public boolean hasResult() {
        return ((bitField0_ & 0x00000010) == 0x00000010);
      }
      /**
       * <code>optional string result = 5;</code>
       */
      public java.lang.String getResult() {
        java.lang.Object ref = result_;
        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()) {
            result_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string result = 5;</code>
       */
      public com.google.protobuf.ByteString
          getResultBytes() {
        java.lang.Object ref = result_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          result_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string result = 5;</code>
       */
      public Builder setResult(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000010;
        result_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string result = 5;</code>
       */
      public Builder clearResult() {
        bitField0_ = (bitField0_ & ~0x00000010);
        result_ = getDefaultInstance().getResult();
        onChanged();
        return this;
      }
      /**
       * <code>optional string result = 5;</code>
       */
      public Builder setResultBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000010;
        result_ = value;
        onChanged();
        return this;
      }

      private int type_ = 0;
      /**
       * <code>optional .blaze.TestCase.Type type = 6;</code>
       */
      public boolean hasType() {
        return ((bitField0_ & 0x00000020) == 0x00000020);
      }
      /**
       * <code>optional .blaze.TestCase.Type type = 6;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type getType() {
        com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type result = com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type.valueOf(type_);
        return result == null ? com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type.TEST_CASE : result;
      }
      /**
       * <code>optional .blaze.TestCase.Type type = 6;</code>
       */
      public Builder setType(com.google.devtools.build.lib.view.test.TestStatus.TestCase.Type value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000020;
        type_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>optional .blaze.TestCase.Type type = 6;</code>
       */
      public Builder clearType() {
        bitField0_ = (bitField0_ & ~0x00000020);
        type_ = 0;
        onChanged();
        return this;
      }

      private int status_ = 0;
      /**
       * <code>optional .blaze.TestCase.Status status = 7;</code>
       */
      public boolean hasStatus() {
        return ((bitField0_ & 0x00000040) == 0x00000040);
      }
      /**
       * <code>optional .blaze.TestCase.Status status = 7;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status getStatus() {
        com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status result = com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status.valueOf(status_);
        return result == null ? com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status.PASSED : result;
      }
      /**
       * <code>optional .blaze.TestCase.Status status = 7;</code>
       */
      public Builder setStatus(com.google.devtools.build.lib.view.test.TestStatus.TestCase.Status value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000040;
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>optional .blaze.TestCase.Status status = 7;</code>
       */
      public Builder clearStatus() {
        bitField0_ = (bitField0_ & ~0x00000040);
        status_ = 0;
        onChanged();
        return this;
      }

      private boolean run_ = true;
      /**
       * <code>optional bool run = 8 [default = true];</code>
       */
      public boolean hasRun() {
        return ((bitField0_ & 0x00000080) == 0x00000080);
      }
      /**
       * <code>optional bool run = 8 [default = true];</code>
       */
      public boolean getRun() {
        return run_;
      }
      /**
       * <code>optional bool run = 8 [default = true];</code>
       */
      public Builder setRun(boolean value) {
        bitField0_ |= 0x00000080;
        run_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional bool run = 8 [default = true];</code>
       */
      public Builder clearRun() {
        bitField0_ = (bitField0_ & ~0x00000080);
        run_ = true;
        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:blaze.TestCase)
    }

    // @@protoc_insertion_point(class_scope:blaze.TestCase)
    private static final com.google.devtools.build.lib.view.test.TestStatus.TestCase DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.view.test.TestStatus.TestCase();
    }

    public static com.google.devtools.build.lib.view.test.TestStatus.TestCase getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser<TestCase>
        PARSER = new com.google.protobuf.AbstractParser<TestCase>() {
      public TestCase parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
          return new TestCase(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<TestCase> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<TestCase> getParserForType() {
      return PARSER;
    }

    public com.google.devtools.build.lib.view.test.TestStatus.TestCase getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TestResultDataOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze.TestResultData)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * The following two fields are used for TestRunnerAction caching.
     * This reflects the fact that failing tests are successful
     * actions that might be cached, depending on option settings.
     * </pre>
     *
     * <code>optional bool cachable = 1;</code>
     */
    boolean hasCachable();
    /**
     * <pre>
     * The following two fields are used for TestRunnerAction caching.
     * This reflects the fact that failing tests are successful
     * actions that might be cached, depending on option settings.
     * </pre>
     *
     * <code>optional bool cachable = 1;</code>
     */
    boolean getCachable();

    /**
     * <code>optional bool test_passed = 2;</code>
     */
    boolean hasTestPassed();
    /**
     * <code>optional bool test_passed = 2;</code>
     */
    boolean getTestPassed();

    /**
     * <pre>
     * Following data is informational.
     * </pre>
     *
     * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
     */
    boolean hasStatus();
    /**
     * <pre>
     * Following data is informational.
     * </pre>
     *
     * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus getStatus();

    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    java.util.List<java.lang.String>
        getFailedLogsList();
    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    int getFailedLogsCount();
    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    java.lang.String getFailedLogs(int index);
    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    com.google.protobuf.ByteString
        getFailedLogsBytes(int index);

    /**
     * <code>repeated string warning = 5;</code>
     */
    java.util.List<java.lang.String>
        getWarningList();
    /**
     * <code>repeated string warning = 5;</code>
     */
    int getWarningCount();
    /**
     * <code>repeated string warning = 5;</code>
     */
    java.lang.String getWarning(int index);
    /**
     * <code>repeated string warning = 5;</code>
     */
    com.google.protobuf.ByteString
        getWarningBytes(int index);

    /**
     * <code>optional bool has_coverage = 6;</code>
     */
    boolean hasHasCoverage();
    /**
     * <code>optional bool has_coverage = 6;</code>
     */
    boolean getHasCoverage();

    /**
     * <pre>
     * Returns if this was cached in remote execution.
     * </pre>
     *
     * <code>optional bool remotely_cached = 7;</code>
     */
    boolean hasRemotelyCached();
    /**
     * <pre>
     * Returns if this was cached in remote execution.
     * </pre>
     *
     * <code>optional bool remotely_cached = 7;</code>
     */
    boolean getRemotelyCached();

    /**
     * <pre>
     * Returns true if this was executed remotely
     * </pre>
     *
     * <code>optional bool is_remote_strategy = 8;</code>
     */
    boolean hasIsRemoteStrategy();
    /**
     * <pre>
     * Returns true if this was executed remotely
     * </pre>
     *
     * <code>optional bool is_remote_strategy = 8;</code>
     */
    boolean getIsRemoteStrategy();

    /**
     * <pre>
     * All associated test times (in ms).
     * </pre>
     *
     * <code>repeated int64 test_times = 9;</code>
     */
    java.util.List<java.lang.Long> getTestTimesList();
    /**
     * <pre>
     * All associated test times (in ms).
     * </pre>
     *
     * <code>repeated int64 test_times = 9;</code>
     */
    int getTestTimesCount();
    /**
     * <pre>
     * All associated test times (in ms).
     * </pre>
     *
     * <code>repeated int64 test_times = 9;</code>
     */
    long getTestTimes(int index);

    /**
     * <pre>
     * Passed log paths. Set if the test passed.
     * </pre>
     *
     * <code>optional string passed_log = 10;</code>
     */
    boolean hasPassedLog();
    /**
     * <pre>
     * Passed log paths. Set if the test passed.
     * </pre>
     *
     * <code>optional string passed_log = 10;</code>
     */
    java.lang.String getPassedLog();
    /**
     * <pre>
     * Passed log paths. Set if the test passed.
     * </pre>
     *
     * <code>optional string passed_log = 10;</code>
     */
    com.google.protobuf.ByteString
        getPassedLogBytes();

    /**
     * <pre>
     * Test times, without remote execution overhead (in ms).
     * </pre>
     *
     * <code>repeated int64 test_process_times = 11;</code>
     */
    java.util.List<java.lang.Long> getTestProcessTimesList();
    /**
     * <pre>
     * Test times, without remote execution overhead (in ms).
     * </pre>
     *
     * <code>repeated int64 test_process_times = 11;</code>
     */
    int getTestProcessTimesCount();
    /**
     * <pre>
     * Test times, without remote execution overhead (in ms).
     * </pre>
     *
     * <code>repeated int64 test_process_times = 11;</code>
     */
    long getTestProcessTimes(int index);

    /**
     * <pre>
     * Total time in ms.
     * </pre>
     *
     * <code>optional int64 run_duration_millis = 12;</code>
     */
    boolean hasRunDurationMillis();
    /**
     * <pre>
     * Total time in ms.
     * </pre>
     *
     * <code>optional int64 run_duration_millis = 12;</code>
     */
    long getRunDurationMillis();

    /**
     * <pre>
     * Additional build info
     * </pre>
     *
     * <code>optional .blaze.TestCase test_case = 13;</code>
     */
    boolean hasTestCase();
    /**
     * <pre>
     * Additional build info
     * </pre>
     *
     * <code>optional .blaze.TestCase test_case = 13;</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.TestCase getTestCase();
    /**
     * <pre>
     * Additional build info
     * </pre>
     *
     * <code>optional .blaze.TestCase test_case = 13;</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder getTestCaseOrBuilder();

    /**
     * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
     */
    boolean hasFailedStatus();
    /**
     * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
     */
    com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus getFailedStatus();
  }
  /**
   * <pre>
   * TestResultData holds the outcome data for a single test action (A
   * single test rule can result in multiple actions due to sharding and
   * runs_per_test settings.)
   * </pre>
   *
   * Protobuf type {@code blaze.TestResultData}
   */
  public  static final class TestResultData extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze.TestResultData)
      TestResultDataOrBuilder {
    // Use TestResultData.newBuilder() to construct.
    private TestResultData(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private TestResultData() {
      cachable_ = false;
      testPassed_ = false;
      status_ = 0;
      failedLogs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      warning_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      hasCoverage_ = false;
      remotelyCached_ = false;
      isRemoteStrategy_ = false;
      testTimes_ = java.util.Collections.emptyList();
      passedLog_ = "";
      testProcessTimes_ = java.util.Collections.emptyList();
      runDurationMillis_ = 0L;
      failedStatus_ = 1;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TestResultData(
        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 8: {
              bitField0_ |= 0x00000001;
              cachable_ = input.readBool();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              testPassed_ = input.readBool();
              break;
            }
            case 24: {
              int rawValue = input.readEnum();
              com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus value = com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(3, rawValue);
              } else {
                bitField0_ |= 0x00000004;
                status_ = rawValue;
              }
              break;
            }
            case 34: {
              com.google.protobuf.ByteString bs = input.readBytes();
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                failedLogs_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              failedLogs_.add(bs);
              break;
            }
            case 42: {
              com.google.protobuf.ByteString bs = input.readBytes();
              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                warning_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000010;
              }
              warning_.add(bs);
              break;
            }
            case 48: {
              bitField0_ |= 0x00000008;
              hasCoverage_ = input.readBool();
              break;
            }
            case 56: {
              bitField0_ |= 0x00000010;
              remotelyCached_ = input.readBool();
              break;
            }
            case 64: {
              bitField0_ |= 0x00000020;
              isRemoteStrategy_ = input.readBool();
              break;
            }
            case 72: {
              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
                testTimes_ = new java.util.ArrayList<java.lang.Long>();
                mutable_bitField0_ |= 0x00000100;
              }
              testTimes_.add(input.readInt64());
              break;
            }
            case 74: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100) && input.getBytesUntilLimit() > 0) {
                testTimes_ = new java.util.ArrayList<java.lang.Long>();
                mutable_bitField0_ |= 0x00000100;
              }
              while (input.getBytesUntilLimit() > 0) {
                testTimes_.add(input.readInt64());
              }
              input.popLimit(limit);
              break;
            }
            case 82: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000040;
              passedLog_ = bs;
              break;
            }
            case 88: {
              if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
                testProcessTimes_ = new java.util.ArrayList<java.lang.Long>();
                mutable_bitField0_ |= 0x00000400;
              }
              testProcessTimes_.add(input.readInt64());
              break;
            }
            case 90: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000400) == 0x00000400) && input.getBytesUntilLimit() > 0) {
                testProcessTimes_ = new java.util.ArrayList<java.lang.Long>();
                mutable_bitField0_ |= 0x00000400;
              }
              while (input.getBytesUntilLimit() > 0) {
                testProcessTimes_.add(input.readInt64());
              }
              input.popLimit(limit);
              break;
            }
            case 96: {
              bitField0_ |= 0x00000080;
              runDurationMillis_ = input.readInt64();
              break;
            }
            case 106: {
              com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder subBuilder = null;
              if (((bitField0_ & 0x00000100) == 0x00000100)) {
                subBuilder = testCase_.toBuilder();
              }
              testCase_ = input.readMessage(com.google.devtools.build.lib.view.test.TestStatus.TestCase.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(testCase_);
                testCase_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000100;
              break;
            }
            case 112: {
              int rawValue = input.readEnum();
              com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus value = com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(14, rawValue);
              } else {
                bitField0_ |= 0x00000200;
                failedStatus_ = rawValue;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          failedLogs_ = failedLogs_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
          warning_ = warning_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
          testTimes_ = java.util.Collections.unmodifiableList(testTimes_);
        }
        if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
          testProcessTimes_ = java.util.Collections.unmodifiableList(testProcessTimes_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestResultData_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestResultData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.view.test.TestStatus.TestResultData.class, com.google.devtools.build.lib.view.test.TestStatus.TestResultData.Builder.class);
    }

    private int bitField0_;
    public static final int CACHABLE_FIELD_NUMBER = 1;
    private boolean cachable_;
    /**
     * <pre>
     * The following two fields are used for TestRunnerAction caching.
     * This reflects the fact that failing tests are successful
     * actions that might be cached, depending on option settings.
     * </pre>
     *
     * <code>optional bool cachable = 1;</code>
     */
    public boolean hasCachable() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <pre>
     * The following two fields are used for TestRunnerAction caching.
     * This reflects the fact that failing tests are successful
     * actions that might be cached, depending on option settings.
     * </pre>
     *
     * <code>optional bool cachable = 1;</code>
     */
    public boolean getCachable() {
      return cachable_;
    }

    public static final int TEST_PASSED_FIELD_NUMBER = 2;
    private boolean testPassed_;
    /**
     * <code>optional bool test_passed = 2;</code>
     */
    public boolean hasTestPassed() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>optional bool test_passed = 2;</code>
     */
    public boolean getTestPassed() {
      return testPassed_;
    }

    public static final int STATUS_FIELD_NUMBER = 3;
    private int status_;
    /**
     * <pre>
     * Following data is informational.
     * </pre>
     *
     * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
     */
    public boolean hasStatus() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <pre>
     * Following data is informational.
     * </pre>
     *
     * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus getStatus() {
      com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus result = com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus.valueOf(status_);
      return result == null ? com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus.NO_STATUS : result;
    }

    public static final int FAILED_LOGS_FIELD_NUMBER = 4;
    private com.google.protobuf.LazyStringList failedLogs_;
    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getFailedLogsList() {
      return failedLogs_;
    }
    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    public int getFailedLogsCount() {
      return failedLogs_.size();
    }
    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    public java.lang.String getFailedLogs(int index) {
      return failedLogs_.get(index);
    }
    /**
     * <code>repeated string failed_logs = 4;</code>
     */
    public com.google.protobuf.ByteString
        getFailedLogsBytes(int index) {
      return failedLogs_.getByteString(index);
    }

    public static final int WARNING_FIELD_NUMBER = 5;
    private com.google.protobuf.LazyStringList warning_;
    /**
     * <code>repeated string warning = 5;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getWarningList() {
      return warning_;
    }
    /**
     * <code>repeated string warning = 5;</code>
     */
    public int getWarningCount() {
      return warning_.size();
    }
    /**
     * <code>repeated string warning = 5;</code>
     */
    public java.lang.String getWarning(int index) {
      return warning_.get(index);
    }
    /**
     * <code>repeated string warning = 5;</code>
     */
    public com.google.protobuf.ByteString
        getWarningBytes(int index) {
      return warning_.getByteString(index);
    }

    public static final int HAS_COVERAGE_FIELD_NUMBER = 6;
    private boolean hasCoverage_;
    /**
     * <code>optional bool has_coverage = 6;</code>
     */
    public boolean hasHasCoverage() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * <code>optional bool has_coverage = 6;</code>
     */
    public boolean getHasCoverage() {
      return hasCoverage_;
    }

    public static final int REMOTELY_CACHED_FIELD_NUMBER = 7;
    private boolean remotelyCached_;
    /**
     * <pre>
     * Returns if this was cached in remote execution.
     * </pre>
     *
     * <code>optional bool remotely_cached = 7;</code>
     */
    public boolean hasRemotelyCached() {
      return ((bitField0_ & 0x00000010) == 0x00000010);
    }
    /**
     * <pre>
     * Returns if this was cached in remote execution.
     * </pre>
     *
     * <code>optional bool remotely_cached = 7;</code>
     */
    public boolean getRemotelyCached() {
      return remotelyCached_;
    }

    public static final int IS_REMOTE_STRATEGY_FIELD_NUMBER = 8;
    private boolean isRemoteStrategy_;
    /**
     * <pre>
     * Returns true if this was executed remotely
     * </pre>
     *
     * <code>optional bool is_remote_strategy = 8;</code>
     */
    public boolean hasIsRemoteStrategy() {
      return ((bitField0_ & 0x00000020) == 0x00000020);
    }
    /**
     * <pre>
     * Returns true if this was executed remotely
     * </pre>
     *
     * <code>optional bool is_remote_strategy = 8;</code>
     */
    public boolean getIsRemoteStrategy() {
      return isRemoteStrategy_;
    }

    public static final int TEST_TIMES_FIELD_NUMBER = 9;
    private java.util.List<java.lang.Long> testTimes_;
    /**
     * <pre>
     * All associated test times (in ms).
     * </pre>
     *
     * <code>repeated int64 test_times = 9;</code>
     */
    public java.util.List<java.lang.Long>
        getTestTimesList() {
      return testTimes_;
    }
    /**
     * <pre>
     * All associated test times (in ms).
     * </pre>
     *
     * <code>repeated int64 test_times = 9;</code>
     */
    public int getTestTimesCount() {
      return testTimes_.size();
    }
    /**
     * <pre>
     * All associated test times (in ms).
     * </pre>
     *
     * <code>repeated int64 test_times = 9;</code>
     */
    public long getTestTimes(int index) {
      return testTimes_.get(index);
    }

    public static final int PASSED_LOG_FIELD_NUMBER = 10;
    private volatile java.lang.Object passedLog_;
    /**
     * <pre>
     * Passed log paths. Set if the test passed.
     * </pre>
     *
     * <code>optional string passed_log = 10;</code>
     */
    public boolean hasPassedLog() {
      return ((bitField0_ & 0x00000040) == 0x00000040);
    }
    /**
     * <pre>
     * Passed log paths. Set if the test passed.
     * </pre>
     *
     * <code>optional string passed_log = 10;</code>
     */
    public java.lang.String getPassedLog() {
      java.lang.Object ref = passedLog_;
      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()) {
          passedLog_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     * Passed log paths. Set if the test passed.
     * </pre>
     *
     * <code>optional string passed_log = 10;</code>
     */
    public com.google.protobuf.ByteString
        getPassedLogBytes() {
      java.lang.Object ref = passedLog_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        passedLog_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TEST_PROCESS_TIMES_FIELD_NUMBER = 11;
    private java.util.List<java.lang.Long> testProcessTimes_;
    /**
     * <pre>
     * Test times, without remote execution overhead (in ms).
     * </pre>
     *
     * <code>repeated int64 test_process_times = 11;</code>
     */
    public java.util.List<java.lang.Long>
        getTestProcessTimesList() {
      return testProcessTimes_;
    }
    /**
     * <pre>
     * Test times, without remote execution overhead (in ms).
     * </pre>
     *
     * <code>repeated int64 test_process_times = 11;</code>
     */
    public int getTestProcessTimesCount() {
      return testProcessTimes_.size();
    }
    /**
     * <pre>
     * Test times, without remote execution overhead (in ms).
     * </pre>
     *
     * <code>repeated int64 test_process_times = 11;</code>
     */
    public long getTestProcessTimes(int index) {
      return testProcessTimes_.get(index);
    }

    public static final int RUN_DURATION_MILLIS_FIELD_NUMBER = 12;
    private long runDurationMillis_;
    /**
     * <pre>
     * Total time in ms.
     * </pre>
     *
     * <code>optional int64 run_duration_millis = 12;</code>
     */
    public boolean hasRunDurationMillis() {
      return ((bitField0_ & 0x00000080) == 0x00000080);
    }
    /**
     * <pre>
     * Total time in ms.
     * </pre>
     *
     * <code>optional int64 run_duration_millis = 12;</code>
     */
    public long getRunDurationMillis() {
      return runDurationMillis_;
    }

    public static final int TEST_CASE_FIELD_NUMBER = 13;
    private com.google.devtools.build.lib.view.test.TestStatus.TestCase testCase_;
    /**
     * <pre>
     * Additional build info
     * </pre>
     *
     * <code>optional .blaze.TestCase test_case = 13;</code>
     */
    public boolean hasTestCase() {
      return ((bitField0_ & 0x00000100) == 0x00000100);
    }
    /**
     * <pre>
     * Additional build info
     * </pre>
     *
     * <code>optional .blaze.TestCase test_case = 13;</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.TestCase getTestCase() {
      return testCase_ == null ? com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance() : testCase_;
    }
    /**
     * <pre>
     * Additional build info
     * </pre>
     *
     * <code>optional .blaze.TestCase test_case = 13;</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder getTestCaseOrBuilder() {
      return testCase_ == null ? com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance() : testCase_;
    }

    public static final int FAILED_STATUS_FIELD_NUMBER = 14;
    private int failedStatus_;
    /**
     * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
     */
    public boolean hasFailedStatus() {
      return ((bitField0_ & 0x00000200) == 0x00000200);
    }
    /**
     * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
     */
    public com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus getFailedStatus() {
      com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus result = com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus.valueOf(failedStatus_);
      return result == null ? com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus.FULL : result;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeBool(1, cachable_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBool(2, testPassed_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeEnum(3, status_);
      }
      for (int i = 0; i < failedLogs_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, failedLogs_.getRaw(i));
      }
      for (int i = 0; i < warning_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, warning_.getRaw(i));
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeBool(6, hasCoverage_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        output.writeBool(7, remotelyCached_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        output.writeBool(8, isRemoteStrategy_);
      }
      for (int i = 0; i < testTimes_.size(); i++) {
        output.writeInt64(9, testTimes_.get(i));
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 10, passedLog_);
      }
      for (int i = 0; i < testProcessTimes_.size(); i++) {
        output.writeInt64(11, testProcessTimes_.get(i));
      }
      if (((bitField0_ & 0x00000080) == 0x00000080)) {
        output.writeInt64(12, runDurationMillis_);
      }
      if (((bitField0_ & 0x00000100) == 0x00000100)) {
        output.writeMessage(13, getTestCase());
      }
      if (((bitField0_ & 0x00000200) == 0x00000200)) {
        output.writeEnum(14, failedStatus_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(1, cachable_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(2, testPassed_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(3, status_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < failedLogs_.size(); i++) {
          dataSize += computeStringSizeNoTag(failedLogs_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getFailedLogsList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < warning_.size(); i++) {
          dataSize += computeStringSizeNoTag(warning_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getWarningList().size();
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(6, hasCoverage_);
      }
      if (((bitField0_ & 0x00000010) == 0x00000010)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, remotelyCached_);
      }
      if (((bitField0_ & 0x00000020) == 0x00000020)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(8, isRemoteStrategy_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < testTimes_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt64SizeNoTag(testTimes_.get(i));
        }
        size += dataSize;
        size += 1 * getTestTimesList().size();
      }
      if (((bitField0_ & 0x00000040) == 0x00000040)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, passedLog_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < testProcessTimes_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeInt64SizeNoTag(testProcessTimes_.get(i));
        }
        size += dataSize;
        size += 1 * getTestProcessTimesList().size();
      }
      if (((bitField0_ & 0x00000080) == 0x00000080)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(12, runDurationMillis_);
      }
      if (((bitField0_ & 0x00000100) == 0x00000100)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(13, getTestCase());
      }
      if (((bitField0_ & 0x00000200) == 0x00000200)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(14, failedStatus_);
      }
      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.google.devtools.build.lib.view.test.TestStatus.TestResultData)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.view.test.TestStatus.TestResultData other = (com.google.devtools.build.lib.view.test.TestStatus.TestResultData) obj;

      boolean result = true;
      result = result && (hasCachable() == other.hasCachable());
      if (hasCachable()) {
        result = result && (getCachable()
            == other.getCachable());
      }
      result = result && (hasTestPassed() == other.hasTestPassed());
      if (hasTestPassed()) {
        result = result && (getTestPassed()
            == other.getTestPassed());
      }
      result = result && (hasStatus() == other.hasStatus());
      if (hasStatus()) {
        result = result && status_ == other.status_;
      }
      result = result && getFailedLogsList()
          .equals(other.getFailedLogsList());
      result = result && getWarningList()
          .equals(other.getWarningList());
      result = result && (hasHasCoverage() == other.hasHasCoverage());
      if (hasHasCoverage()) {
        result = result && (getHasCoverage()
            == other.getHasCoverage());
      }
      result = result && (hasRemotelyCached() == other.hasRemotelyCached());
      if (hasRemotelyCached()) {
        result = result && (getRemotelyCached()
            == other.getRemotelyCached());
      }
      result = result && (hasIsRemoteStrategy() == other.hasIsRemoteStrategy());
      if (hasIsRemoteStrategy()) {
        result = result && (getIsRemoteStrategy()
            == other.getIsRemoteStrategy());
      }
      result = result && getTestTimesList()
          .equals(other.getTestTimesList());
      result = result && (hasPassedLog() == other.hasPassedLog());
      if (hasPassedLog()) {
        result = result && getPassedLog()
            .equals(other.getPassedLog());
      }
      result = result && getTestProcessTimesList()
          .equals(other.getTestProcessTimesList());
      result = result && (hasRunDurationMillis() == other.hasRunDurationMillis());
      if (hasRunDurationMillis()) {
        result = result && (getRunDurationMillis()
            == other.getRunDurationMillis());
      }
      result = result && (hasTestCase() == other.hasTestCase());
      if (hasTestCase()) {
        result = result && getTestCase()
            .equals(other.getTestCase());
      }
      result = result && (hasFailedStatus() == other.hasFailedStatus());
      if (hasFailedStatus()) {
        result = result && failedStatus_ == other.failedStatus_;
      }
      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 (hasCachable()) {
        hash = (37 * hash) + CACHABLE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getCachable());
      }
      if (hasTestPassed()) {
        hash = (37 * hash) + TEST_PASSED_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getTestPassed());
      }
      if (hasStatus()) {
        hash = (37 * hash) + STATUS_FIELD_NUMBER;
        hash = (53 * hash) + status_;
      }
      if (getFailedLogsCount() > 0) {
        hash = (37 * hash) + FAILED_LOGS_FIELD_NUMBER;
        hash = (53 * hash) + getFailedLogsList().hashCode();
      }
      if (getWarningCount() > 0) {
        hash = (37 * hash) + WARNING_FIELD_NUMBER;
        hash = (53 * hash) + getWarningList().hashCode();
      }
      if (hasHasCoverage()) {
        hash = (37 * hash) + HAS_COVERAGE_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getHasCoverage());
      }
      if (hasRemotelyCached()) {
        hash = (37 * hash) + REMOTELY_CACHED_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getRemotelyCached());
      }
      if (hasIsRemoteStrategy()) {
        hash = (37 * hash) + IS_REMOTE_STRATEGY_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getIsRemoteStrategy());
      }
      if (getTestTimesCount() > 0) {
        hash = (37 * hash) + TEST_TIMES_FIELD_NUMBER;
        hash = (53 * hash) + getTestTimesList().hashCode();
      }
      if (hasPassedLog()) {
        hash = (37 * hash) + PASSED_LOG_FIELD_NUMBER;
        hash = (53 * hash) + getPassedLog().hashCode();
      }
      if (getTestProcessTimesCount() > 0) {
        hash = (37 * hash) + TEST_PROCESS_TIMES_FIELD_NUMBER;
        hash = (53 * hash) + getTestProcessTimesList().hashCode();
      }
      if (hasRunDurationMillis()) {
        hash = (37 * hash) + RUN_DURATION_MILLIS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getRunDurationMillis());
      }
      if (hasTestCase()) {
        hash = (37 * hash) + TEST_CASE_FIELD_NUMBER;
        hash = (53 * hash) + getTestCase().hashCode();
      }
      if (hasFailedStatus()) {
        hash = (37 * hash) + FAILED_STATUS_FIELD_NUMBER;
        hash = (53 * hash) + failedStatus_;
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData 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.google.devtools.build.lib.view.test.TestStatus.TestResultData parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData 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.google.devtools.build.lib.view.test.TestStatus.TestResultData parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData 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.google.devtools.build.lib.view.test.TestStatus.TestResultData 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>
     * TestResultData holds the outcome data for a single test action (A
     * single test rule can result in multiple actions due to sharding and
     * runs_per_test settings.)
     * </pre>
     *
     * Protobuf type {@code blaze.TestResultData}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze.TestResultData)
        com.google.devtools.build.lib.view.test.TestStatus.TestResultDataOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestResultData_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestResultData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.view.test.TestStatus.TestResultData.class, com.google.devtools.build.lib.view.test.TestStatus.TestResultData.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.view.test.TestStatus.TestResultData.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTestCaseFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        cachable_ = false;
        bitField0_ = (bitField0_ & ~0x00000001);
        testPassed_ = false;
        bitField0_ = (bitField0_ & ~0x00000002);
        status_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        failedLogs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        warning_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000010);
        hasCoverage_ = false;
        bitField0_ = (bitField0_ & ~0x00000020);
        remotelyCached_ = false;
        bitField0_ = (bitField0_ & ~0x00000040);
        isRemoteStrategy_ = false;
        bitField0_ = (bitField0_ & ~0x00000080);
        testTimes_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000100);
        passedLog_ = "";
        bitField0_ = (bitField0_ & ~0x00000200);
        testProcessTimes_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000400);
        runDurationMillis_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000800);
        if (testCaseBuilder_ == null) {
          testCase_ = null;
        } else {
          testCaseBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00001000);
        failedStatus_ = 1;
        bitField0_ = (bitField0_ & ~0x00002000);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.view.test.TestStatus.internal_static_blaze_TestResultData_descriptor;
      }

      public com.google.devtools.build.lib.view.test.TestStatus.TestResultData getDefaultInstanceForType() {
        return com.google.devtools.build.lib.view.test.TestStatus.TestResultData.getDefaultInstance();
      }

      public com.google.devtools.build.lib.view.test.TestStatus.TestResultData build() {
        com.google.devtools.build.lib.view.test.TestStatus.TestResultData result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.view.test.TestStatus.TestResultData buildPartial() {
        com.google.devtools.build.lib.view.test.TestStatus.TestResultData result = new com.google.devtools.build.lib.view.test.TestStatus.TestResultData(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.cachable_ = cachable_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.testPassed_ = testPassed_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.status_ = status_;
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          failedLogs_ = failedLogs_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.failedLogs_ = failedLogs_;
        if (((bitField0_ & 0x00000010) == 0x00000010)) {
          warning_ = warning_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.warning_ = warning_;
        if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
          to_bitField0_ |= 0x00000008;
        }
        result.hasCoverage_ = hasCoverage_;
        if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
          to_bitField0_ |= 0x00000010;
        }
        result.remotelyCached_ = remotelyCached_;
        if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
          to_bitField0_ |= 0x00000020;
        }
        result.isRemoteStrategy_ = isRemoteStrategy_;
        if (((bitField0_ & 0x00000100) == 0x00000100)) {
          testTimes_ = java.util.Collections.unmodifiableList(testTimes_);
          bitField0_ = (bitField0_ & ~0x00000100);
        }
        result.testTimes_ = testTimes_;
        if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
          to_bitField0_ |= 0x00000040;
        }
        result.passedLog_ = passedLog_;
        if (((bitField0_ & 0x00000400) == 0x00000400)) {
          testProcessTimes_ = java.util.Collections.unmodifiableList(testProcessTimes_);
          bitField0_ = (bitField0_ & ~0x00000400);
        }
        result.testProcessTimes_ = testProcessTimes_;
        if (((from_bitField0_ & 0x00000800) == 0x00000800)) {
          to_bitField0_ |= 0x00000080;
        }
        result.runDurationMillis_ = runDurationMillis_;
        if (((from_bitField0_ & 0x00001000) == 0x00001000)) {
          to_bitField0_ |= 0x00000100;
        }
        if (testCaseBuilder_ == null) {
          result.testCase_ = testCase_;
        } else {
          result.testCase_ = testCaseBuilder_.build();
        }
        if (((from_bitField0_ & 0x00002000) == 0x00002000)) {
          to_bitField0_ |= 0x00000200;
        }
        result.failedStatus_ = failedStatus_;
        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.google.devtools.build.lib.view.test.TestStatus.TestResultData) {
          return mergeFrom((com.google.devtools.build.lib.view.test.TestStatus.TestResultData)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.view.test.TestStatus.TestResultData other) {
        if (other == com.google.devtools.build.lib.view.test.TestStatus.TestResultData.getDefaultInstance()) return this;
        if (other.hasCachable()) {
          setCachable(other.getCachable());
        }
        if (other.hasTestPassed()) {
          setTestPassed(other.getTestPassed());
        }
        if (other.hasStatus()) {
          setStatus(other.getStatus());
        }
        if (!other.failedLogs_.isEmpty()) {
          if (failedLogs_.isEmpty()) {
            failedLogs_ = other.failedLogs_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureFailedLogsIsMutable();
            failedLogs_.addAll(other.failedLogs_);
          }
          onChanged();
        }
        if (!other.warning_.isEmpty()) {
          if (warning_.isEmpty()) {
            warning_ = other.warning_;
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            ensureWarningIsMutable();
            warning_.addAll(other.warning_);
          }
          onChanged();
        }
        if (other.hasHasCoverage()) {
          setHasCoverage(other.getHasCoverage());
        }
        if (other.hasRemotelyCached()) {
          setRemotelyCached(other.getRemotelyCached());
        }
        if (other.hasIsRemoteStrategy()) {
          setIsRemoteStrategy(other.getIsRemoteStrategy());
        }
        if (!other.testTimes_.isEmpty()) {
          if (testTimes_.isEmpty()) {
            testTimes_ = other.testTimes_;
            bitField0_ = (bitField0_ & ~0x00000100);
          } else {
            ensureTestTimesIsMutable();
            testTimes_.addAll(other.testTimes_);
          }
          onChanged();
        }
        if (other.hasPassedLog()) {
          bitField0_ |= 0x00000200;
          passedLog_ = other.passedLog_;
          onChanged();
        }
        if (!other.testProcessTimes_.isEmpty()) {
          if (testProcessTimes_.isEmpty()) {
            testProcessTimes_ = other.testProcessTimes_;
            bitField0_ = (bitField0_ & ~0x00000400);
          } else {
            ensureTestProcessTimesIsMutable();
            testProcessTimes_.addAll(other.testProcessTimes_);
          }
          onChanged();
        }
        if (other.hasRunDurationMillis()) {
          setRunDurationMillis(other.getRunDurationMillis());
        }
        if (other.hasTestCase()) {
          mergeTestCase(other.getTestCase());
        }
        if (other.hasFailedStatus()) {
          setFailedStatus(other.getFailedStatus());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.devtools.build.lib.view.test.TestStatus.TestResultData parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.view.test.TestStatus.TestResultData) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private boolean cachable_ ;
      /**
       * <pre>
       * The following two fields are used for TestRunnerAction caching.
       * This reflects the fact that failing tests are successful
       * actions that might be cached, depending on option settings.
       * </pre>
       *
       * <code>optional bool cachable = 1;</code>
       */
      public boolean hasCachable() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <pre>
       * The following two fields are used for TestRunnerAction caching.
       * This reflects the fact that failing tests are successful
       * actions that might be cached, depending on option settings.
       * </pre>
       *
       * <code>optional bool cachable = 1;</code>
       */
      public boolean getCachable() {
        return cachable_;
      }
      /**
       * <pre>
       * The following two fields are used for TestRunnerAction caching.
       * This reflects the fact that failing tests are successful
       * actions that might be cached, depending on option settings.
       * </pre>
       *
       * <code>optional bool cachable = 1;</code>
       */
      public Builder setCachable(boolean value) {
        bitField0_ |= 0x00000001;
        cachable_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The following two fields are used for TestRunnerAction caching.
       * This reflects the fact that failing tests are successful
       * actions that might be cached, depending on option settings.
       * </pre>
       *
       * <code>optional bool cachable = 1;</code>
       */
      public Builder clearCachable() {
        bitField0_ = (bitField0_ & ~0x00000001);
        cachable_ = false;
        onChanged();
        return this;
      }

      private boolean testPassed_ ;
      /**
       * <code>optional bool test_passed = 2;</code>
       */
      public boolean hasTestPassed() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>optional bool test_passed = 2;</code>
       */
      public boolean getTestPassed() {
        return testPassed_;
      }
      /**
       * <code>optional bool test_passed = 2;</code>
       */
      public Builder setTestPassed(boolean value) {
        bitField0_ |= 0x00000002;
        testPassed_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional bool test_passed = 2;</code>
       */
      public Builder clearTestPassed() {
        bitField0_ = (bitField0_ & ~0x00000002);
        testPassed_ = false;
        onChanged();
        return this;
      }

      private int status_ = 0;
      /**
       * <pre>
       * Following data is informational.
       * </pre>
       *
       * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
       */
      public boolean hasStatus() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <pre>
       * Following data is informational.
       * </pre>
       *
       * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus getStatus() {
        com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus result = com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus.valueOf(status_);
        return result == null ? com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus.NO_STATUS : result;
      }
      /**
       * <pre>
       * Following data is informational.
       * </pre>
       *
       * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
       */
      public Builder setStatus(com.google.devtools.build.lib.view.test.TestStatus.BlazeTestStatus value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000004;
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Following data is informational.
       * </pre>
       *
       * <code>optional .blaze.BlazeTestStatus status = 3 [default = NO_STATUS];</code>
       */
      public Builder clearStatus() {
        bitField0_ = (bitField0_ & ~0x00000004);
        status_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList failedLogs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureFailedLogsIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          failedLogs_ = new com.google.protobuf.LazyStringArrayList(failedLogs_);
          bitField0_ |= 0x00000008;
         }
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getFailedLogsList() {
        return failedLogs_.getUnmodifiableView();
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public int getFailedLogsCount() {
        return failedLogs_.size();
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public java.lang.String getFailedLogs(int index) {
        return failedLogs_.get(index);
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public com.google.protobuf.ByteString
          getFailedLogsBytes(int index) {
        return failedLogs_.getByteString(index);
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public Builder setFailedLogs(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureFailedLogsIsMutable();
        failedLogs_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public Builder addFailedLogs(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureFailedLogsIsMutable();
        failedLogs_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public Builder addAllFailedLogs(
          java.lang.Iterable<java.lang.String> values) {
        ensureFailedLogsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, failedLogs_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public Builder clearFailedLogs() {
        failedLogs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_logs = 4;</code>
       */
      public Builder addFailedLogsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureFailedLogsIsMutable();
        failedLogs_.add(value);
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList warning_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureWarningIsMutable() {
        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
          warning_ = new com.google.protobuf.LazyStringArrayList(warning_);
          bitField0_ |= 0x00000010;
         }
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getWarningList() {
        return warning_.getUnmodifiableView();
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public int getWarningCount() {
        return warning_.size();
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public java.lang.String getWarning(int index) {
        return warning_.get(index);
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public com.google.protobuf.ByteString
          getWarningBytes(int index) {
        return warning_.getByteString(index);
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public Builder setWarning(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureWarningIsMutable();
        warning_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public Builder addWarning(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureWarningIsMutable();
        warning_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public Builder addAllWarning(
          java.lang.Iterable<java.lang.String> values) {
        ensureWarningIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, warning_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public Builder clearWarning() {
        warning_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warning = 5;</code>
       */
      public Builder addWarningBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureWarningIsMutable();
        warning_.add(value);
        onChanged();
        return this;
      }

      private boolean hasCoverage_ ;
      /**
       * <code>optional bool has_coverage = 6;</code>
       */
      public boolean hasHasCoverage() {
        return ((bitField0_ & 0x00000020) == 0x00000020);
      }
      /**
       * <code>optional bool has_coverage = 6;</code>
       */
      public boolean getHasCoverage() {
        return hasCoverage_;
      }
      /**
       * <code>optional bool has_coverage = 6;</code>
       */
      public Builder setHasCoverage(boolean value) {
        bitField0_ |= 0x00000020;
        hasCoverage_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional bool has_coverage = 6;</code>
       */
      public Builder clearHasCoverage() {
        bitField0_ = (bitField0_ & ~0x00000020);
        hasCoverage_ = false;
        onChanged();
        return this;
      }

      private boolean remotelyCached_ ;
      /**
       * <pre>
       * Returns if this was cached in remote execution.
       * </pre>
       *
       * <code>optional bool remotely_cached = 7;</code>
       */
      public boolean hasRemotelyCached() {
        return ((bitField0_ & 0x00000040) == 0x00000040);
      }
      /**
       * <pre>
       * Returns if this was cached in remote execution.
       * </pre>
       *
       * <code>optional bool remotely_cached = 7;</code>
       */
      public boolean getRemotelyCached() {
        return remotelyCached_;
      }
      /**
       * <pre>
       * Returns if this was cached in remote execution.
       * </pre>
       *
       * <code>optional bool remotely_cached = 7;</code>
       */
      public Builder setRemotelyCached(boolean value) {
        bitField0_ |= 0x00000040;
        remotelyCached_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Returns if this was cached in remote execution.
       * </pre>
       *
       * <code>optional bool remotely_cached = 7;</code>
       */
      public Builder clearRemotelyCached() {
        bitField0_ = (bitField0_ & ~0x00000040);
        remotelyCached_ = false;
        onChanged();
        return this;
      }

      private boolean isRemoteStrategy_ ;
      /**
       * <pre>
       * Returns true if this was executed remotely
       * </pre>
       *
       * <code>optional bool is_remote_strategy = 8;</code>
       */
      public boolean hasIsRemoteStrategy() {
        return ((bitField0_ & 0x00000080) == 0x00000080);
      }
      /**
       * <pre>
       * Returns true if this was executed remotely
       * </pre>
       *
       * <code>optional bool is_remote_strategy = 8;</code>
       */
      public boolean getIsRemoteStrategy() {
        return isRemoteStrategy_;
      }
      /**
       * <pre>
       * Returns true if this was executed remotely
       * </pre>
       *
       * <code>optional bool is_remote_strategy = 8;</code>
       */
      public Builder setIsRemoteStrategy(boolean value) {
        bitField0_ |= 0x00000080;
        isRemoteStrategy_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Returns true if this was executed remotely
       * </pre>
       *
       * <code>optional bool is_remote_strategy = 8;</code>
       */
      public Builder clearIsRemoteStrategy() {
        bitField0_ = (bitField0_ & ~0x00000080);
        isRemoteStrategy_ = false;
        onChanged();
        return this;
      }

      private java.util.List<java.lang.Long> testTimes_ = java.util.Collections.emptyList();
      private void ensureTestTimesIsMutable() {
        if (!((bitField0_ & 0x00000100) == 0x00000100)) {
          testTimes_ = new java.util.ArrayList<java.lang.Long>(testTimes_);
          bitField0_ |= 0x00000100;
         }
      }
      /**
       * <pre>
       * All associated test times (in ms).
       * </pre>
       *
       * <code>repeated int64 test_times = 9;</code>
       */
      public java.util.List<java.lang.Long>
          getTestTimesList() {
        return java.util.Collections.unmodifiableList(testTimes_);
      }
      /**
       * <pre>
       * All associated test times (in ms).
       * </pre>
       *
       * <code>repeated int64 test_times = 9;</code>
       */
      public int getTestTimesCount() {
        return testTimes_.size();
      }
      /**
       * <pre>
       * All associated test times (in ms).
       * </pre>
       *
       * <code>repeated int64 test_times = 9;</code>
       */
      public long getTestTimes(int index) {
        return testTimes_.get(index);
      }
      /**
       * <pre>
       * All associated test times (in ms).
       * </pre>
       *
       * <code>repeated int64 test_times = 9;</code>
       */
      public Builder setTestTimes(
          int index, long value) {
        ensureTestTimesIsMutable();
        testTimes_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * All associated test times (in ms).
       * </pre>
       *
       * <code>repeated int64 test_times = 9;</code>
       */
      public Builder addTestTimes(long value) {
        ensureTestTimesIsMutable();
        testTimes_.add(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * All associated test times (in ms).
       * </pre>
       *
       * <code>repeated int64 test_times = 9;</code>
       */
      public Builder addAllTestTimes(
          java.lang.Iterable<? extends java.lang.Long> values) {
        ensureTestTimesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, testTimes_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * All associated test times (in ms).
       * </pre>
       *
       * <code>repeated int64 test_times = 9;</code>
       */
      public Builder clearTestTimes() {
        testTimes_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000100);
        onChanged();
        return this;
      }

      private java.lang.Object passedLog_ = "";
      /**
       * <pre>
       * Passed log paths. Set if the test passed.
       * </pre>
       *
       * <code>optional string passed_log = 10;</code>
       */
      public boolean hasPassedLog() {
        return ((bitField0_ & 0x00000200) == 0x00000200);
      }
      /**
       * <pre>
       * Passed log paths. Set if the test passed.
       * </pre>
       *
       * <code>optional string passed_log = 10;</code>
       */
      public java.lang.String getPassedLog() {
        java.lang.Object ref = passedLog_;
        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()) {
            passedLog_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * Passed log paths. Set if the test passed.
       * </pre>
       *
       * <code>optional string passed_log = 10;</code>
       */
      public com.google.protobuf.ByteString
          getPassedLogBytes() {
        java.lang.Object ref = passedLog_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          passedLog_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * Passed log paths. Set if the test passed.
       * </pre>
       *
       * <code>optional string passed_log = 10;</code>
       */
      public Builder setPassedLog(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000200;
        passedLog_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Passed log paths. Set if the test passed.
       * </pre>
       *
       * <code>optional string passed_log = 10;</code>
       */
      public Builder clearPassedLog() {
        bitField0_ = (bitField0_ & ~0x00000200);
        passedLog_ = getDefaultInstance().getPassedLog();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Passed log paths. Set if the test passed.
       * </pre>
       *
       * <code>optional string passed_log = 10;</code>
       */
      public Builder setPassedLogBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000200;
        passedLog_ = value;
        onChanged();
        return this;
      }

      private java.util.List<java.lang.Long> testProcessTimes_ = java.util.Collections.emptyList();
      private void ensureTestProcessTimesIsMutable() {
        if (!((bitField0_ & 0x00000400) == 0x00000400)) {
          testProcessTimes_ = new java.util.ArrayList<java.lang.Long>(testProcessTimes_);
          bitField0_ |= 0x00000400;
         }
      }
      /**
       * <pre>
       * Test times, without remote execution overhead (in ms).
       * </pre>
       *
       * <code>repeated int64 test_process_times = 11;</code>
       */
      public java.util.List<java.lang.Long>
          getTestProcessTimesList() {
        return java.util.Collections.unmodifiableList(testProcessTimes_);
      }
      /**
       * <pre>
       * Test times, without remote execution overhead (in ms).
       * </pre>
       *
       * <code>repeated int64 test_process_times = 11;</code>
       */
      public int getTestProcessTimesCount() {
        return testProcessTimes_.size();
      }
      /**
       * <pre>
       * Test times, without remote execution overhead (in ms).
       * </pre>
       *
       * <code>repeated int64 test_process_times = 11;</code>
       */
      public long getTestProcessTimes(int index) {
        return testProcessTimes_.get(index);
      }
      /**
       * <pre>
       * Test times, without remote execution overhead (in ms).
       * </pre>
       *
       * <code>repeated int64 test_process_times = 11;</code>
       */
      public Builder setTestProcessTimes(
          int index, long value) {
        ensureTestProcessTimesIsMutable();
        testProcessTimes_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Test times, without remote execution overhead (in ms).
       * </pre>
       *
       * <code>repeated int64 test_process_times = 11;</code>
       */
      public Builder addTestProcessTimes(long value) {
        ensureTestProcessTimesIsMutable();
        testProcessTimes_.add(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Test times, without remote execution overhead (in ms).
       * </pre>
       *
       * <code>repeated int64 test_process_times = 11;</code>
       */
      public Builder addAllTestProcessTimes(
          java.lang.Iterable<? extends java.lang.Long> values) {
        ensureTestProcessTimesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, testProcessTimes_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Test times, without remote execution overhead (in ms).
       * </pre>
       *
       * <code>repeated int64 test_process_times = 11;</code>
       */
      public Builder clearTestProcessTimes() {
        testProcessTimes_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000400);
        onChanged();
        return this;
      }

      private long runDurationMillis_ ;
      /**
       * <pre>
       * Total time in ms.
       * </pre>
       *
       * <code>optional int64 run_duration_millis = 12;</code>
       */
      public boolean hasRunDurationMillis() {
        return ((bitField0_ & 0x00000800) == 0x00000800);
      }
      /**
       * <pre>
       * Total time in ms.
       * </pre>
       *
       * <code>optional int64 run_duration_millis = 12;</code>
       */
      public long getRunDurationMillis() {
        return runDurationMillis_;
      }
      /**
       * <pre>
       * Total time in ms.
       * </pre>
       *
       * <code>optional int64 run_duration_millis = 12;</code>
       */
      public Builder setRunDurationMillis(long value) {
        bitField0_ |= 0x00000800;
        runDurationMillis_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Total time in ms.
       * </pre>
       *
       * <code>optional int64 run_duration_millis = 12;</code>
       */
      public Builder clearRunDurationMillis() {
        bitField0_ = (bitField0_ & ~0x00000800);
        runDurationMillis_ = 0L;
        onChanged();
        return this;
      }

      private com.google.devtools.build.lib.view.test.TestStatus.TestCase testCase_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.view.test.TestStatus.TestCase, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder, com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder> testCaseBuilder_;
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public boolean hasTestCase() {
        return ((bitField0_ & 0x00001000) == 0x00001000);
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase getTestCase() {
        if (testCaseBuilder_ == null) {
          return testCase_ == null ? com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance() : testCase_;
        } else {
          return testCaseBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public Builder setTestCase(com.google.devtools.build.lib.view.test.TestStatus.TestCase value) {
        if (testCaseBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          testCase_ = value;
          onChanged();
        } else {
          testCaseBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00001000;
        return this;
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public Builder setTestCase(
          com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder builderForValue) {
        if (testCaseBuilder_ == null) {
          testCase_ = builderForValue.build();
          onChanged();
        } else {
          testCaseBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00001000;
        return this;
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public Builder mergeTestCase(com.google.devtools.build.lib.view.test.TestStatus.TestCase value) {
        if (testCaseBuilder_ == null) {
          if (((bitField0_ & 0x00001000) == 0x00001000) &&
              testCase_ != null &&
              testCase_ != com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance()) {
            testCase_ =
              com.google.devtools.build.lib.view.test.TestStatus.TestCase.newBuilder(testCase_).mergeFrom(value).buildPartial();
          } else {
            testCase_ = value;
          }
          onChanged();
        } else {
          testCaseBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00001000;
        return this;
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public Builder clearTestCase() {
        if (testCaseBuilder_ == null) {
          testCase_ = null;
          onChanged();
        } else {
          testCaseBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00001000);
        return this;
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder getTestCaseBuilder() {
        bitField0_ |= 0x00001000;
        onChanged();
        return getTestCaseFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder getTestCaseOrBuilder() {
        if (testCaseBuilder_ != null) {
          return testCaseBuilder_.getMessageOrBuilder();
        } else {
          return testCase_ == null ?
              com.google.devtools.build.lib.view.test.TestStatus.TestCase.getDefaultInstance() : testCase_;
        }
      }
      /**
       * <pre>
       * Additional build info
       * </pre>
       *
       * <code>optional .blaze.TestCase test_case = 13;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.view.test.TestStatus.TestCase, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder, com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder> 
          getTestCaseFieldBuilder() {
        if (testCaseBuilder_ == null) {
          testCaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.build.lib.view.test.TestStatus.TestCase, com.google.devtools.build.lib.view.test.TestStatus.TestCase.Builder, com.google.devtools.build.lib.view.test.TestStatus.TestCaseOrBuilder>(
                  getTestCase(),
                  getParentForChildren(),
                  isClean());
          testCase_ = null;
        }
        return testCaseBuilder_;
      }

      private int failedStatus_ = 1;
      /**
       * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
       */
      public boolean hasFailedStatus() {
        return ((bitField0_ & 0x00002000) == 0x00002000);
      }
      /**
       * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
       */
      public com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus getFailedStatus() {
        com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus result = com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus.valueOf(failedStatus_);
        return result == null ? com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus.FULL : result;
      }
      /**
       * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
       */
      public Builder setFailedStatus(com.google.devtools.build.lib.view.test.TestStatus.FailedTestCasesStatus value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00002000;
        failedStatus_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <code>optional .blaze.FailedTestCasesStatus failed_status = 14;</code>
       */
      public Builder clearFailedStatus() {
        bitField0_ = (bitField0_ & ~0x00002000);
        failedStatus_ = 1;
        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:blaze.TestResultData)
    }

    // @@protoc_insertion_point(class_scope:blaze.TestResultData)
    private static final com.google.devtools.build.lib.view.test.TestStatus.TestResultData DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.view.test.TestStatus.TestResultData();
    }

    public static com.google.devtools.build.lib.view.test.TestStatus.TestResultData getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser<TestResultData>
        PARSER = new com.google.protobuf.AbstractParser<TestResultData>() {
      public TestResultData parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
          return new TestResultData(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<TestResultData> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<TestResultData> getParserForType() {
      return PARSER;
    }

    public com.google.devtools.build.lib.view.test.TestStatus.TestResultData getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_TestCase_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_TestCase_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_TestResultData_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_TestResultData_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\nvbazel-out/local-fastbuild/bin/src/main" +
      "/protobuf/libtest_status_java_proto_srcj" +
      "ar.srcjar.preprocessed/test_status.proto" +
      "\022\005blaze\"\315\002\n\010TestCase\022\036\n\005child\030\001 \003(\0132\017.bl" +
      "aze.TestCase\022\014\n\004name\030\002 \001(\t\022\022\n\nclass_name" +
      "\030\003 \001(\t\022\033\n\023run_duration_millis\030\004 \001(\003\022\016\n\006r" +
      "esult\030\005 \001(\t\022\"\n\004type\030\006 \001(\0162\024.blaze.TestCa" +
      "se.Type\022&\n\006status\030\007 \001(\0162\026.blaze.TestCase" +
      ".Status\022\021\n\003run\030\010 \001(\010:\004true\"F\n\004Type\022\r\n\tTE" +
      "ST_CASE\020\000\022\016\n\nTEST_SUITE\020\001\022\022\n\016TEST_DECORA",
      "TOR\020\002\022\013\n\007UNKNOWN\020\003\"+\n\006Status\022\n\n\006PASSED\020\000" +
      "\022\n\n\006FAILED\020\001\022\t\n\005ERROR\020\002\"\225\003\n\016TestResultDa" +
      "ta\022\020\n\010cachable\030\001 \001(\010\022\023\n\013test_passed\030\002 \001(" +
      "\010\0221\n\006status\030\003 \001(\0162\026.blaze.BlazeTestStatu" +
      "s:\tNO_STATUS\022\023\n\013failed_logs\030\004 \003(\t\022\017\n\007war" +
      "ning\030\005 \003(\t\022\024\n\014has_coverage\030\006 \001(\010\022\027\n\017remo" +
      "tely_cached\030\007 \001(\010\022\032\n\022is_remote_strategy\030" +
      "\010 \001(\010\022\022\n\ntest_times\030\t \003(\003\022\022\n\npassed_log\030" +
      "\n \001(\t\022\032\n\022test_process_times\030\013 \003(\003\022\033\n\023run" +
      "_duration_millis\030\014 \001(\003\022\"\n\ttest_case\030\r \001(",
      "\0132\017.blaze.TestCase\0223\n\rfailed_status\030\016 \001(" +
      "\0162\034.blaze.FailedTestCasesStatus*L\n\025Faile" +
      "dTestCasesStatus\022\010\n\004FULL\020\001\022\013\n\007PARTIAL\020\002\022" +
      "\021\n\rNOT_AVAILABLE\020\003\022\t\n\005EMPTY\020\004*\252\001\n\017BlazeT" +
      "estStatus\022\r\n\tNO_STATUS\020\000\022\n\n\006PASSED\020\001\022\t\n\005" +
      "FLAKY\020\002\022\013\n\007TIMEOUT\020\003\022\n\n\006FAILED\020\004\022\016\n\nINCO" +
      "MPLETE\020\005\022\022\n\016REMOTE_FAILURE\020\006\022\023\n\017FAILED_T" +
      "O_BUILD\020\007\022\037\n\033BLAZE_HALTED_BEFORE_TESTING" +
      "\020\010B)\n\'com.google.devtools.build.lib.view" +
      ".test"
    };
    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_blaze_TestCase_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_blaze_TestCase_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_TestCase_descriptor,
        new java.lang.String[] { "Child", "Name", "ClassName", "RunDurationMillis", "Result", "Type", "Status", "Run", });
    internal_static_blaze_TestResultData_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_blaze_TestResultData_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_TestResultData_descriptor,
        new java.lang.String[] { "Cachable", "TestPassed", "Status", "FailedLogs", "Warning", "HasCoverage", "RemotelyCached", "IsRemoteStrategy", "TestTimes", "PassedLog", "TestProcessTimes", "RunDurationMillis", "TestCase", "FailedStatus", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
