// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: build/bazel/remote/execution/v2/remote_execution.proto

package build.bazel.remote.execution.v2;

/**
 * <pre>
 * Allowed values for priority in
 * [ResultsCachePolicy][google.devtools.remoteexecution.v2.ResultsCachePolicy]
 * Used for querying both cache and execution valid priority ranges.
 * </pre>
 *
 * Protobuf type {@code build.bazel.remote.execution.v2.PriorityCapabilities}
 */
public  final class PriorityCapabilities extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:build.bazel.remote.execution.v2.PriorityCapabilities)
    PriorityCapabilitiesOrBuilder {
private static final long serialVersionUID = 0L;
  // Use PriorityCapabilities.newBuilder() to construct.
  private PriorityCapabilities(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private PriorityCapabilities() {
    priorities_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private PriorityCapabilities(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
              priorities_ = new java.util.ArrayList<build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange>();
              mutable_bitField0_ |= 0x00000001;
            }
            priorities_.add(
                input.readMessage(build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownFieldProto3(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
        priorities_ = java.util.Collections.unmodifiableList(priorities_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            build.bazel.remote.execution.v2.PriorityCapabilities.class, build.bazel.remote.execution.v2.PriorityCapabilities.Builder.class);
  }

  public interface PriorityRangeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>int32 min_priority = 1;</code>
     */
    int getMinPriority();

    /**
     * <code>int32 max_priority = 2;</code>
     */
    int getMaxPriority();
  }
  /**
   * <pre>
   * Supported range of priorities, including boundaries.
   * </pre>
   *
   * Protobuf type {@code build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange}
   */
  public  static final class PriorityRange extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange)
      PriorityRangeOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PriorityRange.newBuilder() to construct.
    private PriorityRange(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private PriorityRange() {
      minPriority_ = 0;
      maxPriority_ = 0;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PriorityRange(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {

              minPriority_ = input.readInt32();
              break;
            }
            case 16: {

              maxPriority_ = input.readInt32();
              break;
            }
            default: {
              if (!parseUnknownFieldProto3(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_PriorityRange_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_PriorityRange_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.class, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder.class);
    }

    public static final int MIN_PRIORITY_FIELD_NUMBER = 1;
    private int minPriority_;
    /**
     * <code>int32 min_priority = 1;</code>
     */
    public int getMinPriority() {
      return minPriority_;
    }

    public static final int MAX_PRIORITY_FIELD_NUMBER = 2;
    private int maxPriority_;
    /**
     * <code>int32 max_priority = 2;</code>
     */
    public int getMaxPriority() {
      return maxPriority_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (minPriority_ != 0) {
        output.writeInt32(1, minPriority_);
      }
      if (maxPriority_ != 0) {
        output.writeInt32(2, maxPriority_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (minPriority_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(1, minPriority_);
      }
      if (maxPriority_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt32Size(2, maxPriority_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange)) {
        return super.equals(obj);
      }
      build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange other = (build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange) obj;

      boolean result = true;
      result = result && (getMinPriority()
          == other.getMinPriority());
      result = result && (getMaxPriority()
          == other.getMaxPriority());
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + MIN_PRIORITY_FIELD_NUMBER;
      hash = (53 * hash) + getMinPriority();
      hash = (37 * hash) + MAX_PRIORITY_FIELD_NUMBER;
      hash = (53 * hash) + getMaxPriority();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange 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 build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange 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 build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Supported range of priorities, including boundaries.
     * </pre>
     *
     * Protobuf type {@code build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange)
        build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_PriorityRange_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_PriorityRange_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.class, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder.class);
      }

      // Construct using build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        minPriority_ = 0;

        maxPriority_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_PriorityRange_descriptor;
      }

      @java.lang.Override
      public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange getDefaultInstanceForType() {
        return build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.getDefaultInstance();
      }

      @java.lang.Override
      public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange build() {
        build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange buildPartial() {
        build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange result = new build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange(this);
        result.minPriority_ = minPriority_;
        result.maxPriority_ = maxPriority_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return (Builder) super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange) {
          return mergeFrom((build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange other) {
        if (other == build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.getDefaultInstance()) return this;
        if (other.getMinPriority() != 0) {
          setMinPriority(other.getMinPriority());
        }
        if (other.getMaxPriority() != 0) {
          setMaxPriority(other.getMaxPriority());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int minPriority_ ;
      /**
       * <code>int32 min_priority = 1;</code>
       */
      public int getMinPriority() {
        return minPriority_;
      }
      /**
       * <code>int32 min_priority = 1;</code>
       */
      public Builder setMinPriority(int value) {
        
        minPriority_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 min_priority = 1;</code>
       */
      public Builder clearMinPriority() {
        
        minPriority_ = 0;
        onChanged();
        return this;
      }

      private int maxPriority_ ;
      /**
       * <code>int32 max_priority = 2;</code>
       */
      public int getMaxPriority() {
        return maxPriority_;
      }
      /**
       * <code>int32 max_priority = 2;</code>
       */
      public Builder setMaxPriority(int value) {
        
        maxPriority_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>int32 max_priority = 2;</code>
       */
      public Builder clearMaxPriority() {
        
        maxPriority_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFieldsProto3(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange)
    }

    // @@protoc_insertion_point(class_scope:build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange)
    private static final build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange();
    }

    public static build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public static final int PRIORITIES_FIELD_NUMBER = 1;
  private java.util.List<build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange> priorities_;
  /**
   * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
   */
  public java.util.List<build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange> getPrioritiesList() {
    return priorities_;
  }
  /**
   * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
   */
  public java.util.List<? extends build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder> 
      getPrioritiesOrBuilderList() {
    return priorities_;
  }
  /**
   * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
   */
  public int getPrioritiesCount() {
    return priorities_.size();
  }
  /**
   * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
   */
  public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange getPriorities(int index) {
    return priorities_.get(index);
  }
  /**
   * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
   */
  public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder getPrioritiesOrBuilder(
      int index) {
    return priorities_.get(index);
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    for (int i = 0; i < priorities_.size(); i++) {
      output.writeMessage(1, priorities_.get(i));
    }
    unknownFields.writeTo(output);
  }

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

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

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof build.bazel.remote.execution.v2.PriorityCapabilities)) {
      return super.equals(obj);
    }
    build.bazel.remote.execution.v2.PriorityCapabilities other = (build.bazel.remote.execution.v2.PriorityCapabilities) obj;

    boolean result = true;
    result = result && getPrioritiesList()
        .equals(other.getPrioritiesList());
    result = result && unknownFields.equals(other.unknownFields);
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (getPrioritiesCount() > 0) {
      hash = (37 * hash) + PRIORITIES_FIELD_NUMBER;
      hash = (53 * hash) + getPrioritiesList().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(build.bazel.remote.execution.v2.PriorityCapabilities prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * Allowed values for priority in
   * [ResultsCachePolicy][google.devtools.remoteexecution.v2.ResultsCachePolicy]
   * Used for querying both cache and execution valid priority ranges.
   * </pre>
   *
   * Protobuf type {@code build.bazel.remote.execution.v2.PriorityCapabilities}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:build.bazel.remote.execution.v2.PriorityCapabilities)
      build.bazel.remote.execution.v2.PriorityCapabilitiesOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              build.bazel.remote.execution.v2.PriorityCapabilities.class, build.bazel.remote.execution.v2.PriorityCapabilities.Builder.class);
    }

    // Construct using build.bazel.remote.execution.v2.PriorityCapabilities.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
        getPrioritiesFieldBuilder();
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (prioritiesBuilder_ == null) {
        priorities_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
      } else {
        prioritiesBuilder_.clear();
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return build.bazel.remote.execution.v2.RemoteExecutionProto.internal_static_build_bazel_remote_execution_v2_PriorityCapabilities_descriptor;
    }

    @java.lang.Override
    public build.bazel.remote.execution.v2.PriorityCapabilities getDefaultInstanceForType() {
      return build.bazel.remote.execution.v2.PriorityCapabilities.getDefaultInstance();
    }

    @java.lang.Override
    public build.bazel.remote.execution.v2.PriorityCapabilities build() {
      build.bazel.remote.execution.v2.PriorityCapabilities result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public build.bazel.remote.execution.v2.PriorityCapabilities buildPartial() {
      build.bazel.remote.execution.v2.PriorityCapabilities result = new build.bazel.remote.execution.v2.PriorityCapabilities(this);
      int from_bitField0_ = bitField0_;
      if (prioritiesBuilder_ == null) {
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          priorities_ = java.util.Collections.unmodifiableList(priorities_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.priorities_ = priorities_;
      } else {
        result.priorities_ = prioritiesBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return (Builder) super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return (Builder) super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return (Builder) super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof build.bazel.remote.execution.v2.PriorityCapabilities) {
        return mergeFrom((build.bazel.remote.execution.v2.PriorityCapabilities)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(build.bazel.remote.execution.v2.PriorityCapabilities other) {
      if (other == build.bazel.remote.execution.v2.PriorityCapabilities.getDefaultInstance()) return this;
      if (prioritiesBuilder_ == null) {
        if (!other.priorities_.isEmpty()) {
          if (priorities_.isEmpty()) {
            priorities_ = other.priorities_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensurePrioritiesIsMutable();
            priorities_.addAll(other.priorities_);
          }
          onChanged();
        }
      } else {
        if (!other.priorities_.isEmpty()) {
          if (prioritiesBuilder_.isEmpty()) {
            prioritiesBuilder_.dispose();
            prioritiesBuilder_ = null;
            priorities_ = other.priorities_;
            bitField0_ = (bitField0_ & ~0x00000001);
            prioritiesBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getPrioritiesFieldBuilder() : null;
          } else {
            prioritiesBuilder_.addAllMessages(other.priorities_);
          }
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

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

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

    private java.util.List<build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange> priorities_ =
      java.util.Collections.emptyList();
    private void ensurePrioritiesIsMutable() {
      if (!((bitField0_ & 0x00000001) == 0x00000001)) {
        priorities_ = new java.util.ArrayList<build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange>(priorities_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder> prioritiesBuilder_;

    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public java.util.List<build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange> getPrioritiesList() {
      if (prioritiesBuilder_ == null) {
        return java.util.Collections.unmodifiableList(priorities_);
      } else {
        return prioritiesBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public int getPrioritiesCount() {
      if (prioritiesBuilder_ == null) {
        return priorities_.size();
      } else {
        return prioritiesBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange getPriorities(int index) {
      if (prioritiesBuilder_ == null) {
        return priorities_.get(index);
      } else {
        return prioritiesBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder setPriorities(
        int index, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange value) {
      if (prioritiesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePrioritiesIsMutable();
        priorities_.set(index, value);
        onChanged();
      } else {
        prioritiesBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder setPriorities(
        int index, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder builderForValue) {
      if (prioritiesBuilder_ == null) {
        ensurePrioritiesIsMutable();
        priorities_.set(index, builderForValue.build());
        onChanged();
      } else {
        prioritiesBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder addPriorities(build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange value) {
      if (prioritiesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePrioritiesIsMutable();
        priorities_.add(value);
        onChanged();
      } else {
        prioritiesBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder addPriorities(
        int index, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange value) {
      if (prioritiesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensurePrioritiesIsMutable();
        priorities_.add(index, value);
        onChanged();
      } else {
        prioritiesBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder addPriorities(
        build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder builderForValue) {
      if (prioritiesBuilder_ == null) {
        ensurePrioritiesIsMutable();
        priorities_.add(builderForValue.build());
        onChanged();
      } else {
        prioritiesBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder addPriorities(
        int index, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder builderForValue) {
      if (prioritiesBuilder_ == null) {
        ensurePrioritiesIsMutable();
        priorities_.add(index, builderForValue.build());
        onChanged();
      } else {
        prioritiesBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder addAllPriorities(
        java.lang.Iterable<? extends build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange> values) {
      if (prioritiesBuilder_ == null) {
        ensurePrioritiesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, priorities_);
        onChanged();
      } else {
        prioritiesBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder clearPriorities() {
      if (prioritiesBuilder_ == null) {
        priorities_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        prioritiesBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public Builder removePriorities(int index) {
      if (prioritiesBuilder_ == null) {
        ensurePrioritiesIsMutable();
        priorities_.remove(index);
        onChanged();
      } else {
        prioritiesBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder getPrioritiesBuilder(
        int index) {
      return getPrioritiesFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder getPrioritiesOrBuilder(
        int index) {
      if (prioritiesBuilder_ == null) {
        return priorities_.get(index);  } else {
        return prioritiesBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public java.util.List<? extends build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder> 
         getPrioritiesOrBuilderList() {
      if (prioritiesBuilder_ != null) {
        return prioritiesBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(priorities_);
      }
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder addPrioritiesBuilder() {
      return getPrioritiesFieldBuilder().addBuilder(
          build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.getDefaultInstance());
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder addPrioritiesBuilder(
        int index) {
      return getPrioritiesFieldBuilder().addBuilder(
          index, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.getDefaultInstance());
    }
    /**
     * <code>repeated .build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange priorities = 1;</code>
     */
    public java.util.List<build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder> 
         getPrioritiesBuilderList() {
      return getPrioritiesFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder> 
        getPrioritiesFieldBuilder() {
      if (prioritiesBuilder_ == null) {
        prioritiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRange.Builder, build.bazel.remote.execution.v2.PriorityCapabilities.PriorityRangeOrBuilder>(
                priorities_,
                ((bitField0_ & 0x00000001) == 0x00000001),
                getParentForChildren(),
                isClean());
        priorities_ = null;
      }
      return prioritiesBuilder_;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFieldsProto3(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:build.bazel.remote.execution.v2.PriorityCapabilities)
  }

  // @@protoc_insertion_point(class_scope:build.bazel.remote.execution.v2.PriorityCapabilities)
  private static final build.bazel.remote.execution.v2.PriorityCapabilities DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new build.bazel.remote.execution.v2.PriorityCapabilities();
  }

  public static build.bazel.remote.execution.v2.PriorityCapabilities getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  @java.lang.Override
  public build.bazel.remote.execution.v2.PriorityCapabilities getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

