// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: src/main/protobuf/spawn.proto

package com.google.devtools.build.lib.exec;

public final class Protos {
  private Protos() {}
  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 DigestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tools.protos.Digest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Digest of a file's contents using the current FileSystem digest function.
     * </pre>
     *
     * <code>string hash = 1;</code>
     */
    java.lang.String getHash();
    /**
     * <pre>
     * Digest of a file's contents using the current FileSystem digest function.
     * </pre>
     *
     * <code>string hash = 1;</code>
     */
    com.google.protobuf.ByteString
        getHashBytes();

    /**
     * <pre>
     * The size in bytes of the original content.
     * </pre>
     *
     * <code>int64 size_bytes = 2;</code>
     */
    long getSizeBytes();

    /**
     * <pre>
     * The digest function that was used to generate the hash.
     * This is not an enum for compatibility reasons, and also because the
     * purpose of these logs is to enable analysis by comparison of multiple
     * builds. So, from the programmatic perspective, this is an opaque field.
     * </pre>
     *
     * <code>string hash_function_name = 3;</code>
     */
    java.lang.String getHashFunctionName();
    /**
     * <pre>
     * The digest function that was used to generate the hash.
     * This is not an enum for compatibility reasons, and also because the
     * purpose of these logs is to enable analysis by comparison of multiple
     * builds. So, from the programmatic perspective, this is an opaque field.
     * </pre>
     *
     * <code>string hash_function_name = 3;</code>
     */
    com.google.protobuf.ByteString
        getHashFunctionNameBytes();
  }
  /**
   * Protobuf type {@code tools.protos.Digest}
   */
  public  static final class Digest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tools.protos.Digest)
      DigestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Digest.newBuilder() to construct.
    private Digest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Digest() {
      hash_ = "";
      sizeBytes_ = 0L;
      hashFunctionName_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Digest(
        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 (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              hash_ = s;
              break;
            }
            case 16: {

              sizeBytes_ = input.readInt64();
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              hashFunctionName_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Digest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Digest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.exec.Protos.Digest.class, com.google.devtools.build.lib.exec.Protos.Digest.Builder.class);
    }

    public static final int HASH_FIELD_NUMBER = 1;
    private volatile java.lang.Object hash_;
    /**
     * <pre>
     * Digest of a file's contents using the current FileSystem digest function.
     * </pre>
     *
     * <code>string hash = 1;</code>
     */
    public java.lang.String getHash() {
      java.lang.Object ref = hash_;
      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();
        hash_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * Digest of a file's contents using the current FileSystem digest function.
     * </pre>
     *
     * <code>string hash = 1;</code>
     */
    public com.google.protobuf.ByteString
        getHashBytes() {
      java.lang.Object ref = hash_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hash_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SIZE_BYTES_FIELD_NUMBER = 2;
    private long sizeBytes_;
    /**
     * <pre>
     * The size in bytes of the original content.
     * </pre>
     *
     * <code>int64 size_bytes = 2;</code>
     */
    public long getSizeBytes() {
      return sizeBytes_;
    }

    public static final int HASH_FUNCTION_NAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object hashFunctionName_;
    /**
     * <pre>
     * The digest function that was used to generate the hash.
     * This is not an enum for compatibility reasons, and also because the
     * purpose of these logs is to enable analysis by comparison of multiple
     * builds. So, from the programmatic perspective, this is an opaque field.
     * </pre>
     *
     * <code>string hash_function_name = 3;</code>
     */
    public java.lang.String getHashFunctionName() {
      java.lang.Object ref = hashFunctionName_;
      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();
        hashFunctionName_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * The digest function that was used to generate the hash.
     * This is not an enum for compatibility reasons, and also because the
     * purpose of these logs is to enable analysis by comparison of multiple
     * builds. So, from the programmatic perspective, this is an opaque field.
     * </pre>
     *
     * <code>string hash_function_name = 3;</code>
     */
    public com.google.protobuf.ByteString
        getHashFunctionNameBytes() {
      java.lang.Object ref = hashFunctionName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hashFunctionName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (!getHashBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hash_);
      }
      if (sizeBytes_ != 0L) {
        output.writeInt64(2, sizeBytes_);
      }
      if (!getHashFunctionNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, hashFunctionName_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getHashBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hash_);
      }
      if (sizeBytes_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, sizeBytes_);
      }
      if (!getHashFunctionNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hashFunctionName_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.exec.Protos.Digest)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.exec.Protos.Digest other = (com.google.devtools.build.lib.exec.Protos.Digest) obj;

      boolean result = true;
      result = result && getHash()
          .equals(other.getHash());
      result = result && (getSizeBytes()
          == other.getSizeBytes());
      result = result && getHashFunctionName()
          .equals(other.getHashFunctionName());
      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) + getDescriptor().hashCode();
      hash = (37 * hash) + HASH_FIELD_NUMBER;
      hash = (53 * hash) + getHash().hashCode();
      hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getSizeBytes());
      hash = (37 * hash) + HASH_FUNCTION_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getHashFunctionName().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.exec.Protos.Digest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.Digest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.exec.Protos.Digest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.Digest 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.exec.Protos.Digest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.Digest 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.exec.Protos.Digest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.Digest 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.exec.Protos.Digest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.Digest 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.exec.Protos.Digest 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.exec.Protos.Digest 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.exec.Protos.Digest 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;
    }
    /**
     * Protobuf type {@code tools.protos.Digest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:tools.protos.Digest)
        com.google.devtools.build.lib.exec.Protos.DigestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Digest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Digest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.exec.Protos.Digest.class, com.google.devtools.build.lib.exec.Protos.Digest.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.exec.Protos.Digest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        hash_ = "";

        sizeBytes_ = 0L;

        hashFunctionName_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Digest_descriptor;
      }

      public com.google.devtools.build.lib.exec.Protos.Digest getDefaultInstanceForType() {
        return com.google.devtools.build.lib.exec.Protos.Digest.getDefaultInstance();
      }

      public com.google.devtools.build.lib.exec.Protos.Digest build() {
        com.google.devtools.build.lib.exec.Protos.Digest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.exec.Protos.Digest buildPartial() {
        com.google.devtools.build.lib.exec.Protos.Digest result = new com.google.devtools.build.lib.exec.Protos.Digest(this);
        result.hash_ = hash_;
        result.sizeBytes_ = sizeBytes_;
        result.hashFunctionName_ = hashFunctionName_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.exec.Protos.Digest) {
          return mergeFrom((com.google.devtools.build.lib.exec.Protos.Digest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.exec.Protos.Digest other) {
        if (other == com.google.devtools.build.lib.exec.Protos.Digest.getDefaultInstance()) return this;
        if (!other.getHash().isEmpty()) {
          hash_ = other.hash_;
          onChanged();
        }
        if (other.getSizeBytes() != 0L) {
          setSizeBytes(other.getSizeBytes());
        }
        if (!other.getHashFunctionName().isEmpty()) {
          hashFunctionName_ = other.hashFunctionName_;
          onChanged();
        }
        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.exec.Protos.Digest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.exec.Protos.Digest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object hash_ = "";
      /**
       * <pre>
       * Digest of a file's contents using the current FileSystem digest function.
       * </pre>
       *
       * <code>string hash = 1;</code>
       */
      public java.lang.String getHash() {
        java.lang.Object ref = hash_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          hash_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * Digest of a file's contents using the current FileSystem digest function.
       * </pre>
       *
       * <code>string hash = 1;</code>
       */
      public com.google.protobuf.ByteString
          getHashBytes() {
        java.lang.Object ref = hash_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          hash_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * Digest of a file's contents using the current FileSystem digest function.
       * </pre>
       *
       * <code>string hash = 1;</code>
       */
      public Builder setHash(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        hash_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Digest of a file's contents using the current FileSystem digest function.
       * </pre>
       *
       * <code>string hash = 1;</code>
       */
      public Builder clearHash() {
        
        hash_ = getDefaultInstance().getHash();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Digest of a file's contents using the current FileSystem digest function.
       * </pre>
       *
       * <code>string hash = 1;</code>
       */
      public Builder setHashBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        hash_ = value;
        onChanged();
        return this;
      }

      private long sizeBytes_ ;
      /**
       * <pre>
       * The size in bytes of the original content.
       * </pre>
       *
       * <code>int64 size_bytes = 2;</code>
       */
      public long getSizeBytes() {
        return sizeBytes_;
      }
      /**
       * <pre>
       * The size in bytes of the original content.
       * </pre>
       *
       * <code>int64 size_bytes = 2;</code>
       */
      public Builder setSizeBytes(long value) {
        
        sizeBytes_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The size in bytes of the original content.
       * </pre>
       *
       * <code>int64 size_bytes = 2;</code>
       */
      public Builder clearSizeBytes() {
        
        sizeBytes_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object hashFunctionName_ = "";
      /**
       * <pre>
       * The digest function that was used to generate the hash.
       * This is not an enum for compatibility reasons, and also because the
       * purpose of these logs is to enable analysis by comparison of multiple
       * builds. So, from the programmatic perspective, this is an opaque field.
       * </pre>
       *
       * <code>string hash_function_name = 3;</code>
       */
      public java.lang.String getHashFunctionName() {
        java.lang.Object ref = hashFunctionName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          hashFunctionName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * The digest function that was used to generate the hash.
       * This is not an enum for compatibility reasons, and also because the
       * purpose of these logs is to enable analysis by comparison of multiple
       * builds. So, from the programmatic perspective, this is an opaque field.
       * </pre>
       *
       * <code>string hash_function_name = 3;</code>
       */
      public com.google.protobuf.ByteString
          getHashFunctionNameBytes() {
        java.lang.Object ref = hashFunctionName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          hashFunctionName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * The digest function that was used to generate the hash.
       * This is not an enum for compatibility reasons, and also because the
       * purpose of these logs is to enable analysis by comparison of multiple
       * builds. So, from the programmatic perspective, this is an opaque field.
       * </pre>
       *
       * <code>string hash_function_name = 3;</code>
       */
      public Builder setHashFunctionName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        hashFunctionName_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The digest function that was used to generate the hash.
       * This is not an enum for compatibility reasons, and also because the
       * purpose of these logs is to enable analysis by comparison of multiple
       * builds. So, from the programmatic perspective, this is an opaque field.
       * </pre>
       *
       * <code>string hash_function_name = 3;</code>
       */
      public Builder clearHashFunctionName() {
        
        hashFunctionName_ = getDefaultInstance().getHashFunctionName();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The digest function that was used to generate the hash.
       * This is not an enum for compatibility reasons, and also because the
       * purpose of these logs is to enable analysis by comparison of multiple
       * builds. So, from the programmatic perspective, this is an opaque field.
       * </pre>
       *
       * <code>string hash_function_name = 3;</code>
       */
      public Builder setHashFunctionNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        hashFunctionName_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tools.protos.Digest)
    }

    // @@protoc_insertion_point(class_scope:tools.protos.Digest)
    private static final com.google.devtools.build.lib.exec.Protos.Digest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.exec.Protos.Digest();
    }

    public static com.google.devtools.build.lib.exec.Protos.Digest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.exec.Protos.Digest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface FileOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tools.protos.File)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Path to the file relative to the execution root.
     * </pre>
     *
     * <code>string path = 1;</code>
     */
    java.lang.String getPath();
    /**
     * <pre>
     * Path to the file relative to the execution root.
     * </pre>
     *
     * <code>string path = 1;</code>
     */
    com.google.protobuf.ByteString
        getPathBytes();

    /**
     * <pre>
     * Digest of the file's contents.
     * </pre>
     *
     * <code>.tools.protos.Digest digest = 2;</code>
     */
    boolean hasDigest();
    /**
     * <pre>
     * Digest of the file's contents.
     * </pre>
     *
     * <code>.tools.protos.Digest digest = 2;</code>
     */
    com.google.devtools.build.lib.exec.Protos.Digest getDigest();
    /**
     * <pre>
     * Digest of the file's contents.
     * </pre>
     *
     * <code>.tools.protos.Digest digest = 2;</code>
     */
    com.google.devtools.build.lib.exec.Protos.DigestOrBuilder getDigestOrBuilder();
  }
  /**
   * Protobuf type {@code tools.protos.File}
   */
  public  static final class File extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tools.protos.File)
      FileOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use File.newBuilder() to construct.
    private File(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private File() {
      path_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private File(
        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 (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              path_ = s;
              break;
            }
            case 18: {
              com.google.devtools.build.lib.exec.Protos.Digest.Builder subBuilder = null;
              if (digest_ != null) {
                subBuilder = digest_.toBuilder();
              }
              digest_ = input.readMessage(com.google.devtools.build.lib.exec.Protos.Digest.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(digest_);
                digest_ = subBuilder.buildPartial();
              }

              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_File_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_File_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.exec.Protos.File.class, com.google.devtools.build.lib.exec.Protos.File.Builder.class);
    }

    public static final int PATH_FIELD_NUMBER = 1;
    private volatile java.lang.Object path_;
    /**
     * <pre>
     * Path to the file relative to the execution root.
     * </pre>
     *
     * <code>string path = 1;</code>
     */
    public java.lang.String getPath() {
      java.lang.Object ref = path_;
      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();
        path_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * Path to the file relative to the execution root.
     * </pre>
     *
     * <code>string path = 1;</code>
     */
    public com.google.protobuf.ByteString
        getPathBytes() {
      java.lang.Object ref = path_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        path_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DIGEST_FIELD_NUMBER = 2;
    private com.google.devtools.build.lib.exec.Protos.Digest digest_;
    /**
     * <pre>
     * Digest of the file's contents.
     * </pre>
     *
     * <code>.tools.protos.Digest digest = 2;</code>
     */
    public boolean hasDigest() {
      return digest_ != null;
    }
    /**
     * <pre>
     * Digest of the file's contents.
     * </pre>
     *
     * <code>.tools.protos.Digest digest = 2;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.Digest getDigest() {
      return digest_ == null ? com.google.devtools.build.lib.exec.Protos.Digest.getDefaultInstance() : digest_;
    }
    /**
     * <pre>
     * Digest of the file's contents.
     * </pre>
     *
     * <code>.tools.protos.Digest digest = 2;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.DigestOrBuilder getDigestOrBuilder() {
      return getDigest();
    }

    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 (!getPathBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
      }
      if (digest_ != null) {
        output.writeMessage(2, getDigest());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getPathBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
      }
      if (digest_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getDigest());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.exec.Protos.File)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.exec.Protos.File other = (com.google.devtools.build.lib.exec.Protos.File) obj;

      boolean result = true;
      result = result && getPath()
          .equals(other.getPath());
      result = result && (hasDigest() == other.hasDigest());
      if (hasDigest()) {
        result = result && getDigest()
            .equals(other.getDigest());
      }
      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) + getDescriptor().hashCode();
      hash = (37 * hash) + PATH_FIELD_NUMBER;
      hash = (53 * hash) + getPath().hashCode();
      if (hasDigest()) {
        hash = (37 * hash) + DIGEST_FIELD_NUMBER;
        hash = (53 * hash) + getDigest().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.exec.Protos.File parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.File parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.exec.Protos.File parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.File 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.exec.Protos.File parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.File 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.exec.Protos.File parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.File 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.exec.Protos.File parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.File 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.exec.Protos.File 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.exec.Protos.File 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.exec.Protos.File 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;
    }
    /**
     * Protobuf type {@code tools.protos.File}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:tools.protos.File)
        com.google.devtools.build.lib.exec.Protos.FileOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_File_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_File_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.exec.Protos.File.class, com.google.devtools.build.lib.exec.Protos.File.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.exec.Protos.File.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        path_ = "";

        if (digestBuilder_ == null) {
          digest_ = null;
        } else {
          digest_ = null;
          digestBuilder_ = null;
        }
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_File_descriptor;
      }

      public com.google.devtools.build.lib.exec.Protos.File getDefaultInstanceForType() {
        return com.google.devtools.build.lib.exec.Protos.File.getDefaultInstance();
      }

      public com.google.devtools.build.lib.exec.Protos.File build() {
        com.google.devtools.build.lib.exec.Protos.File result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.exec.Protos.File buildPartial() {
        com.google.devtools.build.lib.exec.Protos.File result = new com.google.devtools.build.lib.exec.Protos.File(this);
        result.path_ = path_;
        if (digestBuilder_ == null) {
          result.digest_ = digest_;
        } else {
          result.digest_ = digestBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.exec.Protos.File) {
          return mergeFrom((com.google.devtools.build.lib.exec.Protos.File)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.exec.Protos.File other) {
        if (other == com.google.devtools.build.lib.exec.Protos.File.getDefaultInstance()) return this;
        if (!other.getPath().isEmpty()) {
          path_ = other.path_;
          onChanged();
        }
        if (other.hasDigest()) {
          mergeDigest(other.getDigest());
        }
        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.exec.Protos.File parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.exec.Protos.File) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object path_ = "";
      /**
       * <pre>
       * Path to the file relative to the execution root.
       * </pre>
       *
       * <code>string path = 1;</code>
       */
      public java.lang.String getPath() {
        java.lang.Object ref = path_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          path_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * Path to the file relative to the execution root.
       * </pre>
       *
       * <code>string path = 1;</code>
       */
      public com.google.protobuf.ByteString
          getPathBytes() {
        java.lang.Object ref = path_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          path_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * Path to the file relative to the execution root.
       * </pre>
       *
       * <code>string path = 1;</code>
       */
      public Builder setPath(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        path_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Path to the file relative to the execution root.
       * </pre>
       *
       * <code>string path = 1;</code>
       */
      public Builder clearPath() {
        
        path_ = getDefaultInstance().getPath();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Path to the file relative to the execution root.
       * </pre>
       *
       * <code>string path = 1;</code>
       */
      public Builder setPathBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        path_ = value;
        onChanged();
        return this;
      }

      private com.google.devtools.build.lib.exec.Protos.Digest digest_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.Digest, com.google.devtools.build.lib.exec.Protos.Digest.Builder, com.google.devtools.build.lib.exec.Protos.DigestOrBuilder> digestBuilder_;
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public boolean hasDigest() {
        return digestBuilder_ != null || digest_ != null;
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Digest getDigest() {
        if (digestBuilder_ == null) {
          return digest_ == null ? com.google.devtools.build.lib.exec.Protos.Digest.getDefaultInstance() : digest_;
        } else {
          return digestBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public Builder setDigest(com.google.devtools.build.lib.exec.Protos.Digest value) {
        if (digestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          digest_ = value;
          onChanged();
        } else {
          digestBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public Builder setDigest(
          com.google.devtools.build.lib.exec.Protos.Digest.Builder builderForValue) {
        if (digestBuilder_ == null) {
          digest_ = builderForValue.build();
          onChanged();
        } else {
          digestBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public Builder mergeDigest(com.google.devtools.build.lib.exec.Protos.Digest value) {
        if (digestBuilder_ == null) {
          if (digest_ != null) {
            digest_ =
              com.google.devtools.build.lib.exec.Protos.Digest.newBuilder(digest_).mergeFrom(value).buildPartial();
          } else {
            digest_ = value;
          }
          onChanged();
        } else {
          digestBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public Builder clearDigest() {
        if (digestBuilder_ == null) {
          digest_ = null;
          onChanged();
        } else {
          digest_ = null;
          digestBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Digest.Builder getDigestBuilder() {
        
        onChanged();
        return getDigestFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.DigestOrBuilder getDigestOrBuilder() {
        if (digestBuilder_ != null) {
          return digestBuilder_.getMessageOrBuilder();
        } else {
          return digest_ == null ?
              com.google.devtools.build.lib.exec.Protos.Digest.getDefaultInstance() : digest_;
        }
      }
      /**
       * <pre>
       * Digest of the file's contents.
       * </pre>
       *
       * <code>.tools.protos.Digest digest = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.Digest, com.google.devtools.build.lib.exec.Protos.Digest.Builder, com.google.devtools.build.lib.exec.Protos.DigestOrBuilder> 
          getDigestFieldBuilder() {
        if (digestBuilder_ == null) {
          digestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.build.lib.exec.Protos.Digest, com.google.devtools.build.lib.exec.Protos.Digest.Builder, com.google.devtools.build.lib.exec.Protos.DigestOrBuilder>(
                  getDigest(),
                  getParentForChildren(),
                  isClean());
          digest_ = null;
        }
        return digestBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tools.protos.File)
    }

    // @@protoc_insertion_point(class_scope:tools.protos.File)
    private static final com.google.devtools.build.lib.exec.Protos.File DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.exec.Protos.File();
    }

    public static com.google.devtools.build.lib.exec.Protos.File getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.exec.Protos.File getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface EnvironmentVariableOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tools.protos.EnvironmentVariable)
      com.google.protobuf.MessageOrBuilder {

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

    /**
     * <code>string value = 2;</code>
     */
    java.lang.String getValue();
    /**
     * <code>string value = 2;</code>
     */
    com.google.protobuf.ByteString
        getValueBytes();
  }
  /**
   * <pre>
   * Contents of command environment.
   * </pre>
   *
   * Protobuf type {@code tools.protos.EnvironmentVariable}
   */
  public  static final class EnvironmentVariable extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tools.protos.EnvironmentVariable)
      EnvironmentVariableOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use EnvironmentVariable.newBuilder() to construct.
    private EnvironmentVariable(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private EnvironmentVariable() {
      name_ = "";
      value_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private EnvironmentVariable(
        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 (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              name_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              value_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_EnvironmentVariable_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_EnvironmentVariable_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.class, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder.class);
    }

    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * <code>string name = 1;</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();
        name_ = s;
        return s;
      }
    }
    /**
     * <code>string name = 1;</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 VALUE_FIELD_NUMBER = 2;
    private volatile java.lang.Object value_;
    /**
     * <code>string value = 2;</code>
     */
    public java.lang.String getValue() {
      java.lang.Object ref = value_;
      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();
        value_ = s;
        return s;
      }
    }
    /**
     * <code>string value = 2;</code>
     */
    public com.google.protobuf.ByteString
        getValueBytes() {
      java.lang.Object ref = value_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        value_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    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 (!getNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (!getValueBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (!getNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (!getValueBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.exec.Protos.EnvironmentVariable)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.exec.Protos.EnvironmentVariable other = (com.google.devtools.build.lib.exec.Protos.EnvironmentVariable) obj;

      boolean result = true;
      result = result && getName()
          .equals(other.getName());
      result = result && getValue()
          .equals(other.getValue());
      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) + getDescriptor().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + VALUE_FIELD_NUMBER;
      hash = (53 * hash) + getValue().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable 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.exec.Protos.EnvironmentVariable parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable 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.exec.Protos.EnvironmentVariable parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable 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.exec.Protos.EnvironmentVariable parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable 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.exec.Protos.EnvironmentVariable 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.exec.Protos.EnvironmentVariable 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.exec.Protos.EnvironmentVariable 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>
     * Contents of command environment.
     * </pre>
     *
     * Protobuf type {@code tools.protos.EnvironmentVariable}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:tools.protos.EnvironmentVariable)
        com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_EnvironmentVariable_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_EnvironmentVariable_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.class, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        name_ = "";

        value_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_EnvironmentVariable_descriptor;
      }

      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable getDefaultInstanceForType() {
        return com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.getDefaultInstance();
      }

      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable build() {
        com.google.devtools.build.lib.exec.Protos.EnvironmentVariable result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable buildPartial() {
        com.google.devtools.build.lib.exec.Protos.EnvironmentVariable result = new com.google.devtools.build.lib.exec.Protos.EnvironmentVariable(this);
        result.name_ = name_;
        result.value_ = value_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.exec.Protos.EnvironmentVariable) {
          return mergeFrom((com.google.devtools.build.lib.exec.Protos.EnvironmentVariable)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.exec.Protos.EnvironmentVariable other) {
        if (other == com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (!other.getValue().isEmpty()) {
          value_ = other.value_;
          onChanged();
        }
        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.exec.Protos.EnvironmentVariable parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.exec.Protos.EnvironmentVariable) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object name_ = "";
      /**
       * <code>string name = 1;</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();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string name = 1;</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>string name = 1;</code>
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string name = 1;</code>
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <code>string name = 1;</code>
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object value_ = "";
      /**
       * <code>string value = 2;</code>
       */
      public java.lang.String getValue() {
        java.lang.Object ref = value_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          value_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string value = 2;</code>
       */
      public com.google.protobuf.ByteString
          getValueBytes() {
        java.lang.Object ref = value_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          value_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string value = 2;</code>
       */
      public Builder setValue(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        value_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string value = 2;</code>
       */
      public Builder clearValue() {
        
        value_ = getDefaultInstance().getValue();
        onChanged();
        return this;
      }
      /**
       * <code>string value = 2;</code>
       */
      public Builder setValueBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        value_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tools.protos.EnvironmentVariable)
    }

    // @@protoc_insertion_point(class_scope:tools.protos.EnvironmentVariable)
    private static final com.google.devtools.build.lib.exec.Protos.EnvironmentVariable DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.exec.Protos.EnvironmentVariable();
    }

    public static com.google.devtools.build.lib.exec.Protos.EnvironmentVariable getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PlatformOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tools.protos.Platform)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    java.util.List<com.google.devtools.build.lib.exec.Protos.Platform.Property> 
        getPropertiesList();
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    com.google.devtools.build.lib.exec.Protos.Platform.Property getProperties(int index);
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    int getPropertiesCount();
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder> 
        getPropertiesOrBuilderList();
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder getPropertiesOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Command execution platform. This message needs to be kept in sync
   * with [Platform][google.devtools.remoteexecution.v1test.Platform].
   * </pre>
   *
   * Protobuf type {@code tools.protos.Platform}
   */
  public  static final class Platform extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tools.protos.Platform)
      PlatformOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Platform.newBuilder() to construct.
    private Platform(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Platform() {
      properties_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Platform(
        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 (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                properties_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.Platform.Property>();
                mutable_bitField0_ |= 0x00000001;
              }
              properties_.add(
                  input.readMessage(com.google.devtools.build.lib.exec.Protos.Platform.Property.parser(), extensionRegistry));
              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)) {
          properties_ = java.util.Collections.unmodifiableList(properties_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.exec.Protos.Platform.class, com.google.devtools.build.lib.exec.Protos.Platform.Builder.class);
    }

    public interface PropertyOrBuilder extends
        // @@protoc_insertion_point(interface_extends:tools.protos.Platform.Property)
        com.google.protobuf.MessageOrBuilder {

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

      /**
       * <code>string value = 2;</code>
       */
      java.lang.String getValue();
      /**
       * <code>string value = 2;</code>
       */
      com.google.protobuf.ByteString
          getValueBytes();
    }
    /**
     * Protobuf type {@code tools.protos.Platform.Property}
     */
    public  static final class Property extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:tools.protos.Platform.Property)
        PropertyOrBuilder {
    private static final long serialVersionUID = 0L;
      // Use Property.newBuilder() to construct.
      private Property(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private Property() {
        name_ = "";
        value_ = "";
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return this.unknownFields;
      }
      private Property(
          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 (!parseUnknownFieldProto3(
                    input, unknownFields, extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                java.lang.String s = input.readStringRequireUtf8();

                name_ = s;
                break;
              }
              case 18: {
                java.lang.String s = input.readStringRequireUtf8();

                value_ = s;
                break;
              }
            }
          }
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(
              e).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_Property_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_Property_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.exec.Protos.Platform.Property.class, com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder.class);
      }

      public static final int NAME_FIELD_NUMBER = 1;
      private volatile java.lang.Object name_;
      /**
       * <code>string name = 1;</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();
          name_ = s;
          return s;
        }
      }
      /**
       * <code>string name = 1;</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 VALUE_FIELD_NUMBER = 2;
      private volatile java.lang.Object value_;
      /**
       * <code>string value = 2;</code>
       */
      public java.lang.String getValue() {
        java.lang.Object ref = value_;
        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();
          value_ = s;
          return s;
        }
      }
      /**
       * <code>string value = 2;</code>
       */
      public com.google.protobuf.ByteString
          getValueBytes() {
        java.lang.Object ref = value_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          value_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }

      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 (!getNameBytes().isEmpty()) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
        }
        if (!getValueBytes().isEmpty()) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
        }
        unknownFields.writeTo(output);
      }

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

        size = 0;
        if (!getNameBytes().isEmpty()) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
        }
        if (!getValueBytes().isEmpty()) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
        }
        size += unknownFields.getSerializedSize();
        memoizedSize = size;
        return size;
      }

      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.google.devtools.build.lib.exec.Protos.Platform.Property)) {
          return super.equals(obj);
        }
        com.google.devtools.build.lib.exec.Protos.Platform.Property other = (com.google.devtools.build.lib.exec.Protos.Platform.Property) obj;

        boolean result = true;
        result = result && getName()
            .equals(other.getName());
        result = result && getValue()
            .equals(other.getValue());
        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) + getDescriptor().hashCode();
        hash = (37 * hash) + NAME_FIELD_NUMBER;
        hash = (53 * hash) + getName().hashCode();
        hash = (37 * hash) + VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getValue().hashCode();
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static com.google.devtools.build.lib.exec.Protos.Platform.Property parseFrom(
          java.nio.ByteBuffer data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.devtools.build.lib.exec.Protos.Platform.Property parseFrom(
          java.nio.ByteBuffer data,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static com.google.devtools.build.lib.exec.Protos.Platform.Property parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.devtools.build.lib.exec.Protos.Platform.Property 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.exec.Protos.Platform.Property parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.devtools.build.lib.exec.Protos.Platform.Property 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.exec.Protos.Platform.Property parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.devtools.build.lib.exec.Protos.Platform.Property 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.exec.Protos.Platform.Property parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.google.devtools.build.lib.exec.Protos.Platform.Property 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.exec.Protos.Platform.Property 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.exec.Protos.Platform.Property 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.exec.Protos.Platform.Property 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;
      }
      /**
       * Protobuf type {@code tools.protos.Platform.Property}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:tools.protos.Platform.Property)
          com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_Property_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_Property_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.devtools.build.lib.exec.Protos.Platform.Property.class, com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder.class);
        }

        // Construct using com.google.devtools.build.lib.exec.Protos.Platform.Property.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (com.google.protobuf.GeneratedMessageV3
                  .alwaysUseFieldBuilders) {
          }
        }
        public Builder clear() {
          super.clear();
          name_ = "";

          value_ = "";

          return this;
        }

        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_Property_descriptor;
        }

        public com.google.devtools.build.lib.exec.Protos.Platform.Property getDefaultInstanceForType() {
          return com.google.devtools.build.lib.exec.Protos.Platform.Property.getDefaultInstance();
        }

        public com.google.devtools.build.lib.exec.Protos.Platform.Property build() {
          com.google.devtools.build.lib.exec.Protos.Platform.Property result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.devtools.build.lib.exec.Protos.Platform.Property buildPartial() {
          com.google.devtools.build.lib.exec.Protos.Platform.Property result = new com.google.devtools.build.lib.exec.Protos.Platform.Property(this);
          result.name_ = name_;
          result.value_ = value_;
          onBuilt();
          return result;
        }

        public Builder clone() {
          return (Builder) super.clone();
        }
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.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, java.lang.Object value) {
          return (Builder) super.setRepeatedField(field, index, value);
        }
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            java.lang.Object value) {
          return (Builder) super.addRepeatedField(field, value);
        }
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof com.google.devtools.build.lib.exec.Protos.Platform.Property) {
            return mergeFrom((com.google.devtools.build.lib.exec.Protos.Platform.Property)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.devtools.build.lib.exec.Protos.Platform.Property other) {
          if (other == com.google.devtools.build.lib.exec.Protos.Platform.Property.getDefaultInstance()) return this;
          if (!other.getName().isEmpty()) {
            name_ = other.name_;
            onChanged();
          }
          if (!other.getValue().isEmpty()) {
            value_ = other.value_;
            onChanged();
          }
          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.exec.Protos.Platform.Property parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.devtools.build.lib.exec.Protos.Platform.Property) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }

        private java.lang.Object name_ = "";
        /**
         * <code>string name = 1;</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();
            name_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <code>string name = 1;</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>string name = 1;</code>
         */
        public Builder setName(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  
          name_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>string name = 1;</code>
         */
        public Builder clearName() {
          
          name_ = getDefaultInstance().getName();
          onChanged();
          return this;
        }
        /**
         * <code>string name = 1;</code>
         */
        public Builder setNameBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
          
          name_ = value;
          onChanged();
          return this;
        }

        private java.lang.Object value_ = "";
        /**
         * <code>string value = 2;</code>
         */
        public java.lang.String getValue() {
          java.lang.Object ref = value_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            value_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <code>string value = 2;</code>
         */
        public com.google.protobuf.ByteString
            getValueBytes() {
          java.lang.Object ref = value_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            value_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * <code>string value = 2;</code>
         */
        public Builder setValue(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  
          value_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>string value = 2;</code>
         */
        public Builder clearValue() {
          
          value_ = getDefaultInstance().getValue();
          onChanged();
          return this;
        }
        /**
         * <code>string value = 2;</code>
         */
        public Builder setValueBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
          
          value_ = value;
          onChanged();
          return this;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return super.setUnknownFieldsProto3(unknownFields);
        }

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


        // @@protoc_insertion_point(builder_scope:tools.protos.Platform.Property)
      }

      // @@protoc_insertion_point(class_scope:tools.protos.Platform.Property)
      private static final com.google.devtools.build.lib.exec.Protos.Platform.Property DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.devtools.build.lib.exec.Protos.Platform.Property();
      }

      public static com.google.devtools.build.lib.exec.Protos.Platform.Property getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.devtools.build.lib.exec.Protos.Platform.Property getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public static final int PROPERTIES_FIELD_NUMBER = 1;
    private java.util.List<com.google.devtools.build.lib.exec.Protos.Platform.Property> properties_;
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    public java.util.List<com.google.devtools.build.lib.exec.Protos.Platform.Property> getPropertiesList() {
      return properties_;
    }
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder> 
        getPropertiesOrBuilderList() {
      return properties_;
    }
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    public int getPropertiesCount() {
      return properties_.size();
    }
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.Platform.Property getProperties(int index) {
      return properties_.get(index);
    }
    /**
     * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder getPropertiesOrBuilder(
        int index) {
      return properties_.get(index);
    }

    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 < properties_.size(); i++) {
        output.writeMessage(1, properties_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < properties_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, properties_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.exec.Protos.Platform)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.exec.Protos.Platform other = (com.google.devtools.build.lib.exec.Protos.Platform) obj;

      boolean result = true;
      result = result && getPropertiesList()
          .equals(other.getPropertiesList());
      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) + getDescriptor().hashCode();
      if (getPropertiesCount() > 0) {
        hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
        hash = (53 * hash) + getPropertiesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.exec.Protos.Platform parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.Platform parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.exec.Protos.Platform parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.Platform 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.exec.Protos.Platform parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.Platform 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.exec.Protos.Platform parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.Platform 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.exec.Protos.Platform parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.Platform 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.exec.Protos.Platform 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.exec.Protos.Platform 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.exec.Protos.Platform 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>
     * Command execution platform. This message needs to be kept in sync
     * with [Platform][google.devtools.remoteexecution.v1test.Platform].
     * </pre>
     *
     * Protobuf type {@code tools.protos.Platform}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:tools.protos.Platform)
        com.google.devtools.build.lib.exec.Protos.PlatformOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.exec.Protos.Platform.class, com.google.devtools.build.lib.exec.Protos.Platform.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.exec.Protos.Platform.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getPropertiesFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (propertiesBuilder_ == null) {
          properties_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          propertiesBuilder_.clear();
        }
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_Platform_descriptor;
      }

      public com.google.devtools.build.lib.exec.Protos.Platform getDefaultInstanceForType() {
        return com.google.devtools.build.lib.exec.Protos.Platform.getDefaultInstance();
      }

      public com.google.devtools.build.lib.exec.Protos.Platform build() {
        com.google.devtools.build.lib.exec.Protos.Platform result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.exec.Protos.Platform buildPartial() {
        com.google.devtools.build.lib.exec.Protos.Platform result = new com.google.devtools.build.lib.exec.Protos.Platform(this);
        int from_bitField0_ = bitField0_;
        if (propertiesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            properties_ = java.util.Collections.unmodifiableList(properties_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.properties_ = properties_;
        } else {
          result.properties_ = propertiesBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.exec.Protos.Platform) {
          return mergeFrom((com.google.devtools.build.lib.exec.Protos.Platform)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.exec.Protos.Platform other) {
        if (other == com.google.devtools.build.lib.exec.Protos.Platform.getDefaultInstance()) return this;
        if (propertiesBuilder_ == null) {
          if (!other.properties_.isEmpty()) {
            if (properties_.isEmpty()) {
              properties_ = other.properties_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensurePropertiesIsMutable();
              properties_.addAll(other.properties_);
            }
            onChanged();
          }
        } else {
          if (!other.properties_.isEmpty()) {
            if (propertiesBuilder_.isEmpty()) {
              propertiesBuilder_.dispose();
              propertiesBuilder_ = null;
              properties_ = other.properties_;
              bitField0_ = (bitField0_ & ~0x00000001);
              propertiesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getPropertiesFieldBuilder() : null;
            } else {
              propertiesBuilder_.addAllMessages(other.properties_);
            }
          }
        }
        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.exec.Protos.Platform parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.exec.Protos.Platform) 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.exec.Protos.Platform.Property> properties_ =
        java.util.Collections.emptyList();
      private void ensurePropertiesIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          properties_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.Platform.Property>(properties_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.Platform.Property, com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder, com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder> propertiesBuilder_;

      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.Platform.Property> getPropertiesList() {
        if (propertiesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(properties_);
        } else {
          return propertiesBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public int getPropertiesCount() {
        if (propertiesBuilder_ == null) {
          return properties_.size();
        } else {
          return propertiesBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Platform.Property getProperties(int index) {
        if (propertiesBuilder_ == null) {
          return properties_.get(index);
        } else {
          return propertiesBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder setProperties(
          int index, com.google.devtools.build.lib.exec.Protos.Platform.Property value) {
        if (propertiesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePropertiesIsMutable();
          properties_.set(index, value);
          onChanged();
        } else {
          propertiesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder setProperties(
          int index, com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder builderForValue) {
        if (propertiesBuilder_ == null) {
          ensurePropertiesIsMutable();
          properties_.set(index, builderForValue.build());
          onChanged();
        } else {
          propertiesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder addProperties(com.google.devtools.build.lib.exec.Protos.Platform.Property value) {
        if (propertiesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePropertiesIsMutable();
          properties_.add(value);
          onChanged();
        } else {
          propertiesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder addProperties(
          int index, com.google.devtools.build.lib.exec.Protos.Platform.Property value) {
        if (propertiesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensurePropertiesIsMutable();
          properties_.add(index, value);
          onChanged();
        } else {
          propertiesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder addProperties(
          com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder builderForValue) {
        if (propertiesBuilder_ == null) {
          ensurePropertiesIsMutable();
          properties_.add(builderForValue.build());
          onChanged();
        } else {
          propertiesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder addProperties(
          int index, com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder builderForValue) {
        if (propertiesBuilder_ == null) {
          ensurePropertiesIsMutable();
          properties_.add(index, builderForValue.build());
          onChanged();
        } else {
          propertiesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder addAllProperties(
          java.lang.Iterable<? extends com.google.devtools.build.lib.exec.Protos.Platform.Property> values) {
        if (propertiesBuilder_ == null) {
          ensurePropertiesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, properties_);
          onChanged();
        } else {
          propertiesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder clearProperties() {
        if (propertiesBuilder_ == null) {
          properties_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          propertiesBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public Builder removeProperties(int index) {
        if (propertiesBuilder_ == null) {
          ensurePropertiesIsMutable();
          properties_.remove(index);
          onChanged();
        } else {
          propertiesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder getPropertiesBuilder(
          int index) {
        return getPropertiesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder getPropertiesOrBuilder(
          int index) {
        if (propertiesBuilder_ == null) {
          return properties_.get(index);  } else {
          return propertiesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder> 
           getPropertiesOrBuilderList() {
        if (propertiesBuilder_ != null) {
          return propertiesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(properties_);
        }
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder addPropertiesBuilder() {
        return getPropertiesFieldBuilder().addBuilder(
            com.google.devtools.build.lib.exec.Protos.Platform.Property.getDefaultInstance());
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder addPropertiesBuilder(
          int index) {
        return getPropertiesFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.exec.Protos.Platform.Property.getDefaultInstance());
      }
      /**
       * <code>repeated .tools.protos.Platform.Property properties = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder> 
           getPropertiesBuilderList() {
        return getPropertiesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.Platform.Property, com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder, com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder> 
          getPropertiesFieldBuilder() {
        if (propertiesBuilder_ == null) {
          propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.exec.Protos.Platform.Property, com.google.devtools.build.lib.exec.Protos.Platform.Property.Builder, com.google.devtools.build.lib.exec.Protos.Platform.PropertyOrBuilder>(
                  properties_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          properties_ = null;
        }
        return propertiesBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tools.protos.Platform)
    }

    // @@protoc_insertion_point(class_scope:tools.protos.Platform)
    private static final com.google.devtools.build.lib.exec.Protos.Platform DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.exec.Protos.Platform();
    }

    public static com.google.devtools.build.lib.exec.Protos.Platform getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.exec.Protos.Platform getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SpawnExecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:tools.protos.SpawnExec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    java.util.List<java.lang.String>
        getCommandArgsList();
    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    int getCommandArgsCount();
    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    java.lang.String getCommandArgs(int index);
    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    com.google.protobuf.ByteString
        getCommandArgsBytes(int index);

    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    java.util.List<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable> 
        getEnvironmentVariablesList();
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    com.google.devtools.build.lib.exec.Protos.EnvironmentVariable getEnvironmentVariables(int index);
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    int getEnvironmentVariablesCount();
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder> 
        getEnvironmentVariablesOrBuilderList();
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder getEnvironmentVariablesOrBuilder(
        int index);

    /**
     * <pre>
     * The command execution platform.
     * </pre>
     *
     * <code>.tools.protos.Platform platform = 3;</code>
     */
    boolean hasPlatform();
    /**
     * <pre>
     * The command execution platform.
     * </pre>
     *
     * <code>.tools.protos.Platform platform = 3;</code>
     */
    com.google.devtools.build.lib.exec.Protos.Platform getPlatform();
    /**
     * <pre>
     * The command execution platform.
     * </pre>
     *
     * <code>.tools.protos.Platform platform = 3;</code>
     */
    com.google.devtools.build.lib.exec.Protos.PlatformOrBuilder getPlatformOrBuilder();

    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    java.util.List<com.google.devtools.build.lib.exec.Protos.File> 
        getInputsList();
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    com.google.devtools.build.lib.exec.Protos.File getInputs(int index);
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    int getInputsCount();
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
        getInputsOrBuilderList();
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    com.google.devtools.build.lib.exec.Protos.FileOrBuilder getInputsOrBuilder(
        int index);

    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    java.util.List<java.lang.String>
        getListedOutputsList();
    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    int getListedOutputsCount();
    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    java.lang.String getListedOutputs(int index);
    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    com.google.protobuf.ByteString
        getListedOutputsBytes(int index);

    /**
     * <pre>
     * Was the Spawn allowed to be executed remotely.
     * </pre>
     *
     * <code>bool remotable = 6;</code>
     */
    boolean getRemotable();

    /**
     * <pre>
     * Was the Spawn result allowed to be cached.
     * </pre>
     *
     * <code>bool cacheable = 7;</code>
     */
    boolean getCacheable();

    /**
     * <pre>
     * The Spawn timeout.
     * </pre>
     *
     * <code>int64 timeout_millis = 8;</code>
     */
    long getTimeoutMillis();

    /**
     * <pre>
     * A user-friendly text message representing the spawn progress.
     * </pre>
     *
     * <code>string progress_message = 9;</code>
     */
    java.lang.String getProgressMessage();
    /**
     * <pre>
     * A user-friendly text message representing the spawn progress.
     * </pre>
     *
     * <code>string progress_message = 9;</code>
     */
    com.google.protobuf.ByteString
        getProgressMessageBytes();

    /**
     * <pre>
     * An opaque string that identifies the type of the Spawn's action.
     * </pre>
     *
     * <code>string mnemonic = 10;</code>
     */
    java.lang.String getMnemonic();
    /**
     * <pre>
     * An opaque string that identifies the type of the Spawn's action.
     * </pre>
     *
     * <code>string mnemonic = 10;</code>
     */
    com.google.protobuf.ByteString
        getMnemonicBytes();

    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    java.util.List<com.google.devtools.build.lib.exec.Protos.File> 
        getActualOutputsList();
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    com.google.devtools.build.lib.exec.Protos.File getActualOutputs(int index);
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    int getActualOutputsCount();
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
        getActualOutputsOrBuilderList();
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    com.google.devtools.build.lib.exec.Protos.FileOrBuilder getActualOutputsOrBuilder(
        int index);

    /**
     * <pre>
     * If the Spawn was actually executed, rather than a remote cache hit,
     * this will be the name of the runner executing the spawn, e.g. remote or
     * linux-sandbox. Note this is not the same as the "strategy" string -- even
     * though the action strategy may be remote, a particular action may still
     * fall back to local execution due to a variety of reasons. This field
     * indicates what really happened for the particular Spawn+execution.
     * </pre>
     *
     * <code>string runner = 12;</code>
     */
    java.lang.String getRunner();
    /**
     * <pre>
     * If the Spawn was actually executed, rather than a remote cache hit,
     * this will be the name of the runner executing the spawn, e.g. remote or
     * linux-sandbox. Note this is not the same as the "strategy" string -- even
     * though the action strategy may be remote, a particular action may still
     * fall back to local execution due to a variety of reasons. This field
     * indicates what really happened for the particular Spawn+execution.
     * </pre>
     *
     * <code>string runner = 12;</code>
     */
    com.google.protobuf.ByteString
        getRunnerBytes();

    /**
     * <pre>
     * Whether the Spawn was a remote cache hit, in which case it was not executed
     * and the runner field will be empty.
     * </pre>
     *
     * <code>bool remote_cache_hit = 13;</code>
     */
    boolean getRemoteCacheHit();

    /**
     * <pre>
     * A text status returned by the execution, in case there were any errors.
     * Empty in case of successful execution.
     * </pre>
     *
     * <code>string status = 14;</code>
     */
    java.lang.String getStatus();
    /**
     * <pre>
     * A text status returned by the execution, in case there were any errors.
     * Empty in case of successful execution.
     * </pre>
     *
     * <code>string status = 14;</code>
     */
    com.google.protobuf.ByteString
        getStatusBytes();

    /**
     * <pre>
     * This field contains the contents of SpawnResult.exitCode.
     * Its semantics varies greatly depending on the status field.
     * Dependable: if status is empty, exit_code is guaranteed to be zero.
     * </pre>
     *
     * <code>int32 exit_code = 15;</code>
     */
    int getExitCode();
  }
  /**
   * <pre>
   * Details of an executed spawn.
   * These will only be generated on demand, using the
   * --execution_log_file=&lt;path&gt; flag.
   * Each message contains an executed command, its full inputs and outputs.
   * The purpose of these is to enable comparisons of multiple builds to diagnose
   * output differences or more subtle problems such as remote caching misses.
   * Only the executed Spawns will be output -- local cache hits are ignored.
   * </pre>
   *
   * Protobuf type {@code tools.protos.SpawnExec}
   */
  public  static final class SpawnExec extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:tools.protos.SpawnExec)
      SpawnExecOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SpawnExec.newBuilder() to construct.
    private SpawnExec(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SpawnExec() {
      commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      environmentVariables_ = java.util.Collections.emptyList();
      inputs_ = java.util.Collections.emptyList();
      listedOutputs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      remotable_ = false;
      cacheable_ = false;
      timeoutMillis_ = 0L;
      progressMessage_ = "";
      mnemonic_ = "";
      actualOutputs_ = java.util.Collections.emptyList();
      runner_ = "";
      remoteCacheHit_ = false;
      status_ = "";
      exitCode_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SpawnExec(
        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 (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                commandArgs_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              commandArgs_.add(s);
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                environmentVariables_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable>();
                mutable_bitField0_ |= 0x00000002;
              }
              environmentVariables_.add(
                  input.readMessage(com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.parser(), extensionRegistry));
              break;
            }
            case 26: {
              com.google.devtools.build.lib.exec.Protos.Platform.Builder subBuilder = null;
              if (platform_ != null) {
                subBuilder = platform_.toBuilder();
              }
              platform_ = input.readMessage(com.google.devtools.build.lib.exec.Protos.Platform.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(platform_);
                platform_ = subBuilder.buildPartial();
              }

              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                inputs_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.File>();
                mutable_bitField0_ |= 0x00000008;
              }
              inputs_.add(
                  input.readMessage(com.google.devtools.build.lib.exec.Protos.File.parser(), extensionRegistry));
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
                listedOutputs_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000010;
              }
              listedOutputs_.add(s);
              break;
            }
            case 48: {

              remotable_ = input.readBool();
              break;
            }
            case 56: {

              cacheable_ = input.readBool();
              break;
            }
            case 64: {

              timeoutMillis_ = input.readInt64();
              break;
            }
            case 74: {
              java.lang.String s = input.readStringRequireUtf8();

              progressMessage_ = s;
              break;
            }
            case 82: {
              java.lang.String s = input.readStringRequireUtf8();

              mnemonic_ = s;
              break;
            }
            case 90: {
              if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
                actualOutputs_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.File>();
                mutable_bitField0_ |= 0x00000400;
              }
              actualOutputs_.add(
                  input.readMessage(com.google.devtools.build.lib.exec.Protos.File.parser(), extensionRegistry));
              break;
            }
            case 98: {
              java.lang.String s = input.readStringRequireUtf8();

              runner_ = s;
              break;
            }
            case 104: {

              remoteCacheHit_ = input.readBool();
              break;
            }
            case 114: {
              java.lang.String s = input.readStringRequireUtf8();

              status_ = s;
              break;
            }
            case 120: {

              exitCode_ = input.readInt32();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          commandArgs_ = commandArgs_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          environmentVariables_ = java.util.Collections.unmodifiableList(environmentVariables_);
        }
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          inputs_ = java.util.Collections.unmodifiableList(inputs_);
        }
        if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
          listedOutputs_ = listedOutputs_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
          actualOutputs_ = java.util.Collections.unmodifiableList(actualOutputs_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_SpawnExec_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_SpawnExec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.exec.Protos.SpawnExec.class, com.google.devtools.build.lib.exec.Protos.SpawnExec.Builder.class);
    }

    private int bitField0_;
    public static final int COMMAND_ARGS_FIELD_NUMBER = 1;
    private com.google.protobuf.LazyStringList commandArgs_;
    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getCommandArgsList() {
      return commandArgs_;
    }
    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    public int getCommandArgsCount() {
      return commandArgs_.size();
    }
    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    public java.lang.String getCommandArgs(int index) {
      return commandArgs_.get(index);
    }
    /**
     * <pre>
     * The command that was run.
     * </pre>
     *
     * <code>repeated string command_args = 1;</code>
     */
    public com.google.protobuf.ByteString
        getCommandArgsBytes(int index) {
      return commandArgs_.getByteString(index);
    }

    public static final int ENVIRONMENT_VARIABLES_FIELD_NUMBER = 2;
    private java.util.List<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable> environmentVariables_;
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    public java.util.List<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable> getEnvironmentVariablesList() {
      return environmentVariables_;
    }
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder> 
        getEnvironmentVariablesOrBuilderList() {
      return environmentVariables_;
    }
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    public int getEnvironmentVariablesCount() {
      return environmentVariables_.size();
    }
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable getEnvironmentVariables(int index) {
      return environmentVariables_.get(index);
    }
    /**
     * <pre>
     * The command environment.
     * </pre>
     *
     * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder getEnvironmentVariablesOrBuilder(
        int index) {
      return environmentVariables_.get(index);
    }

    public static final int PLATFORM_FIELD_NUMBER = 3;
    private com.google.devtools.build.lib.exec.Protos.Platform platform_;
    /**
     * <pre>
     * The command execution platform.
     * </pre>
     *
     * <code>.tools.protos.Platform platform = 3;</code>
     */
    public boolean hasPlatform() {
      return platform_ != null;
    }
    /**
     * <pre>
     * The command execution platform.
     * </pre>
     *
     * <code>.tools.protos.Platform platform = 3;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.Platform getPlatform() {
      return platform_ == null ? com.google.devtools.build.lib.exec.Protos.Platform.getDefaultInstance() : platform_;
    }
    /**
     * <pre>
     * The command execution platform.
     * </pre>
     *
     * <code>.tools.protos.Platform platform = 3;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.PlatformOrBuilder getPlatformOrBuilder() {
      return getPlatform();
    }

    public static final int INPUTS_FIELD_NUMBER = 4;
    private java.util.List<com.google.devtools.build.lib.exec.Protos.File> inputs_;
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    public java.util.List<com.google.devtools.build.lib.exec.Protos.File> getInputsList() {
      return inputs_;
    }
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
        getInputsOrBuilderList() {
      return inputs_;
    }
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    public int getInputsCount() {
      return inputs_.size();
    }
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.File getInputs(int index) {
      return inputs_.get(index);
    }
    /**
     * <pre>
     * The inputs at the time of the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File inputs = 4;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.FileOrBuilder getInputsOrBuilder(
        int index) {
      return inputs_.get(index);
    }

    public static final int LISTED_OUTPUTS_FIELD_NUMBER = 5;
    private com.google.protobuf.LazyStringList listedOutputs_;
    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getListedOutputsList() {
      return listedOutputs_;
    }
    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    public int getListedOutputsCount() {
      return listedOutputs_.size();
    }
    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    public java.lang.String getListedOutputs(int index) {
      return listedOutputs_.get(index);
    }
    /**
     * <pre>
     * All the listed outputs paths. The paths are relative to the execution root.
     * Actual outputs are a subset of the listed outputs. These paths are sorted.
     * </pre>
     *
     * <code>repeated string listed_outputs = 5;</code>
     */
    public com.google.protobuf.ByteString
        getListedOutputsBytes(int index) {
      return listedOutputs_.getByteString(index);
    }

    public static final int REMOTABLE_FIELD_NUMBER = 6;
    private boolean remotable_;
    /**
     * <pre>
     * Was the Spawn allowed to be executed remotely.
     * </pre>
     *
     * <code>bool remotable = 6;</code>
     */
    public boolean getRemotable() {
      return remotable_;
    }

    public static final int CACHEABLE_FIELD_NUMBER = 7;
    private boolean cacheable_;
    /**
     * <pre>
     * Was the Spawn result allowed to be cached.
     * </pre>
     *
     * <code>bool cacheable = 7;</code>
     */
    public boolean getCacheable() {
      return cacheable_;
    }

    public static final int TIMEOUT_MILLIS_FIELD_NUMBER = 8;
    private long timeoutMillis_;
    /**
     * <pre>
     * The Spawn timeout.
     * </pre>
     *
     * <code>int64 timeout_millis = 8;</code>
     */
    public long getTimeoutMillis() {
      return timeoutMillis_;
    }

    public static final int PROGRESS_MESSAGE_FIELD_NUMBER = 9;
    private volatile java.lang.Object progressMessage_;
    /**
     * <pre>
     * A user-friendly text message representing the spawn progress.
     * </pre>
     *
     * <code>string progress_message = 9;</code>
     */
    public java.lang.String getProgressMessage() {
      java.lang.Object ref = progressMessage_;
      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();
        progressMessage_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * A user-friendly text message representing the spawn progress.
     * </pre>
     *
     * <code>string progress_message = 9;</code>
     */
    public com.google.protobuf.ByteString
        getProgressMessageBytes() {
      java.lang.Object ref = progressMessage_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        progressMessage_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MNEMONIC_FIELD_NUMBER = 10;
    private volatile java.lang.Object mnemonic_;
    /**
     * <pre>
     * An opaque string that identifies the type of the Spawn's action.
     * </pre>
     *
     * <code>string mnemonic = 10;</code>
     */
    public java.lang.String getMnemonic() {
      java.lang.Object ref = mnemonic_;
      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();
        mnemonic_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * An opaque string that identifies the type of the Spawn's action.
     * </pre>
     *
     * <code>string mnemonic = 10;</code>
     */
    public com.google.protobuf.ByteString
        getMnemonicBytes() {
      java.lang.Object ref = mnemonic_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mnemonic_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ACTUAL_OUTPUTS_FIELD_NUMBER = 11;
    private java.util.List<com.google.devtools.build.lib.exec.Protos.File> actualOutputs_;
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    public java.util.List<com.google.devtools.build.lib.exec.Protos.File> getActualOutputsList() {
      return actualOutputs_;
    }
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
        getActualOutputsOrBuilderList() {
      return actualOutputs_;
    }
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    public int getActualOutputsCount() {
      return actualOutputs_.size();
    }
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.File getActualOutputs(int index) {
      return actualOutputs_.get(index);
    }
    /**
     * <pre>
     * The outputs generated by the execution.
     * </pre>
     *
     * <code>repeated .tools.protos.File actual_outputs = 11;</code>
     */
    public com.google.devtools.build.lib.exec.Protos.FileOrBuilder getActualOutputsOrBuilder(
        int index) {
      return actualOutputs_.get(index);
    }

    public static final int RUNNER_FIELD_NUMBER = 12;
    private volatile java.lang.Object runner_;
    /**
     * <pre>
     * If the Spawn was actually executed, rather than a remote cache hit,
     * this will be the name of the runner executing the spawn, e.g. remote or
     * linux-sandbox. Note this is not the same as the "strategy" string -- even
     * though the action strategy may be remote, a particular action may still
     * fall back to local execution due to a variety of reasons. This field
     * indicates what really happened for the particular Spawn+execution.
     * </pre>
     *
     * <code>string runner = 12;</code>
     */
    public java.lang.String getRunner() {
      java.lang.Object ref = runner_;
      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();
        runner_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * If the Spawn was actually executed, rather than a remote cache hit,
     * this will be the name of the runner executing the spawn, e.g. remote or
     * linux-sandbox. Note this is not the same as the "strategy" string -- even
     * though the action strategy may be remote, a particular action may still
     * fall back to local execution due to a variety of reasons. This field
     * indicates what really happened for the particular Spawn+execution.
     * </pre>
     *
     * <code>string runner = 12;</code>
     */
    public com.google.protobuf.ByteString
        getRunnerBytes() {
      java.lang.Object ref = runner_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        runner_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int REMOTE_CACHE_HIT_FIELD_NUMBER = 13;
    private boolean remoteCacheHit_;
    /**
     * <pre>
     * Whether the Spawn was a remote cache hit, in which case it was not executed
     * and the runner field will be empty.
     * </pre>
     *
     * <code>bool remote_cache_hit = 13;</code>
     */
    public boolean getRemoteCacheHit() {
      return remoteCacheHit_;
    }

    public static final int STATUS_FIELD_NUMBER = 14;
    private volatile java.lang.Object status_;
    /**
     * <pre>
     * A text status returned by the execution, in case there were any errors.
     * Empty in case of successful execution.
     * </pre>
     *
     * <code>string status = 14;</code>
     */
    public java.lang.String getStatus() {
      java.lang.Object ref = status_;
      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();
        status_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * A text status returned by the execution, in case there were any errors.
     * Empty in case of successful execution.
     * </pre>
     *
     * <code>string status = 14;</code>
     */
    public com.google.protobuf.ByteString
        getStatusBytes() {
      java.lang.Object ref = status_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        status_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int EXIT_CODE_FIELD_NUMBER = 15;
    private int exitCode_;
    /**
     * <pre>
     * This field contains the contents of SpawnResult.exitCode.
     * Its semantics varies greatly depending on the status field.
     * Dependable: if status is empty, exit_code is guaranteed to be zero.
     * </pre>
     *
     * <code>int32 exit_code = 15;</code>
     */
    public int getExitCode() {
      return exitCode_;
    }

    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 < commandArgs_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, commandArgs_.getRaw(i));
      }
      for (int i = 0; i < environmentVariables_.size(); i++) {
        output.writeMessage(2, environmentVariables_.get(i));
      }
      if (platform_ != null) {
        output.writeMessage(3, getPlatform());
      }
      for (int i = 0; i < inputs_.size(); i++) {
        output.writeMessage(4, inputs_.get(i));
      }
      for (int i = 0; i < listedOutputs_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, listedOutputs_.getRaw(i));
      }
      if (remotable_ != false) {
        output.writeBool(6, remotable_);
      }
      if (cacheable_ != false) {
        output.writeBool(7, cacheable_);
      }
      if (timeoutMillis_ != 0L) {
        output.writeInt64(8, timeoutMillis_);
      }
      if (!getProgressMessageBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, progressMessage_);
      }
      if (!getMnemonicBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 10, mnemonic_);
      }
      for (int i = 0; i < actualOutputs_.size(); i++) {
        output.writeMessage(11, actualOutputs_.get(i));
      }
      if (!getRunnerBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 12, runner_);
      }
      if (remoteCacheHit_ != false) {
        output.writeBool(13, remoteCacheHit_);
      }
      if (!getStatusBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 14, status_);
      }
      if (exitCode_ != 0) {
        output.writeInt32(15, exitCode_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < commandArgs_.size(); i++) {
          dataSize += computeStringSizeNoTag(commandArgs_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getCommandArgsList().size();
      }
      for (int i = 0; i < environmentVariables_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, environmentVariables_.get(i));
      }
      if (platform_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getPlatform());
      }
      for (int i = 0; i < inputs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, inputs_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < listedOutputs_.size(); i++) {
          dataSize += computeStringSizeNoTag(listedOutputs_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getListedOutputsList().size();
      }
      if (remotable_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(6, remotable_);
      }
      if (cacheable_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(7, cacheable_);
      }
      if (timeoutMillis_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(8, timeoutMillis_);
      }
      if (!getProgressMessageBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, progressMessage_);
      }
      if (!getMnemonicBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, mnemonic_);
      }
      for (int i = 0; i < actualOutputs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(11, actualOutputs_.get(i));
      }
      if (!getRunnerBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, runner_);
      }
      if (remoteCacheHit_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(13, remoteCacheHit_);
      }
      if (!getStatusBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, status_);
      }
      if (exitCode_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(15, exitCode_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.exec.Protos.SpawnExec)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.exec.Protos.SpawnExec other = (com.google.devtools.build.lib.exec.Protos.SpawnExec) obj;

      boolean result = true;
      result = result && getCommandArgsList()
          .equals(other.getCommandArgsList());
      result = result && getEnvironmentVariablesList()
          .equals(other.getEnvironmentVariablesList());
      result = result && (hasPlatform() == other.hasPlatform());
      if (hasPlatform()) {
        result = result && getPlatform()
            .equals(other.getPlatform());
      }
      result = result && getInputsList()
          .equals(other.getInputsList());
      result = result && getListedOutputsList()
          .equals(other.getListedOutputsList());
      result = result && (getRemotable()
          == other.getRemotable());
      result = result && (getCacheable()
          == other.getCacheable());
      result = result && (getTimeoutMillis()
          == other.getTimeoutMillis());
      result = result && getProgressMessage()
          .equals(other.getProgressMessage());
      result = result && getMnemonic()
          .equals(other.getMnemonic());
      result = result && getActualOutputsList()
          .equals(other.getActualOutputsList());
      result = result && getRunner()
          .equals(other.getRunner());
      result = result && (getRemoteCacheHit()
          == other.getRemoteCacheHit());
      result = result && getStatus()
          .equals(other.getStatus());
      result = result && (getExitCode()
          == other.getExitCode());
      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) + getDescriptor().hashCode();
      if (getCommandArgsCount() > 0) {
        hash = (37 * hash) + COMMAND_ARGS_FIELD_NUMBER;
        hash = (53 * hash) + getCommandArgsList().hashCode();
      }
      if (getEnvironmentVariablesCount() > 0) {
        hash = (37 * hash) + ENVIRONMENT_VARIABLES_FIELD_NUMBER;
        hash = (53 * hash) + getEnvironmentVariablesList().hashCode();
      }
      if (hasPlatform()) {
        hash = (37 * hash) + PLATFORM_FIELD_NUMBER;
        hash = (53 * hash) + getPlatform().hashCode();
      }
      if (getInputsCount() > 0) {
        hash = (37 * hash) + INPUTS_FIELD_NUMBER;
        hash = (53 * hash) + getInputsList().hashCode();
      }
      if (getListedOutputsCount() > 0) {
        hash = (37 * hash) + LISTED_OUTPUTS_FIELD_NUMBER;
        hash = (53 * hash) + getListedOutputsList().hashCode();
      }
      hash = (37 * hash) + REMOTABLE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getRemotable());
      hash = (37 * hash) + CACHEABLE_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getCacheable());
      hash = (37 * hash) + TIMEOUT_MILLIS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTimeoutMillis());
      hash = (37 * hash) + PROGRESS_MESSAGE_FIELD_NUMBER;
      hash = (53 * hash) + getProgressMessage().hashCode();
      hash = (37 * hash) + MNEMONIC_FIELD_NUMBER;
      hash = (53 * hash) + getMnemonic().hashCode();
      if (getActualOutputsCount() > 0) {
        hash = (37 * hash) + ACTUAL_OUTPUTS_FIELD_NUMBER;
        hash = (53 * hash) + getActualOutputsList().hashCode();
      }
      hash = (37 * hash) + RUNNER_FIELD_NUMBER;
      hash = (53 * hash) + getRunner().hashCode();
      hash = (37 * hash) + REMOTE_CACHE_HIT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getRemoteCacheHit());
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + getStatus().hashCode();
      hash = (37 * hash) + EXIT_CODE_FIELD_NUMBER;
      hash = (53 * hash) + getExitCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.exec.Protos.SpawnExec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.SpawnExec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.exec.Protos.SpawnExec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.SpawnExec 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.exec.Protos.SpawnExec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.exec.Protos.SpawnExec 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.exec.Protos.SpawnExec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.SpawnExec 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.exec.Protos.SpawnExec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.exec.Protos.SpawnExec 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.exec.Protos.SpawnExec 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.exec.Protos.SpawnExec 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.exec.Protos.SpawnExec 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>
     * Details of an executed spawn.
     * These will only be generated on demand, using the
     * --execution_log_file=&lt;path&gt; flag.
     * Each message contains an executed command, its full inputs and outputs.
     * The purpose of these is to enable comparisons of multiple builds to diagnose
     * output differences or more subtle problems such as remote caching misses.
     * Only the executed Spawns will be output -- local cache hits are ignored.
     * </pre>
     *
     * Protobuf type {@code tools.protos.SpawnExec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:tools.protos.SpawnExec)
        com.google.devtools.build.lib.exec.Protos.SpawnExecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_SpawnExec_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_SpawnExec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.exec.Protos.SpawnExec.class, com.google.devtools.build.lib.exec.Protos.SpawnExec.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.exec.Protos.SpawnExec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getEnvironmentVariablesFieldBuilder();
          getInputsFieldBuilder();
          getActualOutputsFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (environmentVariablesBuilder_ == null) {
          environmentVariables_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          environmentVariablesBuilder_.clear();
        }
        if (platformBuilder_ == null) {
          platform_ = null;
        } else {
          platform_ = null;
          platformBuilder_ = null;
        }
        if (inputsBuilder_ == null) {
          inputs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          inputsBuilder_.clear();
        }
        listedOutputs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000010);
        remotable_ = false;

        cacheable_ = false;

        timeoutMillis_ = 0L;

        progressMessage_ = "";

        mnemonic_ = "";

        if (actualOutputsBuilder_ == null) {
          actualOutputs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000400);
        } else {
          actualOutputsBuilder_.clear();
        }
        runner_ = "";

        remoteCacheHit_ = false;

        status_ = "";

        exitCode_ = 0;

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.exec.Protos.internal_static_tools_protos_SpawnExec_descriptor;
      }

      public com.google.devtools.build.lib.exec.Protos.SpawnExec getDefaultInstanceForType() {
        return com.google.devtools.build.lib.exec.Protos.SpawnExec.getDefaultInstance();
      }

      public com.google.devtools.build.lib.exec.Protos.SpawnExec build() {
        com.google.devtools.build.lib.exec.Protos.SpawnExec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.exec.Protos.SpawnExec buildPartial() {
        com.google.devtools.build.lib.exec.Protos.SpawnExec result = new com.google.devtools.build.lib.exec.Protos.SpawnExec(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          commandArgs_ = commandArgs_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.commandArgs_ = commandArgs_;
        if (environmentVariablesBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            environmentVariables_ = java.util.Collections.unmodifiableList(environmentVariables_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.environmentVariables_ = environmentVariables_;
        } else {
          result.environmentVariables_ = environmentVariablesBuilder_.build();
        }
        if (platformBuilder_ == null) {
          result.platform_ = platform_;
        } else {
          result.platform_ = platformBuilder_.build();
        }
        if (inputsBuilder_ == null) {
          if (((bitField0_ & 0x00000008) == 0x00000008)) {
            inputs_ = java.util.Collections.unmodifiableList(inputs_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.inputs_ = inputs_;
        } else {
          result.inputs_ = inputsBuilder_.build();
        }
        if (((bitField0_ & 0x00000010) == 0x00000010)) {
          listedOutputs_ = listedOutputs_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.listedOutputs_ = listedOutputs_;
        result.remotable_ = remotable_;
        result.cacheable_ = cacheable_;
        result.timeoutMillis_ = timeoutMillis_;
        result.progressMessage_ = progressMessage_;
        result.mnemonic_ = mnemonic_;
        if (actualOutputsBuilder_ == null) {
          if (((bitField0_ & 0x00000400) == 0x00000400)) {
            actualOutputs_ = java.util.Collections.unmodifiableList(actualOutputs_);
            bitField0_ = (bitField0_ & ~0x00000400);
          }
          result.actualOutputs_ = actualOutputs_;
        } else {
          result.actualOutputs_ = actualOutputsBuilder_.build();
        }
        result.runner_ = runner_;
        result.remoteCacheHit_ = remoteCacheHit_;
        result.status_ = status_;
        result.exitCode_ = exitCode_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.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, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.exec.Protos.SpawnExec) {
          return mergeFrom((com.google.devtools.build.lib.exec.Protos.SpawnExec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.exec.Protos.SpawnExec other) {
        if (other == com.google.devtools.build.lib.exec.Protos.SpawnExec.getDefaultInstance()) return this;
        if (!other.commandArgs_.isEmpty()) {
          if (commandArgs_.isEmpty()) {
            commandArgs_ = other.commandArgs_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureCommandArgsIsMutable();
            commandArgs_.addAll(other.commandArgs_);
          }
          onChanged();
        }
        if (environmentVariablesBuilder_ == null) {
          if (!other.environmentVariables_.isEmpty()) {
            if (environmentVariables_.isEmpty()) {
              environmentVariables_ = other.environmentVariables_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureEnvironmentVariablesIsMutable();
              environmentVariables_.addAll(other.environmentVariables_);
            }
            onChanged();
          }
        } else {
          if (!other.environmentVariables_.isEmpty()) {
            if (environmentVariablesBuilder_.isEmpty()) {
              environmentVariablesBuilder_.dispose();
              environmentVariablesBuilder_ = null;
              environmentVariables_ = other.environmentVariables_;
              bitField0_ = (bitField0_ & ~0x00000002);
              environmentVariablesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getEnvironmentVariablesFieldBuilder() : null;
            } else {
              environmentVariablesBuilder_.addAllMessages(other.environmentVariables_);
            }
          }
        }
        if (other.hasPlatform()) {
          mergePlatform(other.getPlatform());
        }
        if (inputsBuilder_ == null) {
          if (!other.inputs_.isEmpty()) {
            if (inputs_.isEmpty()) {
              inputs_ = other.inputs_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureInputsIsMutable();
              inputs_.addAll(other.inputs_);
            }
            onChanged();
          }
        } else {
          if (!other.inputs_.isEmpty()) {
            if (inputsBuilder_.isEmpty()) {
              inputsBuilder_.dispose();
              inputsBuilder_ = null;
              inputs_ = other.inputs_;
              bitField0_ = (bitField0_ & ~0x00000008);
              inputsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getInputsFieldBuilder() : null;
            } else {
              inputsBuilder_.addAllMessages(other.inputs_);
            }
          }
        }
        if (!other.listedOutputs_.isEmpty()) {
          if (listedOutputs_.isEmpty()) {
            listedOutputs_ = other.listedOutputs_;
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            ensureListedOutputsIsMutable();
            listedOutputs_.addAll(other.listedOutputs_);
          }
          onChanged();
        }
        if (other.getRemotable() != false) {
          setRemotable(other.getRemotable());
        }
        if (other.getCacheable() != false) {
          setCacheable(other.getCacheable());
        }
        if (other.getTimeoutMillis() != 0L) {
          setTimeoutMillis(other.getTimeoutMillis());
        }
        if (!other.getProgressMessage().isEmpty()) {
          progressMessage_ = other.progressMessage_;
          onChanged();
        }
        if (!other.getMnemonic().isEmpty()) {
          mnemonic_ = other.mnemonic_;
          onChanged();
        }
        if (actualOutputsBuilder_ == null) {
          if (!other.actualOutputs_.isEmpty()) {
            if (actualOutputs_.isEmpty()) {
              actualOutputs_ = other.actualOutputs_;
              bitField0_ = (bitField0_ & ~0x00000400);
            } else {
              ensureActualOutputsIsMutable();
              actualOutputs_.addAll(other.actualOutputs_);
            }
            onChanged();
          }
        } else {
          if (!other.actualOutputs_.isEmpty()) {
            if (actualOutputsBuilder_.isEmpty()) {
              actualOutputsBuilder_.dispose();
              actualOutputsBuilder_ = null;
              actualOutputs_ = other.actualOutputs_;
              bitField0_ = (bitField0_ & ~0x00000400);
              actualOutputsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getActualOutputsFieldBuilder() : null;
            } else {
              actualOutputsBuilder_.addAllMessages(other.actualOutputs_);
            }
          }
        }
        if (!other.getRunner().isEmpty()) {
          runner_ = other.runner_;
          onChanged();
        }
        if (other.getRemoteCacheHit() != false) {
          setRemoteCacheHit(other.getRemoteCacheHit());
        }
        if (!other.getStatus().isEmpty()) {
          status_ = other.status_;
          onChanged();
        }
        if (other.getExitCode() != 0) {
          setExitCode(other.getExitCode());
        }
        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.exec.Protos.SpawnExec parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.exec.Protos.SpawnExec) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringList commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureCommandArgsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          commandArgs_ = new com.google.protobuf.LazyStringArrayList(commandArgs_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getCommandArgsList() {
        return commandArgs_.getUnmodifiableView();
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public int getCommandArgsCount() {
        return commandArgs_.size();
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public java.lang.String getCommandArgs(int index) {
        return commandArgs_.get(index);
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public com.google.protobuf.ByteString
          getCommandArgsBytes(int index) {
        return commandArgs_.getByteString(index);
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public Builder setCommandArgs(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCommandArgsIsMutable();
        commandArgs_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public Builder addCommandArgs(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureCommandArgsIsMutable();
        commandArgs_.add(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public Builder addAllCommandArgs(
          java.lang.Iterable<java.lang.String> values) {
        ensureCommandArgsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, commandArgs_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public Builder clearCommandArgs() {
        commandArgs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The command that was run.
       * </pre>
       *
       * <code>repeated string command_args = 1;</code>
       */
      public Builder addCommandArgsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureCommandArgsIsMutable();
        commandArgs_.add(value);
        onChanged();
        return this;
      }

      private java.util.List<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable> environmentVariables_ =
        java.util.Collections.emptyList();
      private void ensureEnvironmentVariablesIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          environmentVariables_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable>(environmentVariables_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.EnvironmentVariable, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder, com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder> environmentVariablesBuilder_;

      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable> getEnvironmentVariablesList() {
        if (environmentVariablesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(environmentVariables_);
        } else {
          return environmentVariablesBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public int getEnvironmentVariablesCount() {
        if (environmentVariablesBuilder_ == null) {
          return environmentVariables_.size();
        } else {
          return environmentVariablesBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable getEnvironmentVariables(int index) {
        if (environmentVariablesBuilder_ == null) {
          return environmentVariables_.get(index);
        } else {
          return environmentVariablesBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder setEnvironmentVariables(
          int index, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable value) {
        if (environmentVariablesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEnvironmentVariablesIsMutable();
          environmentVariables_.set(index, value);
          onChanged();
        } else {
          environmentVariablesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder setEnvironmentVariables(
          int index, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder builderForValue) {
        if (environmentVariablesBuilder_ == null) {
          ensureEnvironmentVariablesIsMutable();
          environmentVariables_.set(index, builderForValue.build());
          onChanged();
        } else {
          environmentVariablesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder addEnvironmentVariables(com.google.devtools.build.lib.exec.Protos.EnvironmentVariable value) {
        if (environmentVariablesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEnvironmentVariablesIsMutable();
          environmentVariables_.add(value);
          onChanged();
        } else {
          environmentVariablesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder addEnvironmentVariables(
          int index, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable value) {
        if (environmentVariablesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEnvironmentVariablesIsMutable();
          environmentVariables_.add(index, value);
          onChanged();
        } else {
          environmentVariablesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder addEnvironmentVariables(
          com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder builderForValue) {
        if (environmentVariablesBuilder_ == null) {
          ensureEnvironmentVariablesIsMutable();
          environmentVariables_.add(builderForValue.build());
          onChanged();
        } else {
          environmentVariablesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder addEnvironmentVariables(
          int index, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder builderForValue) {
        if (environmentVariablesBuilder_ == null) {
          ensureEnvironmentVariablesIsMutable();
          environmentVariables_.add(index, builderForValue.build());
          onChanged();
        } else {
          environmentVariablesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder addAllEnvironmentVariables(
          java.lang.Iterable<? extends com.google.devtools.build.lib.exec.Protos.EnvironmentVariable> values) {
        if (environmentVariablesBuilder_ == null) {
          ensureEnvironmentVariablesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, environmentVariables_);
          onChanged();
        } else {
          environmentVariablesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder clearEnvironmentVariables() {
        if (environmentVariablesBuilder_ == null) {
          environmentVariables_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          environmentVariablesBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public Builder removeEnvironmentVariables(int index) {
        if (environmentVariablesBuilder_ == null) {
          ensureEnvironmentVariablesIsMutable();
          environmentVariables_.remove(index);
          onChanged();
        } else {
          environmentVariablesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder getEnvironmentVariablesBuilder(
          int index) {
        return getEnvironmentVariablesFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder getEnvironmentVariablesOrBuilder(
          int index) {
        if (environmentVariablesBuilder_ == null) {
          return environmentVariables_.get(index);  } else {
          return environmentVariablesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder> 
           getEnvironmentVariablesOrBuilderList() {
        if (environmentVariablesBuilder_ != null) {
          return environmentVariablesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(environmentVariables_);
        }
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder addEnvironmentVariablesBuilder() {
        return getEnvironmentVariablesFieldBuilder().addBuilder(
            com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.getDefaultInstance());
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder addEnvironmentVariablesBuilder(
          int index) {
        return getEnvironmentVariablesFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.getDefaultInstance());
      }
      /**
       * <pre>
       * The command environment.
       * </pre>
       *
       * <code>repeated .tools.protos.EnvironmentVariable environment_variables = 2;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder> 
           getEnvironmentVariablesBuilderList() {
        return getEnvironmentVariablesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.EnvironmentVariable, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder, com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder> 
          getEnvironmentVariablesFieldBuilder() {
        if (environmentVariablesBuilder_ == null) {
          environmentVariablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.exec.Protos.EnvironmentVariable, com.google.devtools.build.lib.exec.Protos.EnvironmentVariable.Builder, com.google.devtools.build.lib.exec.Protos.EnvironmentVariableOrBuilder>(
                  environmentVariables_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          environmentVariables_ = null;
        }
        return environmentVariablesBuilder_;
      }

      private com.google.devtools.build.lib.exec.Protos.Platform platform_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.Platform, com.google.devtools.build.lib.exec.Protos.Platform.Builder, com.google.devtools.build.lib.exec.Protos.PlatformOrBuilder> platformBuilder_;
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public boolean hasPlatform() {
        return platformBuilder_ != null || platform_ != null;
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Platform getPlatform() {
        if (platformBuilder_ == null) {
          return platform_ == null ? com.google.devtools.build.lib.exec.Protos.Platform.getDefaultInstance() : platform_;
        } else {
          return platformBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public Builder setPlatform(com.google.devtools.build.lib.exec.Protos.Platform value) {
        if (platformBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          platform_ = value;
          onChanged();
        } else {
          platformBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public Builder setPlatform(
          com.google.devtools.build.lib.exec.Protos.Platform.Builder builderForValue) {
        if (platformBuilder_ == null) {
          platform_ = builderForValue.build();
          onChanged();
        } else {
          platformBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public Builder mergePlatform(com.google.devtools.build.lib.exec.Protos.Platform value) {
        if (platformBuilder_ == null) {
          if (platform_ != null) {
            platform_ =
              com.google.devtools.build.lib.exec.Protos.Platform.newBuilder(platform_).mergeFrom(value).buildPartial();
          } else {
            platform_ = value;
          }
          onChanged();
        } else {
          platformBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public Builder clearPlatform() {
        if (platformBuilder_ == null) {
          platform_ = null;
          onChanged();
        } else {
          platform_ = null;
          platformBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.Platform.Builder getPlatformBuilder() {
        
        onChanged();
        return getPlatformFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.PlatformOrBuilder getPlatformOrBuilder() {
        if (platformBuilder_ != null) {
          return platformBuilder_.getMessageOrBuilder();
        } else {
          return platform_ == null ?
              com.google.devtools.build.lib.exec.Protos.Platform.getDefaultInstance() : platform_;
        }
      }
      /**
       * <pre>
       * The command execution platform.
       * </pre>
       *
       * <code>.tools.protos.Platform platform = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.Platform, com.google.devtools.build.lib.exec.Protos.Platform.Builder, com.google.devtools.build.lib.exec.Protos.PlatformOrBuilder> 
          getPlatformFieldBuilder() {
        if (platformBuilder_ == null) {
          platformBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.build.lib.exec.Protos.Platform, com.google.devtools.build.lib.exec.Protos.Platform.Builder, com.google.devtools.build.lib.exec.Protos.PlatformOrBuilder>(
                  getPlatform(),
                  getParentForChildren(),
                  isClean());
          platform_ = null;
        }
        return platformBuilder_;
      }

      private java.util.List<com.google.devtools.build.lib.exec.Protos.File> inputs_ =
        java.util.Collections.emptyList();
      private void ensureInputsIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          inputs_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.File>(inputs_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.File, com.google.devtools.build.lib.exec.Protos.File.Builder, com.google.devtools.build.lib.exec.Protos.FileOrBuilder> inputsBuilder_;

      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.File> getInputsList() {
        if (inputsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(inputs_);
        } else {
          return inputsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public int getInputsCount() {
        if (inputsBuilder_ == null) {
          return inputs_.size();
        } else {
          return inputsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File getInputs(int index) {
        if (inputsBuilder_ == null) {
          return inputs_.get(index);
        } else {
          return inputsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder setInputs(
          int index, com.google.devtools.build.lib.exec.Protos.File value) {
        if (inputsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputsIsMutable();
          inputs_.set(index, value);
          onChanged();
        } else {
          inputsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder setInputs(
          int index, com.google.devtools.build.lib.exec.Protos.File.Builder builderForValue) {
        if (inputsBuilder_ == null) {
          ensureInputsIsMutable();
          inputs_.set(index, builderForValue.build());
          onChanged();
        } else {
          inputsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder addInputs(com.google.devtools.build.lib.exec.Protos.File value) {
        if (inputsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputsIsMutable();
          inputs_.add(value);
          onChanged();
        } else {
          inputsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder addInputs(
          int index, com.google.devtools.build.lib.exec.Protos.File value) {
        if (inputsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInputsIsMutable();
          inputs_.add(index, value);
          onChanged();
        } else {
          inputsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder addInputs(
          com.google.devtools.build.lib.exec.Protos.File.Builder builderForValue) {
        if (inputsBuilder_ == null) {
          ensureInputsIsMutable();
          inputs_.add(builderForValue.build());
          onChanged();
        } else {
          inputsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder addInputs(
          int index, com.google.devtools.build.lib.exec.Protos.File.Builder builderForValue) {
        if (inputsBuilder_ == null) {
          ensureInputsIsMutable();
          inputs_.add(index, builderForValue.build());
          onChanged();
        } else {
          inputsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder addAllInputs(
          java.lang.Iterable<? extends com.google.devtools.build.lib.exec.Protos.File> values) {
        if (inputsBuilder_ == null) {
          ensureInputsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, inputs_);
          onChanged();
        } else {
          inputsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder clearInputs() {
        if (inputsBuilder_ == null) {
          inputs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          inputsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public Builder removeInputs(int index) {
        if (inputsBuilder_ == null) {
          ensureInputsIsMutable();
          inputs_.remove(index);
          onChanged();
        } else {
          inputsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File.Builder getInputsBuilder(
          int index) {
        return getInputsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.FileOrBuilder getInputsOrBuilder(
          int index) {
        if (inputsBuilder_ == null) {
          return inputs_.get(index);  } else {
          return inputsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
           getInputsOrBuilderList() {
        if (inputsBuilder_ != null) {
          return inputsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(inputs_);
        }
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File.Builder addInputsBuilder() {
        return getInputsFieldBuilder().addBuilder(
            com.google.devtools.build.lib.exec.Protos.File.getDefaultInstance());
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File.Builder addInputsBuilder(
          int index) {
        return getInputsFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.exec.Protos.File.getDefaultInstance());
      }
      /**
       * <pre>
       * The inputs at the time of the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File inputs = 4;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.File.Builder> 
           getInputsBuilderList() {
        return getInputsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.File, com.google.devtools.build.lib.exec.Protos.File.Builder, com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
          getInputsFieldBuilder() {
        if (inputsBuilder_ == null) {
          inputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.exec.Protos.File, com.google.devtools.build.lib.exec.Protos.File.Builder, com.google.devtools.build.lib.exec.Protos.FileOrBuilder>(
                  inputs_,
                  ((bitField0_ & 0x00000008) == 0x00000008),
                  getParentForChildren(),
                  isClean());
          inputs_ = null;
        }
        return inputsBuilder_;
      }

      private com.google.protobuf.LazyStringList listedOutputs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureListedOutputsIsMutable() {
        if (!((bitField0_ & 0x00000010) == 0x00000010)) {
          listedOutputs_ = new com.google.protobuf.LazyStringArrayList(listedOutputs_);
          bitField0_ |= 0x00000010;
         }
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getListedOutputsList() {
        return listedOutputs_.getUnmodifiableView();
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public int getListedOutputsCount() {
        return listedOutputs_.size();
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public java.lang.String getListedOutputs(int index) {
        return listedOutputs_.get(index);
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public com.google.protobuf.ByteString
          getListedOutputsBytes(int index) {
        return listedOutputs_.getByteString(index);
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public Builder setListedOutputs(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureListedOutputsIsMutable();
        listedOutputs_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public Builder addListedOutputs(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureListedOutputsIsMutable();
        listedOutputs_.add(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public Builder addAllListedOutputs(
          java.lang.Iterable<java.lang.String> values) {
        ensureListedOutputsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, listedOutputs_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public Builder clearListedOutputs() {
        listedOutputs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * All the listed outputs paths. The paths are relative to the execution root.
       * Actual outputs are a subset of the listed outputs. These paths are sorted.
       * </pre>
       *
       * <code>repeated string listed_outputs = 5;</code>
       */
      public Builder addListedOutputsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureListedOutputsIsMutable();
        listedOutputs_.add(value);
        onChanged();
        return this;
      }

      private boolean remotable_ ;
      /**
       * <pre>
       * Was the Spawn allowed to be executed remotely.
       * </pre>
       *
       * <code>bool remotable = 6;</code>
       */
      public boolean getRemotable() {
        return remotable_;
      }
      /**
       * <pre>
       * Was the Spawn allowed to be executed remotely.
       * </pre>
       *
       * <code>bool remotable = 6;</code>
       */
      public Builder setRemotable(boolean value) {
        
        remotable_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Was the Spawn allowed to be executed remotely.
       * </pre>
       *
       * <code>bool remotable = 6;</code>
       */
      public Builder clearRemotable() {
        
        remotable_ = false;
        onChanged();
        return this;
      }

      private boolean cacheable_ ;
      /**
       * <pre>
       * Was the Spawn result allowed to be cached.
       * </pre>
       *
       * <code>bool cacheable = 7;</code>
       */
      public boolean getCacheable() {
        return cacheable_;
      }
      /**
       * <pre>
       * Was the Spawn result allowed to be cached.
       * </pre>
       *
       * <code>bool cacheable = 7;</code>
       */
      public Builder setCacheable(boolean value) {
        
        cacheable_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Was the Spawn result allowed to be cached.
       * </pre>
       *
       * <code>bool cacheable = 7;</code>
       */
      public Builder clearCacheable() {
        
        cacheable_ = false;
        onChanged();
        return this;
      }

      private long timeoutMillis_ ;
      /**
       * <pre>
       * The Spawn timeout.
       * </pre>
       *
       * <code>int64 timeout_millis = 8;</code>
       */
      public long getTimeoutMillis() {
        return timeoutMillis_;
      }
      /**
       * <pre>
       * The Spawn timeout.
       * </pre>
       *
       * <code>int64 timeout_millis = 8;</code>
       */
      public Builder setTimeoutMillis(long value) {
        
        timeoutMillis_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The Spawn timeout.
       * </pre>
       *
       * <code>int64 timeout_millis = 8;</code>
       */
      public Builder clearTimeoutMillis() {
        
        timeoutMillis_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object progressMessage_ = "";
      /**
       * <pre>
       * A user-friendly text message representing the spawn progress.
       * </pre>
       *
       * <code>string progress_message = 9;</code>
       */
      public java.lang.String getProgressMessage() {
        java.lang.Object ref = progressMessage_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          progressMessage_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * A user-friendly text message representing the spawn progress.
       * </pre>
       *
       * <code>string progress_message = 9;</code>
       */
      public com.google.protobuf.ByteString
          getProgressMessageBytes() {
        java.lang.Object ref = progressMessage_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          progressMessage_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * A user-friendly text message representing the spawn progress.
       * </pre>
       *
       * <code>string progress_message = 9;</code>
       */
      public Builder setProgressMessage(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        progressMessage_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A user-friendly text message representing the spawn progress.
       * </pre>
       *
       * <code>string progress_message = 9;</code>
       */
      public Builder clearProgressMessage() {
        
        progressMessage_ = getDefaultInstance().getProgressMessage();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A user-friendly text message representing the spawn progress.
       * </pre>
       *
       * <code>string progress_message = 9;</code>
       */
      public Builder setProgressMessageBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        progressMessage_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object mnemonic_ = "";
      /**
       * <pre>
       * An opaque string that identifies the type of the Spawn's action.
       * </pre>
       *
       * <code>string mnemonic = 10;</code>
       */
      public java.lang.String getMnemonic() {
        java.lang.Object ref = mnemonic_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          mnemonic_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * An opaque string that identifies the type of the Spawn's action.
       * </pre>
       *
       * <code>string mnemonic = 10;</code>
       */
      public com.google.protobuf.ByteString
          getMnemonicBytes() {
        java.lang.Object ref = mnemonic_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          mnemonic_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * An opaque string that identifies the type of the Spawn's action.
       * </pre>
       *
       * <code>string mnemonic = 10;</code>
       */
      public Builder setMnemonic(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        mnemonic_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An opaque string that identifies the type of the Spawn's action.
       * </pre>
       *
       * <code>string mnemonic = 10;</code>
       */
      public Builder clearMnemonic() {
        
        mnemonic_ = getDefaultInstance().getMnemonic();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * An opaque string that identifies the type of the Spawn's action.
       * </pre>
       *
       * <code>string mnemonic = 10;</code>
       */
      public Builder setMnemonicBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        mnemonic_ = value;
        onChanged();
        return this;
      }

      private java.util.List<com.google.devtools.build.lib.exec.Protos.File> actualOutputs_ =
        java.util.Collections.emptyList();
      private void ensureActualOutputsIsMutable() {
        if (!((bitField0_ & 0x00000400) == 0x00000400)) {
          actualOutputs_ = new java.util.ArrayList<com.google.devtools.build.lib.exec.Protos.File>(actualOutputs_);
          bitField0_ |= 0x00000400;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.File, com.google.devtools.build.lib.exec.Protos.File.Builder, com.google.devtools.build.lib.exec.Protos.FileOrBuilder> actualOutputsBuilder_;

      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.File> getActualOutputsList() {
        if (actualOutputsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(actualOutputs_);
        } else {
          return actualOutputsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public int getActualOutputsCount() {
        if (actualOutputsBuilder_ == null) {
          return actualOutputs_.size();
        } else {
          return actualOutputsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File getActualOutputs(int index) {
        if (actualOutputsBuilder_ == null) {
          return actualOutputs_.get(index);
        } else {
          return actualOutputsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder setActualOutputs(
          int index, com.google.devtools.build.lib.exec.Protos.File value) {
        if (actualOutputsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureActualOutputsIsMutable();
          actualOutputs_.set(index, value);
          onChanged();
        } else {
          actualOutputsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder setActualOutputs(
          int index, com.google.devtools.build.lib.exec.Protos.File.Builder builderForValue) {
        if (actualOutputsBuilder_ == null) {
          ensureActualOutputsIsMutable();
          actualOutputs_.set(index, builderForValue.build());
          onChanged();
        } else {
          actualOutputsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder addActualOutputs(com.google.devtools.build.lib.exec.Protos.File value) {
        if (actualOutputsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureActualOutputsIsMutable();
          actualOutputs_.add(value);
          onChanged();
        } else {
          actualOutputsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder addActualOutputs(
          int index, com.google.devtools.build.lib.exec.Protos.File value) {
        if (actualOutputsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureActualOutputsIsMutable();
          actualOutputs_.add(index, value);
          onChanged();
        } else {
          actualOutputsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder addActualOutputs(
          com.google.devtools.build.lib.exec.Protos.File.Builder builderForValue) {
        if (actualOutputsBuilder_ == null) {
          ensureActualOutputsIsMutable();
          actualOutputs_.add(builderForValue.build());
          onChanged();
        } else {
          actualOutputsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder addActualOutputs(
          int index, com.google.devtools.build.lib.exec.Protos.File.Builder builderForValue) {
        if (actualOutputsBuilder_ == null) {
          ensureActualOutputsIsMutable();
          actualOutputs_.add(index, builderForValue.build());
          onChanged();
        } else {
          actualOutputsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder addAllActualOutputs(
          java.lang.Iterable<? extends com.google.devtools.build.lib.exec.Protos.File> values) {
        if (actualOutputsBuilder_ == null) {
          ensureActualOutputsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, actualOutputs_);
          onChanged();
        } else {
          actualOutputsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder clearActualOutputs() {
        if (actualOutputsBuilder_ == null) {
          actualOutputs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000400);
          onChanged();
        } else {
          actualOutputsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public Builder removeActualOutputs(int index) {
        if (actualOutputsBuilder_ == null) {
          ensureActualOutputsIsMutable();
          actualOutputs_.remove(index);
          onChanged();
        } else {
          actualOutputsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File.Builder getActualOutputsBuilder(
          int index) {
        return getActualOutputsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.FileOrBuilder getActualOutputsOrBuilder(
          int index) {
        if (actualOutputsBuilder_ == null) {
          return actualOutputs_.get(index);  } else {
          return actualOutputsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
           getActualOutputsOrBuilderList() {
        if (actualOutputsBuilder_ != null) {
          return actualOutputsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(actualOutputs_);
        }
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File.Builder addActualOutputsBuilder() {
        return getActualOutputsFieldBuilder().addBuilder(
            com.google.devtools.build.lib.exec.Protos.File.getDefaultInstance());
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public com.google.devtools.build.lib.exec.Protos.File.Builder addActualOutputsBuilder(
          int index) {
        return getActualOutputsFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.exec.Protos.File.getDefaultInstance());
      }
      /**
       * <pre>
       * The outputs generated by the execution.
       * </pre>
       *
       * <code>repeated .tools.protos.File actual_outputs = 11;</code>
       */
      public java.util.List<com.google.devtools.build.lib.exec.Protos.File.Builder> 
           getActualOutputsBuilderList() {
        return getActualOutputsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.exec.Protos.File, com.google.devtools.build.lib.exec.Protos.File.Builder, com.google.devtools.build.lib.exec.Protos.FileOrBuilder> 
          getActualOutputsFieldBuilder() {
        if (actualOutputsBuilder_ == null) {
          actualOutputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.exec.Protos.File, com.google.devtools.build.lib.exec.Protos.File.Builder, com.google.devtools.build.lib.exec.Protos.FileOrBuilder>(
                  actualOutputs_,
                  ((bitField0_ & 0x00000400) == 0x00000400),
                  getParentForChildren(),
                  isClean());
          actualOutputs_ = null;
        }
        return actualOutputsBuilder_;
      }

      private java.lang.Object runner_ = "";
      /**
       * <pre>
       * If the Spawn was actually executed, rather than a remote cache hit,
       * this will be the name of the runner executing the spawn, e.g. remote or
       * linux-sandbox. Note this is not the same as the "strategy" string -- even
       * though the action strategy may be remote, a particular action may still
       * fall back to local execution due to a variety of reasons. This field
       * indicates what really happened for the particular Spawn+execution.
       * </pre>
       *
       * <code>string runner = 12;</code>
       */
      public java.lang.String getRunner() {
        java.lang.Object ref = runner_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          runner_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * If the Spawn was actually executed, rather than a remote cache hit,
       * this will be the name of the runner executing the spawn, e.g. remote or
       * linux-sandbox. Note this is not the same as the "strategy" string -- even
       * though the action strategy may be remote, a particular action may still
       * fall back to local execution due to a variety of reasons. This field
       * indicates what really happened for the particular Spawn+execution.
       * </pre>
       *
       * <code>string runner = 12;</code>
       */
      public com.google.protobuf.ByteString
          getRunnerBytes() {
        java.lang.Object ref = runner_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          runner_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * If the Spawn was actually executed, rather than a remote cache hit,
       * this will be the name of the runner executing the spawn, e.g. remote or
       * linux-sandbox. Note this is not the same as the "strategy" string -- even
       * though the action strategy may be remote, a particular action may still
       * fall back to local execution due to a variety of reasons. This field
       * indicates what really happened for the particular Spawn+execution.
       * </pre>
       *
       * <code>string runner = 12;</code>
       */
      public Builder setRunner(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        runner_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * If the Spawn was actually executed, rather than a remote cache hit,
       * this will be the name of the runner executing the spawn, e.g. remote or
       * linux-sandbox. Note this is not the same as the "strategy" string -- even
       * though the action strategy may be remote, a particular action may still
       * fall back to local execution due to a variety of reasons. This field
       * indicates what really happened for the particular Spawn+execution.
       * </pre>
       *
       * <code>string runner = 12;</code>
       */
      public Builder clearRunner() {
        
        runner_ = getDefaultInstance().getRunner();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * If the Spawn was actually executed, rather than a remote cache hit,
       * this will be the name of the runner executing the spawn, e.g. remote or
       * linux-sandbox. Note this is not the same as the "strategy" string -- even
       * though the action strategy may be remote, a particular action may still
       * fall back to local execution due to a variety of reasons. This field
       * indicates what really happened for the particular Spawn+execution.
       * </pre>
       *
       * <code>string runner = 12;</code>
       */
      public Builder setRunnerBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        runner_ = value;
        onChanged();
        return this;
      }

      private boolean remoteCacheHit_ ;
      /**
       * <pre>
       * Whether the Spawn was a remote cache hit, in which case it was not executed
       * and the runner field will be empty.
       * </pre>
       *
       * <code>bool remote_cache_hit = 13;</code>
       */
      public boolean getRemoteCacheHit() {
        return remoteCacheHit_;
      }
      /**
       * <pre>
       * Whether the Spawn was a remote cache hit, in which case it was not executed
       * and the runner field will be empty.
       * </pre>
       *
       * <code>bool remote_cache_hit = 13;</code>
       */
      public Builder setRemoteCacheHit(boolean value) {
        
        remoteCacheHit_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Whether the Spawn was a remote cache hit, in which case it was not executed
       * and the runner field will be empty.
       * </pre>
       *
       * <code>bool remote_cache_hit = 13;</code>
       */
      public Builder clearRemoteCacheHit() {
        
        remoteCacheHit_ = false;
        onChanged();
        return this;
      }

      private java.lang.Object status_ = "";
      /**
       * <pre>
       * A text status returned by the execution, in case there were any errors.
       * Empty in case of successful execution.
       * </pre>
       *
       * <code>string status = 14;</code>
       */
      public java.lang.String getStatus() {
        java.lang.Object ref = status_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          status_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * A text status returned by the execution, in case there were any errors.
       * Empty in case of successful execution.
       * </pre>
       *
       * <code>string status = 14;</code>
       */
      public com.google.protobuf.ByteString
          getStatusBytes() {
        java.lang.Object ref = status_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          status_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * A text status returned by the execution, in case there were any errors.
       * Empty in case of successful execution.
       * </pre>
       *
       * <code>string status = 14;</code>
       */
      public Builder setStatus(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A text status returned by the execution, in case there were any errors.
       * Empty in case of successful execution.
       * </pre>
       *
       * <code>string status = 14;</code>
       */
      public Builder clearStatus() {
        
        status_ = getDefaultInstance().getStatus();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * A text status returned by the execution, in case there were any errors.
       * Empty in case of successful execution.
       * </pre>
       *
       * <code>string status = 14;</code>
       */
      public Builder setStatusBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        status_ = value;
        onChanged();
        return this;
      }

      private int exitCode_ ;
      /**
       * <pre>
       * This field contains the contents of SpawnResult.exitCode.
       * Its semantics varies greatly depending on the status field.
       * Dependable: if status is empty, exit_code is guaranteed to be zero.
       * </pre>
       *
       * <code>int32 exit_code = 15;</code>
       */
      public int getExitCode() {
        return exitCode_;
      }
      /**
       * <pre>
       * This field contains the contents of SpawnResult.exitCode.
       * Its semantics varies greatly depending on the status field.
       * Dependable: if status is empty, exit_code is guaranteed to be zero.
       * </pre>
       *
       * <code>int32 exit_code = 15;</code>
       */
      public Builder setExitCode(int value) {
        
        exitCode_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * This field contains the contents of SpawnResult.exitCode.
       * Its semantics varies greatly depending on the status field.
       * Dependable: if status is empty, exit_code is guaranteed to be zero.
       * </pre>
       *
       * <code>int32 exit_code = 15;</code>
       */
      public Builder clearExitCode() {
        
        exitCode_ = 0;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:tools.protos.SpawnExec)
    }

    // @@protoc_insertion_point(class_scope:tools.protos.SpawnExec)
    private static final com.google.devtools.build.lib.exec.Protos.SpawnExec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.exec.Protos.SpawnExec();
    }

    public static com.google.devtools.build.lib.exec.Protos.SpawnExec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.exec.Protos.SpawnExec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_tools_protos_Digest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_tools_protos_Digest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_tools_protos_File_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_tools_protos_File_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_tools_protos_EnvironmentVariable_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_tools_protos_EnvironmentVariable_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_tools_protos_Platform_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_tools_protos_Platform_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_tools_protos_Platform_Property_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_tools_protos_Platform_Property_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_tools_protos_SpawnExec_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_tools_protos_SpawnExec_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\035src/main/protobuf/spawn.proto\022\014tools.p" +
      "rotos\"F\n\006Digest\022\014\n\004hash\030\001 \001(\t\022\022\n\nsize_by" +
      "tes\030\002 \001(\003\022\032\n\022hash_function_name\030\003 \001(\t\":\n" +
      "\004File\022\014\n\004path\030\001 \001(\t\022$\n\006digest\030\002 \001(\0132\024.to" +
      "ols.protos.Digest\"2\n\023EnvironmentVariable" +
      "\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"h\n\010Platfor" +
      "m\0223\n\nproperties\030\001 \003(\0132\037.tools.protos.Pla" +
      "tform.Property\032\'\n\010Property\022\014\n\004name\030\001 \001(\t" +
      "\022\r\n\005value\030\002 \001(\t\"\254\003\n\tSpawnExec\022\024\n\014command" +
      "_args\030\001 \003(\t\022@\n\025environment_variables\030\002 \003",
      "(\0132!.tools.protos.EnvironmentVariable\022(\n" +
      "\010platform\030\003 \001(\0132\026.tools.protos.Platform\022" +
      "\"\n\006inputs\030\004 \003(\0132\022.tools.protos.File\022\026\n\016l" +
      "isted_outputs\030\005 \003(\t\022\021\n\tremotable\030\006 \001(\010\022\021" +
      "\n\tcacheable\030\007 \001(\010\022\026\n\016timeout_millis\030\010 \001(" +
      "\003\022\030\n\020progress_message\030\t \001(\t\022\020\n\010mnemonic\030" +
      "\n \001(\t\022*\n\016actual_outputs\030\013 \003(\0132\022.tools.pr" +
      "otos.File\022\016\n\006runner\030\014 \001(\t\022\030\n\020remote_cach" +
      "e_hit\030\r \001(\010\022\016\n\006status\030\016 \001(\t\022\021\n\texit_code" +
      "\030\017 \001(\005B,\n\"com.google.devtools.build.lib.",
      "execB\006Protosb\006proto3"
    };
    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_tools_protos_Digest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_tools_protos_Digest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_tools_protos_Digest_descriptor,
        new java.lang.String[] { "Hash", "SizeBytes", "HashFunctionName", });
    internal_static_tools_protos_File_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_tools_protos_File_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_tools_protos_File_descriptor,
        new java.lang.String[] { "Path", "Digest", });
    internal_static_tools_protos_EnvironmentVariable_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_tools_protos_EnvironmentVariable_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_tools_protos_EnvironmentVariable_descriptor,
        new java.lang.String[] { "Name", "Value", });
    internal_static_tools_protos_Platform_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_tools_protos_Platform_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_tools_protos_Platform_descriptor,
        new java.lang.String[] { "Properties", });
    internal_static_tools_protos_Platform_Property_descriptor =
      internal_static_tools_protos_Platform_descriptor.getNestedTypes().get(0);
    internal_static_tools_protos_Platform_Property_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_tools_protos_Platform_Property_descriptor,
        new java.lang.String[] { "Name", "Value", });
    internal_static_tools_protos_SpawnExec_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_tools_protos_SpawnExec_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_tools_protos_SpawnExec_descriptor,
        new java.lang.String[] { "CommandArgs", "EnvironmentVariables", "Platform", "Inputs", "ListedOutputs", "Remotable", "Cacheable", "TimeoutMillis", "ProgressMessage", "Mnemonic", "ActualOutputs", "Runner", "RemoteCacheHit", "Status", "ExitCode", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
