// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: in_toto_attestation/predicates/test_result/v0/test_result.proto

package io.github.intoto.attestation.predicates.test_result.v0;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TestResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:in_toto_attestation.predicates.test_result.v0.TestResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string result = 1;</code>
     * @return The result.
     */
    java.lang.String getResult();
    /**
     * <code>string result = 1;</code>
     * @return The bytes for result.
     */
    com.google.protobuf.ByteString
        getResultBytes();

    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    java.util.List<io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor> 
        getConfigurationList();
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor getConfiguration(int index);
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    int getConfigurationCount();
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    java.util.List<? extends io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder> 
        getConfigurationOrBuilderList();
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder getConfigurationOrBuilder(
        int index);

    /**
     * <code>string url = 3;</code>
     * @return The url.
     */
    java.lang.String getUrl();
    /**
     * <code>string url = 3;</code>
     * @return The bytes for url.
     */
    com.google.protobuf.ByteString
        getUrlBytes();

    /**
     * <code>repeated string passed_tests = 4;</code>
     * @return A list containing the passedTests.
     */
    java.util.List<java.lang.String>
        getPassedTestsList();
    /**
     * <code>repeated string passed_tests = 4;</code>
     * @return The count of passedTests.
     */
    int getPassedTestsCount();
    /**
     * <code>repeated string passed_tests = 4;</code>
     * @param index The index of the element to return.
     * @return The passedTests at the given index.
     */
    java.lang.String getPassedTests(int index);
    /**
     * <code>repeated string passed_tests = 4;</code>
     * @param index The index of the value to return.
     * @return The bytes of the passedTests at the given index.
     */
    com.google.protobuf.ByteString
        getPassedTestsBytes(int index);

    /**
     * <code>repeated string warned_tests = 5;</code>
     * @return A list containing the warnedTests.
     */
    java.util.List<java.lang.String>
        getWarnedTestsList();
    /**
     * <code>repeated string warned_tests = 5;</code>
     * @return The count of warnedTests.
     */
    int getWarnedTestsCount();
    /**
     * <code>repeated string warned_tests = 5;</code>
     * @param index The index of the element to return.
     * @return The warnedTests at the given index.
     */
    java.lang.String getWarnedTests(int index);
    /**
     * <code>repeated string warned_tests = 5;</code>
     * @param index The index of the value to return.
     * @return The bytes of the warnedTests at the given index.
     */
    com.google.protobuf.ByteString
        getWarnedTestsBytes(int index);

    /**
     * <code>repeated string failed_tests = 6;</code>
     * @return A list containing the failedTests.
     */
    java.util.List<java.lang.String>
        getFailedTestsList();
    /**
     * <code>repeated string failed_tests = 6;</code>
     * @return The count of failedTests.
     */
    int getFailedTestsCount();
    /**
     * <code>repeated string failed_tests = 6;</code>
     * @param index The index of the element to return.
     * @return The failedTests at the given index.
     */
    java.lang.String getFailedTests(int index);
    /**
     * <code>repeated string failed_tests = 6;</code>
     * @param index The index of the value to return.
     * @return The bytes of the failedTests at the given index.
     */
    com.google.protobuf.ByteString
        getFailedTestsBytes(int index);
  }
  /**
   * Protobuf type {@code in_toto_attestation.predicates.test_result.v0.TestResult}
   */
  public static final class TestResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:in_toto_attestation.predicates.test_result.v0.TestResult)
      TestResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TestResult.newBuilder() to construct.
    private TestResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private TestResult() {
      result_ = "";
      configuration_ = java.util.Collections.emptyList();
      url_ = "";
      passedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      warnedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      failedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new TestResult();
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult.class, io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult.Builder.class);
    }

    public static final int RESULT_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object result_ = "";
    /**
     * <code>string result = 1;</code>
     * @return The result.
     */
    @java.lang.Override
    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();
        result_ = s;
        return s;
      }
    }
    /**
     * <code>string result = 1;</code>
     * @return The bytes for result.
     */
    @java.lang.Override
    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 CONFIGURATION_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private java.util.List<io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor> configuration_;
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    @java.lang.Override
    public java.util.List<io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor> getConfigurationList() {
      return configuration_;
    }
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    @java.lang.Override
    public java.util.List<? extends io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder> 
        getConfigurationOrBuilderList() {
      return configuration_;
    }
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    @java.lang.Override
    public int getConfigurationCount() {
      return configuration_.size();
    }
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor getConfiguration(int index) {
      return configuration_.get(index);
    }
    /**
     * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
     */
    @java.lang.Override
    public io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder getConfigurationOrBuilder(
        int index) {
      return configuration_.get(index);
    }

    public static final int URL_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private volatile java.lang.Object url_ = "";
    /**
     * <code>string url = 3;</code>
     * @return The url.
     */
    @java.lang.Override
    public java.lang.String getUrl() {
      java.lang.Object ref = url_;
      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();
        url_ = s;
        return s;
      }
    }
    /**
     * <code>string url = 3;</code>
     * @return The bytes for url.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUrlBytes() {
      java.lang.Object ref = url_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        url_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PASSED_TESTS_FIELD_NUMBER = 4;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList passedTests_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * <code>repeated string passed_tests = 4;</code>
     * @return A list containing the passedTests.
     */
    public com.google.protobuf.ProtocolStringList
        getPassedTestsList() {
      return passedTests_;
    }
    /**
     * <code>repeated string passed_tests = 4;</code>
     * @return The count of passedTests.
     */
    public int getPassedTestsCount() {
      return passedTests_.size();
    }
    /**
     * <code>repeated string passed_tests = 4;</code>
     * @param index The index of the element to return.
     * @return The passedTests at the given index.
     */
    public java.lang.String getPassedTests(int index) {
      return passedTests_.get(index);
    }
    /**
     * <code>repeated string passed_tests = 4;</code>
     * @param index The index of the value to return.
     * @return The bytes of the passedTests at the given index.
     */
    public com.google.protobuf.ByteString
        getPassedTestsBytes(int index) {
      return passedTests_.getByteString(index);
    }

    public static final int WARNED_TESTS_FIELD_NUMBER = 5;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList warnedTests_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * <code>repeated string warned_tests = 5;</code>
     * @return A list containing the warnedTests.
     */
    public com.google.protobuf.ProtocolStringList
        getWarnedTestsList() {
      return warnedTests_;
    }
    /**
     * <code>repeated string warned_tests = 5;</code>
     * @return The count of warnedTests.
     */
    public int getWarnedTestsCount() {
      return warnedTests_.size();
    }
    /**
     * <code>repeated string warned_tests = 5;</code>
     * @param index The index of the element to return.
     * @return The warnedTests at the given index.
     */
    public java.lang.String getWarnedTests(int index) {
      return warnedTests_.get(index);
    }
    /**
     * <code>repeated string warned_tests = 5;</code>
     * @param index The index of the value to return.
     * @return The bytes of the warnedTests at the given index.
     */
    public com.google.protobuf.ByteString
        getWarnedTestsBytes(int index) {
      return warnedTests_.getByteString(index);
    }

    public static final int FAILED_TESTS_FIELD_NUMBER = 6;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList failedTests_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * <code>repeated string failed_tests = 6;</code>
     * @return A list containing the failedTests.
     */
    public com.google.protobuf.ProtocolStringList
        getFailedTestsList() {
      return failedTests_;
    }
    /**
     * <code>repeated string failed_tests = 6;</code>
     * @return The count of failedTests.
     */
    public int getFailedTestsCount() {
      return failedTests_.size();
    }
    /**
     * <code>repeated string failed_tests = 6;</code>
     * @param index The index of the element to return.
     * @return The failedTests at the given index.
     */
    public java.lang.String getFailedTests(int index) {
      return failedTests_.get(index);
    }
    /**
     * <code>repeated string failed_tests = 6;</code>
     * @param index The index of the value to return.
     * @return The bytes of the failedTests at the given index.
     */
    public com.google.protobuf.ByteString
        getFailedTestsBytes(int index) {
      return failedTests_.getByteString(index);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
      }
      for (int i = 0; i < configuration_.size(); i++) {
        output.writeMessage(2, configuration_.get(i));
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, url_);
      }
      for (int i = 0; i < passedTests_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, passedTests_.getRaw(i));
      }
      for (int i = 0; i < warnedTests_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, warnedTests_.getRaw(i));
      }
      for (int i = 0; i < failedTests_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, failedTests_.getRaw(i));
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
      }
      for (int i = 0; i < configuration_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, configuration_.get(i));
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(url_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, url_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < passedTests_.size(); i++) {
          dataSize += computeStringSizeNoTag(passedTests_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getPassedTestsList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < warnedTests_.size(); i++) {
          dataSize += computeStringSizeNoTag(warnedTests_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getWarnedTestsList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < failedTests_.size(); i++) {
          dataSize += computeStringSizeNoTag(failedTests_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getFailedTestsList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult)) {
        return super.equals(obj);
      }
      io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult other = (io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult) obj;

      if (!getResult()
          .equals(other.getResult())) return false;
      if (!getConfigurationList()
          .equals(other.getConfigurationList())) return false;
      if (!getUrl()
          .equals(other.getUrl())) return false;
      if (!getPassedTestsList()
          .equals(other.getPassedTestsList())) return false;
      if (!getWarnedTestsList()
          .equals(other.getWarnedTestsList())) return false;
      if (!getFailedTestsList()
          .equals(other.getFailedTestsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + RESULT_FIELD_NUMBER;
      hash = (53 * hash) + getResult().hashCode();
      if (getConfigurationCount() > 0) {
        hash = (37 * hash) + CONFIGURATION_FIELD_NUMBER;
        hash = (53 * hash) + getConfigurationList().hashCode();
      }
      hash = (37 * hash) + URL_FIELD_NUMBER;
      hash = (53 * hash) + getUrl().hashCode();
      if (getPassedTestsCount() > 0) {
        hash = (37 * hash) + PASSED_TESTS_FIELD_NUMBER;
        hash = (53 * hash) + getPassedTestsList().hashCode();
      }
      if (getWarnedTestsCount() > 0) {
        hash = (37 * hash) + WARNED_TESTS_FIELD_NUMBER;
        hash = (53 * hash) + getWarnedTestsList().hashCode();
      }
      if (getFailedTestsCount() > 0) {
        hash = (37 * hash) + FAILED_TESTS_FIELD_NUMBER;
        hash = (53 * hash) + getFailedTestsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult 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 io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult 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 io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    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;
    }
    /**
     * Protobuf type {@code in_toto_attestation.predicates.test_result.v0.TestResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:in_toto_attestation.predicates.test_result.v0.TestResult)
        io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult.class, io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult.Builder.class);
      }

      // Construct using io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult.newBuilder()
      private Builder() {

      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        result_ = "";
        if (configurationBuilder_ == null) {
          configuration_ = java.util.Collections.emptyList();
        } else {
          configuration_ = null;
          configurationBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        url_ = "";
        passedTests_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        warnedTests_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        failedTests_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_descriptor;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult getDefaultInstanceForType() {
        return io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult.getDefaultInstance();
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult build() {
        io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult buildPartial() {
        io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult result = new io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult result) {
        if (configurationBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            configuration_ = java.util.Collections.unmodifiableList(configuration_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.configuration_ = configuration_;
        } else {
          result.configuration_ = configurationBuilder_.build();
        }
      }

      private void buildPartial0(io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.result_ = result_;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.url_ = url_;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          passedTests_.makeImmutable();
          result.passedTests_ = passedTests_;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          warnedTests_.makeImmutable();
          result.warnedTests_ = warnedTests_;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          failedTests_.makeImmutable();
          result.failedTests_ = failedTests_;
        }
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult) {
          return mergeFrom((io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult other) {
        if (other == io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult.getDefaultInstance()) return this;
        if (!other.getResult().isEmpty()) {
          result_ = other.result_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (configurationBuilder_ == null) {
          if (!other.configuration_.isEmpty()) {
            if (configuration_.isEmpty()) {
              configuration_ = other.configuration_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureConfigurationIsMutable();
              configuration_.addAll(other.configuration_);
            }
            onChanged();
          }
        } else {
          if (!other.configuration_.isEmpty()) {
            if (configurationBuilder_.isEmpty()) {
              configurationBuilder_.dispose();
              configurationBuilder_ = null;
              configuration_ = other.configuration_;
              bitField0_ = (bitField0_ & ~0x00000002);
              configurationBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getConfigurationFieldBuilder() : null;
            } else {
              configurationBuilder_.addAllMessages(other.configuration_);
            }
          }
        }
        if (!other.getUrl().isEmpty()) {
          url_ = other.url_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        if (!other.passedTests_.isEmpty()) {
          if (passedTests_.isEmpty()) {
            passedTests_ = other.passedTests_;
            bitField0_ |= 0x00000008;
          } else {
            ensurePassedTestsIsMutable();
            passedTests_.addAll(other.passedTests_);
          }
          onChanged();
        }
        if (!other.warnedTests_.isEmpty()) {
          if (warnedTests_.isEmpty()) {
            warnedTests_ = other.warnedTests_;
            bitField0_ |= 0x00000010;
          } else {
            ensureWarnedTestsIsMutable();
            warnedTests_.addAll(other.warnedTests_);
          }
          onChanged();
        }
        if (!other.failedTests_.isEmpty()) {
          if (failedTests_.isEmpty()) {
            failedTests_ = other.failedTests_;
            bitField0_ |= 0x00000020;
          } else {
            ensureFailedTestsIsMutable();
            failedTests_.addAll(other.failedTests_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                result_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor m =
                    input.readMessage(
                        io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.parser(),
                        extensionRegistry);
                if (configurationBuilder_ == null) {
                  ensureConfigurationIsMutable();
                  configuration_.add(m);
                } else {
                  configurationBuilder_.addMessage(m);
                }
                break;
              } // case 18
              case 26: {
                url_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 34: {
                java.lang.String s = input.readStringRequireUtf8();
                ensurePassedTestsIsMutable();
                passedTests_.add(s);
                break;
              } // case 34
              case 42: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureWarnedTestsIsMutable();
                warnedTests_.add(s);
                break;
              } // case 42
              case 50: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureFailedTestsIsMutable();
                failedTests_.add(s);
                break;
              } // case 50
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object result_ = "";
      /**
       * <code>string result = 1;</code>
       * @return The result.
       */
      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();
          result_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string result = 1;</code>
       * @return The bytes for result.
       */
      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>string result = 1;</code>
       * @param value The result to set.
       * @return This builder for chaining.
       */
      public Builder setResult(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        result_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>string result = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearResult() {
        result_ = getDefaultInstance().getResult();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>string result = 1;</code>
       * @param value The bytes for result to set.
       * @return This builder for chaining.
       */
      public Builder setResultBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        result_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private java.util.List<io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor> configuration_ =
        java.util.Collections.emptyList();
      private void ensureConfigurationIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          configuration_ = new java.util.ArrayList<io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor>(configuration_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder> configurationBuilder_;

      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public java.util.List<io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor> getConfigurationList() {
        if (configurationBuilder_ == null) {
          return java.util.Collections.unmodifiableList(configuration_);
        } else {
          return configurationBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public int getConfigurationCount() {
        if (configurationBuilder_ == null) {
          return configuration_.size();
        } else {
          return configurationBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor getConfiguration(int index) {
        if (configurationBuilder_ == null) {
          return configuration_.get(index);
        } else {
          return configurationBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder setConfiguration(
          int index, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor value) {
        if (configurationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConfigurationIsMutable();
          configuration_.set(index, value);
          onChanged();
        } else {
          configurationBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder setConfiguration(
          int index, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder builderForValue) {
        if (configurationBuilder_ == null) {
          ensureConfigurationIsMutable();
          configuration_.set(index, builderForValue.build());
          onChanged();
        } else {
          configurationBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder addConfiguration(io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor value) {
        if (configurationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConfigurationIsMutable();
          configuration_.add(value);
          onChanged();
        } else {
          configurationBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder addConfiguration(
          int index, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor value) {
        if (configurationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureConfigurationIsMutable();
          configuration_.add(index, value);
          onChanged();
        } else {
          configurationBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder addConfiguration(
          io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder builderForValue) {
        if (configurationBuilder_ == null) {
          ensureConfigurationIsMutable();
          configuration_.add(builderForValue.build());
          onChanged();
        } else {
          configurationBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder addConfiguration(
          int index, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder builderForValue) {
        if (configurationBuilder_ == null) {
          ensureConfigurationIsMutable();
          configuration_.add(index, builderForValue.build());
          onChanged();
        } else {
          configurationBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder addAllConfiguration(
          java.lang.Iterable<? extends io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor> values) {
        if (configurationBuilder_ == null) {
          ensureConfigurationIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, configuration_);
          onChanged();
        } else {
          configurationBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder clearConfiguration() {
        if (configurationBuilder_ == null) {
          configuration_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          configurationBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public Builder removeConfiguration(int index) {
        if (configurationBuilder_ == null) {
          ensureConfigurationIsMutable();
          configuration_.remove(index);
          onChanged();
        } else {
          configurationBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder getConfigurationBuilder(
          int index) {
        return getConfigurationFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder getConfigurationOrBuilder(
          int index) {
        if (configurationBuilder_ == null) {
          return configuration_.get(index);  } else {
          return configurationBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public java.util.List<? extends io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder> 
           getConfigurationOrBuilderList() {
        if (configurationBuilder_ != null) {
          return configurationBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(configuration_);
        }
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder addConfigurationBuilder() {
        return getConfigurationFieldBuilder().addBuilder(
            io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.getDefaultInstance());
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder addConfigurationBuilder(
          int index) {
        return getConfigurationFieldBuilder().addBuilder(
            index, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.getDefaultInstance());
      }
      /**
       * <code>repeated .in_toto_attestation.v1.ResourceDescriptor configuration = 2;</code>
       */
      public java.util.List<io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder> 
           getConfigurationBuilderList() {
        return getConfigurationFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder> 
          getConfigurationFieldBuilder() {
        if (configurationBuilder_ == null) {
          configurationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptor.Builder, io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.ResourceDescriptorOrBuilder>(
                  configuration_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          configuration_ = null;
        }
        return configurationBuilder_;
      }

      private java.lang.Object url_ = "";
      /**
       * <code>string url = 3;</code>
       * @return The url.
       */
      public java.lang.String getUrl() {
        java.lang.Object ref = url_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          url_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string url = 3;</code>
       * @return The bytes for url.
       */
      public com.google.protobuf.ByteString
          getUrlBytes() {
        java.lang.Object ref = url_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          url_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string url = 3;</code>
       * @param value The url to set.
       * @return This builder for chaining.
       */
      public Builder setUrl(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        url_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>string url = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearUrl() {
        url_ = getDefaultInstance().getUrl();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * <code>string url = 3;</code>
       * @param value The bytes for url to set.
       * @return This builder for chaining.
       */
      public Builder setUrlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        url_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringArrayList passedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensurePassedTestsIsMutable() {
        if (!passedTests_.isModifiable()) {
          passedTests_ = new com.google.protobuf.LazyStringArrayList(passedTests_);
        }
        bitField0_ |= 0x00000008;
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @return A list containing the passedTests.
       */
      public com.google.protobuf.ProtocolStringList
          getPassedTestsList() {
        passedTests_.makeImmutable();
        return passedTests_;
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @return The count of passedTests.
       */
      public int getPassedTestsCount() {
        return passedTests_.size();
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @param index The index of the element to return.
       * @return The passedTests at the given index.
       */
      public java.lang.String getPassedTests(int index) {
        return passedTests_.get(index);
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @param index The index of the value to return.
       * @return The bytes of the passedTests at the given index.
       */
      public com.google.protobuf.ByteString
          getPassedTestsBytes(int index) {
        return passedTests_.getByteString(index);
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @param index The index to set the value at.
       * @param value The passedTests to set.
       * @return This builder for chaining.
       */
      public Builder setPassedTests(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensurePassedTestsIsMutable();
        passedTests_.set(index, value);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @param value The passedTests to add.
       * @return This builder for chaining.
       */
      public Builder addPassedTests(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensurePassedTestsIsMutable();
        passedTests_.add(value);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @param values The passedTests to add.
       * @return This builder for chaining.
       */
      public Builder addAllPassedTests(
          java.lang.Iterable<java.lang.String> values) {
        ensurePassedTestsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, passedTests_);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearPassedTests() {
        passedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string passed_tests = 4;</code>
       * @param value The bytes of the passedTests to add.
       * @return This builder for chaining.
       */
      public Builder addPassedTestsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensurePassedTestsIsMutable();
        passedTests_.add(value);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringArrayList warnedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureWarnedTestsIsMutable() {
        if (!warnedTests_.isModifiable()) {
          warnedTests_ = new com.google.protobuf.LazyStringArrayList(warnedTests_);
        }
        bitField0_ |= 0x00000010;
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @return A list containing the warnedTests.
       */
      public com.google.protobuf.ProtocolStringList
          getWarnedTestsList() {
        warnedTests_.makeImmutable();
        return warnedTests_;
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @return The count of warnedTests.
       */
      public int getWarnedTestsCount() {
        return warnedTests_.size();
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @param index The index of the element to return.
       * @return The warnedTests at the given index.
       */
      public java.lang.String getWarnedTests(int index) {
        return warnedTests_.get(index);
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @param index The index of the value to return.
       * @return The bytes of the warnedTests at the given index.
       */
      public com.google.protobuf.ByteString
          getWarnedTestsBytes(int index) {
        return warnedTests_.getByteString(index);
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @param index The index to set the value at.
       * @param value The warnedTests to set.
       * @return This builder for chaining.
       */
      public Builder setWarnedTests(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureWarnedTestsIsMutable();
        warnedTests_.set(index, value);
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @param value The warnedTests to add.
       * @return This builder for chaining.
       */
      public Builder addWarnedTests(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureWarnedTestsIsMutable();
        warnedTests_.add(value);
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @param values The warnedTests to add.
       * @return This builder for chaining.
       */
      public Builder addAllWarnedTests(
          java.lang.Iterable<java.lang.String> values) {
        ensureWarnedTestsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, warnedTests_);
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @return This builder for chaining.
       */
      public Builder clearWarnedTests() {
        warnedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000010);;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string warned_tests = 5;</code>
       * @param value The bytes of the warnedTests to add.
       * @return This builder for chaining.
       */
      public Builder addWarnedTestsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureWarnedTestsIsMutable();
        warnedTests_.add(value);
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringArrayList failedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureFailedTestsIsMutable() {
        if (!failedTests_.isModifiable()) {
          failedTests_ = new com.google.protobuf.LazyStringArrayList(failedTests_);
        }
        bitField0_ |= 0x00000020;
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @return A list containing the failedTests.
       */
      public com.google.protobuf.ProtocolStringList
          getFailedTestsList() {
        failedTests_.makeImmutable();
        return failedTests_;
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @return The count of failedTests.
       */
      public int getFailedTestsCount() {
        return failedTests_.size();
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @param index The index of the element to return.
       * @return The failedTests at the given index.
       */
      public java.lang.String getFailedTests(int index) {
        return failedTests_.get(index);
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @param index The index of the value to return.
       * @return The bytes of the failedTests at the given index.
       */
      public com.google.protobuf.ByteString
          getFailedTestsBytes(int index) {
        return failedTests_.getByteString(index);
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @param index The index to set the value at.
       * @param value The failedTests to set.
       * @return This builder for chaining.
       */
      public Builder setFailedTests(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureFailedTestsIsMutable();
        failedTests_.set(index, value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @param value The failedTests to add.
       * @return This builder for chaining.
       */
      public Builder addFailedTests(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureFailedTestsIsMutable();
        failedTests_.add(value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @param values The failedTests to add.
       * @return This builder for chaining.
       */
      public Builder addAllFailedTests(
          java.lang.Iterable<java.lang.String> values) {
        ensureFailedTestsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, failedTests_);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @return This builder for chaining.
       */
      public Builder clearFailedTests() {
        failedTests_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000020);;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string failed_tests = 6;</code>
       * @param value The bytes of the failedTests to add.
       * @return This builder for chaining.
       */
      public Builder addFailedTestsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureFailedTestsIsMutable();
        failedTests_.add(value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:in_toto_attestation.predicates.test_result.v0.TestResult)
    }

    // @@protoc_insertion_point(class_scope:in_toto_attestation.predicates.test_result.v0.TestResult)
    private static final io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult();
    }

    public static io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<TestResult>
        PARSER = new com.google.protobuf.AbstractParser<TestResult>() {
      @java.lang.Override
      public TestResult parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

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

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

    @java.lang.Override
    public io.github.intoto.attestation.predicates.test_result.v0.TestResultOuterClass.TestResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n?in_toto_attestation/predicates/test_re" +
      "sult/v0/test_result.proto\022-in_toto_attes" +
      "tation.predicates.test_result.v0\0320in_tot" +
      "o_attestation/v1/resource_descriptor.pro" +
      "to\"\256\001\n\nTestResult\022\016\n\006result\030\001 \001(\t\022A\n\rcon" +
      "figuration\030\002 \003(\0132*.in_toto_attestation.v" +
      "1.ResourceDescriptor\022\013\n\003url\030\003 \001(\t\022\024\n\014pas" +
      "sed_tests\030\004 \003(\t\022\024\n\014warned_tests\030\005 \003(\t\022\024\n" +
      "\014failed_tests\030\006 \003(\tBu\n6io.github.intoto." +
      "attestation.predicates.test_result.v0Z;g" +
      "ithub.com/in-toto/attestation/go/predica" +
      "tes/test_result/v0b\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.getDescriptor(),
        });
    internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_in_toto_attestation_predicates_test_result_v0_TestResult_descriptor,
        new java.lang.String[] { "Result", "Configuration", "Url", "PassedTests", "WarnedTests", "FailedTests", });
    io.github.intoto.attestation.v1.ResourceDescriptorOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
