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

package com.google.devtools.build.lib.actions.extra;

/**
 * <pre>
 * A list of extra actions and metadata for the print_action command.
 * </pre>
 *
 * Protobuf type {@code blaze.ExtraActionSummary}
 */
public  final class ExtraActionSummary extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:blaze.ExtraActionSummary)
    ExtraActionSummaryOrBuilder {
  // Use ExtraActionSummary.newBuilder() to construct.
  private ExtraActionSummary(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ExtraActionSummary() {
    action_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ExtraActionSummary(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!parseUnknownField(input, unknownFields,
                                   extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
          case 10: {
            if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
              action_ = new java.util.ArrayList<com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo>();
              mutable_bitField0_ |= 0x00000001;
            }
            action_.add(
                input.readMessage(com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.PARSER, extensionRegistry));
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
        action_ = java.util.Collections.unmodifiableList(action_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.google.devtools.build.lib.actions.extra.ExtraActionsBase.internal_static_blaze_ExtraActionSummary_descriptor;
  }

  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.devtools.build.lib.actions.extra.ExtraActionsBase.internal_static_blaze_ExtraActionSummary_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.devtools.build.lib.actions.extra.ExtraActionSummary.class, com.google.devtools.build.lib.actions.extra.ExtraActionSummary.Builder.class);
  }

  public static final int ACTION_FIELD_NUMBER = 1;
  private java.util.List<com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo> action_;
  /**
   * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
   */
  public java.util.List<com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo> getActionList() {
    return action_;
  }
  /**
   * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
   */
  public java.util.List<? extends com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfoOrBuilder> 
      getActionOrBuilderList() {
    return action_;
  }
  /**
   * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
   */
  public int getActionCount() {
    return action_.size();
  }
  /**
   * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
   */
  public com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo getAction(int index) {
    return action_.get(index);
  }
  /**
   * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
   */
  public com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfoOrBuilder getActionOrBuilder(
      int index) {
    return action_.get(index);
  }

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

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

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

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

    size = 0;
    for (int i = 0; i < action_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, action_.get(i));
    }
    size += unknownFields.getSerializedSize();
    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.actions.extra.ExtraActionSummary)) {
      return super.equals(obj);
    }
    com.google.devtools.build.lib.actions.extra.ExtraActionSummary other = (com.google.devtools.build.lib.actions.extra.ExtraActionSummary) obj;

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

  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary 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.actions.extra.ExtraActionSummary parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary 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.actions.extra.ExtraActionSummary parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary 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.actions.extra.ExtraActionSummary parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary 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.actions.extra.ExtraActionSummary 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.actions.extra.ExtraActionSummary 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.actions.extra.ExtraActionSummary 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>
   * A list of extra actions and metadata for the print_action command.
   * </pre>
   *
   * Protobuf type {@code blaze.ExtraActionSummary}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:blaze.ExtraActionSummary)
      com.google.devtools.build.lib.actions.extra.ExtraActionSummaryOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.devtools.build.lib.actions.extra.ExtraActionsBase.internal_static_blaze_ExtraActionSummary_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.devtools.build.lib.actions.extra.ExtraActionsBase.internal_static_blaze_ExtraActionSummary_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.devtools.build.lib.actions.extra.ExtraActionSummary.class, com.google.devtools.build.lib.actions.extra.ExtraActionSummary.Builder.class);
    }

    // Construct using com.google.devtools.build.lib.actions.extra.ExtraActionSummary.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

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

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.google.devtools.build.lib.actions.extra.ExtraActionsBase.internal_static_blaze_ExtraActionSummary_descriptor;
    }

    public com.google.devtools.build.lib.actions.extra.ExtraActionSummary getDefaultInstanceForType() {
      return com.google.devtools.build.lib.actions.extra.ExtraActionSummary.getDefaultInstance();
    }

    public com.google.devtools.build.lib.actions.extra.ExtraActionSummary build() {
      com.google.devtools.build.lib.actions.extra.ExtraActionSummary result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.google.devtools.build.lib.actions.extra.ExtraActionSummary buildPartial() {
      com.google.devtools.build.lib.actions.extra.ExtraActionSummary result = new com.google.devtools.build.lib.actions.extra.ExtraActionSummary(this);
      int from_bitField0_ = bitField0_;
      if (actionBuilder_ == null) {
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          action_ = java.util.Collections.unmodifiableList(action_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.action_ = action_;
      } else {
        result.action_ = actionBuilder_.build();
      }
      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.actions.extra.ExtraActionSummary) {
        return mergeFrom((com.google.devtools.build.lib.actions.extra.ExtraActionSummary)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.devtools.build.lib.actions.extra.ExtraActionSummary other) {
      if (other == com.google.devtools.build.lib.actions.extra.ExtraActionSummary.getDefaultInstance()) return this;
      if (actionBuilder_ == null) {
        if (!other.action_.isEmpty()) {
          if (action_.isEmpty()) {
            action_ = other.action_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureActionIsMutable();
            action_.addAll(other.action_);
          }
          onChanged();
        }
      } else {
        if (!other.action_.isEmpty()) {
          if (actionBuilder_.isEmpty()) {
            actionBuilder_.dispose();
            actionBuilder_ = null;
            action_ = other.action_;
            bitField0_ = (bitField0_ & ~0x00000001);
            actionBuilder_ = 
              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getActionFieldBuilder() : null;
          } else {
            actionBuilder_.addAllMessages(other.action_);
          }
        }
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      for (int i = 0; i < getActionCount(); i++) {
        if (!getAction(i).isInitialized()) {
          return false;
        }
      }
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.google.devtools.build.lib.actions.extra.ExtraActionSummary parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.devtools.build.lib.actions.extra.ExtraActionSummary) 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.actions.extra.DetailedExtraActionInfo> action_ =
      java.util.Collections.emptyList();
    private void ensureActionIsMutable() {
      if (!((bitField0_ & 0x00000001) == 0x00000001)) {
        action_ = new java.util.ArrayList<com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo>(action_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfoOrBuilder> actionBuilder_;

    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public java.util.List<com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo> getActionList() {
      if (actionBuilder_ == null) {
        return java.util.Collections.unmodifiableList(action_);
      } else {
        return actionBuilder_.getMessageList();
      }
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public int getActionCount() {
      if (actionBuilder_ == null) {
        return action_.size();
      } else {
        return actionBuilder_.getCount();
      }
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo getAction(int index) {
      if (actionBuilder_ == null) {
        return action_.get(index);
      } else {
        return actionBuilder_.getMessage(index);
      }
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder setAction(
        int index, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo value) {
      if (actionBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.set(index, value);
        onChanged();
      } else {
        actionBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder setAction(
        int index, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder builderForValue) {
      if (actionBuilder_ == null) {
        ensureActionIsMutable();
        action_.set(index, builderForValue.build());
        onChanged();
      } else {
        actionBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder addAction(com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo value) {
      if (actionBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.add(value);
        onChanged();
      } else {
        actionBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder addAction(
        int index, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo value) {
      if (actionBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.add(index, value);
        onChanged();
      } else {
        actionBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder addAction(
        com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder builderForValue) {
      if (actionBuilder_ == null) {
        ensureActionIsMutable();
        action_.add(builderForValue.build());
        onChanged();
      } else {
        actionBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder addAction(
        int index, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder builderForValue) {
      if (actionBuilder_ == null) {
        ensureActionIsMutable();
        action_.add(index, builderForValue.build());
        onChanged();
      } else {
        actionBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder addAllAction(
        java.lang.Iterable<? extends com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo> values) {
      if (actionBuilder_ == null) {
        ensureActionIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, action_);
        onChanged();
      } else {
        actionBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder clearAction() {
      if (actionBuilder_ == null) {
        action_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        actionBuilder_.clear();
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public Builder removeAction(int index) {
      if (actionBuilder_ == null) {
        ensureActionIsMutable();
        action_.remove(index);
        onChanged();
      } else {
        actionBuilder_.remove(index);
      }
      return this;
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder getActionBuilder(
        int index) {
      return getActionFieldBuilder().getBuilder(index);
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfoOrBuilder getActionOrBuilder(
        int index) {
      if (actionBuilder_ == null) {
        return action_.get(index);  } else {
        return actionBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public java.util.List<? extends com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfoOrBuilder> 
         getActionOrBuilderList() {
      if (actionBuilder_ != null) {
        return actionBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(action_);
      }
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder addActionBuilder() {
      return getActionFieldBuilder().addBuilder(
          com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder addActionBuilder(
        int index) {
      return getActionFieldBuilder().addBuilder(
          index, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.getDefaultInstance());
    }
    /**
     * <code>repeated .blaze.DetailedExtraActionInfo action = 1;</code>
     */
    public java.util.List<com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder> 
         getActionBuilderList() {
      return getActionFieldBuilder().getBuilderList();
    }
    private com.google.protobuf.RepeatedFieldBuilderV3<
        com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfoOrBuilder> 
        getActionFieldBuilder() {
      if (actionBuilder_ == null) {
        actionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfo.Builder, com.google.devtools.build.lib.actions.extra.DetailedExtraActionInfoOrBuilder>(
                action_,
                ((bitField0_ & 0x00000001) == 0x00000001),
                getParentForChildren(),
                isClean());
        action_ = null;
      }
      return actionBuilder_;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

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


    // @@protoc_insertion_point(builder_scope:blaze.ExtraActionSummary)
  }

  // @@protoc_insertion_point(class_scope:blaze.ExtraActionSummary)
  private static final com.google.devtools.build.lib.actions.extra.ExtraActionSummary DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.google.devtools.build.lib.actions.extra.ExtraActionSummary();
  }

  public static com.google.devtools.build.lib.actions.extra.ExtraActionSummary getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.google.devtools.build.lib.actions.extra.ExtraActionSummary getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

