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

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

public final class Deps {
  private Deps() {}
  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 SourceLocationOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze_deps.SourceLocation)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>required string path = 1;</code>
     */
    boolean hasPath();
    /**
     * <code>required string path = 1;</code>
     */
    java.lang.String getPath();
    /**
     * <code>required string path = 1;</code>
     */
    com.google.protobuf.ByteString
        getPathBytes();

    /**
     * <code>optional int32 line = 2;</code>
     */
    boolean hasLine();
    /**
     * <code>optional int32 line = 2;</code>
     */
    int getLine();

    /**
     * <code>optional int32 column = 3;</code>
     */
    boolean hasColumn();
    /**
     * <code>optional int32 column = 3;</code>
     */
    int getColumn();
  }
  /**
   * <pre>
   * A specific location within a source file.
   * </pre>
   *
   * Protobuf type {@code blaze_deps.SourceLocation}
   */
  public  static final class SourceLocation extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze_deps.SourceLocation)
      SourceLocationOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SourceLocation.newBuilder() to construct.
    private SourceLocation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private SourceLocation() {
      path_ = "";
      line_ = 0;
      column_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SourceLocation(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            case 10: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000001;
              path_ = bs;
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              line_ = input.readInt32();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              column_ = input.readInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              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.view.proto.Deps.internal_static_blaze_deps_SourceLocation_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_SourceLocation_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.view.proto.Deps.SourceLocation.class, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder.class);
    }

    private int bitField0_;
    public static final int PATH_FIELD_NUMBER = 1;
    private volatile java.lang.Object path_;
    /**
     * <code>required string path = 1;</code>
     */
    public boolean hasPath() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>required 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();
        if (bs.isValidUtf8()) {
          path_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required 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 LINE_FIELD_NUMBER = 2;
    private int line_;
    /**
     * <code>optional int32 line = 2;</code>
     */
    public boolean hasLine() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>optional int32 line = 2;</code>
     */
    public int getLine() {
      return line_;
    }

    public static final int COLUMN_FIELD_NUMBER = 3;
    private int column_;
    /**
     * <code>optional int32 column = 3;</code>
     */
    public boolean hasColumn() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>optional int32 column = 3;</code>
     */
    public int getColumn() {
      return column_;
    }

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

      if (!hasPath()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt32(2, line_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeInt32(3, column_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, line_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(3, column_);
      }
      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.view.proto.Deps.SourceLocation)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.view.proto.Deps.SourceLocation other = (com.google.devtools.build.lib.view.proto.Deps.SourceLocation) obj;

      boolean result = true;
      result = result && (hasPath() == other.hasPath());
      if (hasPath()) {
        result = result && getPath()
            .equals(other.getPath());
      }
      result = result && (hasLine() == other.hasLine());
      if (hasLine()) {
        result = result && (getLine()
            == other.getLine());
      }
      result = result && (hasColumn() == other.hasColumn());
      if (hasColumn()) {
        result = result && (getColumn()
            == other.getColumn());
      }
      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 (hasPath()) {
        hash = (37 * hash) + PATH_FIELD_NUMBER;
        hash = (53 * hash) + getPath().hashCode();
      }
      if (hasLine()) {
        hash = (37 * hash) + LINE_FIELD_NUMBER;
        hash = (53 * hash) + getLine();
      }
      if (hasColumn()) {
        hash = (37 * hash) + COLUMN_FIELD_NUMBER;
        hash = (53 * hash) + getColumn();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation 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.view.proto.Deps.SourceLocation parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.view.proto.Deps.SourceLocation prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * A specific location within a source file.
     * </pre>
     *
     * Protobuf type {@code blaze_deps.SourceLocation}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze_deps.SourceLocation)
        com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_SourceLocation_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_SourceLocation_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.view.proto.Deps.SourceLocation.class, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.view.proto.Deps.SourceLocation.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        path_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        line_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        column_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_SourceLocation_descriptor;
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocation getDefaultInstanceForType() {
        return com.google.devtools.build.lib.view.proto.Deps.SourceLocation.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocation build() {
        com.google.devtools.build.lib.view.proto.Deps.SourceLocation result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocation buildPartial() {
        com.google.devtools.build.lib.view.proto.Deps.SourceLocation result = new com.google.devtools.build.lib.view.proto.Deps.SourceLocation(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.path_ = path_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.line_ = line_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.column_ = column_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return (Builder) super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.view.proto.Deps.SourceLocation) {
          return mergeFrom((com.google.devtools.build.lib.view.proto.Deps.SourceLocation)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.view.proto.Deps.SourceLocation other) {
        if (other == com.google.devtools.build.lib.view.proto.Deps.SourceLocation.getDefaultInstance()) return this;
        if (other.hasPath()) {
          bitField0_ |= 0x00000001;
          path_ = other.path_;
          onChanged();
        }
        if (other.hasLine()) {
          setLine(other.getLine());
        }
        if (other.hasColumn()) {
          setColumn(other.getColumn());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private java.lang.Object path_ = "";
      /**
       * <code>required string path = 1;</code>
       */
      public boolean hasPath() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required 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();
          if (bs.isValidUtf8()) {
            path_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required 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;
        }
      }
      /**
       * <code>required string path = 1;</code>
       */
      public Builder setPath(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        path_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required string path = 1;</code>
       */
      public Builder clearPath() {
        bitField0_ = (bitField0_ & ~0x00000001);
        path_ = getDefaultInstance().getPath();
        onChanged();
        return this;
      }
      /**
       * <code>required string path = 1;</code>
       */
      public Builder setPathBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        path_ = value;
        onChanged();
        return this;
      }

      private int line_ ;
      /**
       * <code>optional int32 line = 2;</code>
       */
      public boolean hasLine() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>optional int32 line = 2;</code>
       */
      public int getLine() {
        return line_;
      }
      /**
       * <code>optional int32 line = 2;</code>
       */
      public Builder setLine(int value) {
        bitField0_ |= 0x00000002;
        line_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 line = 2;</code>
       */
      public Builder clearLine() {
        bitField0_ = (bitField0_ & ~0x00000002);
        line_ = 0;
        onChanged();
        return this;
      }

      private int column_ ;
      /**
       * <code>optional int32 column = 3;</code>
       */
      public boolean hasColumn() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>optional int32 column = 3;</code>
       */
      public int getColumn() {
        return column_;
      }
      /**
       * <code>optional int32 column = 3;</code>
       */
      public Builder setColumn(int value) {
        bitField0_ |= 0x00000004;
        column_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional int32 column = 3;</code>
       */
      public Builder clearColumn() {
        bitField0_ = (bitField0_ & ~0x00000004);
        column_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:blaze_deps.SourceLocation)
    }

    // @@protoc_insertion_point(class_scope:blaze_deps.SourceLocation)
    private static final com.google.devtools.build.lib.view.proto.Deps.SourceLocation DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.view.proto.Deps.SourceLocation();
    }

    public static com.google.devtools.build.lib.view.proto.Deps.SourceLocation getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.google.devtools.build.lib.view.proto.Deps.SourceLocation getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DependencyOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze_deps.Dependency)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Path to the artifact representing this dependency.
     * </pre>
     *
     * <code>required string path = 1;</code>
     */
    boolean hasPath();
    /**
     * <pre>
     * Path to the artifact representing this dependency.
     * </pre>
     *
     * <code>required string path = 1;</code>
     */
    java.lang.String getPath();
    /**
     * <pre>
     * Path to the artifact representing this dependency.
     * </pre>
     *
     * <code>required string path = 1;</code>
     */
    com.google.protobuf.ByteString
        getPathBytes();

    /**
     * <pre>
     * Dependency kind
     * </pre>
     *
     * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
     */
    boolean hasKind();
    /**
     * <pre>
     * Dependency kind
     * </pre>
     *
     * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
     */
    com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind getKind();

    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    java.util.List<com.google.devtools.build.lib.view.proto.Deps.SourceLocation> 
        getLocationList();
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    com.google.devtools.build.lib.view.proto.Deps.SourceLocation getLocation(int index);
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    int getLocationCount();
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder> 
        getLocationOrBuilderList();
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder getLocationOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code blaze_deps.Dependency}
   */
  public  static final class Dependency extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze_deps.Dependency)
      DependencyOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Dependency.newBuilder() to construct.
    private Dependency(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Dependency() {
      path_ = "";
      kind_ = 0;
      location_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Dependency(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            case 10: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000001;
              path_ = bs;
              break;
            }
            case 16: {
              int rawValue = input.readEnum();
                @SuppressWarnings("deprecation")
              com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind value = com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(2, rawValue);
              } else {
                bitField0_ |= 0x00000002;
                kind_ = rawValue;
              }
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                location_ = new java.util.ArrayList<com.google.devtools.build.lib.view.proto.Deps.SourceLocation>();
                mutable_bitField0_ |= 0x00000004;
              }
              location_.add(
                  input.readMessage(com.google.devtools.build.lib.view.proto.Deps.SourceLocation.PARSER, extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              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_ & 0x00000004) == 0x00000004)) {
          location_ = java.util.Collections.unmodifiableList(location_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependency_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependency_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.view.proto.Deps.Dependency.class, com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder.class);
    }

    /**
     * Protobuf enum {@code blaze_deps.Dependency.Kind}
     */
    public enum Kind
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * <pre>
       * Dependency used explicitly in the source.
       * </pre>
       *
       * <code>EXPLICIT = 0;</code>
       */
      EXPLICIT(0),
      /**
       * <pre>
       * Dependency that is implicitly loaded and used by the compiler.
       * </pre>
       *
       * <code>IMPLICIT = 1;</code>
       */
      IMPLICIT(1),
      /**
       * <pre>
       * Unused dependency.
       * </pre>
       *
       * <code>UNUSED = 2;</code>
       */
      UNUSED(2),
      /**
       * <pre>
       * Implicit dependency considered by the compiler but not completed.
       * </pre>
       *
       * <code>INCOMPLETE = 3;</code>
       */
      INCOMPLETE(3),
      ;

      /**
       * <pre>
       * Dependency used explicitly in the source.
       * </pre>
       *
       * <code>EXPLICIT = 0;</code>
       */
      public static final int EXPLICIT_VALUE = 0;
      /**
       * <pre>
       * Dependency that is implicitly loaded and used by the compiler.
       * </pre>
       *
       * <code>IMPLICIT = 1;</code>
       */
      public static final int IMPLICIT_VALUE = 1;
      /**
       * <pre>
       * Unused dependency.
       * </pre>
       *
       * <code>UNUSED = 2;</code>
       */
      public static final int UNUSED_VALUE = 2;
      /**
       * <pre>
       * Implicit dependency considered by the compiler but not completed.
       * </pre>
       *
       * <code>INCOMPLETE = 3;</code>
       */
      public static final int INCOMPLETE_VALUE = 3;


      public final int getNumber() {
        return value;
      }

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

      public static Kind forNumber(int value) {
        switch (value) {
          case 0: return EXPLICIT;
          case 1: return IMPLICIT;
          case 2: return UNUSED;
          case 3: return INCOMPLETE;
          default: return null;
        }
      }

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

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

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

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

      private final int value;

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

      // @@protoc_insertion_point(enum_scope:blaze_deps.Dependency.Kind)
    }

    private int bitField0_;
    public static final int PATH_FIELD_NUMBER = 1;
    private volatile java.lang.Object path_;
    /**
     * <pre>
     * Path to the artifact representing this dependency.
     * </pre>
     *
     * <code>required string path = 1;</code>
     */
    public boolean hasPath() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <pre>
     * Path to the artifact representing this dependency.
     * </pre>
     *
     * <code>required 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();
        if (bs.isValidUtf8()) {
          path_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     * Path to the artifact representing this dependency.
     * </pre>
     *
     * <code>required 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 KIND_FIELD_NUMBER = 2;
    private int kind_;
    /**
     * <pre>
     * Dependency kind
     * </pre>
     *
     * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
     */
    public boolean hasKind() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <pre>
     * Dependency kind
     * </pre>
     *
     * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
     */
    public com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind getKind() {
      @SuppressWarnings("deprecation")
      com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind result = com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind.valueOf(kind_);
      return result == null ? com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind.EXPLICIT : result;
    }

    public static final int LOCATION_FIELD_NUMBER = 3;
    private java.util.List<com.google.devtools.build.lib.view.proto.Deps.SourceLocation> location_;
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    public java.util.List<com.google.devtools.build.lib.view.proto.Deps.SourceLocation> getLocationList() {
      return location_;
    }
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder> 
        getLocationOrBuilderList() {
      return location_;
    }
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    public int getLocationCount() {
      return location_.size();
    }
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    public com.google.devtools.build.lib.view.proto.Deps.SourceLocation getLocation(int index) {
      return location_.get(index);
    }
    /**
     * <pre>
     * Source file locations: compilers can pinpoint the uses of a dependency.
     * </pre>
     *
     * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
     */
    public com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder getLocationOrBuilder(
        int index) {
      return location_.get(index);
    }

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

      if (!hasPath()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasKind()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getLocationCount(); i++) {
        if (!getLocation(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeEnum(2, kind_);
      }
      for (int i = 0; i < location_.size(); i++) {
        output.writeMessage(3, location_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(2, kind_);
      }
      for (int i = 0; i < location_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, location_.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.view.proto.Deps.Dependency)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.view.proto.Deps.Dependency other = (com.google.devtools.build.lib.view.proto.Deps.Dependency) obj;

      boolean result = true;
      result = result && (hasPath() == other.hasPath());
      if (hasPath()) {
        result = result && getPath()
            .equals(other.getPath());
      }
      result = result && (hasKind() == other.hasKind());
      if (hasKind()) {
        result = result && kind_ == other.kind_;
      }
      result = result && getLocationList()
          .equals(other.getLocationList());
      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 (hasPath()) {
        hash = (37 * hash) + PATH_FIELD_NUMBER;
        hash = (53 * hash) + getPath().hashCode();
      }
      if (hasKind()) {
        hash = (37 * hash) + KIND_FIELD_NUMBER;
        hash = (53 * hash) + kind_;
      }
      if (getLocationCount() > 0) {
        hash = (37 * hash) + LOCATION_FIELD_NUMBER;
        hash = (53 * hash) + getLocationList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency 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.view.proto.Deps.Dependency parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependency parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.view.proto.Deps.Dependency prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code blaze_deps.Dependency}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze_deps.Dependency)
        com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependency_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependency_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.view.proto.Deps.Dependency.class, com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.view.proto.Deps.Dependency.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getLocationFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        path_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        kind_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        if (locationBuilder_ == null) {
          location_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          locationBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependency_descriptor;
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.Dependency getDefaultInstanceForType() {
        return com.google.devtools.build.lib.view.proto.Deps.Dependency.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.Dependency build() {
        com.google.devtools.build.lib.view.proto.Deps.Dependency result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.Dependency buildPartial() {
        com.google.devtools.build.lib.view.proto.Deps.Dependency result = new com.google.devtools.build.lib.view.proto.Deps.Dependency(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.path_ = path_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.kind_ = kind_;
        if (locationBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            location_ = java.util.Collections.unmodifiableList(location_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.location_ = location_;
        } else {
          result.location_ = locationBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return (Builder) super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.view.proto.Deps.Dependency) {
          return mergeFrom((com.google.devtools.build.lib.view.proto.Deps.Dependency)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.view.proto.Deps.Dependency other) {
        if (other == com.google.devtools.build.lib.view.proto.Deps.Dependency.getDefaultInstance()) return this;
        if (other.hasPath()) {
          bitField0_ |= 0x00000001;
          path_ = other.path_;
          onChanged();
        }
        if (other.hasKind()) {
          setKind(other.getKind());
        }
        if (locationBuilder_ == null) {
          if (!other.location_.isEmpty()) {
            if (location_.isEmpty()) {
              location_ = other.location_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureLocationIsMutable();
              location_.addAll(other.location_);
            }
            onChanged();
          }
        } else {
          if (!other.location_.isEmpty()) {
            if (locationBuilder_.isEmpty()) {
              locationBuilder_.dispose();
              locationBuilder_ = null;
              location_ = other.location_;
              bitField0_ = (bitField0_ & ~0x00000004);
              locationBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getLocationFieldBuilder() : null;
            } else {
              locationBuilder_.addAllMessages(other.location_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasPath()) {
          return false;
        }
        if (!hasKind()) {
          return false;
        }
        for (int i = 0; i < getLocationCount(); i++) {
          if (!getLocation(i).isInitialized()) {
            return false;
          }
        }
        return true;
      }

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

      private java.lang.Object path_ = "";
      /**
       * <pre>
       * Path to the artifact representing this dependency.
       * </pre>
       *
       * <code>required string path = 1;</code>
       */
      public boolean hasPath() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <pre>
       * Path to the artifact representing this dependency.
       * </pre>
       *
       * <code>required 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();
          if (bs.isValidUtf8()) {
            path_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * Path to the artifact representing this dependency.
       * </pre>
       *
       * <code>required 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 artifact representing this dependency.
       * </pre>
       *
       * <code>required string path = 1;</code>
       */
      public Builder setPath(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        path_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Path to the artifact representing this dependency.
       * </pre>
       *
       * <code>required string path = 1;</code>
       */
      public Builder clearPath() {
        bitField0_ = (bitField0_ & ~0x00000001);
        path_ = getDefaultInstance().getPath();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Path to the artifact representing this dependency.
       * </pre>
       *
       * <code>required string path = 1;</code>
       */
      public Builder setPathBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        path_ = value;
        onChanged();
        return this;
      }

      private int kind_ = 0;
      /**
       * <pre>
       * Dependency kind
       * </pre>
       *
       * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
       */
      public boolean hasKind() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <pre>
       * Dependency kind
       * </pre>
       *
       * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind getKind() {
        @SuppressWarnings("deprecation")
        com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind result = com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind.valueOf(kind_);
        return result == null ? com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind.EXPLICIT : result;
      }
      /**
       * <pre>
       * Dependency kind
       * </pre>
       *
       * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
       */
      public Builder setKind(com.google.devtools.build.lib.view.proto.Deps.Dependency.Kind value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000002;
        kind_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Dependency kind
       * </pre>
       *
       * <code>required .blaze_deps.Dependency.Kind kind = 2;</code>
       */
      public Builder clearKind() {
        bitField0_ = (bitField0_ & ~0x00000002);
        kind_ = 0;
        onChanged();
        return this;
      }

      private java.util.List<com.google.devtools.build.lib.view.proto.Deps.SourceLocation> location_ =
        java.util.Collections.emptyList();
      private void ensureLocationIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          location_ = new java.util.ArrayList<com.google.devtools.build.lib.view.proto.Deps.SourceLocation>(location_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.view.proto.Deps.SourceLocation, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder, com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder> locationBuilder_;

      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public java.util.List<com.google.devtools.build.lib.view.proto.Deps.SourceLocation> getLocationList() {
        if (locationBuilder_ == null) {
          return java.util.Collections.unmodifiableList(location_);
        } else {
          return locationBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public int getLocationCount() {
        if (locationBuilder_ == null) {
          return location_.size();
        } else {
          return locationBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocation getLocation(int index) {
        if (locationBuilder_ == null) {
          return location_.get(index);
        } else {
          return locationBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder setLocation(
          int index, com.google.devtools.build.lib.view.proto.Deps.SourceLocation value) {
        if (locationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLocationIsMutable();
          location_.set(index, value);
          onChanged();
        } else {
          locationBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder setLocation(
          int index, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder builderForValue) {
        if (locationBuilder_ == null) {
          ensureLocationIsMutable();
          location_.set(index, builderForValue.build());
          onChanged();
        } else {
          locationBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder addLocation(com.google.devtools.build.lib.view.proto.Deps.SourceLocation value) {
        if (locationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLocationIsMutable();
          location_.add(value);
          onChanged();
        } else {
          locationBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder addLocation(
          int index, com.google.devtools.build.lib.view.proto.Deps.SourceLocation value) {
        if (locationBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureLocationIsMutable();
          location_.add(index, value);
          onChanged();
        } else {
          locationBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder addLocation(
          com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder builderForValue) {
        if (locationBuilder_ == null) {
          ensureLocationIsMutable();
          location_.add(builderForValue.build());
          onChanged();
        } else {
          locationBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder addLocation(
          int index, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder builderForValue) {
        if (locationBuilder_ == null) {
          ensureLocationIsMutable();
          location_.add(index, builderForValue.build());
          onChanged();
        } else {
          locationBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder addAllLocation(
          java.lang.Iterable<? extends com.google.devtools.build.lib.view.proto.Deps.SourceLocation> values) {
        if (locationBuilder_ == null) {
          ensureLocationIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, location_);
          onChanged();
        } else {
          locationBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder clearLocation() {
        if (locationBuilder_ == null) {
          location_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          locationBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public Builder removeLocation(int index) {
        if (locationBuilder_ == null) {
          ensureLocationIsMutable();
          location_.remove(index);
          onChanged();
        } else {
          locationBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder getLocationBuilder(
          int index) {
        return getLocationFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder getLocationOrBuilder(
          int index) {
        if (locationBuilder_ == null) {
          return location_.get(index);  } else {
          return locationBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder> 
           getLocationOrBuilderList() {
        if (locationBuilder_ != null) {
          return locationBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(location_);
        }
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder addLocationBuilder() {
        return getLocationFieldBuilder().addBuilder(
            com.google.devtools.build.lib.view.proto.Deps.SourceLocation.getDefaultInstance());
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder addLocationBuilder(
          int index) {
        return getLocationFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.getDefaultInstance());
      }
      /**
       * <pre>
       * Source file locations: compilers can pinpoint the uses of a dependency.
       * </pre>
       *
       * <code>repeated .blaze_deps.SourceLocation location = 3;</code>
       */
      public java.util.List<com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder> 
           getLocationBuilderList() {
        return getLocationFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.view.proto.Deps.SourceLocation, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder, com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder> 
          getLocationFieldBuilder() {
        if (locationBuilder_ == null) {
          locationBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.view.proto.Deps.SourceLocation, com.google.devtools.build.lib.view.proto.Deps.SourceLocation.Builder, com.google.devtools.build.lib.view.proto.Deps.SourceLocationOrBuilder>(
                  location_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          location_ = null;
        }
        return locationBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:blaze_deps.Dependency)
    }

    // @@protoc_insertion_point(class_scope:blaze_deps.Dependency)
    private static final com.google.devtools.build.lib.view.proto.Deps.Dependency DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.view.proto.Deps.Dependency();
    }

    public static com.google.devtools.build.lib.view.proto.Deps.Dependency getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.google.devtools.build.lib.view.proto.Deps.Dependency getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DependenciesOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze_deps.Dependencies)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    java.util.List<com.google.devtools.build.lib.view.proto.Deps.Dependency> 
        getDependencyList();
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    com.google.devtools.build.lib.view.proto.Deps.Dependency getDependency(int index);
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    int getDependencyCount();
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder> 
        getDependencyOrBuilderList();
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder getDependencyOrBuilder(
        int index);

    /**
     * <pre>
     * Name of the rule being analyzed.
     * </pre>
     *
     * <code>optional string rule_label = 2;</code>
     */
    boolean hasRuleLabel();
    /**
     * <pre>
     * Name of the rule being analyzed.
     * </pre>
     *
     * <code>optional string rule_label = 2;</code>
     */
    java.lang.String getRuleLabel();
    /**
     * <pre>
     * Name of the rule being analyzed.
     * </pre>
     *
     * <code>optional string rule_label = 2;</code>
     */
    com.google.protobuf.ByteString
        getRuleLabelBytes();

    /**
     * <pre>
     * Whether the action was successful; even when compilation fails, partial
     * dependency information can be useful.
     * </pre>
     *
     * <code>optional bool success = 3;</code>
     */
    boolean hasSuccess();
    /**
     * <pre>
     * Whether the action was successful; even when compilation fails, partial
     * dependency information can be useful.
     * </pre>
     *
     * <code>optional bool success = 3;</code>
     */
    boolean getSuccess();

    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    java.util.List<java.lang.String>
        getContainedPackageList();
    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    int getContainedPackageCount();
    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    java.lang.String getContainedPackage(int index);
    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    com.google.protobuf.ByteString
        getContainedPackageBytes(int index);
  }
  /**
   * <pre>
   * Top-level message found in .deps artifacts
   * </pre>
   *
   * Protobuf type {@code blaze_deps.Dependencies}
   */
  public  static final class Dependencies extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze_deps.Dependencies)
      DependenciesOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Dependencies.newBuilder() to construct.
    private Dependencies(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Dependencies() {
      dependency_ = java.util.Collections.emptyList();
      ruleLabel_ = "";
      success_ = false;
      containedPackage_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Dependencies(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      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;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                dependency_ = new java.util.ArrayList<com.google.devtools.build.lib.view.proto.Deps.Dependency>();
                mutable_bitField0_ |= 0x00000001;
              }
              dependency_.add(
                  input.readMessage(com.google.devtools.build.lib.view.proto.Deps.Dependency.PARSER, extensionRegistry));
              break;
            }
            case 18: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000001;
              ruleLabel_ = bs;
              break;
            }
            case 24: {
              bitField0_ |= 0x00000002;
              success_ = input.readBool();
              break;
            }
            case 34: {
              com.google.protobuf.ByteString bs = input.readBytes();
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                containedPackage_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              containedPackage_.add(bs);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              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)) {
          dependency_ = java.util.Collections.unmodifiableList(dependency_);
        }
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          containedPackage_ = containedPackage_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependencies_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependencies_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.view.proto.Deps.Dependencies.class, com.google.devtools.build.lib.view.proto.Deps.Dependencies.Builder.class);
    }

    private int bitField0_;
    public static final int DEPENDENCY_FIELD_NUMBER = 1;
    private java.util.List<com.google.devtools.build.lib.view.proto.Deps.Dependency> dependency_;
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    public java.util.List<com.google.devtools.build.lib.view.proto.Deps.Dependency> getDependencyList() {
      return dependency_;
    }
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder> 
        getDependencyOrBuilderList() {
      return dependency_;
    }
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    public int getDependencyCount() {
      return dependency_.size();
    }
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    public com.google.devtools.build.lib.view.proto.Deps.Dependency getDependency(int index) {
      return dependency_.get(index);
    }
    /**
     * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
     */
    public com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder getDependencyOrBuilder(
        int index) {
      return dependency_.get(index);
    }

    public static final int RULE_LABEL_FIELD_NUMBER = 2;
    private volatile java.lang.Object ruleLabel_;
    /**
     * <pre>
     * Name of the rule being analyzed.
     * </pre>
     *
     * <code>optional string rule_label = 2;</code>
     */
    public boolean hasRuleLabel() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <pre>
     * Name of the rule being analyzed.
     * </pre>
     *
     * <code>optional string rule_label = 2;</code>
     */
    public java.lang.String getRuleLabel() {
      java.lang.Object ref = ruleLabel_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          ruleLabel_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     * Name of the rule being analyzed.
     * </pre>
     *
     * <code>optional string rule_label = 2;</code>
     */
    public com.google.protobuf.ByteString
        getRuleLabelBytes() {
      java.lang.Object ref = ruleLabel_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        ruleLabel_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SUCCESS_FIELD_NUMBER = 3;
    private boolean success_;
    /**
     * <pre>
     * Whether the action was successful; even when compilation fails, partial
     * dependency information can be useful.
     * </pre>
     *
     * <code>optional bool success = 3;</code>
     */
    public boolean hasSuccess() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <pre>
     * Whether the action was successful; even when compilation fails, partial
     * dependency information can be useful.
     * </pre>
     *
     * <code>optional bool success = 3;</code>
     */
    public boolean getSuccess() {
      return success_;
    }

    public static final int CONTAINED_PACKAGE_FIELD_NUMBER = 4;
    private com.google.protobuf.LazyStringList containedPackage_;
    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getContainedPackageList() {
      return containedPackage_;
    }
    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    public int getContainedPackageCount() {
      return containedPackage_.size();
    }
    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    public java.lang.String getContainedPackage(int index) {
      return containedPackage_.get(index);
    }
    /**
     * <pre>
     * Packages contained in the output jar, sorted alphabetically.
     * </pre>
     *
     * <code>repeated string contained_package = 4;</code>
     */
    public com.google.protobuf.ByteString
        getContainedPackageBytes(int index) {
      return containedPackage_.getByteString(index);
    }

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

      for (int i = 0; i < getDependencyCount(); i++) {
        if (!getDependency(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < dependency_.size(); i++) {
        output.writeMessage(1, dependency_.get(i));
      }
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ruleLabel_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBool(3, success_);
      }
      for (int i = 0; i < containedPackage_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, containedPackage_.getRaw(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < dependency_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, dependency_.get(i));
      }
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, ruleLabel_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(3, success_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < containedPackage_.size(); i++) {
          dataSize += computeStringSizeNoTag(containedPackage_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getContainedPackageList().size();
      }
      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.view.proto.Deps.Dependencies)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.view.proto.Deps.Dependencies other = (com.google.devtools.build.lib.view.proto.Deps.Dependencies) obj;

      boolean result = true;
      result = result && getDependencyList()
          .equals(other.getDependencyList());
      result = result && (hasRuleLabel() == other.hasRuleLabel());
      if (hasRuleLabel()) {
        result = result && getRuleLabel()
            .equals(other.getRuleLabel());
      }
      result = result && (hasSuccess() == other.hasSuccess());
      if (hasSuccess()) {
        result = result && (getSuccess()
            == other.getSuccess());
      }
      result = result && getContainedPackageList()
          .equals(other.getContainedPackageList());
      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 (getDependencyCount() > 0) {
        hash = (37 * hash) + DEPENDENCY_FIELD_NUMBER;
        hash = (53 * hash) + getDependencyList().hashCode();
      }
      if (hasRuleLabel()) {
        hash = (37 * hash) + RULE_LABEL_FIELD_NUMBER;
        hash = (53 * hash) + getRuleLabel().hashCode();
      }
      if (hasSuccess()) {
        hash = (37 * hash) + SUCCESS_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
            getSuccess());
      }
      if (getContainedPackageCount() > 0) {
        hash = (37 * hash) + CONTAINED_PACKAGE_FIELD_NUMBER;
        hash = (53 * hash) + getContainedPackageList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies 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.view.proto.Deps.Dependencies parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.view.proto.Deps.Dependencies prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Top-level message found in .deps artifacts
     * </pre>
     *
     * Protobuf type {@code blaze_deps.Dependencies}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze_deps.Dependencies)
        com.google.devtools.build.lib.view.proto.Deps.DependenciesOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependencies_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependencies_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.view.proto.Deps.Dependencies.class, com.google.devtools.build.lib.view.proto.Deps.Dependencies.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.view.proto.Deps.Dependencies.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getDependencyFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (dependencyBuilder_ == null) {
          dependency_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          dependencyBuilder_.clear();
        }
        ruleLabel_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        success_ = false;
        bitField0_ = (bitField0_ & ~0x00000004);
        containedPackage_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.view.proto.Deps.internal_static_blaze_deps_Dependencies_descriptor;
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.Dependencies getDefaultInstanceForType() {
        return com.google.devtools.build.lib.view.proto.Deps.Dependencies.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.Dependencies build() {
        com.google.devtools.build.lib.view.proto.Deps.Dependencies result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.devtools.build.lib.view.proto.Deps.Dependencies buildPartial() {
        com.google.devtools.build.lib.view.proto.Deps.Dependencies result = new com.google.devtools.build.lib.view.proto.Deps.Dependencies(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (dependencyBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            dependency_ = java.util.Collections.unmodifiableList(dependency_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.dependency_ = dependency_;
        } else {
          result.dependency_ = dependencyBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000001;
        }
        result.ruleLabel_ = ruleLabel_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000002;
        }
        result.success_ = success_;
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          containedPackage_ = containedPackage_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.containedPackage_ = containedPackage_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return (Builder) super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.view.proto.Deps.Dependencies) {
          return mergeFrom((com.google.devtools.build.lib.view.proto.Deps.Dependencies)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.view.proto.Deps.Dependencies other) {
        if (other == com.google.devtools.build.lib.view.proto.Deps.Dependencies.getDefaultInstance()) return this;
        if (dependencyBuilder_ == null) {
          if (!other.dependency_.isEmpty()) {
            if (dependency_.isEmpty()) {
              dependency_ = other.dependency_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDependencyIsMutable();
              dependency_.addAll(other.dependency_);
            }
            onChanged();
          }
        } else {
          if (!other.dependency_.isEmpty()) {
            if (dependencyBuilder_.isEmpty()) {
              dependencyBuilder_.dispose();
              dependencyBuilder_ = null;
              dependency_ = other.dependency_;
              bitField0_ = (bitField0_ & ~0x00000001);
              dependencyBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDependencyFieldBuilder() : null;
            } else {
              dependencyBuilder_.addAllMessages(other.dependency_);
            }
          }
        }
        if (other.hasRuleLabel()) {
          bitField0_ |= 0x00000002;
          ruleLabel_ = other.ruleLabel_;
          onChanged();
        }
        if (other.hasSuccess()) {
          setSuccess(other.getSuccess());
        }
        if (!other.containedPackage_.isEmpty()) {
          if (containedPackage_.isEmpty()) {
            containedPackage_ = other.containedPackage_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureContainedPackageIsMutable();
            containedPackage_.addAll(other.containedPackage_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        for (int i = 0; i < getDependencyCount(); i++) {
          if (!getDependency(i).isInitialized()) {
            return false;
          }
        }
        return true;
      }

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

      private java.util.List<com.google.devtools.build.lib.view.proto.Deps.Dependency> dependency_ =
        java.util.Collections.emptyList();
      private void ensureDependencyIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          dependency_ = new java.util.ArrayList<com.google.devtools.build.lib.view.proto.Deps.Dependency>(dependency_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.view.proto.Deps.Dependency, com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder, com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder> dependencyBuilder_;

      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.view.proto.Deps.Dependency> getDependencyList() {
        if (dependencyBuilder_ == null) {
          return java.util.Collections.unmodifiableList(dependency_);
        } else {
          return dependencyBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public int getDependencyCount() {
        if (dependencyBuilder_ == null) {
          return dependency_.size();
        } else {
          return dependencyBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.Dependency getDependency(int index) {
        if (dependencyBuilder_ == null) {
          return dependency_.get(index);
        } else {
          return dependencyBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder setDependency(
          int index, com.google.devtools.build.lib.view.proto.Deps.Dependency value) {
        if (dependencyBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDependencyIsMutable();
          dependency_.set(index, value);
          onChanged();
        } else {
          dependencyBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder setDependency(
          int index, com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder builderForValue) {
        if (dependencyBuilder_ == null) {
          ensureDependencyIsMutable();
          dependency_.set(index, builderForValue.build());
          onChanged();
        } else {
          dependencyBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder addDependency(com.google.devtools.build.lib.view.proto.Deps.Dependency value) {
        if (dependencyBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDependencyIsMutable();
          dependency_.add(value);
          onChanged();
        } else {
          dependencyBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder addDependency(
          int index, com.google.devtools.build.lib.view.proto.Deps.Dependency value) {
        if (dependencyBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDependencyIsMutable();
          dependency_.add(index, value);
          onChanged();
        } else {
          dependencyBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder addDependency(
          com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder builderForValue) {
        if (dependencyBuilder_ == null) {
          ensureDependencyIsMutable();
          dependency_.add(builderForValue.build());
          onChanged();
        } else {
          dependencyBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder addDependency(
          int index, com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder builderForValue) {
        if (dependencyBuilder_ == null) {
          ensureDependencyIsMutable();
          dependency_.add(index, builderForValue.build());
          onChanged();
        } else {
          dependencyBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder addAllDependency(
          java.lang.Iterable<? extends com.google.devtools.build.lib.view.proto.Deps.Dependency> values) {
        if (dependencyBuilder_ == null) {
          ensureDependencyIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, dependency_);
          onChanged();
        } else {
          dependencyBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder clearDependency() {
        if (dependencyBuilder_ == null) {
          dependency_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          dependencyBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public Builder removeDependency(int index) {
        if (dependencyBuilder_ == null) {
          ensureDependencyIsMutable();
          dependency_.remove(index);
          onChanged();
        } else {
          dependencyBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder getDependencyBuilder(
          int index) {
        return getDependencyFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder getDependencyOrBuilder(
          int index) {
        if (dependencyBuilder_ == null) {
          return dependency_.get(index);  } else {
          return dependencyBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder> 
           getDependencyOrBuilderList() {
        if (dependencyBuilder_ != null) {
          return dependencyBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(dependency_);
        }
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder addDependencyBuilder() {
        return getDependencyFieldBuilder().addBuilder(
            com.google.devtools.build.lib.view.proto.Deps.Dependency.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder addDependencyBuilder(
          int index) {
        return getDependencyFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.view.proto.Deps.Dependency.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze_deps.Dependency dependency = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder> 
           getDependencyBuilderList() {
        return getDependencyFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.view.proto.Deps.Dependency, com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder, com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder> 
          getDependencyFieldBuilder() {
        if (dependencyBuilder_ == null) {
          dependencyBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.view.proto.Deps.Dependency, com.google.devtools.build.lib.view.proto.Deps.Dependency.Builder, com.google.devtools.build.lib.view.proto.Deps.DependencyOrBuilder>(
                  dependency_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          dependency_ = null;
        }
        return dependencyBuilder_;
      }

      private java.lang.Object ruleLabel_ = "";
      /**
       * <pre>
       * Name of the rule being analyzed.
       * </pre>
       *
       * <code>optional string rule_label = 2;</code>
       */
      public boolean hasRuleLabel() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <pre>
       * Name of the rule being analyzed.
       * </pre>
       *
       * <code>optional string rule_label = 2;</code>
       */
      public java.lang.String getRuleLabel() {
        java.lang.Object ref = ruleLabel_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            ruleLabel_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * Name of the rule being analyzed.
       * </pre>
       *
       * <code>optional string rule_label = 2;</code>
       */
      public com.google.protobuf.ByteString
          getRuleLabelBytes() {
        java.lang.Object ref = ruleLabel_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          ruleLabel_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * Name of the rule being analyzed.
       * </pre>
       *
       * <code>optional string rule_label = 2;</code>
       */
      public Builder setRuleLabel(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        ruleLabel_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Name of the rule being analyzed.
       * </pre>
       *
       * <code>optional string rule_label = 2;</code>
       */
      public Builder clearRuleLabel() {
        bitField0_ = (bitField0_ & ~0x00000002);
        ruleLabel_ = getDefaultInstance().getRuleLabel();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Name of the rule being analyzed.
       * </pre>
       *
       * <code>optional string rule_label = 2;</code>
       */
      public Builder setRuleLabelBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        ruleLabel_ = value;
        onChanged();
        return this;
      }

      private boolean success_ ;
      /**
       * <pre>
       * Whether the action was successful; even when compilation fails, partial
       * dependency information can be useful.
       * </pre>
       *
       * <code>optional bool success = 3;</code>
       */
      public boolean hasSuccess() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <pre>
       * Whether the action was successful; even when compilation fails, partial
       * dependency information can be useful.
       * </pre>
       *
       * <code>optional bool success = 3;</code>
       */
      public boolean getSuccess() {
        return success_;
      }
      /**
       * <pre>
       * Whether the action was successful; even when compilation fails, partial
       * dependency information can be useful.
       * </pre>
       *
       * <code>optional bool success = 3;</code>
       */
      public Builder setSuccess(boolean value) {
        bitField0_ |= 0x00000004;
        success_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Whether the action was successful; even when compilation fails, partial
       * dependency information can be useful.
       * </pre>
       *
       * <code>optional bool success = 3;</code>
       */
      public Builder clearSuccess() {
        bitField0_ = (bitField0_ & ~0x00000004);
        success_ = false;
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList containedPackage_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureContainedPackageIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          containedPackage_ = new com.google.protobuf.LazyStringArrayList(containedPackage_);
          bitField0_ |= 0x00000008;
         }
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getContainedPackageList() {
        return containedPackage_.getUnmodifiableView();
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public int getContainedPackageCount() {
        return containedPackage_.size();
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public java.lang.String getContainedPackage(int index) {
        return containedPackage_.get(index);
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public com.google.protobuf.ByteString
          getContainedPackageBytes(int index) {
        return containedPackage_.getByteString(index);
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public Builder setContainedPackage(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureContainedPackageIsMutable();
        containedPackage_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public Builder addContainedPackage(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureContainedPackageIsMutable();
        containedPackage_.add(value);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public Builder addAllContainedPackage(
          java.lang.Iterable<java.lang.String> values) {
        ensureContainedPackageIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, containedPackage_);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public Builder clearContainedPackage() {
        containedPackage_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * Packages contained in the output jar, sorted alphabetically.
       * </pre>
       *
       * <code>repeated string contained_package = 4;</code>
       */
      public Builder addContainedPackageBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureContainedPackageIsMutable();
        containedPackage_.add(value);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:blaze_deps.Dependencies)
    }

    // @@protoc_insertion_point(class_scope:blaze_deps.Dependencies)
    private static final com.google.devtools.build.lib.view.proto.Deps.Dependencies DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.view.proto.Deps.Dependencies();
    }

    public static com.google.devtools.build.lib.view.proto.Deps.Dependencies getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public com.google.devtools.build.lib.view.proto.Deps.Dependencies getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_deps_SourceLocation_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_deps_SourceLocation_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_deps_Dependency_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_deps_Dependency_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_deps_Dependencies_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_deps_Dependencies_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\034src/main/protobuf/deps.proto\022\nblaze_de" +
      "ps\"<\n\016SourceLocation\022\014\n\004path\030\001 \002(\t\022\014\n\004li" +
      "ne\030\002 \001(\005\022\016\n\006column\030\003 \001(\005\"\263\001\n\nDependency\022" +
      "\014\n\004path\030\001 \002(\t\022)\n\004kind\030\002 \002(\0162\033.blaze_deps" +
      ".Dependency.Kind\022,\n\010location\030\003 \003(\0132\032.bla" +
      "ze_deps.SourceLocation\">\n\004Kind\022\014\n\010EXPLIC" +
      "IT\020\000\022\014\n\010IMPLICIT\020\001\022\n\n\006UNUSED\020\002\022\016\n\nINCOMP" +
      "LETE\020\003\"z\n\014Dependencies\022*\n\ndependency\030\001 \003" +
      "(\0132\026.blaze_deps.Dependency\022\022\n\nrule_label" +
      "\030\002 \001(\t\022\017\n\007success\030\003 \001(\010\022\031\n\021contained_pac" +
      "kage\030\004 \003(\tB*\n(com.google.devtools.build." +
      "lib.view.proto"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
    internal_static_blaze_deps_SourceLocation_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_blaze_deps_SourceLocation_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_deps_SourceLocation_descriptor,
        new java.lang.String[] { "Path", "Line", "Column", });
    internal_static_blaze_deps_Dependency_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_blaze_deps_Dependency_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_deps_Dependency_descriptor,
        new java.lang.String[] { "Path", "Kind", "Location", });
    internal_static_blaze_deps_Dependencies_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_blaze_deps_Dependencies_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_deps_Dependencies_descriptor,
        new java.lang.String[] { "Dependency", "RuleLabel", "Success", "ContainedPackage", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
