// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/logging/v2/logging.proto

package com.google.logging.v2;

/**
 * <pre>
 * Result returned from `TailLogEntries`.
 * </pre>
 *
 * Protobuf type {@code google.logging.v2.TailLogEntriesResponse}
 */
public  final class TailLogEntriesResponse extends
    com.google.protobuf.GeneratedMessageLite<
        TailLogEntriesResponse, TailLogEntriesResponse.Builder> implements
    // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesResponse)
    TailLogEntriesResponseOrBuilder {
  private TailLogEntriesResponse() {
    entries_ = emptyProtobufList();
    suppressionInfo_ = emptyProtobufList();
  }
  public interface SuppressionInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.logging.v2.TailLogEntriesResponse.SuppressionInfo)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * <pre>
     * The reason that entries were omitted from the session.
     * </pre>
     *
     * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
     * @return The enum numeric value on the wire for reason.
     */
    int getReasonValue();
    /**
     * <pre>
     * The reason that entries were omitted from the session.
     * </pre>
     *
     * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
     * @return The reason.
     */
    com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason getReason();

    /**
     * <pre>
     * A lower bound on the count of entries omitted due to `reason`.
     * </pre>
     *
     * <code>int32 suppressed_count = 2;</code>
     * @return The suppressedCount.
     */
    int getSuppressedCount();
  }
  /**
   * <pre>
   * Information about entries that were omitted from the session.
   * </pre>
   *
   * Protobuf type {@code google.logging.v2.TailLogEntriesResponse.SuppressionInfo}
   */
  public  static final class SuppressionInfo extends
      com.google.protobuf.GeneratedMessageLite<
          SuppressionInfo, SuppressionInfo.Builder> implements
      // @@protoc_insertion_point(message_implements:google.logging.v2.TailLogEntriesResponse.SuppressionInfo)
      SuppressionInfoOrBuilder {
    private SuppressionInfo() {
    }
    /**
     * <pre>
     * An indicator of why entries were omitted.
     * </pre>
     *
     * Protobuf enum {@code google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason}
     */
    public enum Reason
        implements com.google.protobuf.Internal.EnumLite {
      /**
       * <pre>
       * Unexpected default.
       * </pre>
       *
       * <code>REASON_UNSPECIFIED = 0;</code>
       */
      REASON_UNSPECIFIED(0),
      /**
       * <pre>
       * Indicates suppression occurred due to relevant entries being
       * received in excess of rate limits. For quotas and limits, see
       * [Logging API quotas and
       * limits](https://cloud.google.com/logging/quotas#api-limits).
       * </pre>
       *
       * <code>RATE_LIMIT = 1;</code>
       */
      RATE_LIMIT(1),
      /**
       * <pre>
       * Indicates suppression occurred due to the client not consuming
       * responses quickly enough.
       * </pre>
       *
       * <code>NOT_CONSUMED = 2;</code>
       */
      NOT_CONSUMED(2),
      UNRECOGNIZED(-1),
      ;

      /**
       * <pre>
       * Unexpected default.
       * </pre>
       *
       * <code>REASON_UNSPECIFIED = 0;</code>
       */
      public static final int REASON_UNSPECIFIED_VALUE = 0;
      /**
       * <pre>
       * Indicates suppression occurred due to relevant entries being
       * received in excess of rate limits. For quotas and limits, see
       * [Logging API quotas and
       * limits](https://cloud.google.com/logging/quotas#api-limits).
       * </pre>
       *
       * <code>RATE_LIMIT = 1;</code>
       */
      public static final int RATE_LIMIT_VALUE = 1;
      /**
       * <pre>
       * Indicates suppression occurred due to the client not consuming
       * responses quickly enough.
       * </pre>
       *
       * <code>NOT_CONSUMED = 2;</code>
       */
      public static final int NOT_CONSUMED_VALUE = 2;


      @java.lang.Override
      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }

      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Reason valueOf(int value) {
        return forNumber(value);
      }

      public static Reason forNumber(int value) {
        switch (value) {
          case 0: return REASON_UNSPECIFIED;
          case 1: return RATE_LIMIT;
          case 2: return NOT_CONSUMED;
          default: return null;
        }
      }

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

      public static com.google.protobuf.Internal.EnumVerifier 
          internalGetVerifier() {
        return ReasonVerifier.INSTANCE;
      }

      private static final class ReasonVerifier implements 
           com.google.protobuf.Internal.EnumVerifier { 
              static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new ReasonVerifier();
              @java.lang.Override
              public boolean isInRange(int number) {
                return Reason.forNumber(number) != null;
              }
            };

      private final int value;

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

      // @@protoc_insertion_point(enum_scope:google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason)
    }

    public static final int REASON_FIELD_NUMBER = 1;
    private int reason_;
    /**
     * <pre>
     * The reason that entries were omitted from the session.
     * </pre>
     *
     * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
     * @return The enum numeric value on the wire for reason.
     */
    @java.lang.Override
    public int getReasonValue() {
      return reason_;
    }
    /**
     * <pre>
     * The reason that entries were omitted from the session.
     * </pre>
     *
     * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
     * @return The reason.
     */
    @java.lang.Override
    public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason getReason() {
      com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason result = com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason.forNumber(reason_);
      return result == null ? com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason.UNRECOGNIZED : result;
    }
    /**
     * <pre>
     * The reason that entries were omitted from the session.
     * </pre>
     *
     * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
     * @param value The enum numeric value on the wire for reason to set.
     */
    private void setReasonValue(int value) {
        reason_ = value;
    }
    /**
     * <pre>
     * The reason that entries were omitted from the session.
     * </pre>
     *
     * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
     * @param value The reason to set.
     */
    private void setReason(com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason value) {
      reason_ = value.getNumber();
      
    }
    /**
     * <pre>
     * The reason that entries were omitted from the session.
     * </pre>
     *
     * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
     */
    private void clearReason() {
      
      reason_ = 0;
    }

    public static final int SUPPRESSED_COUNT_FIELD_NUMBER = 2;
    private int suppressedCount_;
    /**
     * <pre>
     * A lower bound on the count of entries omitted due to `reason`.
     * </pre>
     *
     * <code>int32 suppressed_count = 2;</code>
     * @return The suppressedCount.
     */
    @java.lang.Override
    public int getSuppressedCount() {
      return suppressedCount_;
    }
    /**
     * <pre>
     * A lower bound on the count of entries omitted due to `reason`.
     * </pre>
     *
     * <code>int32 suppressed_count = 2;</code>
     * @param value The suppressedCount to set.
     */
    private void setSuppressedCount(int value) {
      
      suppressedCount_ = value;
    }
    /**
     * <pre>
     * A lower bound on the count of entries omitted due to `reason`.
     * </pre>
     *
     * <code>int32 suppressed_count = 2;</code>
     */
    private void clearSuppressedCount() {
      
      suppressedCount_ = 0;
    }

    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }

    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo prototype) {
      return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
    }

    /**
     * <pre>
     * Information about entries that were omitted from the session.
     * </pre>
     *
     * Protobuf type {@code google.logging.v2.TailLogEntriesResponse.SuppressionInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo, Builder> implements
        // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesResponse.SuppressionInfo)
        com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder {
      // Construct using com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }


      /**
       * <pre>
       * The reason that entries were omitted from the session.
       * </pre>
       *
       * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
       * @return The enum numeric value on the wire for reason.
       */
      @java.lang.Override
      public int getReasonValue() {
        return instance.getReasonValue();
      }
      /**
       * <pre>
       * The reason that entries were omitted from the session.
       * </pre>
       *
       * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
       * @param value The reason to set.
       * @return This builder for chaining.
       */
      public Builder setReasonValue(int value) {
        copyOnWrite();
        instance.setReasonValue(value);
        return this;
      }
      /**
       * <pre>
       * The reason that entries were omitted from the session.
       * </pre>
       *
       * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
       * @return The reason.
       */
      @java.lang.Override
      public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason getReason() {
        return instance.getReason();
      }
      /**
       * <pre>
       * The reason that entries were omitted from the session.
       * </pre>
       *
       * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
       * @param value The enum numeric value on the wire for reason to set.
       * @return This builder for chaining.
       */
      public Builder setReason(com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason value) {
        copyOnWrite();
        instance.setReason(value);
        return this;
      }
      /**
       * <pre>
       * The reason that entries were omitted from the session.
       * </pre>
       *
       * <code>.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearReason() {
        copyOnWrite();
        instance.clearReason();
        return this;
      }

      /**
       * <pre>
       * A lower bound on the count of entries omitted due to `reason`.
       * </pre>
       *
       * <code>int32 suppressed_count = 2;</code>
       * @return The suppressedCount.
       */
      @java.lang.Override
      public int getSuppressedCount() {
        return instance.getSuppressedCount();
      }
      /**
       * <pre>
       * A lower bound on the count of entries omitted due to `reason`.
       * </pre>
       *
       * <code>int32 suppressed_count = 2;</code>
       * @param value The suppressedCount to set.
       * @return This builder for chaining.
       */
      public Builder setSuppressedCount(int value) {
        copyOnWrite();
        instance.setSuppressedCount(value);
        return this;
      }
      /**
       * <pre>
       * A lower bound on the count of entries omitted due to `reason`.
       * </pre>
       *
       * <code>int32 suppressed_count = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearSuppressedCount() {
        copyOnWrite();
        instance.clearSuppressedCount();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesResponse.SuppressionInfo)
    }
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "reason_",
              "suppressedCount_",
            };
            java.lang.String info =
                "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\f\u0002\u0004" +
                "";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo> parser = PARSER;
          if (parser == null) {
            synchronized (com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return (byte) 1;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }


    // @@protoc_insertion_point(class_scope:google.logging.v2.TailLogEntriesResponse.SuppressionInfo)
    private static final com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo DEFAULT_INSTANCE;
    static {
      SuppressionInfo defaultInstance = new SuppressionInfo();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        SuppressionInfo.class, defaultInstance);
    }

    public static com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static volatile com.google.protobuf.Parser<SuppressionInfo> PARSER;

    public static com.google.protobuf.Parser<SuppressionInfo> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }

  public static final int ENTRIES_FIELD_NUMBER = 1;
  private com.google.protobuf.Internal.ProtobufList<com.google.logging.v2.LogEntry> entries_;
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  @java.lang.Override
  public java.util.List<com.google.logging.v2.LogEntry> getEntriesList() {
    return entries_;
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  public java.util.List<? extends com.google.logging.v2.LogEntryOrBuilder> 
      getEntriesOrBuilderList() {
    return entries_;
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  @java.lang.Override
  public int getEntriesCount() {
    return entries_.size();
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  @java.lang.Override
  public com.google.logging.v2.LogEntry getEntries(int index) {
    return entries_.get(index);
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(
      int index) {
    return entries_.get(index);
  }
  private void ensureEntriesIsMutable() {
    com.google.protobuf.Internal.ProtobufList<com.google.logging.v2.LogEntry> tmp = entries_;
    if (!tmp.isModifiable()) {
      entries_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  private void setEntries(
      int index, com.google.logging.v2.LogEntry value) {
    value.getClass();
  ensureEntriesIsMutable();
    entries_.set(index, value);
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  private void addEntries(com.google.logging.v2.LogEntry value) {
    value.getClass();
  ensureEntriesIsMutable();
    entries_.add(value);
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  private void addEntries(
      int index, com.google.logging.v2.LogEntry value) {
    value.getClass();
  ensureEntriesIsMutable();
    entries_.add(index, value);
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  private void addAllEntries(
      java.lang.Iterable<? extends com.google.logging.v2.LogEntry> values) {
    ensureEntriesIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, entries_);
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  private void clearEntries() {
    entries_ = emptyProtobufList();
  }
  /**
   * <pre>
   * A list of log entries. Each response in the stream will order entries with
   * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
   * between separate responses.
   * </pre>
   *
   * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
   */
  private void removeEntries(int index) {
    ensureEntriesIsMutable();
    entries_.remove(index);
  }

  public static final int SUPPRESSION_INFO_FIELD_NUMBER = 2;
  private com.google.protobuf.Internal.ProtobufList<com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo> suppressionInfo_;
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  @java.lang.Override
  public java.util.List<com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo> getSuppressionInfoList() {
    return suppressionInfo_;
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  public java.util.List<? extends com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder> 
      getSuppressionInfoOrBuilderList() {
    return suppressionInfo_;
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  @java.lang.Override
  public int getSuppressionInfoCount() {
    return suppressionInfo_.size();
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  @java.lang.Override
  public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo getSuppressionInfo(int index) {
    return suppressionInfo_.get(index);
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder getSuppressionInfoOrBuilder(
      int index) {
    return suppressionInfo_.get(index);
  }
  private void ensureSuppressionInfoIsMutable() {
    com.google.protobuf.Internal.ProtobufList<com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo> tmp = suppressionInfo_;
    if (!tmp.isModifiable()) {
      suppressionInfo_ =
          com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
     }
  }

  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  private void setSuppressionInfo(
      int index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo value) {
    value.getClass();
  ensureSuppressionInfoIsMutable();
    suppressionInfo_.set(index, value);
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  private void addSuppressionInfo(com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo value) {
    value.getClass();
  ensureSuppressionInfoIsMutable();
    suppressionInfo_.add(value);
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  private void addSuppressionInfo(
      int index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo value) {
    value.getClass();
  ensureSuppressionInfoIsMutable();
    suppressionInfo_.add(index, value);
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  private void addAllSuppressionInfo(
      java.lang.Iterable<? extends com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo> values) {
    ensureSuppressionInfoIsMutable();
    com.google.protobuf.AbstractMessageLite.addAll(
        values, suppressionInfo_);
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  private void clearSuppressionInfo() {
    suppressionInfo_ = emptyProtobufList();
  }
  /**
   * <pre>
   * If entries that otherwise would have been included in the session were not
   * sent back to the client, counts of relevant entries omitted from the
   * session with the reason that they were not included. There will be at most
   * one of each reason per response. The counts represent the number of
   * suppressed entries since the last streamed response.
   * </pre>
   *
   * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
   */
  private void removeSuppressionInfo(int index) {
    ensureSuppressionInfoIsMutable();
    suppressionInfo_.remove(index);
  }

  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static com.google.logging.v2.TailLogEntriesResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static Builder newBuilder() {
    return (Builder) DEFAULT_INSTANCE.createBuilder();
  }
  public static Builder newBuilder(com.google.logging.v2.TailLogEntriesResponse prototype) {
    return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * <pre>
   * Result returned from `TailLogEntries`.
   * </pre>
   *
   * Protobuf type {@code google.logging.v2.TailLogEntriesResponse}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        com.google.logging.v2.TailLogEntriesResponse, Builder> implements
      // @@protoc_insertion_point(builder_implements:google.logging.v2.TailLogEntriesResponse)
      com.google.logging.v2.TailLogEntriesResponseOrBuilder {
    // Construct using com.google.logging.v2.TailLogEntriesResponse.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    @java.lang.Override
    public java.util.List<com.google.logging.v2.LogEntry> getEntriesList() {
      return java.util.Collections.unmodifiableList(
          instance.getEntriesList());
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    @java.lang.Override
    public int getEntriesCount() {
      return instance.getEntriesCount();
    }/**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    @java.lang.Override
    public com.google.logging.v2.LogEntry getEntries(int index) {
      return instance.getEntries(index);
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder setEntries(
        int index, com.google.logging.v2.LogEntry value) {
      copyOnWrite();
      instance.setEntries(index, value);
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder setEntries(
        int index, com.google.logging.v2.LogEntry.Builder builderForValue) {
      copyOnWrite();
      instance.setEntries(index,
          builderForValue.build());
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder addEntries(com.google.logging.v2.LogEntry value) {
      copyOnWrite();
      instance.addEntries(value);
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder addEntries(
        int index, com.google.logging.v2.LogEntry value) {
      copyOnWrite();
      instance.addEntries(index, value);
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder addEntries(
        com.google.logging.v2.LogEntry.Builder builderForValue) {
      copyOnWrite();
      instance.addEntries(builderForValue.build());
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder addEntries(
        int index, com.google.logging.v2.LogEntry.Builder builderForValue) {
      copyOnWrite();
      instance.addEntries(index,
          builderForValue.build());
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder addAllEntries(
        java.lang.Iterable<? extends com.google.logging.v2.LogEntry> values) {
      copyOnWrite();
      instance.addAllEntries(values);
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder clearEntries() {
      copyOnWrite();
      instance.clearEntries();
      return this;
    }
    /**
     * <pre>
     * A list of log entries. Each response in the stream will order entries with
     * increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
     * between separate responses.
     * </pre>
     *
     * <code>repeated .google.logging.v2.LogEntry entries = 1;</code>
     */
    public Builder removeEntries(int index) {
      copyOnWrite();
      instance.removeEntries(index);
      return this;
    }

    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    @java.lang.Override
    public java.util.List<com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo> getSuppressionInfoList() {
      return java.util.Collections.unmodifiableList(
          instance.getSuppressionInfoList());
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    @java.lang.Override
    public int getSuppressionInfoCount() {
      return instance.getSuppressionInfoCount();
    }/**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    @java.lang.Override
    public com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo getSuppressionInfo(int index) {
      return instance.getSuppressionInfo(index);
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder setSuppressionInfo(
        int index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo value) {
      copyOnWrite();
      instance.setSuppressionInfo(index, value);
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder setSuppressionInfo(
        int index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder builderForValue) {
      copyOnWrite();
      instance.setSuppressionInfo(index,
          builderForValue.build());
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder addSuppressionInfo(com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo value) {
      copyOnWrite();
      instance.addSuppressionInfo(value);
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder addSuppressionInfo(
        int index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo value) {
      copyOnWrite();
      instance.addSuppressionInfo(index, value);
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder addSuppressionInfo(
        com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder builderForValue) {
      copyOnWrite();
      instance.addSuppressionInfo(builderForValue.build());
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder addSuppressionInfo(
        int index, com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Builder builderForValue) {
      copyOnWrite();
      instance.addSuppressionInfo(index,
          builderForValue.build());
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder addAllSuppressionInfo(
        java.lang.Iterable<? extends com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo> values) {
      copyOnWrite();
      instance.addAllSuppressionInfo(values);
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder clearSuppressionInfo() {
      copyOnWrite();
      instance.clearSuppressionInfo();
      return this;
    }
    /**
     * <pre>
     * If entries that otherwise would have been included in the session were not
     * sent back to the client, counts of relevant entries omitted from the
     * session with the reason that they were not included. There will be at most
     * one of each reason per response. The counts represent the number of
     * suppressed entries since the last streamed response.
     * </pre>
     *
     * <code>repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;</code>
     */
    public Builder removeSuppressionInfo(int index) {
      copyOnWrite();
      instance.removeSuppressionInfo(index);
      return this;
    }

    // @@protoc_insertion_point(builder_scope:google.logging.v2.TailLogEntriesResponse)
  }
  @java.lang.Override
  @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
  protected final java.lang.Object dynamicMethod(
      com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
      java.lang.Object arg0, java.lang.Object arg1) {
    switch (method) {
      case NEW_MUTABLE_INSTANCE: {
        return new com.google.logging.v2.TailLogEntriesResponse();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "entries_",
            com.google.logging.v2.LogEntry.class,
            "suppressionInfo_",
            com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.class,
          };
          java.lang.String info =
              "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0002\u0000\u0001\u001b\u0002\u001b" +
              "";
          return newMessageInfo(DEFAULT_INSTANCE, info, objects);
      }
      // fall through
      case GET_DEFAULT_INSTANCE: {
        return DEFAULT_INSTANCE;
      }
      case GET_PARSER: {
        com.google.protobuf.Parser<com.google.logging.v2.TailLogEntriesResponse> parser = PARSER;
        if (parser == null) {
          synchronized (com.google.logging.v2.TailLogEntriesResponse.class) {
            parser = PARSER;
            if (parser == null) {
              parser =
                  new DefaultInstanceBasedParser<com.google.logging.v2.TailLogEntriesResponse>(
                      DEFAULT_INSTANCE);
              PARSER = parser;
            }
          }
        }
        return parser;
    }
    case GET_MEMOIZED_IS_INITIALIZED: {
      return (byte) 1;
    }
    case SET_MEMOIZED_IS_INITIALIZED: {
      return null;
    }
    }
    throw new UnsupportedOperationException();
  }


  // @@protoc_insertion_point(class_scope:google.logging.v2.TailLogEntriesResponse)
  private static final com.google.logging.v2.TailLogEntriesResponse DEFAULT_INSTANCE;
  static {
    TailLogEntriesResponse defaultInstance = new TailLogEntriesResponse();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      TailLogEntriesResponse.class, defaultInstance);
  }

  public static com.google.logging.v2.TailLogEntriesResponse getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static volatile com.google.protobuf.Parser<TailLogEntriesResponse> PARSER;

  public static com.google.protobuf.Parser<TailLogEntriesResponse> parser() {
    return DEFAULT_INSTANCE.getParserForType();
  }
}

