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

package com.google.devtools.build.lib.rules.android.apkmanifest;

public final class ApkManifestOuterClass {
  private ApkManifestOuterClass() {}
  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 ArtifactOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze.apk_manifest.Artifact)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * This path is relative to "bazel info execution_root"
     * </pre>
     *
     * <code>optional string exec_root_path = 1;</code>
     */
    java.lang.String getExecRootPath();
    /**
     * <pre>
     * This path is relative to "bazel info execution_root"
     * </pre>
     *
     * <code>optional string exec_root_path = 1;</code>
     */
    com.google.protobuf.ByteString
        getExecRootPathBytes();

    /**
     * <code>optional bytes hash = 2;</code>
     */
    com.google.protobuf.ByteString getHash();

    /**
     * <pre>
     * The label of the rule that produced this artifact.
     * </pre>
     *
     * <code>optional string label = 3;</code>
     */
    java.lang.String getLabel();
    /**
     * <pre>
     * The label of the rule that produced this artifact.
     * </pre>
     *
     * <code>optional string label = 3;</code>
     */
    com.google.protobuf.ByteString
        getLabelBytes();
  }
  /**
   * Protobuf type {@code blaze.apk_manifest.Artifact}
   */
  public  static final class Artifact extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze.apk_manifest.Artifact)
      ArtifactOrBuilder {
    // Use Artifact.newBuilder() to construct.
    private Artifact(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private Artifact() {
      execRootPath_ = "";
      hash_ = com.google.protobuf.ByteString.EMPTY;
      label_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private Artifact(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              execRootPath_ = s;
              break;
            }
            case 18: {

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

              label_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_Artifact_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_Artifact_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder.class);
    }

    public static final int EXEC_ROOT_PATH_FIELD_NUMBER = 1;
    private volatile java.lang.Object execRootPath_;
    /**
     * <pre>
     * This path is relative to "bazel info execution_root"
     * </pre>
     *
     * <code>optional string exec_root_path = 1;</code>
     */
    public java.lang.String getExecRootPath() {
      java.lang.Object ref = execRootPath_;
      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();
        execRootPath_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * This path is relative to "bazel info execution_root"
     * </pre>
     *
     * <code>optional string exec_root_path = 1;</code>
     */
    public com.google.protobuf.ByteString
        getExecRootPathBytes() {
      java.lang.Object ref = execRootPath_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        execRootPath_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int HASH_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString hash_;
    /**
     * <code>optional bytes hash = 2;</code>
     */
    public com.google.protobuf.ByteString getHash() {
      return hash_;
    }

    public static final int LABEL_FIELD_NUMBER = 3;
    private volatile java.lang.Object label_;
    /**
     * <pre>
     * The label of the rule that produced this artifact.
     * </pre>
     *
     * <code>optional string label = 3;</code>
     */
    public java.lang.String getLabel() {
      java.lang.Object ref = label_;
      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();
        label_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * The label of the rule that produced this artifact.
     * </pre>
     *
     * <code>optional string label = 3;</code>
     */
    public com.google.protobuf.ByteString
        getLabelBytes() {
      java.lang.Object ref = label_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        label_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getExecRootPathBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, execRootPath_);
      }
      if (!hash_.isEmpty()) {
        output.writeBytes(2, hash_);
      }
      if (!getLabelBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, label_);
      }
    }

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

      size = 0;
      if (!getExecRootPathBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, execRootPath_);
      }
      if (!hash_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, hash_);
      }
      if (!getLabelBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, label_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact other = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact) obj;

      boolean result = true;
      result = result && getExecRootPath()
          .equals(other.getExecRootPath());
      result = result && getHash()
          .equals(other.getHash());
      result = result && getLabel()
          .equals(other.getLabel());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + EXEC_ROOT_PATH_FIELD_NUMBER;
      hash = (53 * hash) + getExecRootPath().hashCode();
      hash = (37 * hash) + HASH_FIELD_NUMBER;
      hash = (53 * hash) + getHash().hashCode();
      hash = (37 * hash) + LABEL_FIELD_NUMBER;
      hash = (53 * hash) + getLabel().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code blaze.apk_manifest.Artifact}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze.apk_manifest.Artifact)
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_Artifact_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_Artifact_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        hash_ = com.google.protobuf.ByteString.EMPTY;

        label_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_Artifact_descriptor;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getDefaultInstanceForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance();
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact build() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact buildPartial() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact result = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact(this);
        result.execRootPath_ = execRootPath_;
        result.hash_ = hash_;
        result.label_ = label_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact) {
          return mergeFrom((com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact other) {
        if (other == com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance()) return this;
        if (!other.getExecRootPath().isEmpty()) {
          execRootPath_ = other.execRootPath_;
          onChanged();
        }
        if (other.getHash() != com.google.protobuf.ByteString.EMPTY) {
          setHash(other.getHash());
        }
        if (!other.getLabel().isEmpty()) {
          label_ = other.label_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object execRootPath_ = "";
      /**
       * <pre>
       * This path is relative to "bazel info execution_root"
       * </pre>
       *
       * <code>optional string exec_root_path = 1;</code>
       */
      public java.lang.String getExecRootPath() {
        java.lang.Object ref = execRootPath_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          execRootPath_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * This path is relative to "bazel info execution_root"
       * </pre>
       *
       * <code>optional string exec_root_path = 1;</code>
       */
      public com.google.protobuf.ByteString
          getExecRootPathBytes() {
        java.lang.Object ref = execRootPath_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          execRootPath_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * This path is relative to "bazel info execution_root"
       * </pre>
       *
       * <code>optional string exec_root_path = 1;</code>
       */
      public Builder setExecRootPath(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        execRootPath_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * This path is relative to "bazel info execution_root"
       * </pre>
       *
       * <code>optional string exec_root_path = 1;</code>
       */
      public Builder clearExecRootPath() {
        
        execRootPath_ = getDefaultInstance().getExecRootPath();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * This path is relative to "bazel info execution_root"
       * </pre>
       *
       * <code>optional string exec_root_path = 1;</code>
       */
      public Builder setExecRootPathBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        execRootPath_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString hash_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>optional bytes hash = 2;</code>
       */
      public com.google.protobuf.ByteString getHash() {
        return hash_;
      }
      /**
       * <code>optional bytes hash = 2;</code>
       */
      public Builder setHash(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        hash_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional bytes hash = 2;</code>
       */
      public Builder clearHash() {
        
        hash_ = getDefaultInstance().getHash();
        onChanged();
        return this;
      }

      private java.lang.Object label_ = "";
      /**
       * <pre>
       * The label of the rule that produced this artifact.
       * </pre>
       *
       * <code>optional string label = 3;</code>
       */
      public java.lang.String getLabel() {
        java.lang.Object ref = label_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          label_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * The label of the rule that produced this artifact.
       * </pre>
       *
       * <code>optional string label = 3;</code>
       */
      public com.google.protobuf.ByteString
          getLabelBytes() {
        java.lang.Object ref = label_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          label_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * The label of the rule that produced this artifact.
       * </pre>
       *
       * <code>optional string label = 3;</code>
       */
      public Builder setLabel(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        label_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The label of the rule that produced this artifact.
       * </pre>
       *
       * <code>optional string label = 3;</code>
       */
      public Builder clearLabel() {
        
        label_ = getDefaultInstance().getLabel();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The label of the rule that produced this artifact.
       * </pre>
       *
       * <code>optional string label = 3;</code>
       */
      public Builder setLabelBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        label_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:blaze.apk_manifest.Artifact)
    }

    // @@protoc_insertion_point(class_scope:blaze.apk_manifest.Artifact)
    private static final com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact();
    }

    public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface NativeLibOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze.apk_manifest.NativeLib)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> 
        getNativeLibsList();
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getNativeLibs(int index);
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    int getNativeLibsCount();
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
        getNativeLibsOrBuilderList();
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getNativeLibsOrBuilder(
        int index);

    /**
     * <code>optional string arch = 2;</code>
     */
    java.lang.String getArch();
    /**
     * <code>optional string arch = 2;</code>
     */
    com.google.protobuf.ByteString
        getArchBytes();
  }
  /**
   * Protobuf type {@code blaze.apk_manifest.NativeLib}
   */
  public  static final class NativeLib extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze.apk_manifest.NativeLib)
      NativeLibOrBuilder {
    // Use NativeLib.newBuilder() to construct.
    private NativeLib(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private NativeLib() {
      nativeLibs_ = java.util.Collections.emptyList();
      arch_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private NativeLib(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                nativeLibs_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact>();
                mutable_bitField0_ |= 0x00000001;
              }
              nativeLibs_.add(
                  input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.parser(), extensionRegistry));
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              arch_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          nativeLibs_ = java.util.Collections.unmodifiableList(nativeLibs_);
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_NativeLib_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_NativeLib_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder.class);
    }

    private int bitField0_;
    public static final int NATIVE_LIBS_FIELD_NUMBER = 1;
    private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> nativeLibs_;
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> getNativeLibsList() {
      return nativeLibs_;
    }
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
        getNativeLibsOrBuilderList() {
      return nativeLibs_;
    }
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    public int getNativeLibsCount() {
      return nativeLibs_.size();
    }
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getNativeLibs(int index) {
      return nativeLibs_.get(index);
    }
    /**
     * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getNativeLibsOrBuilder(
        int index) {
      return nativeLibs_.get(index);
    }

    public static final int ARCH_FIELD_NUMBER = 2;
    private volatile java.lang.Object arch_;
    /**
     * <code>optional string arch = 2;</code>
     */
    public java.lang.String getArch() {
      java.lang.Object ref = arch_;
      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();
        arch_ = s;
        return s;
      }
    }
    /**
     * <code>optional string arch = 2;</code>
     */
    public com.google.protobuf.ByteString
        getArchBytes() {
      java.lang.Object ref = arch_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        arch_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < nativeLibs_.size(); i++) {
        output.writeMessage(1, nativeLibs_.get(i));
      }
      if (!getArchBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, arch_);
      }
    }

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

      size = 0;
      for (int i = 0; i < nativeLibs_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, nativeLibs_.get(i));
      }
      if (!getArchBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, arch_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib other = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib) obj;

      boolean result = true;
      result = result && getNativeLibsList()
          .equals(other.getNativeLibsList());
      result = result && getArch()
          .equals(other.getArch());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (getNativeLibsCount() > 0) {
        hash = (37 * hash) + NATIVE_LIBS_FIELD_NUMBER;
        hash = (53 * hash) + getNativeLibsList().hashCode();
      }
      hash = (37 * hash) + ARCH_FIELD_NUMBER;
      hash = (53 * hash) + getArch().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code blaze.apk_manifest.NativeLib}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze.apk_manifest.NativeLib)
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_NativeLib_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_NativeLib_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getNativeLibsFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (nativeLibsBuilder_ == null) {
          nativeLibs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          nativeLibsBuilder_.clear();
        }
        arch_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_NativeLib_descriptor;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib getDefaultInstanceForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.getDefaultInstance();
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib build() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib buildPartial() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib result = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (nativeLibsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            nativeLibs_ = java.util.Collections.unmodifiableList(nativeLibs_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.nativeLibs_ = nativeLibs_;
        } else {
          result.nativeLibs_ = nativeLibsBuilder_.build();
        }
        result.arch_ = arch_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib) {
          return mergeFrom((com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib other) {
        if (other == com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.getDefaultInstance()) return this;
        if (nativeLibsBuilder_ == null) {
          if (!other.nativeLibs_.isEmpty()) {
            if (nativeLibs_.isEmpty()) {
              nativeLibs_ = other.nativeLibs_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureNativeLibsIsMutable();
              nativeLibs_.addAll(other.nativeLibs_);
            }
            onChanged();
          }
        } else {
          if (!other.nativeLibs_.isEmpty()) {
            if (nativeLibsBuilder_.isEmpty()) {
              nativeLibsBuilder_.dispose();
              nativeLibsBuilder_ = null;
              nativeLibs_ = other.nativeLibs_;
              bitField0_ = (bitField0_ & ~0x00000001);
              nativeLibsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getNativeLibsFieldBuilder() : null;
            } else {
              nativeLibsBuilder_.addAllMessages(other.nativeLibs_);
            }
          }
        }
        if (!other.getArch().isEmpty()) {
          arch_ = other.arch_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib) 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.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> nativeLibs_ =
        java.util.Collections.emptyList();
      private void ensureNativeLibsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          nativeLibs_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact>(nativeLibs_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> nativeLibsBuilder_;

      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> getNativeLibsList() {
        if (nativeLibsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(nativeLibs_);
        } else {
          return nativeLibsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public int getNativeLibsCount() {
        if (nativeLibsBuilder_ == null) {
          return nativeLibs_.size();
        } else {
          return nativeLibsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getNativeLibs(int index) {
        if (nativeLibsBuilder_ == null) {
          return nativeLibs_.get(index);
        } else {
          return nativeLibsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder setNativeLibs(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (nativeLibsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNativeLibsIsMutable();
          nativeLibs_.set(index, value);
          onChanged();
        } else {
          nativeLibsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder setNativeLibs(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (nativeLibsBuilder_ == null) {
          ensureNativeLibsIsMutable();
          nativeLibs_.set(index, builderForValue.build());
          onChanged();
        } else {
          nativeLibsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder addNativeLibs(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (nativeLibsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNativeLibsIsMutable();
          nativeLibs_.add(value);
          onChanged();
        } else {
          nativeLibsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder addNativeLibs(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (nativeLibsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNativeLibsIsMutable();
          nativeLibs_.add(index, value);
          onChanged();
        } else {
          nativeLibsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder addNativeLibs(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (nativeLibsBuilder_ == null) {
          ensureNativeLibsIsMutable();
          nativeLibs_.add(builderForValue.build());
          onChanged();
        } else {
          nativeLibsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder addNativeLibs(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (nativeLibsBuilder_ == null) {
          ensureNativeLibsIsMutable();
          nativeLibs_.add(index, builderForValue.build());
          onChanged();
        } else {
          nativeLibsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder addAllNativeLibs(
          java.lang.Iterable<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> values) {
        if (nativeLibsBuilder_ == null) {
          ensureNativeLibsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, nativeLibs_);
          onChanged();
        } else {
          nativeLibsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder clearNativeLibs() {
        if (nativeLibsBuilder_ == null) {
          nativeLibs_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          nativeLibsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public Builder removeNativeLibs(int index) {
        if (nativeLibsBuilder_ == null) {
          ensureNativeLibsIsMutable();
          nativeLibs_.remove(index);
          onChanged();
        } else {
          nativeLibsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder getNativeLibsBuilder(
          int index) {
        return getNativeLibsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getNativeLibsOrBuilder(
          int index) {
        if (nativeLibsBuilder_ == null) {
          return nativeLibs_.get(index);  } else {
          return nativeLibsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
           getNativeLibsOrBuilderList() {
        if (nativeLibsBuilder_ != null) {
          return nativeLibsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(nativeLibs_);
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder addNativeLibsBuilder() {
        return getNativeLibsFieldBuilder().addBuilder(
            com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder addNativeLibsBuilder(
          int index) {
        return getNativeLibsFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze.apk_manifest.Artifact native_libs = 1;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder> 
           getNativeLibsBuilderList() {
        return getNativeLibsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
          getNativeLibsFieldBuilder() {
        if (nativeLibsBuilder_ == null) {
          nativeLibsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder>(
                  nativeLibs_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          nativeLibs_ = null;
        }
        return nativeLibsBuilder_;
      }

      private java.lang.Object arch_ = "";
      /**
       * <code>optional string arch = 2;</code>
       */
      public java.lang.String getArch() {
        java.lang.Object ref = arch_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          arch_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string arch = 2;</code>
       */
      public com.google.protobuf.ByteString
          getArchBytes() {
        java.lang.Object ref = arch_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          arch_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string arch = 2;</code>
       */
      public Builder setArch(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        arch_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string arch = 2;</code>
       */
      public Builder clearArch() {
        
        arch_ = getDefaultInstance().getArch();
        onChanged();
        return this;
      }
      /**
       * <code>optional string arch = 2;</code>
       */
      public Builder setArchBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        arch_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:blaze.apk_manifest.NativeLib)
    }

    // @@protoc_insertion_point(class_scope:blaze.apk_manifest.NativeLib)
    private static final com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib();
    }

    public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AndroidSdkOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze.apk_manifest.AndroidSdk)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>optional string aapt = 1;</code>
     */
    java.lang.String getAapt();
    /**
     * <code>optional string aapt = 1;</code>
     */
    com.google.protobuf.ByteString
        getAaptBytes();

    /**
     * <code>optional string adb = 2;</code>
     */
    java.lang.String getAdb();
    /**
     * <code>optional string adb = 2;</code>
     */
    com.google.protobuf.ByteString
        getAdbBytes();

    /**
     * <code>optional string aidl = 3;</code>
     */
    java.lang.String getAidl();
    /**
     * <code>optional string aidl = 3;</code>
     */
    com.google.protobuf.ByteString
        getAidlBytes();

    /**
     * <code>optional string android_jar = 4;</code>
     */
    java.lang.String getAndroidJar();
    /**
     * <code>optional string android_jar = 4;</code>
     */
    com.google.protobuf.ByteString
        getAndroidJarBytes();

    /**
     * <code>optional string annotations_jar = 5;</code>
     */
    java.lang.String getAnnotationsJar();
    /**
     * <code>optional string annotations_jar = 5;</code>
     */
    com.google.protobuf.ByteString
        getAnnotationsJarBytes();

    /**
     * <code>optional string apkbuilder = 6;</code>
     */
    java.lang.String getApkbuilder();
    /**
     * <code>optional string apkbuilder = 6;</code>
     */
    com.google.protobuf.ByteString
        getApkbuilderBytes();

    /**
     * <code>optional string dx = 7;</code>
     */
    java.lang.String getDx();
    /**
     * <code>optional string dx = 7;</code>
     */
    com.google.protobuf.ByteString
        getDxBytes();

    /**
     * <code>optional string framework_aidl = 8;</code>
     */
    java.lang.String getFrameworkAidl();
    /**
     * <code>optional string framework_aidl = 8;</code>
     */
    com.google.protobuf.ByteString
        getFrameworkAidlBytes();

    /**
     * <code>optional string jack = 9;</code>
     */
    java.lang.String getJack();
    /**
     * <code>optional string jack = 9;</code>
     */
    com.google.protobuf.ByteString
        getJackBytes();

    /**
     * <code>optional string jill = 10;</code>
     */
    java.lang.String getJill();
    /**
     * <code>optional string jill = 10;</code>
     */
    com.google.protobuf.ByteString
        getJillBytes();

    /**
     * <code>optional string main_dex_classes = 11;</code>
     */
    java.lang.String getMainDexClasses();
    /**
     * <code>optional string main_dex_classes = 11;</code>
     */
    com.google.protobuf.ByteString
        getMainDexClassesBytes();

    /**
     * <code>optional string main_dex_list_creator = 12;</code>
     */
    java.lang.String getMainDexListCreator();
    /**
     * <code>optional string main_dex_list_creator = 12;</code>
     */
    com.google.protobuf.ByteString
        getMainDexListCreatorBytes();

    /**
     * <code>optional string proguard = 13;</code>
     */
    java.lang.String getProguard();
    /**
     * <code>optional string proguard = 13;</code>
     */
    com.google.protobuf.ByteString
        getProguardBytes();

    /**
     * <code>optional string resource_extractor = 14;</code>
     */
    java.lang.String getResourceExtractor();
    /**
     * <code>optional string resource_extractor = 14;</code>
     */
    com.google.protobuf.ByteString
        getResourceExtractorBytes();

    /**
     * <code>optional string shrinked_android_jar = 15;</code>
     */
    java.lang.String getShrinkedAndroidJar();
    /**
     * <code>optional string shrinked_android_jar = 15;</code>
     */
    com.google.protobuf.ByteString
        getShrinkedAndroidJarBytes();

    /**
     * <code>optional string zipalign = 16;</code>
     */
    java.lang.String getZipalign();
    /**
     * <code>optional string zipalign = 16;</code>
     */
    com.google.protobuf.ByteString
        getZipalignBytes();

    /**
     * <pre>
     * assume latest if not set
     * </pre>
     *
     * <code>optional string build_tools_version = 17;</code>
     */
    java.lang.String getBuildToolsVersion();
    /**
     * <pre>
     * assume latest if not set
     * </pre>
     *
     * <code>optional string build_tools_version = 17;</code>
     */
    com.google.protobuf.ByteString
        getBuildToolsVersionBytes();

    /**
     * <code>optional string apksigner = 18;</code>
     */
    java.lang.String getApksigner();
    /**
     * <code>optional string apksigner = 18;</code>
     */
    com.google.protobuf.ByteString
        getApksignerBytes();
  }
  /**
   * Protobuf type {@code blaze.apk_manifest.AndroidSdk}
   */
  public  static final class AndroidSdk extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze.apk_manifest.AndroidSdk)
      AndroidSdkOrBuilder {
    // Use AndroidSdk.newBuilder() to construct.
    private AndroidSdk(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AndroidSdk() {
      aapt_ = "";
      adb_ = "";
      aidl_ = "";
      androidJar_ = "";
      annotationsJar_ = "";
      apkbuilder_ = "";
      dx_ = "";
      frameworkAidl_ = "";
      jack_ = "";
      jill_ = "";
      mainDexClasses_ = "";
      mainDexListCreator_ = "";
      proguard_ = "";
      resourceExtractor_ = "";
      shrinkedAndroidJar_ = "";
      zipalign_ = "";
      buildToolsVersion_ = "";
      apksigner_ = "";
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private AndroidSdk(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

              apksigner_ = s;
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidSdk_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidSdk_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder.class);
    }

    public static final int AAPT_FIELD_NUMBER = 1;
    private volatile java.lang.Object aapt_;
    /**
     * <code>optional string aapt = 1;</code>
     */
    public java.lang.String getAapt() {
      java.lang.Object ref = aapt_;
      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();
        aapt_ = s;
        return s;
      }
    }
    /**
     * <code>optional string aapt = 1;</code>
     */
    public com.google.protobuf.ByteString
        getAaptBytes() {
      java.lang.Object ref = aapt_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        aapt_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ADB_FIELD_NUMBER = 2;
    private volatile java.lang.Object adb_;
    /**
     * <code>optional string adb = 2;</code>
     */
    public java.lang.String getAdb() {
      java.lang.Object ref = adb_;
      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();
        adb_ = s;
        return s;
      }
    }
    /**
     * <code>optional string adb = 2;</code>
     */
    public com.google.protobuf.ByteString
        getAdbBytes() {
      java.lang.Object ref = adb_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        adb_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int AIDL_FIELD_NUMBER = 3;
    private volatile java.lang.Object aidl_;
    /**
     * <code>optional string aidl = 3;</code>
     */
    public java.lang.String getAidl() {
      java.lang.Object ref = aidl_;
      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();
        aidl_ = s;
        return s;
      }
    }
    /**
     * <code>optional string aidl = 3;</code>
     */
    public com.google.protobuf.ByteString
        getAidlBytes() {
      java.lang.Object ref = aidl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        aidl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ANDROID_JAR_FIELD_NUMBER = 4;
    private volatile java.lang.Object androidJar_;
    /**
     * <code>optional string android_jar = 4;</code>
     */
    public java.lang.String getAndroidJar() {
      java.lang.Object ref = androidJar_;
      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();
        androidJar_ = s;
        return s;
      }
    }
    /**
     * <code>optional string android_jar = 4;</code>
     */
    public com.google.protobuf.ByteString
        getAndroidJarBytes() {
      java.lang.Object ref = androidJar_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        androidJar_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ANNOTATIONS_JAR_FIELD_NUMBER = 5;
    private volatile java.lang.Object annotationsJar_;
    /**
     * <code>optional string annotations_jar = 5;</code>
     */
    public java.lang.String getAnnotationsJar() {
      java.lang.Object ref = annotationsJar_;
      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();
        annotationsJar_ = s;
        return s;
      }
    }
    /**
     * <code>optional string annotations_jar = 5;</code>
     */
    public com.google.protobuf.ByteString
        getAnnotationsJarBytes() {
      java.lang.Object ref = annotationsJar_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        annotationsJar_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int APKBUILDER_FIELD_NUMBER = 6;
    private volatile java.lang.Object apkbuilder_;
    /**
     * <code>optional string apkbuilder = 6;</code>
     */
    public java.lang.String getApkbuilder() {
      java.lang.Object ref = apkbuilder_;
      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();
        apkbuilder_ = s;
        return s;
      }
    }
    /**
     * <code>optional string apkbuilder = 6;</code>
     */
    public com.google.protobuf.ByteString
        getApkbuilderBytes() {
      java.lang.Object ref = apkbuilder_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        apkbuilder_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DX_FIELD_NUMBER = 7;
    private volatile java.lang.Object dx_;
    /**
     * <code>optional string dx = 7;</code>
     */
    public java.lang.String getDx() {
      java.lang.Object ref = dx_;
      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();
        dx_ = s;
        return s;
      }
    }
    /**
     * <code>optional string dx = 7;</code>
     */
    public com.google.protobuf.ByteString
        getDxBytes() {
      java.lang.Object ref = dx_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        dx_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int FRAMEWORK_AIDL_FIELD_NUMBER = 8;
    private volatile java.lang.Object frameworkAidl_;
    /**
     * <code>optional string framework_aidl = 8;</code>
     */
    public java.lang.String getFrameworkAidl() {
      java.lang.Object ref = frameworkAidl_;
      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();
        frameworkAidl_ = s;
        return s;
      }
    }
    /**
     * <code>optional string framework_aidl = 8;</code>
     */
    public com.google.protobuf.ByteString
        getFrameworkAidlBytes() {
      java.lang.Object ref = frameworkAidl_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        frameworkAidl_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int JACK_FIELD_NUMBER = 9;
    private volatile java.lang.Object jack_;
    /**
     * <code>optional string jack = 9;</code>
     */
    public java.lang.String getJack() {
      java.lang.Object ref = jack_;
      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();
        jack_ = s;
        return s;
      }
    }
    /**
     * <code>optional string jack = 9;</code>
     */
    public com.google.protobuf.ByteString
        getJackBytes() {
      java.lang.Object ref = jack_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        jack_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int JILL_FIELD_NUMBER = 10;
    private volatile java.lang.Object jill_;
    /**
     * <code>optional string jill = 10;</code>
     */
    public java.lang.String getJill() {
      java.lang.Object ref = jill_;
      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();
        jill_ = s;
        return s;
      }
    }
    /**
     * <code>optional string jill = 10;</code>
     */
    public com.google.protobuf.ByteString
        getJillBytes() {
      java.lang.Object ref = jill_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        jill_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MAIN_DEX_CLASSES_FIELD_NUMBER = 11;
    private volatile java.lang.Object mainDexClasses_;
    /**
     * <code>optional string main_dex_classes = 11;</code>
     */
    public java.lang.String getMainDexClasses() {
      java.lang.Object ref = mainDexClasses_;
      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();
        mainDexClasses_ = s;
        return s;
      }
    }
    /**
     * <code>optional string main_dex_classes = 11;</code>
     */
    public com.google.protobuf.ByteString
        getMainDexClassesBytes() {
      java.lang.Object ref = mainDexClasses_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mainDexClasses_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int MAIN_DEX_LIST_CREATOR_FIELD_NUMBER = 12;
    private volatile java.lang.Object mainDexListCreator_;
    /**
     * <code>optional string main_dex_list_creator = 12;</code>
     */
    public java.lang.String getMainDexListCreator() {
      java.lang.Object ref = mainDexListCreator_;
      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();
        mainDexListCreator_ = s;
        return s;
      }
    }
    /**
     * <code>optional string main_dex_list_creator = 12;</code>
     */
    public com.google.protobuf.ByteString
        getMainDexListCreatorBytes() {
      java.lang.Object ref = mainDexListCreator_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        mainDexListCreator_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int PROGUARD_FIELD_NUMBER = 13;
    private volatile java.lang.Object proguard_;
    /**
     * <code>optional string proguard = 13;</code>
     */
    public java.lang.String getProguard() {
      java.lang.Object ref = proguard_;
      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();
        proguard_ = s;
        return s;
      }
    }
    /**
     * <code>optional string proguard = 13;</code>
     */
    public com.google.protobuf.ByteString
        getProguardBytes() {
      java.lang.Object ref = proguard_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        proguard_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int RESOURCE_EXTRACTOR_FIELD_NUMBER = 14;
    private volatile java.lang.Object resourceExtractor_;
    /**
     * <code>optional string resource_extractor = 14;</code>
     */
    public java.lang.String getResourceExtractor() {
      java.lang.Object ref = resourceExtractor_;
      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();
        resourceExtractor_ = s;
        return s;
      }
    }
    /**
     * <code>optional string resource_extractor = 14;</code>
     */
    public com.google.protobuf.ByteString
        getResourceExtractorBytes() {
      java.lang.Object ref = resourceExtractor_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        resourceExtractor_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SHRINKED_ANDROID_JAR_FIELD_NUMBER = 15;
    private volatile java.lang.Object shrinkedAndroidJar_;
    /**
     * <code>optional string shrinked_android_jar = 15;</code>
     */
    public java.lang.String getShrinkedAndroidJar() {
      java.lang.Object ref = shrinkedAndroidJar_;
      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();
        shrinkedAndroidJar_ = s;
        return s;
      }
    }
    /**
     * <code>optional string shrinked_android_jar = 15;</code>
     */
    public com.google.protobuf.ByteString
        getShrinkedAndroidJarBytes() {
      java.lang.Object ref = shrinkedAndroidJar_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        shrinkedAndroidJar_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int ZIPALIGN_FIELD_NUMBER = 16;
    private volatile java.lang.Object zipalign_;
    /**
     * <code>optional string zipalign = 16;</code>
     */
    public java.lang.String getZipalign() {
      java.lang.Object ref = zipalign_;
      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();
        zipalign_ = s;
        return s;
      }
    }
    /**
     * <code>optional string zipalign = 16;</code>
     */
    public com.google.protobuf.ByteString
        getZipalignBytes() {
      java.lang.Object ref = zipalign_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        zipalign_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BUILD_TOOLS_VERSION_FIELD_NUMBER = 17;
    private volatile java.lang.Object buildToolsVersion_;
    /**
     * <pre>
     * assume latest if not set
     * </pre>
     *
     * <code>optional string build_tools_version = 17;</code>
     */
    public java.lang.String getBuildToolsVersion() {
      java.lang.Object ref = buildToolsVersion_;
      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();
        buildToolsVersion_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * assume latest if not set
     * </pre>
     *
     * <code>optional string build_tools_version = 17;</code>
     */
    public com.google.protobuf.ByteString
        getBuildToolsVersionBytes() {
      java.lang.Object ref = buildToolsVersion_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        buildToolsVersion_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int APKSIGNER_FIELD_NUMBER = 18;
    private volatile java.lang.Object apksigner_;
    /**
     * <code>optional string apksigner = 18;</code>
     */
    public java.lang.String getApksigner() {
      java.lang.Object ref = apksigner_;
      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();
        apksigner_ = s;
        return s;
      }
    }
    /**
     * <code>optional string apksigner = 18;</code>
     */
    public com.google.protobuf.ByteString
        getApksignerBytes() {
      java.lang.Object ref = apksigner_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        apksigner_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getAaptBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, aapt_);
      }
      if (!getAdbBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, adb_);
      }
      if (!getAidlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, aidl_);
      }
      if (!getAndroidJarBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, androidJar_);
      }
      if (!getAnnotationsJarBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, annotationsJar_);
      }
      if (!getApkbuilderBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 6, apkbuilder_);
      }
      if (!getDxBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dx_);
      }
      if (!getFrameworkAidlBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 8, frameworkAidl_);
      }
      if (!getJackBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 9, jack_);
      }
      if (!getJillBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 10, jill_);
      }
      if (!getMainDexClassesBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, mainDexClasses_);
      }
      if (!getMainDexListCreatorBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 12, mainDexListCreator_);
      }
      if (!getProguardBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 13, proguard_);
      }
      if (!getResourceExtractorBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 14, resourceExtractor_);
      }
      if (!getShrinkedAndroidJarBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 15, shrinkedAndroidJar_);
      }
      if (!getZipalignBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 16, zipalign_);
      }
      if (!getBuildToolsVersionBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 17, buildToolsVersion_);
      }
      if (!getApksignerBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 18, apksigner_);
      }
    }

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

      size = 0;
      if (!getAaptBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, aapt_);
      }
      if (!getAdbBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, adb_);
      }
      if (!getAidlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, aidl_);
      }
      if (!getAndroidJarBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, androidJar_);
      }
      if (!getAnnotationsJarBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, annotationsJar_);
      }
      if (!getApkbuilderBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, apkbuilder_);
      }
      if (!getDxBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dx_);
      }
      if (!getFrameworkAidlBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, frameworkAidl_);
      }
      if (!getJackBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, jack_);
      }
      if (!getJillBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, jill_);
      }
      if (!getMainDexClassesBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, mainDexClasses_);
      }
      if (!getMainDexListCreatorBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, mainDexListCreator_);
      }
      if (!getProguardBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, proguard_);
      }
      if (!getResourceExtractorBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, resourceExtractor_);
      }
      if (!getShrinkedAndroidJarBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, shrinkedAndroidJar_);
      }
      if (!getZipalignBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, zipalign_);
      }
      if (!getBuildToolsVersionBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, buildToolsVersion_);
      }
      if (!getApksignerBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, apksigner_);
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk other = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk) obj;

      boolean result = true;
      result = result && getAapt()
          .equals(other.getAapt());
      result = result && getAdb()
          .equals(other.getAdb());
      result = result && getAidl()
          .equals(other.getAidl());
      result = result && getAndroidJar()
          .equals(other.getAndroidJar());
      result = result && getAnnotationsJar()
          .equals(other.getAnnotationsJar());
      result = result && getApkbuilder()
          .equals(other.getApkbuilder());
      result = result && getDx()
          .equals(other.getDx());
      result = result && getFrameworkAidl()
          .equals(other.getFrameworkAidl());
      result = result && getJack()
          .equals(other.getJack());
      result = result && getJill()
          .equals(other.getJill());
      result = result && getMainDexClasses()
          .equals(other.getMainDexClasses());
      result = result && getMainDexListCreator()
          .equals(other.getMainDexListCreator());
      result = result && getProguard()
          .equals(other.getProguard());
      result = result && getResourceExtractor()
          .equals(other.getResourceExtractor());
      result = result && getShrinkedAndroidJar()
          .equals(other.getShrinkedAndroidJar());
      result = result && getZipalign()
          .equals(other.getZipalign());
      result = result && getBuildToolsVersion()
          .equals(other.getBuildToolsVersion());
      result = result && getApksigner()
          .equals(other.getApksigner());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + AAPT_FIELD_NUMBER;
      hash = (53 * hash) + getAapt().hashCode();
      hash = (37 * hash) + ADB_FIELD_NUMBER;
      hash = (53 * hash) + getAdb().hashCode();
      hash = (37 * hash) + AIDL_FIELD_NUMBER;
      hash = (53 * hash) + getAidl().hashCode();
      hash = (37 * hash) + ANDROID_JAR_FIELD_NUMBER;
      hash = (53 * hash) + getAndroidJar().hashCode();
      hash = (37 * hash) + ANNOTATIONS_JAR_FIELD_NUMBER;
      hash = (53 * hash) + getAnnotationsJar().hashCode();
      hash = (37 * hash) + APKBUILDER_FIELD_NUMBER;
      hash = (53 * hash) + getApkbuilder().hashCode();
      hash = (37 * hash) + DX_FIELD_NUMBER;
      hash = (53 * hash) + getDx().hashCode();
      hash = (37 * hash) + FRAMEWORK_AIDL_FIELD_NUMBER;
      hash = (53 * hash) + getFrameworkAidl().hashCode();
      hash = (37 * hash) + JACK_FIELD_NUMBER;
      hash = (53 * hash) + getJack().hashCode();
      hash = (37 * hash) + JILL_FIELD_NUMBER;
      hash = (53 * hash) + getJill().hashCode();
      hash = (37 * hash) + MAIN_DEX_CLASSES_FIELD_NUMBER;
      hash = (53 * hash) + getMainDexClasses().hashCode();
      hash = (37 * hash) + MAIN_DEX_LIST_CREATOR_FIELD_NUMBER;
      hash = (53 * hash) + getMainDexListCreator().hashCode();
      hash = (37 * hash) + PROGUARD_FIELD_NUMBER;
      hash = (53 * hash) + getProguard().hashCode();
      hash = (37 * hash) + RESOURCE_EXTRACTOR_FIELD_NUMBER;
      hash = (53 * hash) + getResourceExtractor().hashCode();
      hash = (37 * hash) + SHRINKED_ANDROID_JAR_FIELD_NUMBER;
      hash = (53 * hash) + getShrinkedAndroidJar().hashCode();
      hash = (37 * hash) + ZIPALIGN_FIELD_NUMBER;
      hash = (53 * hash) + getZipalign().hashCode();
      hash = (37 * hash) + BUILD_TOOLS_VERSION_FIELD_NUMBER;
      hash = (53 * hash) + getBuildToolsVersion().hashCode();
      hash = (37 * hash) + APKSIGNER_FIELD_NUMBER;
      hash = (53 * hash) + getApksigner().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code blaze.apk_manifest.AndroidSdk}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze.apk_manifest.AndroidSdk)
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdkOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidSdk_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidSdk_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        adb_ = "";

        aidl_ = "";

        androidJar_ = "";

        annotationsJar_ = "";

        apkbuilder_ = "";

        dx_ = "";

        frameworkAidl_ = "";

        jack_ = "";

        jill_ = "";

        mainDexClasses_ = "";

        mainDexListCreator_ = "";

        proguard_ = "";

        resourceExtractor_ = "";

        shrinkedAndroidJar_ = "";

        zipalign_ = "";

        buildToolsVersion_ = "";

        apksigner_ = "";

        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidSdk_descriptor;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk getDefaultInstanceForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.getDefaultInstance();
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk build() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk buildPartial() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk result = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk(this);
        result.aapt_ = aapt_;
        result.adb_ = adb_;
        result.aidl_ = aidl_;
        result.androidJar_ = androidJar_;
        result.annotationsJar_ = annotationsJar_;
        result.apkbuilder_ = apkbuilder_;
        result.dx_ = dx_;
        result.frameworkAidl_ = frameworkAidl_;
        result.jack_ = jack_;
        result.jill_ = jill_;
        result.mainDexClasses_ = mainDexClasses_;
        result.mainDexListCreator_ = mainDexListCreator_;
        result.proguard_ = proguard_;
        result.resourceExtractor_ = resourceExtractor_;
        result.shrinkedAndroidJar_ = shrinkedAndroidJar_;
        result.zipalign_ = zipalign_;
        result.buildToolsVersion_ = buildToolsVersion_;
        result.apksigner_ = apksigner_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk) {
          return mergeFrom((com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk other) {
        if (other == com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.getDefaultInstance()) return this;
        if (!other.getAapt().isEmpty()) {
          aapt_ = other.aapt_;
          onChanged();
        }
        if (!other.getAdb().isEmpty()) {
          adb_ = other.adb_;
          onChanged();
        }
        if (!other.getAidl().isEmpty()) {
          aidl_ = other.aidl_;
          onChanged();
        }
        if (!other.getAndroidJar().isEmpty()) {
          androidJar_ = other.androidJar_;
          onChanged();
        }
        if (!other.getAnnotationsJar().isEmpty()) {
          annotationsJar_ = other.annotationsJar_;
          onChanged();
        }
        if (!other.getApkbuilder().isEmpty()) {
          apkbuilder_ = other.apkbuilder_;
          onChanged();
        }
        if (!other.getDx().isEmpty()) {
          dx_ = other.dx_;
          onChanged();
        }
        if (!other.getFrameworkAidl().isEmpty()) {
          frameworkAidl_ = other.frameworkAidl_;
          onChanged();
        }
        if (!other.getJack().isEmpty()) {
          jack_ = other.jack_;
          onChanged();
        }
        if (!other.getJill().isEmpty()) {
          jill_ = other.jill_;
          onChanged();
        }
        if (!other.getMainDexClasses().isEmpty()) {
          mainDexClasses_ = other.mainDexClasses_;
          onChanged();
        }
        if (!other.getMainDexListCreator().isEmpty()) {
          mainDexListCreator_ = other.mainDexListCreator_;
          onChanged();
        }
        if (!other.getProguard().isEmpty()) {
          proguard_ = other.proguard_;
          onChanged();
        }
        if (!other.getResourceExtractor().isEmpty()) {
          resourceExtractor_ = other.resourceExtractor_;
          onChanged();
        }
        if (!other.getShrinkedAndroidJar().isEmpty()) {
          shrinkedAndroidJar_ = other.shrinkedAndroidJar_;
          onChanged();
        }
        if (!other.getZipalign().isEmpty()) {
          zipalign_ = other.zipalign_;
          onChanged();
        }
        if (!other.getBuildToolsVersion().isEmpty()) {
          buildToolsVersion_ = other.buildToolsVersion_;
          onChanged();
        }
        if (!other.getApksigner().isEmpty()) {
          apksigner_ = other.apksigner_;
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object aapt_ = "";
      /**
       * <code>optional string aapt = 1;</code>
       */
      public java.lang.String getAapt() {
        java.lang.Object ref = aapt_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          aapt_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string aapt = 1;</code>
       */
      public com.google.protobuf.ByteString
          getAaptBytes() {
        java.lang.Object ref = aapt_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          aapt_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string aapt = 1;</code>
       */
      public Builder setAapt(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        aapt_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string aapt = 1;</code>
       */
      public Builder clearAapt() {
        
        aapt_ = getDefaultInstance().getAapt();
        onChanged();
        return this;
      }
      /**
       * <code>optional string aapt = 1;</code>
       */
      public Builder setAaptBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        aapt_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object adb_ = "";
      /**
       * <code>optional string adb = 2;</code>
       */
      public java.lang.String getAdb() {
        java.lang.Object ref = adb_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          adb_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string adb = 2;</code>
       */
      public com.google.protobuf.ByteString
          getAdbBytes() {
        java.lang.Object ref = adb_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          adb_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string adb = 2;</code>
       */
      public Builder setAdb(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        adb_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string adb = 2;</code>
       */
      public Builder clearAdb() {
        
        adb_ = getDefaultInstance().getAdb();
        onChanged();
        return this;
      }
      /**
       * <code>optional string adb = 2;</code>
       */
      public Builder setAdbBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        adb_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object aidl_ = "";
      /**
       * <code>optional string aidl = 3;</code>
       */
      public java.lang.String getAidl() {
        java.lang.Object ref = aidl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          aidl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string aidl = 3;</code>
       */
      public com.google.protobuf.ByteString
          getAidlBytes() {
        java.lang.Object ref = aidl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          aidl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string aidl = 3;</code>
       */
      public Builder setAidl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        aidl_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string aidl = 3;</code>
       */
      public Builder clearAidl() {
        
        aidl_ = getDefaultInstance().getAidl();
        onChanged();
        return this;
      }
      /**
       * <code>optional string aidl = 3;</code>
       */
      public Builder setAidlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        aidl_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object androidJar_ = "";
      /**
       * <code>optional string android_jar = 4;</code>
       */
      public java.lang.String getAndroidJar() {
        java.lang.Object ref = androidJar_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          androidJar_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string android_jar = 4;</code>
       */
      public com.google.protobuf.ByteString
          getAndroidJarBytes() {
        java.lang.Object ref = androidJar_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          androidJar_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string android_jar = 4;</code>
       */
      public Builder setAndroidJar(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        androidJar_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string android_jar = 4;</code>
       */
      public Builder clearAndroidJar() {
        
        androidJar_ = getDefaultInstance().getAndroidJar();
        onChanged();
        return this;
      }
      /**
       * <code>optional string android_jar = 4;</code>
       */
      public Builder setAndroidJarBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        androidJar_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object annotationsJar_ = "";
      /**
       * <code>optional string annotations_jar = 5;</code>
       */
      public java.lang.String getAnnotationsJar() {
        java.lang.Object ref = annotationsJar_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          annotationsJar_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string annotations_jar = 5;</code>
       */
      public com.google.protobuf.ByteString
          getAnnotationsJarBytes() {
        java.lang.Object ref = annotationsJar_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          annotationsJar_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string annotations_jar = 5;</code>
       */
      public Builder setAnnotationsJar(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        annotationsJar_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string annotations_jar = 5;</code>
       */
      public Builder clearAnnotationsJar() {
        
        annotationsJar_ = getDefaultInstance().getAnnotationsJar();
        onChanged();
        return this;
      }
      /**
       * <code>optional string annotations_jar = 5;</code>
       */
      public Builder setAnnotationsJarBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        annotationsJar_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object apkbuilder_ = "";
      /**
       * <code>optional string apkbuilder = 6;</code>
       */
      public java.lang.String getApkbuilder() {
        java.lang.Object ref = apkbuilder_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          apkbuilder_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string apkbuilder = 6;</code>
       */
      public com.google.protobuf.ByteString
          getApkbuilderBytes() {
        java.lang.Object ref = apkbuilder_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          apkbuilder_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string apkbuilder = 6;</code>
       */
      public Builder setApkbuilder(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        apkbuilder_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string apkbuilder = 6;</code>
       */
      public Builder clearApkbuilder() {
        
        apkbuilder_ = getDefaultInstance().getApkbuilder();
        onChanged();
        return this;
      }
      /**
       * <code>optional string apkbuilder = 6;</code>
       */
      public Builder setApkbuilderBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        apkbuilder_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object dx_ = "";
      /**
       * <code>optional string dx = 7;</code>
       */
      public java.lang.String getDx() {
        java.lang.Object ref = dx_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          dx_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string dx = 7;</code>
       */
      public com.google.protobuf.ByteString
          getDxBytes() {
        java.lang.Object ref = dx_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          dx_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string dx = 7;</code>
       */
      public Builder setDx(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        dx_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string dx = 7;</code>
       */
      public Builder clearDx() {
        
        dx_ = getDefaultInstance().getDx();
        onChanged();
        return this;
      }
      /**
       * <code>optional string dx = 7;</code>
       */
      public Builder setDxBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        dx_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object frameworkAidl_ = "";
      /**
       * <code>optional string framework_aidl = 8;</code>
       */
      public java.lang.String getFrameworkAidl() {
        java.lang.Object ref = frameworkAidl_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          frameworkAidl_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string framework_aidl = 8;</code>
       */
      public com.google.protobuf.ByteString
          getFrameworkAidlBytes() {
        java.lang.Object ref = frameworkAidl_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          frameworkAidl_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string framework_aidl = 8;</code>
       */
      public Builder setFrameworkAidl(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        frameworkAidl_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string framework_aidl = 8;</code>
       */
      public Builder clearFrameworkAidl() {
        
        frameworkAidl_ = getDefaultInstance().getFrameworkAidl();
        onChanged();
        return this;
      }
      /**
       * <code>optional string framework_aidl = 8;</code>
       */
      public Builder setFrameworkAidlBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        frameworkAidl_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object jack_ = "";
      /**
       * <code>optional string jack = 9;</code>
       */
      public java.lang.String getJack() {
        java.lang.Object ref = jack_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          jack_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string jack = 9;</code>
       */
      public com.google.protobuf.ByteString
          getJackBytes() {
        java.lang.Object ref = jack_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          jack_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string jack = 9;</code>
       */
      public Builder setJack(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        jack_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string jack = 9;</code>
       */
      public Builder clearJack() {
        
        jack_ = getDefaultInstance().getJack();
        onChanged();
        return this;
      }
      /**
       * <code>optional string jack = 9;</code>
       */
      public Builder setJackBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        jack_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object jill_ = "";
      /**
       * <code>optional string jill = 10;</code>
       */
      public java.lang.String getJill() {
        java.lang.Object ref = jill_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          jill_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string jill = 10;</code>
       */
      public com.google.protobuf.ByteString
          getJillBytes() {
        java.lang.Object ref = jill_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          jill_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string jill = 10;</code>
       */
      public Builder setJill(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        jill_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string jill = 10;</code>
       */
      public Builder clearJill() {
        
        jill_ = getDefaultInstance().getJill();
        onChanged();
        return this;
      }
      /**
       * <code>optional string jill = 10;</code>
       */
      public Builder setJillBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        jill_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object mainDexClasses_ = "";
      /**
       * <code>optional string main_dex_classes = 11;</code>
       */
      public java.lang.String getMainDexClasses() {
        java.lang.Object ref = mainDexClasses_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          mainDexClasses_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string main_dex_classes = 11;</code>
       */
      public com.google.protobuf.ByteString
          getMainDexClassesBytes() {
        java.lang.Object ref = mainDexClasses_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          mainDexClasses_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string main_dex_classes = 11;</code>
       */
      public Builder setMainDexClasses(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        mainDexClasses_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string main_dex_classes = 11;</code>
       */
      public Builder clearMainDexClasses() {
        
        mainDexClasses_ = getDefaultInstance().getMainDexClasses();
        onChanged();
        return this;
      }
      /**
       * <code>optional string main_dex_classes = 11;</code>
       */
      public Builder setMainDexClassesBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        mainDexClasses_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object mainDexListCreator_ = "";
      /**
       * <code>optional string main_dex_list_creator = 12;</code>
       */
      public java.lang.String getMainDexListCreator() {
        java.lang.Object ref = mainDexListCreator_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          mainDexListCreator_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string main_dex_list_creator = 12;</code>
       */
      public com.google.protobuf.ByteString
          getMainDexListCreatorBytes() {
        java.lang.Object ref = mainDexListCreator_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          mainDexListCreator_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string main_dex_list_creator = 12;</code>
       */
      public Builder setMainDexListCreator(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        mainDexListCreator_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string main_dex_list_creator = 12;</code>
       */
      public Builder clearMainDexListCreator() {
        
        mainDexListCreator_ = getDefaultInstance().getMainDexListCreator();
        onChanged();
        return this;
      }
      /**
       * <code>optional string main_dex_list_creator = 12;</code>
       */
      public Builder setMainDexListCreatorBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        mainDexListCreator_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object proguard_ = "";
      /**
       * <code>optional string proguard = 13;</code>
       */
      public java.lang.String getProguard() {
        java.lang.Object ref = proguard_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          proguard_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string proguard = 13;</code>
       */
      public com.google.protobuf.ByteString
          getProguardBytes() {
        java.lang.Object ref = proguard_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          proguard_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string proguard = 13;</code>
       */
      public Builder setProguard(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        proguard_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string proguard = 13;</code>
       */
      public Builder clearProguard() {
        
        proguard_ = getDefaultInstance().getProguard();
        onChanged();
        return this;
      }
      /**
       * <code>optional string proguard = 13;</code>
       */
      public Builder setProguardBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        proguard_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object resourceExtractor_ = "";
      /**
       * <code>optional string resource_extractor = 14;</code>
       */
      public java.lang.String getResourceExtractor() {
        java.lang.Object ref = resourceExtractor_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          resourceExtractor_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string resource_extractor = 14;</code>
       */
      public com.google.protobuf.ByteString
          getResourceExtractorBytes() {
        java.lang.Object ref = resourceExtractor_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          resourceExtractor_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string resource_extractor = 14;</code>
       */
      public Builder setResourceExtractor(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        resourceExtractor_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string resource_extractor = 14;</code>
       */
      public Builder clearResourceExtractor() {
        
        resourceExtractor_ = getDefaultInstance().getResourceExtractor();
        onChanged();
        return this;
      }
      /**
       * <code>optional string resource_extractor = 14;</code>
       */
      public Builder setResourceExtractorBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        resourceExtractor_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object shrinkedAndroidJar_ = "";
      /**
       * <code>optional string shrinked_android_jar = 15;</code>
       */
      public java.lang.String getShrinkedAndroidJar() {
        java.lang.Object ref = shrinkedAndroidJar_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          shrinkedAndroidJar_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string shrinked_android_jar = 15;</code>
       */
      public com.google.protobuf.ByteString
          getShrinkedAndroidJarBytes() {
        java.lang.Object ref = shrinkedAndroidJar_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          shrinkedAndroidJar_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string shrinked_android_jar = 15;</code>
       */
      public Builder setShrinkedAndroidJar(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        shrinkedAndroidJar_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string shrinked_android_jar = 15;</code>
       */
      public Builder clearShrinkedAndroidJar() {
        
        shrinkedAndroidJar_ = getDefaultInstance().getShrinkedAndroidJar();
        onChanged();
        return this;
      }
      /**
       * <code>optional string shrinked_android_jar = 15;</code>
       */
      public Builder setShrinkedAndroidJarBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        shrinkedAndroidJar_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object zipalign_ = "";
      /**
       * <code>optional string zipalign = 16;</code>
       */
      public java.lang.String getZipalign() {
        java.lang.Object ref = zipalign_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          zipalign_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string zipalign = 16;</code>
       */
      public com.google.protobuf.ByteString
          getZipalignBytes() {
        java.lang.Object ref = zipalign_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          zipalign_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string zipalign = 16;</code>
       */
      public Builder setZipalign(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        zipalign_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string zipalign = 16;</code>
       */
      public Builder clearZipalign() {
        
        zipalign_ = getDefaultInstance().getZipalign();
        onChanged();
        return this;
      }
      /**
       * <code>optional string zipalign = 16;</code>
       */
      public Builder setZipalignBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        zipalign_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object buildToolsVersion_ = "";
      /**
       * <pre>
       * assume latest if not set
       * </pre>
       *
       * <code>optional string build_tools_version = 17;</code>
       */
      public java.lang.String getBuildToolsVersion() {
        java.lang.Object ref = buildToolsVersion_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          buildToolsVersion_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * assume latest if not set
       * </pre>
       *
       * <code>optional string build_tools_version = 17;</code>
       */
      public com.google.protobuf.ByteString
          getBuildToolsVersionBytes() {
        java.lang.Object ref = buildToolsVersion_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          buildToolsVersion_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * assume latest if not set
       * </pre>
       *
       * <code>optional string build_tools_version = 17;</code>
       */
      public Builder setBuildToolsVersion(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        buildToolsVersion_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * assume latest if not set
       * </pre>
       *
       * <code>optional string build_tools_version = 17;</code>
       */
      public Builder clearBuildToolsVersion() {
        
        buildToolsVersion_ = getDefaultInstance().getBuildToolsVersion();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * assume latest if not set
       * </pre>
       *
       * <code>optional string build_tools_version = 17;</code>
       */
      public Builder setBuildToolsVersionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        buildToolsVersion_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object apksigner_ = "";
      /**
       * <code>optional string apksigner = 18;</code>
       */
      public java.lang.String getApksigner() {
        java.lang.Object ref = apksigner_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          apksigner_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string apksigner = 18;</code>
       */
      public com.google.protobuf.ByteString
          getApksignerBytes() {
        java.lang.Object ref = apksigner_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          apksigner_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string apksigner = 18;</code>
       */
      public Builder setApksigner(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        apksigner_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string apksigner = 18;</code>
       */
      public Builder clearApksigner() {
        
        apksigner_ = getDefaultInstance().getApksigner();
        onChanged();
        return this;
      }
      /**
       * <code>optional string apksigner = 18;</code>
       */
      public Builder setApksignerBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        apksigner_ = value;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:blaze.apk_manifest.AndroidSdk)
    }

    // @@protoc_insertion_point(class_scope:blaze.apk_manifest.AndroidSdk)
    private static final com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk();
    }

    public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AndroidManifestResourceOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze.apk_manifest.AndroidManifestResource)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string name = 1;</code>
     */
    java.lang.String getName();
    /**
     * <pre>
     * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string name = 1;</code>
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * <pre>
     * The type of the resource, e.g. "string" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string type = 2;</code>
     */
    java.lang.String getType();
    /**
     * <pre>
     * The type of the resource, e.g. "string" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string type = 2;</code>
     */
    com.google.protobuf.ByteString
        getTypeBytes();

    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash> 
        getValueHashesList();
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash getValueHashes(int index);
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    int getValueHashesCount();
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder> 
        getValueHashesOrBuilderList();
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder getValueHashesOrBuilder(
        int index);
  }
  /**
   * <pre>
   * Information about a resource referenced from AndroidManifest.xml.
   * </pre>
   *
   * Protobuf type {@code blaze.apk_manifest.AndroidManifestResource}
   */
  public  static final class AndroidManifestResource extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze.apk_manifest.AndroidManifestResource)
      AndroidManifestResourceOrBuilder {
    // Use AndroidManifestResource.newBuilder() to construct.
    private AndroidManifestResource(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private AndroidManifestResource() {
      name_ = "";
      type_ = "";
      valueHashes_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private AndroidManifestResource(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

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

              type_ = s;
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                valueHashes_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash>();
                mutable_bitField0_ |= 0x00000004;
              }
              valueHashes_.add(
                  input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.parser(), extensionRegistry));
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          valueHashes_ = java.util.Collections.unmodifiableList(valueHashes_);
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder.class);
    }

    public interface ValueHashOrBuilder extends
        // @@protoc_insertion_point(interface_extends:blaze.apk_manifest.AndroidManifestResource.ValueHash)
        com.google.protobuf.MessageOrBuilder {

      /**
       * <pre>
       * The qualifier for the value of the resource, e.g. for localization or
       * device properties like hdpi, xhdpi, etc.
       * </pre>
       *
       * <code>optional string qualifier = 1;</code>
       */
      java.lang.String getQualifier();
      /**
       * <pre>
       * The qualifier for the value of the resource, e.g. for localization or
       * device properties like hdpi, xhdpi, etc.
       * </pre>
       *
       * <code>optional string qualifier = 1;</code>
       */
      com.google.protobuf.ByteString
          getQualifierBytes();

      /**
       * <pre>
       * A hash of the value of the resource (e.g. the hash of the string value
       * of a resource if it's a string), or if the resource points to a file, a
       * hash of the file (e.g. if the resource is an image, then a hash of the
       * image file).
       * </pre>
       *
       * <code>optional bytes hash = 2;</code>
       */
      com.google.protobuf.ByteString getHash();
    }
    /**
     * Protobuf type {@code blaze.apk_manifest.AndroidManifestResource.ValueHash}
     */
    public  static final class ValueHash extends
        com.google.protobuf.GeneratedMessageV3 implements
        // @@protoc_insertion_point(message_implements:blaze.apk_manifest.AndroidManifestResource.ValueHash)
        ValueHashOrBuilder {
      // Use ValueHash.newBuilder() to construct.
      private ValueHash(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
        super(builder);
      }
      private ValueHash() {
        qualifier_ = "";
        hash_ = com.google.protobuf.ByteString.EMPTY;
      }

      @java.lang.Override
      public final com.google.protobuf.UnknownFieldSet
      getUnknownFields() {
        return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
      }
      private ValueHash(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        this();
        int mutable_bitField0_ = 0;
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!input.skipField(tag)) {
                  done = true;
                }
                break;
              }
              case 10: {
                java.lang.String s = input.readStringRequireUtf8();

                qualifier_ = s;
                break;
              }
              case 18: {

                hash_ = input.readBytes();
                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 {
          makeExtensionsImmutable();
        }
      }
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder.class);
      }

      public static final int QUALIFIER_FIELD_NUMBER = 1;
      private volatile java.lang.Object qualifier_;
      /**
       * <pre>
       * The qualifier for the value of the resource, e.g. for localization or
       * device properties like hdpi, xhdpi, etc.
       * </pre>
       *
       * <code>optional string qualifier = 1;</code>
       */
      public java.lang.String getQualifier() {
        java.lang.Object ref = qualifier_;
        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();
          qualifier_ = s;
          return s;
        }
      }
      /**
       * <pre>
       * The qualifier for the value of the resource, e.g. for localization or
       * device properties like hdpi, xhdpi, etc.
       * </pre>
       *
       * <code>optional string qualifier = 1;</code>
       */
      public com.google.protobuf.ByteString
          getQualifierBytes() {
        java.lang.Object ref = qualifier_;
        if (ref instanceof java.lang.String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          qualifier_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }

      public static final int HASH_FIELD_NUMBER = 2;
      private com.google.protobuf.ByteString hash_;
      /**
       * <pre>
       * A hash of the value of the resource (e.g. the hash of the string value
       * of a resource if it's a string), or if the resource points to a file, a
       * hash of the file (e.g. if the resource is an image, then a hash of the
       * image file).
       * </pre>
       *
       * <code>optional bytes hash = 2;</code>
       */
      public com.google.protobuf.ByteString getHash() {
        return hash_;
      }

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

        memoizedIsInitialized = 1;
        return true;
      }

      public void writeTo(com.google.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        if (!getQualifierBytes().isEmpty()) {
          com.google.protobuf.GeneratedMessageV3.writeString(output, 1, qualifier_);
        }
        if (!hash_.isEmpty()) {
          output.writeBytes(2, hash_);
        }
      }

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

        size = 0;
        if (!getQualifierBytes().isEmpty()) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, qualifier_);
        }
        if (!hash_.isEmpty()) {
          size += com.google.protobuf.CodedOutputStream
            .computeBytesSize(2, hash_);
        }
        memoizedSize = size;
        return size;
      }

      private static final long serialVersionUID = 0L;
      @java.lang.Override
      public boolean equals(final java.lang.Object obj) {
        if (obj == this) {
         return true;
        }
        if (!(obj instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash)) {
          return super.equals(obj);
        }
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash other = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash) obj;

        boolean result = true;
        result = result && getQualifier()
            .equals(other.getQualifier());
        result = result && getHash()
            .equals(other.getHash());
        return result;
      }

      @java.lang.Override
      public int hashCode() {
        if (memoizedHashCode != 0) {
          return memoizedHashCode;
        }
        int hash = 41;
        hash = (19 * hash) + getDescriptorForType().hashCode();
        hash = (37 * hash) + QUALIFIER_FIELD_NUMBER;
        hash = (53 * hash) + getQualifier().hashCode();
        hash = (37 * hash) + HASH_FIELD_NUMBER;
        hash = (53 * hash) + getHash().hashCode();
        hash = (29 * hash) + unknownFields.hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash parseFrom(
          com.google.protobuf.ByteString data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash 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.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash parseFrom(byte[] data)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash 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.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input);
      }
      public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash 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.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseDelimitedWithIOException(PARSER, input);
      }
      public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash 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.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash 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.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash parseFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3
            .parseWithIOException(PARSER, input, extensionRegistry);
      }

      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder() {
        return DEFAULT_INSTANCE.toBuilder();
      }
      public static Builder newBuilder(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash prototype) {
        return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() {
        return this == DEFAULT_INSTANCE
            ? new Builder() : new Builder().mergeFrom(this);
      }

      @java.lang.Override
      protected Builder newBuilderForType(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code blaze.apk_manifest.AndroidManifestResource.ValueHash}
       */
      public static final class Builder extends
          com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:blaze.apk_manifest.AndroidManifestResource.ValueHash)
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder {
        public static final com.google.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_descriptor;
        }

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder.class);
        }

        // Construct using com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

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

          hash_ = com.google.protobuf.ByteString.EMPTY;

          return this;
        }

        public com.google.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_descriptor;
        }

        public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash getDefaultInstanceForType() {
          return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.getDefaultInstance();
        }

        public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash build() {
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash buildPartial() {
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash result = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash(this);
          result.qualifier_ = qualifier_;
          result.hash_ = hash_;
          onBuilt();
          return result;
        }

        public Builder clone() {
          return (Builder) super.clone();
        }
        public Builder setField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            Object value) {
          return (Builder) super.setField(field, value);
        }
        public Builder clearField(
            com.google.protobuf.Descriptors.FieldDescriptor field) {
          return (Builder) super.clearField(field);
        }
        public Builder clearOneof(
            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
          return (Builder) super.clearOneof(oneof);
        }
        public Builder setRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            int index, Object value) {
          return (Builder) super.setRepeatedField(field, index, value);
        }
        public Builder addRepeatedField(
            com.google.protobuf.Descriptors.FieldDescriptor field,
            Object value) {
          return (Builder) super.addRepeatedField(field, value);
        }
        public Builder mergeFrom(com.google.protobuf.Message other) {
          if (other instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash) {
            return mergeFrom((com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash other) {
          if (other == com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.getDefaultInstance()) return this;
          if (!other.getQualifier().isEmpty()) {
            qualifier_ = other.qualifier_;
            onChanged();
          }
          if (other.getHash() != com.google.protobuf.ByteString.EMPTY) {
            setHash(other.getHash());
          }
          onChanged();
          return this;
        }

        public final boolean isInitialized() {
          return true;
        }

        public Builder mergeFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash) e.getUnfinishedMessage();
            throw e.unwrapIOException();
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }

        private java.lang.Object qualifier_ = "";
        /**
         * <pre>
         * The qualifier for the value of the resource, e.g. for localization or
         * device properties like hdpi, xhdpi, etc.
         * </pre>
         *
         * <code>optional string qualifier = 1;</code>
         */
        public java.lang.String getQualifier() {
          java.lang.Object ref = qualifier_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs =
                (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            qualifier_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <pre>
         * The qualifier for the value of the resource, e.g. for localization or
         * device properties like hdpi, xhdpi, etc.
         * </pre>
         *
         * <code>optional string qualifier = 1;</code>
         */
        public com.google.protobuf.ByteString
            getQualifierBytes() {
          java.lang.Object ref = qualifier_;
          if (ref instanceof String) {
            com.google.protobuf.ByteString b = 
                com.google.protobuf.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            qualifier_ = b;
            return b;
          } else {
            return (com.google.protobuf.ByteString) ref;
          }
        }
        /**
         * <pre>
         * The qualifier for the value of the resource, e.g. for localization or
         * device properties like hdpi, xhdpi, etc.
         * </pre>
         *
         * <code>optional string qualifier = 1;</code>
         */
        public Builder setQualifier(
            java.lang.String value) {
          if (value == null) {
    throw new NullPointerException();
  }
  
          qualifier_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * The qualifier for the value of the resource, e.g. for localization or
         * device properties like hdpi, xhdpi, etc.
         * </pre>
         *
         * <code>optional string qualifier = 1;</code>
         */
        public Builder clearQualifier() {
          
          qualifier_ = getDefaultInstance().getQualifier();
          onChanged();
          return this;
        }
        /**
         * <pre>
         * The qualifier for the value of the resource, e.g. for localization or
         * device properties like hdpi, xhdpi, etc.
         * </pre>
         *
         * <code>optional string qualifier = 1;</code>
         */
        public Builder setQualifierBytes(
            com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
          
          qualifier_ = value;
          onChanged();
          return this;
        }

        private com.google.protobuf.ByteString hash_ = com.google.protobuf.ByteString.EMPTY;
        /**
         * <pre>
         * A hash of the value of the resource (e.g. the hash of the string value
         * of a resource if it's a string), or if the resource points to a file, a
         * hash of the file (e.g. if the resource is an image, then a hash of the
         * image file).
         * </pre>
         *
         * <code>optional bytes hash = 2;</code>
         */
        public com.google.protobuf.ByteString getHash() {
          return hash_;
        }
        /**
         * <pre>
         * A hash of the value of the resource (e.g. the hash of the string value
         * of a resource if it's a string), or if the resource points to a file, a
         * hash of the file (e.g. if the resource is an image, then a hash of the
         * image file).
         * </pre>
         *
         * <code>optional bytes hash = 2;</code>
         */
        public Builder setHash(com.google.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  
          hash_ = value;
          onChanged();
          return this;
        }
        /**
         * <pre>
         * A hash of the value of the resource (e.g. the hash of the string value
         * of a resource if it's a string), or if the resource points to a file, a
         * hash of the file (e.g. if the resource is an image, then a hash of the
         * image file).
         * </pre>
         *
         * <code>optional bytes hash = 2;</code>
         */
        public Builder clearHash() {
          
          hash_ = getDefaultInstance().getHash();
          onChanged();
          return this;
        }
        public final Builder setUnknownFields(
            final com.google.protobuf.UnknownFieldSet unknownFields) {
          return this;
        }

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


        // @@protoc_insertion_point(builder_scope:blaze.apk_manifest.AndroidManifestResource.ValueHash)
      }

      // @@protoc_insertion_point(class_scope:blaze.apk_manifest.AndroidManifestResource.ValueHash)
      private static final com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash();
      }

      public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

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

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

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

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    private int bitField0_;
    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * <pre>
     * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string name = 1;</code>
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string name = 1;</code>
     */
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TYPE_FIELD_NUMBER = 2;
    private volatile java.lang.Object type_;
    /**
     * <pre>
     * The type of the resource, e.g. "string" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string type = 2;</code>
     */
    public java.lang.String getType() {
      java.lang.Object ref = type_;
      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();
        type_ = s;
        return s;
      }
    }
    /**
     * <pre>
     * The type of the resource, e.g. "string" in "&#64;string/app_name".
     * </pre>
     *
     * <code>optional string type = 2;</code>
     */
    public com.google.protobuf.ByteString
        getTypeBytes() {
      java.lang.Object ref = type_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        type_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int VALUE_HASHES_FIELD_NUMBER = 3;
    private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash> valueHashes_;
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash> getValueHashesList() {
      return valueHashes_;
    }
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder> 
        getValueHashesOrBuilderList() {
      return valueHashes_;
    }
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    public int getValueHashesCount() {
      return valueHashes_.size();
    }
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash getValueHashes(int index) {
      return valueHashes_.get(index);
    }
    /**
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder getValueHashesOrBuilder(
        int index) {
      return valueHashes_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getNameBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (!getTypeBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_);
      }
      for (int i = 0; i < valueHashes_.size(); i++) {
        output.writeMessage(3, valueHashes_.get(i));
      }
    }

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

      size = 0;
      if (!getNameBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (!getTypeBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_);
      }
      for (int i = 0; i < valueHashes_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, valueHashes_.get(i));
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource other = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource) obj;

      boolean result = true;
      result = result && getName()
          .equals(other.getName());
      result = result && getType()
          .equals(other.getType());
      result = result && getValueHashesList()
          .equals(other.getValueHashesList());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + TYPE_FIELD_NUMBER;
      hash = (53 * hash) + getType().hashCode();
      if (getValueHashesCount() > 0) {
        hash = (37 * hash) + VALUE_HASHES_FIELD_NUMBER;
        hash = (53 * hash) + getValueHashesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Information about a resource referenced from AndroidManifest.xml.
     * </pre>
     *
     * Protobuf type {@code blaze.apk_manifest.AndroidManifestResource}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze.apk_manifest.AndroidManifestResource)
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        type_ = "";

        if (valueHashesBuilder_ == null) {
          valueHashes_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          valueHashesBuilder_.clear();
        }
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_AndroidManifestResource_descriptor;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource getDefaultInstanceForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.getDefaultInstance();
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource build() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource buildPartial() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource result = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        result.name_ = name_;
        result.type_ = type_;
        if (valueHashesBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            valueHashes_ = java.util.Collections.unmodifiableList(valueHashes_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.valueHashes_ = valueHashes_;
        } else {
          result.valueHashes_ = valueHashesBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource) {
          return mergeFrom((com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource other) {
        if (other == com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (!other.getType().isEmpty()) {
          type_ = other.type_;
          onChanged();
        }
        if (valueHashesBuilder_ == null) {
          if (!other.valueHashes_.isEmpty()) {
            if (valueHashes_.isEmpty()) {
              valueHashes_ = other.valueHashes_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureValueHashesIsMutable();
              valueHashes_.addAll(other.valueHashes_);
            }
            onChanged();
          }
        } else {
          if (!other.valueHashes_.isEmpty()) {
            if (valueHashesBuilder_.isEmpty()) {
              valueHashesBuilder_.dispose();
              valueHashesBuilder_ = null;
              valueHashes_ = other.valueHashes_;
              bitField0_ = (bitField0_ & ~0x00000004);
              valueHashesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getValueHashesFieldBuilder() : null;
            } else {
              valueHashesBuilder_.addAllMessages(other.valueHashes_);
            }
          }
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private java.lang.Object name_ = "";
      /**
       * <pre>
       * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string name = 1;</code>
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string name = 1;</code>
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string name = 1;</code>
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string name = 1;</code>
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The name of the resource, e.g. "app_name" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string name = 1;</code>
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object type_ = "";
      /**
       * <pre>
       * The type of the resource, e.g. "string" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string type = 2;</code>
       */
      public java.lang.String getType() {
        java.lang.Object ref = type_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          type_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * The type of the resource, e.g. "string" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string type = 2;</code>
       */
      public com.google.protobuf.ByteString
          getTypeBytes() {
        java.lang.Object ref = type_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          type_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <pre>
       * The type of the resource, e.g. "string" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string type = 2;</code>
       */
      public Builder setType(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        type_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The type of the resource, e.g. "string" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string type = 2;</code>
       */
      public Builder clearType() {
        
        type_ = getDefaultInstance().getType();
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The type of the resource, e.g. "string" in "&#64;string/app_name".
       * </pre>
       *
       * <code>optional string type = 2;</code>
       */
      public Builder setTypeBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        type_ = value;
        onChanged();
        return this;
      }

      private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash> valueHashes_ =
        java.util.Collections.emptyList();
      private void ensureValueHashesIsMutable() {
        if (!((bitField0_ & 0x00000004) == 0x00000004)) {
          valueHashes_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash>(valueHashes_);
          bitField0_ |= 0x00000004;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder> valueHashesBuilder_;

      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash> getValueHashesList() {
        if (valueHashesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(valueHashes_);
        } else {
          return valueHashesBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public int getValueHashesCount() {
        if (valueHashesBuilder_ == null) {
          return valueHashes_.size();
        } else {
          return valueHashesBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash getValueHashes(int index) {
        if (valueHashesBuilder_ == null) {
          return valueHashes_.get(index);
        } else {
          return valueHashesBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder setValueHashes(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash value) {
        if (valueHashesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureValueHashesIsMutable();
          valueHashes_.set(index, value);
          onChanged();
        } else {
          valueHashesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder setValueHashes(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder builderForValue) {
        if (valueHashesBuilder_ == null) {
          ensureValueHashesIsMutable();
          valueHashes_.set(index, builderForValue.build());
          onChanged();
        } else {
          valueHashesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder addValueHashes(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash value) {
        if (valueHashesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureValueHashesIsMutable();
          valueHashes_.add(value);
          onChanged();
        } else {
          valueHashesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder addValueHashes(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash value) {
        if (valueHashesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureValueHashesIsMutable();
          valueHashes_.add(index, value);
          onChanged();
        } else {
          valueHashesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder addValueHashes(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder builderForValue) {
        if (valueHashesBuilder_ == null) {
          ensureValueHashesIsMutable();
          valueHashes_.add(builderForValue.build());
          onChanged();
        } else {
          valueHashesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder addValueHashes(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder builderForValue) {
        if (valueHashesBuilder_ == null) {
          ensureValueHashesIsMutable();
          valueHashes_.add(index, builderForValue.build());
          onChanged();
        } else {
          valueHashesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder addAllValueHashes(
          java.lang.Iterable<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash> values) {
        if (valueHashesBuilder_ == null) {
          ensureValueHashesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, valueHashes_);
          onChanged();
        } else {
          valueHashesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder clearValueHashes() {
        if (valueHashesBuilder_ == null) {
          valueHashes_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          valueHashesBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public Builder removeValueHashes(int index) {
        if (valueHashesBuilder_ == null) {
          ensureValueHashesIsMutable();
          valueHashes_.remove(index);
          onChanged();
        } else {
          valueHashesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder getValueHashesBuilder(
          int index) {
        return getValueHashesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder getValueHashesOrBuilder(
          int index) {
        if (valueHashesBuilder_ == null) {
          return valueHashes_.get(index);  } else {
          return valueHashesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder> 
           getValueHashesOrBuilderList() {
        if (valueHashesBuilder_ != null) {
          return valueHashesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(valueHashes_);
        }
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder addValueHashesBuilder() {
        return getValueHashesFieldBuilder().addBuilder(
            com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder addValueHashesBuilder(
          int index) {
        return getValueHashesFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.getDefaultInstance());
      }
      /**
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource.ValueHash value_hashes = 3;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder> 
           getValueHashesBuilderList() {
        return getValueHashesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder> 
          getValueHashesFieldBuilder() {
        if (valueHashesBuilder_ == null) {
          valueHashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHash.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.ValueHashOrBuilder>(
                  valueHashes_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          valueHashes_ = null;
        }
        return valueHashesBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:blaze.apk_manifest.AndroidManifestResource)
    }

    // @@protoc_insertion_point(class_scope:blaze.apk_manifest.AndroidManifestResource)
    private static final com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource();
    }

    public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ApkManifestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:blaze.apk_manifest.ApkManifest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * Information about the AndroidSdk
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
     */
    boolean hasAndroidSdk();
    /**
     * <pre>
     * Information about the AndroidSdk
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk getAndroidSdk();
    /**
     * <pre>
     * Information about the AndroidSdk
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdkOrBuilder getAndroidSdkOrBuilder();

    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> 
        getJarsList();
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getJars(int index);
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    int getJarsCount();
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
        getJarsOrBuilderList();
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getJarsOrBuilder(
        int index);

    /**
     * <pre>
     * The .ap_ that contains the resources that go into the APK
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
     */
    boolean hasResourceApk();
    /**
     * <pre>
     * The .ap_ that contains the resources that go into the APK
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getResourceApk();
    /**
     * <pre>
     * The .ap_ that contains the resources that go into the APK
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getResourceApkOrBuilder();

    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib> 
        getNativeLibList();
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib getNativeLib(int index);
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    int getNativeLibCount();
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder> 
        getNativeLibOrBuilderList();
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder getNativeLibOrBuilder(
        int index);

    /**
     * <pre>
     * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
     */
    boolean hasAndroidManifest();
    /**
     * <pre>
     * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getAndroidManifest();
    /**
     * <pre>
     * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getAndroidManifestOrBuilder();

    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource> 
        getAndroidManifestResourcesList();
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource getAndroidManifestResources(int index);
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    int getAndroidManifestResourcesCount();
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder> 
        getAndroidManifestResourcesOrBuilderList();
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder getAndroidManifestResourcesOrBuilder(
        int index);

    /**
     * <pre>
     * Location of the debug keystore file.
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
     */
    boolean hasDebugKeystore();
    /**
     * <pre>
     * Location of the debug keystore file.
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getDebugKeystore();
    /**
     * <pre>
     * Location of the debug keystore file.
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
     */
    com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getDebugKeystoreOrBuilder();
  }
  /**
   * Protobuf type {@code blaze.apk_manifest.ApkManifest}
   */
  public  static final class ApkManifest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:blaze.apk_manifest.ApkManifest)
      ApkManifestOrBuilder {
    // Use ApkManifest.newBuilder() to construct.
    private ApkManifest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private ApkManifest() {
      jars_ = java.util.Collections.emptyList();
      nativeLib_ = java.util.Collections.emptyList();
      androidManifestResources_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private ApkManifest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder subBuilder = null;
              if (androidSdk_ != null) {
                subBuilder = androidSdk_.toBuilder();
              }
              androidSdk_ = input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(androidSdk_);
                androidSdk_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                jars_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact>();
                mutable_bitField0_ |= 0x00000002;
              }
              jars_.add(
                  input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.parser(), extensionRegistry));
              break;
            }
            case 26: {
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder subBuilder = null;
              if (resourceApk_ != null) {
                subBuilder = resourceApk_.toBuilder();
              }
              resourceApk_ = input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(resourceApk_);
                resourceApk_ = subBuilder.buildPartial();
              }

              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
                nativeLib_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib>();
                mutable_bitField0_ |= 0x00000008;
              }
              nativeLib_.add(
                  input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.parser(), extensionRegistry));
              break;
            }
            case 42: {
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder subBuilder = null;
              if (androidManifest_ != null) {
                subBuilder = androidManifest_.toBuilder();
              }
              androidManifest_ = input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(androidManifest_);
                androidManifest_ = subBuilder.buildPartial();
              }

              break;
            }
            case 50: {
              if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
                androidManifestResources_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource>();
                mutable_bitField0_ |= 0x00000020;
              }
              androidManifestResources_.add(
                  input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.parser(), extensionRegistry));
              break;
            }
            case 58: {
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder subBuilder = null;
              if (debugKeystore_ != null) {
                subBuilder = debugKeystore_.toBuilder();
              }
              debugKeystore_ = input.readMessage(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(debugKeystore_);
                debugKeystore_ = subBuilder.buildPartial();
              }

              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          jars_ = java.util.Collections.unmodifiableList(jars_);
        }
        if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
          nativeLib_ = java.util.Collections.unmodifiableList(nativeLib_);
        }
        if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
          androidManifestResources_ = java.util.Collections.unmodifiableList(androidManifestResources_);
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_ApkManifest_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_ApkManifest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest.Builder.class);
    }

    private int bitField0_;
    public static final int ANDROID_SDK_FIELD_NUMBER = 1;
    private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk androidSdk_;
    /**
     * <pre>
     * Information about the AndroidSdk
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
     */
    public boolean hasAndroidSdk() {
      return androidSdk_ != null;
    }
    /**
     * <pre>
     * Information about the AndroidSdk
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk getAndroidSdk() {
      return androidSdk_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.getDefaultInstance() : androidSdk_;
    }
    /**
     * <pre>
     * Information about the AndroidSdk
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdkOrBuilder getAndroidSdkOrBuilder() {
      return getAndroidSdk();
    }

    public static final int JARS_FIELD_NUMBER = 2;
    private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> jars_;
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> getJarsList() {
      return jars_;
    }
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
        getJarsOrBuilderList() {
      return jars_;
    }
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    public int getJarsCount() {
      return jars_.size();
    }
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getJars(int index) {
      return jars_.get(index);
    }
    /**
     * <pre>
     * All the jars containing the classes that would be dex and go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getJarsOrBuilder(
        int index) {
      return jars_.get(index);
    }

    public static final int RESOURCE_APK_FIELD_NUMBER = 3;
    private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact resourceApk_;
    /**
     * <pre>
     * The .ap_ that contains the resources that go into the APK
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
     */
    public boolean hasResourceApk() {
      return resourceApk_ != null;
    }
    /**
     * <pre>
     * The .ap_ that contains the resources that go into the APK
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getResourceApk() {
      return resourceApk_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : resourceApk_;
    }
    /**
     * <pre>
     * The .ap_ that contains the resources that go into the APK
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getResourceApkOrBuilder() {
      return getResourceApk();
    }

    public static final int NATIVE_LIB_FIELD_NUMBER = 4;
    private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib> nativeLib_;
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib> getNativeLibList() {
      return nativeLib_;
    }
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder> 
        getNativeLibOrBuilderList() {
      return nativeLib_;
    }
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    public int getNativeLibCount() {
      return nativeLib_.size();
    }
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib getNativeLib(int index) {
      return nativeLib_.get(index);
    }
    /**
     * <pre>
     * The native library files that go into the APK
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder getNativeLibOrBuilder(
        int index) {
      return nativeLib_.get(index);
    }

    public static final int ANDROID_MANIFEST_FIELD_NUMBER = 5;
    private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact androidManifest_;
    /**
     * <pre>
     * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
     */
    public boolean hasAndroidManifest() {
      return androidManifest_ != null;
    }
    /**
     * <pre>
     * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getAndroidManifest() {
      return androidManifest_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : androidManifest_;
    }
    /**
     * <pre>
     * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getAndroidManifestOrBuilder() {
      return getAndroidManifest();
    }

    public static final int ANDROID_MANIFEST_RESOURCES_FIELD_NUMBER = 6;
    private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource> androidManifestResources_;
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource> getAndroidManifestResourcesList() {
      return androidManifestResources_;
    }
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder> 
        getAndroidManifestResourcesOrBuilderList() {
      return androidManifestResources_;
    }
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    public int getAndroidManifestResourcesCount() {
      return androidManifestResources_.size();
    }
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource getAndroidManifestResources(int index) {
      return androidManifestResources_.get(index);
    }
    /**
     * <pre>
     * Information about resources referenced from AndroidManifest.xml.
     * </pre>
     *
     * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder getAndroidManifestResourcesOrBuilder(
        int index) {
      return androidManifestResources_.get(index);
    }

    public static final int DEBUG_KEYSTORE_FIELD_NUMBER = 7;
    private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact debugKeystore_;
    /**
     * <pre>
     * Location of the debug keystore file.
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
     */
    public boolean hasDebugKeystore() {
      return debugKeystore_ != null;
    }
    /**
     * <pre>
     * Location of the debug keystore file.
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getDebugKeystore() {
      return debugKeystore_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : debugKeystore_;
    }
    /**
     * <pre>
     * Location of the debug keystore file.
     * </pre>
     *
     * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
     */
    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getDebugKeystoreOrBuilder() {
      return getDebugKeystore();
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (androidSdk_ != null) {
        output.writeMessage(1, getAndroidSdk());
      }
      for (int i = 0; i < jars_.size(); i++) {
        output.writeMessage(2, jars_.get(i));
      }
      if (resourceApk_ != null) {
        output.writeMessage(3, getResourceApk());
      }
      for (int i = 0; i < nativeLib_.size(); i++) {
        output.writeMessage(4, nativeLib_.get(i));
      }
      if (androidManifest_ != null) {
        output.writeMessage(5, getAndroidManifest());
      }
      for (int i = 0; i < androidManifestResources_.size(); i++) {
        output.writeMessage(6, androidManifestResources_.get(i));
      }
      if (debugKeystore_ != null) {
        output.writeMessage(7, getDebugKeystore());
      }
    }

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

      size = 0;
      if (androidSdk_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getAndroidSdk());
      }
      for (int i = 0; i < jars_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, jars_.get(i));
      }
      if (resourceApk_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getResourceApk());
      }
      for (int i = 0; i < nativeLib_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, nativeLib_.get(i));
      }
      if (androidManifest_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, getAndroidManifest());
      }
      for (int i = 0; i < androidManifestResources_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, androidManifestResources_.get(i));
      }
      if (debugKeystore_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, getDebugKeystore());
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest)) {
        return super.equals(obj);
      }
      com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest other = (com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest) obj;

      boolean result = true;
      result = result && (hasAndroidSdk() == other.hasAndroidSdk());
      if (hasAndroidSdk()) {
        result = result && getAndroidSdk()
            .equals(other.getAndroidSdk());
      }
      result = result && getJarsList()
          .equals(other.getJarsList());
      result = result && (hasResourceApk() == other.hasResourceApk());
      if (hasResourceApk()) {
        result = result && getResourceApk()
            .equals(other.getResourceApk());
      }
      result = result && getNativeLibList()
          .equals(other.getNativeLibList());
      result = result && (hasAndroidManifest() == other.hasAndroidManifest());
      if (hasAndroidManifest()) {
        result = result && getAndroidManifest()
            .equals(other.getAndroidManifest());
      }
      result = result && getAndroidManifestResourcesList()
          .equals(other.getAndroidManifestResourcesList());
      result = result && (hasDebugKeystore() == other.hasDebugKeystore());
      if (hasDebugKeystore()) {
        result = result && getDebugKeystore()
            .equals(other.getDebugKeystore());
      }
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (hasAndroidSdk()) {
        hash = (37 * hash) + ANDROID_SDK_FIELD_NUMBER;
        hash = (53 * hash) + getAndroidSdk().hashCode();
      }
      if (getJarsCount() > 0) {
        hash = (37 * hash) + JARS_FIELD_NUMBER;
        hash = (53 * hash) + getJarsList().hashCode();
      }
      if (hasResourceApk()) {
        hash = (37 * hash) + RESOURCE_APK_FIELD_NUMBER;
        hash = (53 * hash) + getResourceApk().hashCode();
      }
      if (getNativeLibCount() > 0) {
        hash = (37 * hash) + NATIVE_LIB_FIELD_NUMBER;
        hash = (53 * hash) + getNativeLibList().hashCode();
      }
      if (hasAndroidManifest()) {
        hash = (37 * hash) + ANDROID_MANIFEST_FIELD_NUMBER;
        hash = (53 * hash) + getAndroidManifest().hashCode();
      }
      if (getAndroidManifestResourcesCount() > 0) {
        hash = (37 * hash) + ANDROID_MANIFEST_RESOURCES_FIELD_NUMBER;
        hash = (53 * hash) + getAndroidManifestResourcesList().hashCode();
      }
      if (hasDebugKeystore()) {
        hash = (37 * hash) + DEBUG_KEYSTORE_FIELD_NUMBER;
        hash = (53 * hash) + getDebugKeystore().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

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

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code blaze.apk_manifest.ApkManifest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:blaze.apk_manifest.ApkManifest)
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_ApkManifest_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_ApkManifest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest.class, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest.Builder.class);
      }

      // Construct using com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getJarsFieldBuilder();
          getNativeLibFieldBuilder();
          getAndroidManifestResourcesFieldBuilder();
        }
      }
      public Builder clear() {
        super.clear();
        if (androidSdkBuilder_ == null) {
          androidSdk_ = null;
        } else {
          androidSdk_ = null;
          androidSdkBuilder_ = null;
        }
        if (jarsBuilder_ == null) {
          jars_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          jarsBuilder_.clear();
        }
        if (resourceApkBuilder_ == null) {
          resourceApk_ = null;
        } else {
          resourceApk_ = null;
          resourceApkBuilder_ = null;
        }
        if (nativeLibBuilder_ == null) {
          nativeLib_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          nativeLibBuilder_.clear();
        }
        if (androidManifestBuilder_ == null) {
          androidManifest_ = null;
        } else {
          androidManifest_ = null;
          androidManifestBuilder_ = null;
        }
        if (androidManifestResourcesBuilder_ == null) {
          androidManifestResources_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000020);
        } else {
          androidManifestResourcesBuilder_.clear();
        }
        if (debugKeystoreBuilder_ == null) {
          debugKeystore_ = null;
        } else {
          debugKeystore_ = null;
          debugKeystoreBuilder_ = null;
        }
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.internal_static_blaze_apk_manifest_ApkManifest_descriptor;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest getDefaultInstanceForType() {
        return com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest.getDefaultInstance();
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest build() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest buildPartial() {
        com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest result = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (androidSdkBuilder_ == null) {
          result.androidSdk_ = androidSdk_;
        } else {
          result.androidSdk_ = androidSdkBuilder_.build();
        }
        if (jarsBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002)) {
            jars_ = java.util.Collections.unmodifiableList(jars_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.jars_ = jars_;
        } else {
          result.jars_ = jarsBuilder_.build();
        }
        if (resourceApkBuilder_ == null) {
          result.resourceApk_ = resourceApk_;
        } else {
          result.resourceApk_ = resourceApkBuilder_.build();
        }
        if (nativeLibBuilder_ == null) {
          if (((bitField0_ & 0x00000008) == 0x00000008)) {
            nativeLib_ = java.util.Collections.unmodifiableList(nativeLib_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.nativeLib_ = nativeLib_;
        } else {
          result.nativeLib_ = nativeLibBuilder_.build();
        }
        if (androidManifestBuilder_ == null) {
          result.androidManifest_ = androidManifest_;
        } else {
          result.androidManifest_ = androidManifestBuilder_.build();
        }
        if (androidManifestResourcesBuilder_ == null) {
          if (((bitField0_ & 0x00000020) == 0x00000020)) {
            androidManifestResources_ = java.util.Collections.unmodifiableList(androidManifestResources_);
            bitField0_ = (bitField0_ & ~0x00000020);
          }
          result.androidManifestResources_ = androidManifestResources_;
        } else {
          result.androidManifestResources_ = androidManifestResourcesBuilder_.build();
        }
        if (debugKeystoreBuilder_ == null) {
          result.debugKeystore_ = debugKeystore_;
        } else {
          result.debugKeystore_ = debugKeystoreBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest) {
          return mergeFrom((com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest other) {
        if (other == com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest.getDefaultInstance()) return this;
        if (other.hasAndroidSdk()) {
          mergeAndroidSdk(other.getAndroidSdk());
        }
        if (jarsBuilder_ == null) {
          if (!other.jars_.isEmpty()) {
            if (jars_.isEmpty()) {
              jars_ = other.jars_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureJarsIsMutable();
              jars_.addAll(other.jars_);
            }
            onChanged();
          }
        } else {
          if (!other.jars_.isEmpty()) {
            if (jarsBuilder_.isEmpty()) {
              jarsBuilder_.dispose();
              jarsBuilder_ = null;
              jars_ = other.jars_;
              bitField0_ = (bitField0_ & ~0x00000002);
              jarsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getJarsFieldBuilder() : null;
            } else {
              jarsBuilder_.addAllMessages(other.jars_);
            }
          }
        }
        if (other.hasResourceApk()) {
          mergeResourceApk(other.getResourceApk());
        }
        if (nativeLibBuilder_ == null) {
          if (!other.nativeLib_.isEmpty()) {
            if (nativeLib_.isEmpty()) {
              nativeLib_ = other.nativeLib_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureNativeLibIsMutable();
              nativeLib_.addAll(other.nativeLib_);
            }
            onChanged();
          }
        } else {
          if (!other.nativeLib_.isEmpty()) {
            if (nativeLibBuilder_.isEmpty()) {
              nativeLibBuilder_.dispose();
              nativeLibBuilder_ = null;
              nativeLib_ = other.nativeLib_;
              bitField0_ = (bitField0_ & ~0x00000008);
              nativeLibBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getNativeLibFieldBuilder() : null;
            } else {
              nativeLibBuilder_.addAllMessages(other.nativeLib_);
            }
          }
        }
        if (other.hasAndroidManifest()) {
          mergeAndroidManifest(other.getAndroidManifest());
        }
        if (androidManifestResourcesBuilder_ == null) {
          if (!other.androidManifestResources_.isEmpty()) {
            if (androidManifestResources_.isEmpty()) {
              androidManifestResources_ = other.androidManifestResources_;
              bitField0_ = (bitField0_ & ~0x00000020);
            } else {
              ensureAndroidManifestResourcesIsMutable();
              androidManifestResources_.addAll(other.androidManifestResources_);
            }
            onChanged();
          }
        } else {
          if (!other.androidManifestResources_.isEmpty()) {
            if (androidManifestResourcesBuilder_.isEmpty()) {
              androidManifestResourcesBuilder_.dispose();
              androidManifestResourcesBuilder_ = null;
              androidManifestResources_ = other.androidManifestResources_;
              bitField0_ = (bitField0_ & ~0x00000020);
              androidManifestResourcesBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getAndroidManifestResourcesFieldBuilder() : null;
            } else {
              androidManifestResourcesBuilder_.addAllMessages(other.androidManifestResources_);
            }
          }
        }
        if (other.hasDebugKeystore()) {
          mergeDebugKeystore(other.getDebugKeystore());
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

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

      private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk androidSdk_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdkOrBuilder> androidSdkBuilder_;
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public boolean hasAndroidSdk() {
        return androidSdkBuilder_ != null || androidSdk_ != null;
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk getAndroidSdk() {
        if (androidSdkBuilder_ == null) {
          return androidSdk_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.getDefaultInstance() : androidSdk_;
        } else {
          return androidSdkBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public Builder setAndroidSdk(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk value) {
        if (androidSdkBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          androidSdk_ = value;
          onChanged();
        } else {
          androidSdkBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public Builder setAndroidSdk(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder builderForValue) {
        if (androidSdkBuilder_ == null) {
          androidSdk_ = builderForValue.build();
          onChanged();
        } else {
          androidSdkBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public Builder mergeAndroidSdk(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk value) {
        if (androidSdkBuilder_ == null) {
          if (androidSdk_ != null) {
            androidSdk_ =
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.newBuilder(androidSdk_).mergeFrom(value).buildPartial();
          } else {
            androidSdk_ = value;
          }
          onChanged();
        } else {
          androidSdkBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public Builder clearAndroidSdk() {
        if (androidSdkBuilder_ == null) {
          androidSdk_ = null;
          onChanged();
        } else {
          androidSdk_ = null;
          androidSdkBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder getAndroidSdkBuilder() {
        
        onChanged();
        return getAndroidSdkFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdkOrBuilder getAndroidSdkOrBuilder() {
        if (androidSdkBuilder_ != null) {
          return androidSdkBuilder_.getMessageOrBuilder();
        } else {
          return androidSdk_ == null ?
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.getDefaultInstance() : androidSdk_;
        }
      }
      /**
       * <pre>
       * Information about the AndroidSdk
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.AndroidSdk android_sdk = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdkOrBuilder> 
          getAndroidSdkFieldBuilder() {
        if (androidSdkBuilder_ == null) {
          androidSdkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdk.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidSdkOrBuilder>(
                  getAndroidSdk(),
                  getParentForChildren(),
                  isClean());
          androidSdk_ = null;
        }
        return androidSdkBuilder_;
      }

      private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> jars_ =
        java.util.Collections.emptyList();
      private void ensureJarsIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          jars_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact>(jars_);
          bitField0_ |= 0x00000002;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> jarsBuilder_;

      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> getJarsList() {
        if (jarsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(jars_);
        } else {
          return jarsBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public int getJarsCount() {
        if (jarsBuilder_ == null) {
          return jars_.size();
        } else {
          return jarsBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getJars(int index) {
        if (jarsBuilder_ == null) {
          return jars_.get(index);
        } else {
          return jarsBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder setJars(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (jarsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureJarsIsMutable();
          jars_.set(index, value);
          onChanged();
        } else {
          jarsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder setJars(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (jarsBuilder_ == null) {
          ensureJarsIsMutable();
          jars_.set(index, builderForValue.build());
          onChanged();
        } else {
          jarsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder addJars(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (jarsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureJarsIsMutable();
          jars_.add(value);
          onChanged();
        } else {
          jarsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder addJars(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (jarsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureJarsIsMutable();
          jars_.add(index, value);
          onChanged();
        } else {
          jarsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder addJars(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (jarsBuilder_ == null) {
          ensureJarsIsMutable();
          jars_.add(builderForValue.build());
          onChanged();
        } else {
          jarsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder addJars(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (jarsBuilder_ == null) {
          ensureJarsIsMutable();
          jars_.add(index, builderForValue.build());
          onChanged();
        } else {
          jarsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder addAllJars(
          java.lang.Iterable<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact> values) {
        if (jarsBuilder_ == null) {
          ensureJarsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, jars_);
          onChanged();
        } else {
          jarsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder clearJars() {
        if (jarsBuilder_ == null) {
          jars_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          jarsBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public Builder removeJars(int index) {
        if (jarsBuilder_ == null) {
          ensureJarsIsMutable();
          jars_.remove(index);
          onChanged();
        } else {
          jarsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder getJarsBuilder(
          int index) {
        return getJarsFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getJarsOrBuilder(
          int index) {
        if (jarsBuilder_ == null) {
          return jars_.get(index);  } else {
          return jarsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
           getJarsOrBuilderList() {
        if (jarsBuilder_ != null) {
          return jarsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(jars_);
        }
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder addJarsBuilder() {
        return getJarsFieldBuilder().addBuilder(
            com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance());
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder addJarsBuilder(
          int index) {
        return getJarsFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance());
      }
      /**
       * <pre>
       * All the jars containing the classes that would be dex and go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.Artifact jars = 2;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder> 
           getJarsBuilderList() {
        return getJarsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
          getJarsFieldBuilder() {
        if (jarsBuilder_ == null) {
          jarsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder>(
                  jars_,
                  ((bitField0_ & 0x00000002) == 0x00000002),
                  getParentForChildren(),
                  isClean());
          jars_ = null;
        }
        return jarsBuilder_;
      }

      private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact resourceApk_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> resourceApkBuilder_;
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public boolean hasResourceApk() {
        return resourceApkBuilder_ != null || resourceApk_ != null;
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getResourceApk() {
        if (resourceApkBuilder_ == null) {
          return resourceApk_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : resourceApk_;
        } else {
          return resourceApkBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public Builder setResourceApk(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (resourceApkBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          resourceApk_ = value;
          onChanged();
        } else {
          resourceApkBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public Builder setResourceApk(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (resourceApkBuilder_ == null) {
          resourceApk_ = builderForValue.build();
          onChanged();
        } else {
          resourceApkBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public Builder mergeResourceApk(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (resourceApkBuilder_ == null) {
          if (resourceApk_ != null) {
            resourceApk_ =
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.newBuilder(resourceApk_).mergeFrom(value).buildPartial();
          } else {
            resourceApk_ = value;
          }
          onChanged();
        } else {
          resourceApkBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public Builder clearResourceApk() {
        if (resourceApkBuilder_ == null) {
          resourceApk_ = null;
          onChanged();
        } else {
          resourceApk_ = null;
          resourceApkBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder getResourceApkBuilder() {
        
        onChanged();
        return getResourceApkFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getResourceApkOrBuilder() {
        if (resourceApkBuilder_ != null) {
          return resourceApkBuilder_.getMessageOrBuilder();
        } else {
          return resourceApk_ == null ?
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : resourceApk_;
        }
      }
      /**
       * <pre>
       * The .ap_ that contains the resources that go into the APK
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact resource_apk = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
          getResourceApkFieldBuilder() {
        if (resourceApkBuilder_ == null) {
          resourceApkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder>(
                  getResourceApk(),
                  getParentForChildren(),
                  isClean());
          resourceApk_ = null;
        }
        return resourceApkBuilder_;
      }

      private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib> nativeLib_ =
        java.util.Collections.emptyList();
      private void ensureNativeLibIsMutable() {
        if (!((bitField0_ & 0x00000008) == 0x00000008)) {
          nativeLib_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib>(nativeLib_);
          bitField0_ |= 0x00000008;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder> nativeLibBuilder_;

      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib> getNativeLibList() {
        if (nativeLibBuilder_ == null) {
          return java.util.Collections.unmodifiableList(nativeLib_);
        } else {
          return nativeLibBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public int getNativeLibCount() {
        if (nativeLibBuilder_ == null) {
          return nativeLib_.size();
        } else {
          return nativeLibBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib getNativeLib(int index) {
        if (nativeLibBuilder_ == null) {
          return nativeLib_.get(index);
        } else {
          return nativeLibBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder setNativeLib(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib value) {
        if (nativeLibBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNativeLibIsMutable();
          nativeLib_.set(index, value);
          onChanged();
        } else {
          nativeLibBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder setNativeLib(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder builderForValue) {
        if (nativeLibBuilder_ == null) {
          ensureNativeLibIsMutable();
          nativeLib_.set(index, builderForValue.build());
          onChanged();
        } else {
          nativeLibBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder addNativeLib(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib value) {
        if (nativeLibBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNativeLibIsMutable();
          nativeLib_.add(value);
          onChanged();
        } else {
          nativeLibBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder addNativeLib(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib value) {
        if (nativeLibBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNativeLibIsMutable();
          nativeLib_.add(index, value);
          onChanged();
        } else {
          nativeLibBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder addNativeLib(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder builderForValue) {
        if (nativeLibBuilder_ == null) {
          ensureNativeLibIsMutable();
          nativeLib_.add(builderForValue.build());
          onChanged();
        } else {
          nativeLibBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder addNativeLib(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder builderForValue) {
        if (nativeLibBuilder_ == null) {
          ensureNativeLibIsMutable();
          nativeLib_.add(index, builderForValue.build());
          onChanged();
        } else {
          nativeLibBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder addAllNativeLib(
          java.lang.Iterable<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib> values) {
        if (nativeLibBuilder_ == null) {
          ensureNativeLibIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, nativeLib_);
          onChanged();
        } else {
          nativeLibBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder clearNativeLib() {
        if (nativeLibBuilder_ == null) {
          nativeLib_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          nativeLibBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public Builder removeNativeLib(int index) {
        if (nativeLibBuilder_ == null) {
          ensureNativeLibIsMutable();
          nativeLib_.remove(index);
          onChanged();
        } else {
          nativeLibBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder getNativeLibBuilder(
          int index) {
        return getNativeLibFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder getNativeLibOrBuilder(
          int index) {
        if (nativeLibBuilder_ == null) {
          return nativeLib_.get(index);  } else {
          return nativeLibBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder> 
           getNativeLibOrBuilderList() {
        if (nativeLibBuilder_ != null) {
          return nativeLibBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(nativeLib_);
        }
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder addNativeLibBuilder() {
        return getNativeLibFieldBuilder().addBuilder(
            com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.getDefaultInstance());
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder addNativeLibBuilder(
          int index) {
        return getNativeLibFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.getDefaultInstance());
      }
      /**
       * <pre>
       * The native library files that go into the APK
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.NativeLib native_lib = 4;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder> 
           getNativeLibBuilderList() {
        return getNativeLibFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder> 
          getNativeLibFieldBuilder() {
        if (nativeLibBuilder_ == null) {
          nativeLibBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLib.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.NativeLibOrBuilder>(
                  nativeLib_,
                  ((bitField0_ & 0x00000008) == 0x00000008),
                  getParentForChildren(),
                  isClean());
          nativeLib_ = null;
        }
        return nativeLibBuilder_;
      }

      private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact androidManifest_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> androidManifestBuilder_;
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public boolean hasAndroidManifest() {
        return androidManifestBuilder_ != null || androidManifest_ != null;
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getAndroidManifest() {
        if (androidManifestBuilder_ == null) {
          return androidManifest_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : androidManifest_;
        } else {
          return androidManifestBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public Builder setAndroidManifest(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (androidManifestBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          androidManifest_ = value;
          onChanged();
        } else {
          androidManifestBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public Builder setAndroidManifest(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (androidManifestBuilder_ == null) {
          androidManifest_ = builderForValue.build();
          onChanged();
        } else {
          androidManifestBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public Builder mergeAndroidManifest(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (androidManifestBuilder_ == null) {
          if (androidManifest_ != null) {
            androidManifest_ =
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.newBuilder(androidManifest_).mergeFrom(value).buildPartial();
          } else {
            androidManifest_ = value;
          }
          onChanged();
        } else {
          androidManifestBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public Builder clearAndroidManifest() {
        if (androidManifestBuilder_ == null) {
          androidManifest_ = null;
          onChanged();
        } else {
          androidManifest_ = null;
          androidManifestBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder getAndroidManifestBuilder() {
        
        onChanged();
        return getAndroidManifestFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getAndroidManifestOrBuilder() {
        if (androidManifestBuilder_ != null) {
          return androidManifestBuilder_.getMessageOrBuilder();
        } else {
          return androidManifest_ == null ?
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : androidManifest_;
        }
      }
      /**
       * <pre>
       * The final merged AndroidManifest.xml file (in text, i.e. non-binary, XML)
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact android_manifest = 5;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
          getAndroidManifestFieldBuilder() {
        if (androidManifestBuilder_ == null) {
          androidManifestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder>(
                  getAndroidManifest(),
                  getParentForChildren(),
                  isClean());
          androidManifest_ = null;
        }
        return androidManifestBuilder_;
      }

      private java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource> androidManifestResources_ =
        java.util.Collections.emptyList();
      private void ensureAndroidManifestResourcesIsMutable() {
        if (!((bitField0_ & 0x00000020) == 0x00000020)) {
          androidManifestResources_ = new java.util.ArrayList<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource>(androidManifestResources_);
          bitField0_ |= 0x00000020;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder> androidManifestResourcesBuilder_;

      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource> getAndroidManifestResourcesList() {
        if (androidManifestResourcesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(androidManifestResources_);
        } else {
          return androidManifestResourcesBuilder_.getMessageList();
        }
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public int getAndroidManifestResourcesCount() {
        if (androidManifestResourcesBuilder_ == null) {
          return androidManifestResources_.size();
        } else {
          return androidManifestResourcesBuilder_.getCount();
        }
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource getAndroidManifestResources(int index) {
        if (androidManifestResourcesBuilder_ == null) {
          return androidManifestResources_.get(index);
        } else {
          return androidManifestResourcesBuilder_.getMessage(index);
        }
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder setAndroidManifestResources(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource value) {
        if (androidManifestResourcesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAndroidManifestResourcesIsMutable();
          androidManifestResources_.set(index, value);
          onChanged();
        } else {
          androidManifestResourcesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder setAndroidManifestResources(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder builderForValue) {
        if (androidManifestResourcesBuilder_ == null) {
          ensureAndroidManifestResourcesIsMutable();
          androidManifestResources_.set(index, builderForValue.build());
          onChanged();
        } else {
          androidManifestResourcesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder addAndroidManifestResources(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource value) {
        if (androidManifestResourcesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAndroidManifestResourcesIsMutable();
          androidManifestResources_.add(value);
          onChanged();
        } else {
          androidManifestResourcesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder addAndroidManifestResources(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource value) {
        if (androidManifestResourcesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAndroidManifestResourcesIsMutable();
          androidManifestResources_.add(index, value);
          onChanged();
        } else {
          androidManifestResourcesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder addAndroidManifestResources(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder builderForValue) {
        if (androidManifestResourcesBuilder_ == null) {
          ensureAndroidManifestResourcesIsMutable();
          androidManifestResources_.add(builderForValue.build());
          onChanged();
        } else {
          androidManifestResourcesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder addAndroidManifestResources(
          int index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder builderForValue) {
        if (androidManifestResourcesBuilder_ == null) {
          ensureAndroidManifestResourcesIsMutable();
          androidManifestResources_.add(index, builderForValue.build());
          onChanged();
        } else {
          androidManifestResourcesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder addAllAndroidManifestResources(
          java.lang.Iterable<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource> values) {
        if (androidManifestResourcesBuilder_ == null) {
          ensureAndroidManifestResourcesIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, androidManifestResources_);
          onChanged();
        } else {
          androidManifestResourcesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder clearAndroidManifestResources() {
        if (androidManifestResourcesBuilder_ == null) {
          androidManifestResources_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000020);
          onChanged();
        } else {
          androidManifestResourcesBuilder_.clear();
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public Builder removeAndroidManifestResources(int index) {
        if (androidManifestResourcesBuilder_ == null) {
          ensureAndroidManifestResourcesIsMutable();
          androidManifestResources_.remove(index);
          onChanged();
        } else {
          androidManifestResourcesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder getAndroidManifestResourcesBuilder(
          int index) {
        return getAndroidManifestResourcesFieldBuilder().getBuilder(index);
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder getAndroidManifestResourcesOrBuilder(
          int index) {
        if (androidManifestResourcesBuilder_ == null) {
          return androidManifestResources_.get(index);  } else {
          return androidManifestResourcesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public java.util.List<? extends com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder> 
           getAndroidManifestResourcesOrBuilderList() {
        if (androidManifestResourcesBuilder_ != null) {
          return androidManifestResourcesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(androidManifestResources_);
        }
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder addAndroidManifestResourcesBuilder() {
        return getAndroidManifestResourcesFieldBuilder().addBuilder(
            com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.getDefaultInstance());
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder addAndroidManifestResourcesBuilder(
          int index) {
        return getAndroidManifestResourcesFieldBuilder().addBuilder(
            index, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.getDefaultInstance());
      }
      /**
       * <pre>
       * Information about resources referenced from AndroidManifest.xml.
       * </pre>
       *
       * <code>repeated .blaze.apk_manifest.AndroidManifestResource android_manifest_resources = 6;</code>
       */
      public java.util.List<com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder> 
           getAndroidManifestResourcesBuilderList() {
        return getAndroidManifestResourcesFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder> 
          getAndroidManifestResourcesFieldBuilder() {
        if (androidManifestResourcesBuilder_ == null) {
          androidManifestResourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResource.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.AndroidManifestResourceOrBuilder>(
                  androidManifestResources_,
                  ((bitField0_ & 0x00000020) == 0x00000020),
                  getParentForChildren(),
                  isClean());
          androidManifestResources_ = null;
        }
        return androidManifestResourcesBuilder_;
      }

      private com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact debugKeystore_ = null;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> debugKeystoreBuilder_;
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public boolean hasDebugKeystore() {
        return debugKeystoreBuilder_ != null || debugKeystore_ != null;
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact getDebugKeystore() {
        if (debugKeystoreBuilder_ == null) {
          return debugKeystore_ == null ? com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : debugKeystore_;
        } else {
          return debugKeystoreBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public Builder setDebugKeystore(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (debugKeystoreBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          debugKeystore_ = value;
          onChanged();
        } else {
          debugKeystoreBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public Builder setDebugKeystore(
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder builderForValue) {
        if (debugKeystoreBuilder_ == null) {
          debugKeystore_ = builderForValue.build();
          onChanged();
        } else {
          debugKeystoreBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public Builder mergeDebugKeystore(com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact value) {
        if (debugKeystoreBuilder_ == null) {
          if (debugKeystore_ != null) {
            debugKeystore_ =
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.newBuilder(debugKeystore_).mergeFrom(value).buildPartial();
          } else {
            debugKeystore_ = value;
          }
          onChanged();
        } else {
          debugKeystoreBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public Builder clearDebugKeystore() {
        if (debugKeystoreBuilder_ == null) {
          debugKeystore_ = null;
          onChanged();
        } else {
          debugKeystore_ = null;
          debugKeystoreBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder getDebugKeystoreBuilder() {
        
        onChanged();
        return getDebugKeystoreFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder getDebugKeystoreOrBuilder() {
        if (debugKeystoreBuilder_ != null) {
          return debugKeystoreBuilder_.getMessageOrBuilder();
        } else {
          return debugKeystore_ == null ?
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.getDefaultInstance() : debugKeystore_;
        }
      }
      /**
       * <pre>
       * Location of the debug keystore file.
       * </pre>
       *
       * <code>optional .blaze.apk_manifest.Artifact debug_keystore = 7;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder> 
          getDebugKeystoreFieldBuilder() {
        if (debugKeystoreBuilder_ == null) {
          debugKeystoreBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.Artifact.Builder, com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ArtifactOrBuilder>(
                  getDebugKeystore(),
                  getParentForChildren(),
                  isClean());
          debugKeystore_ = null;
        }
        return debugKeystoreBuilder_;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:blaze.apk_manifest.ApkManifest)
    }

    // @@protoc_insertion_point(class_scope:blaze.apk_manifest.ApkManifest)
    private static final com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest();
    }

    public static com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.devtools.build.lib.rules.android.apkmanifest.ApkManifestOuterClass.ApkManifest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_apk_manifest_Artifact_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_apk_manifest_Artifact_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_apk_manifest_NativeLib_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_apk_manifest_NativeLib_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_apk_manifest_AndroidSdk_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_apk_manifest_AndroidSdk_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_apk_manifest_AndroidManifestResource_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_apk_manifest_AndroidManifestResource_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_blaze_apk_manifest_ApkManifest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_blaze_apk_manifest_ApkManifest_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\nxbazel-out/local-fastbuild/bin/src/main" +
      "/protobuf/libapk_manifest_java_proto_src" +
      "jar.srcjar.preprocessed/apk_manifest.pro" +
      "to\022\022blaze.apk_manifest\"?\n\010Artifact\022\026\n\016ex" +
      "ec_root_path\030\001 \001(\t\022\014\n\004hash\030\002 \001(\014\022\r\n\005labe" +
      "l\030\003 \001(\t\"L\n\tNativeLib\0221\n\013native_libs\030\001 \003(" +
      "\0132\034.blaze.apk_manifest.Artifact\022\014\n\004arch\030" +
      "\002 \001(\t\"\376\002\n\nAndroidSdk\022\014\n\004aapt\030\001 \001(\t\022\013\n\003ad" +
      "b\030\002 \001(\t\022\014\n\004aidl\030\003 \001(\t\022\023\n\013android_jar\030\004 \001" +
      "(\t\022\027\n\017annotations_jar\030\005 \001(\t\022\022\n\napkbuilde",
      "r\030\006 \001(\t\022\n\n\002dx\030\007 \001(\t\022\026\n\016framework_aidl\030\010 " +
      "\001(\t\022\014\n\004jack\030\t \001(\t\022\014\n\004jill\030\n \001(\t\022\030\n\020main_" +
      "dex_classes\030\013 \001(\t\022\035\n\025main_dex_list_creat" +
      "or\030\014 \001(\t\022\020\n\010proguard\030\r \001(\t\022\032\n\022resource_e" +
      "xtractor\030\016 \001(\t\022\034\n\024shrinked_android_jar\030\017" +
      " \001(\t\022\020\n\010zipalign\030\020 \001(\t\022\033\n\023build_tools_ve" +
      "rsion\030\021 \001(\t\022\021\n\tapksigner\030\022 \001(\t\"\260\001\n\027Andro" +
      "idManifestResource\022\014\n\004name\030\001 \001(\t\022\014\n\004type" +
      "\030\002 \001(\t\022K\n\014value_hashes\030\003 \003(\01325.blaze.apk" +
      "_manifest.AndroidManifestResource.ValueH",
      "ash\032,\n\tValueHash\022\021\n\tqualifier\030\001 \001(\t\022\014\n\004h" +
      "ash\030\002 \001(\014\"\224\003\n\013ApkManifest\0223\n\013android_sdk" +
      "\030\001 \001(\0132\036.blaze.apk_manifest.AndroidSdk\022*" +
      "\n\004jars\030\002 \003(\0132\034.blaze.apk_manifest.Artifa" +
      "ct\0222\n\014resource_apk\030\003 \001(\0132\034.blaze.apk_man" +
      "ifest.Artifact\0221\n\nnative_lib\030\004 \003(\0132\035.bla" +
      "ze.apk_manifest.NativeLib\0226\n\020android_man" +
      "ifest\030\005 \001(\0132\034.blaze.apk_manifest.Artifac" +
      "t\022O\n\032android_manifest_resources\030\006 \003(\0132+." +
      "blaze.apk_manifest.AndroidManifestResour",
      "ce\0224\n\016debug_keystore\030\007 \001(\0132\034.blaze.apk_m" +
      "anifest.ArtifactB9\n7com.google.devtools." +
      "build.lib.rules.android.apkmanifestb\006pro" +
      "to3"
    };
    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_apk_manifest_Artifact_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_blaze_apk_manifest_Artifact_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_apk_manifest_Artifact_descriptor,
        new java.lang.String[] { "ExecRootPath", "Hash", "Label", });
    internal_static_blaze_apk_manifest_NativeLib_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_blaze_apk_manifest_NativeLib_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_apk_manifest_NativeLib_descriptor,
        new java.lang.String[] { "NativeLibs", "Arch", });
    internal_static_blaze_apk_manifest_AndroidSdk_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_blaze_apk_manifest_AndroidSdk_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_apk_manifest_AndroidSdk_descriptor,
        new java.lang.String[] { "Aapt", "Adb", "Aidl", "AndroidJar", "AnnotationsJar", "Apkbuilder", "Dx", "FrameworkAidl", "Jack", "Jill", "MainDexClasses", "MainDexListCreator", "Proguard", "ResourceExtractor", "ShrinkedAndroidJar", "Zipalign", "BuildToolsVersion", "Apksigner", });
    internal_static_blaze_apk_manifest_AndroidManifestResource_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_blaze_apk_manifest_AndroidManifestResource_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_apk_manifest_AndroidManifestResource_descriptor,
        new java.lang.String[] { "Name", "Type", "ValueHashes", });
    internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_descriptor =
      internal_static_blaze_apk_manifest_AndroidManifestResource_descriptor.getNestedTypes().get(0);
    internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_apk_manifest_AndroidManifestResource_ValueHash_descriptor,
        new java.lang.String[] { "Qualifier", "Hash", });
    internal_static_blaze_apk_manifest_ApkManifest_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_blaze_apk_manifest_ApkManifest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_blaze_apk_manifest_ApkManifest_descriptor,
        new java.lang.String[] { "AndroidSdk", "Jars", "ResourceApk", "NativeLib", "AndroidManifest", "AndroidManifestResources", "DebugKeystore", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
