/*
 * Copyright 2026 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: schema/google/showcase/v1beta1/sequence.proto
// Protobuf Java Version: 4.33.2

package com.google.showcase.v1beta1;

/** Protobuf type {@code google.showcase.v1beta1.SequenceReport} */
@com.google.protobuf.Generated
public final class SequenceReport extends com.google.protobuf.GeneratedMessage
    implements
    // @@protoc_insertion_point(message_implements:google.showcase.v1beta1.SequenceReport)
    SequenceReportOrBuilder {
  private static final long serialVersionUID = 0L;

  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 33,
        /* patch= */ 2,
        /* suffix= */ "",
        "SequenceReport");
  }

  // Use SequenceReport.newBuilder() to construct.
  private SequenceReport(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
    super(builder);
  }

  private SequenceReport() {
    name_ = "";
    attempts_ = java.util.Collections.emptyList();
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.showcase.v1beta1.SequenceOuterClass
        .internal_static_google_showcase_v1beta1_SequenceReport_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.showcase.v1beta1.SequenceOuterClass
        .internal_static_google_showcase_v1beta1_SequenceReport_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.showcase.v1beta1.SequenceReport.class,
            com.google.showcase.v1beta1.SequenceReport.Builder.class);
  }

  public interface AttemptOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:google.showcase.v1beta1.SequenceReport.Attempt)
      com.google.protobuf.MessageOrBuilder {

    /**
     *
     *
     * <pre>
     * The attempt number - starting at 0.
     * </pre>
     *
     * <code>int32 attempt_number = 1;</code>
     *
     * @return The attemptNumber.
     */
    int getAttemptNumber();

    /**
     *
     *
     * <pre>
     * The deadline dictated by the attempt to the server.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
     *
     * @return Whether the attemptDeadline field is set.
     */
    boolean hasAttemptDeadline();

    /**
     *
     *
     * <pre>
     * The deadline dictated by the attempt to the server.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
     *
     * @return The attemptDeadline.
     */
    com.google.protobuf.Timestamp getAttemptDeadline();

    /**
     *
     *
     * <pre>
     * The deadline dictated by the attempt to the server.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
     */
    com.google.protobuf.TimestampOrBuilder getAttemptDeadlineOrBuilder();

    /**
     *
     *
     * <pre>
     * The time that the server responded to the RPC attempt. Used for
     * calculating attempt_delay.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp response_time = 3;</code>
     *
     * @return Whether the responseTime field is set.
     */
    boolean hasResponseTime();

    /**
     *
     *
     * <pre>
     * The time that the server responded to the RPC attempt. Used for
     * calculating attempt_delay.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp response_time = 3;</code>
     *
     * @return The responseTime.
     */
    com.google.protobuf.Timestamp getResponseTime();

    /**
     *
     *
     * <pre>
     * The time that the server responded to the RPC attempt. Used for
     * calculating attempt_delay.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp response_time = 3;</code>
     */
    com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder();

    /**
     *
     *
     * <pre>
     * The server perceived delay between sending the last response and
     * receiving this attempt. Used for validating attempt delay backoff.
     * </pre>
     *
     * <code>.google.protobuf.Duration attempt_delay = 4;</code>
     *
     * @return Whether the attemptDelay field is set.
     */
    boolean hasAttemptDelay();

    /**
     *
     *
     * <pre>
     * The server perceived delay between sending the last response and
     * receiving this attempt. Used for validating attempt delay backoff.
     * </pre>
     *
     * <code>.google.protobuf.Duration attempt_delay = 4;</code>
     *
     * @return The attemptDelay.
     */
    com.google.protobuf.Duration getAttemptDelay();

    /**
     *
     *
     * <pre>
     * The server perceived delay between sending the last response and
     * receiving this attempt. Used for validating attempt delay backoff.
     * </pre>
     *
     * <code>.google.protobuf.Duration attempt_delay = 4;</code>
     */
    com.google.protobuf.DurationOrBuilder getAttemptDelayOrBuilder();

    /**
     *
     *
     * <pre>
     * The status returned to the attempt.
     * </pre>
     *
     * <code>.google.rpc.Status status = 5;</code>
     *
     * @return Whether the status field is set.
     */
    boolean hasStatus();

    /**
     *
     *
     * <pre>
     * The status returned to the attempt.
     * </pre>
     *
     * <code>.google.rpc.Status status = 5;</code>
     *
     * @return The status.
     */
    com.google.rpc.Status getStatus();

    /**
     *
     *
     * <pre>
     * The status returned to the attempt.
     * </pre>
     *
     * <code>.google.rpc.Status status = 5;</code>
     */
    com.google.rpc.StatusOrBuilder getStatusOrBuilder();
  }

  /**
   *
   *
   * <pre>
   * Contains metrics on individual RPC Attempts in a sequence.
   * </pre>
   *
   * Protobuf type {@code google.showcase.v1beta1.SequenceReport.Attempt}
   */
  public static final class Attempt extends com.google.protobuf.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:google.showcase.v1beta1.SequenceReport.Attempt)
      AttemptOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
          com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 2,
          /* suffix= */ "",
          "Attempt");
    }

    // Use Attempt.newBuilder() to construct.
    private Attempt(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private Attempt() {}

    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.showcase.v1beta1.SequenceOuterClass
          .internal_static_google_showcase_v1beta1_SequenceReport_Attempt_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.showcase.v1beta1.SequenceOuterClass
          .internal_static_google_showcase_v1beta1_SequenceReport_Attempt_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.showcase.v1beta1.SequenceReport.Attempt.class,
              com.google.showcase.v1beta1.SequenceReport.Attempt.Builder.class);
    }

    private int bitField0_;
    public static final int ATTEMPT_NUMBER_FIELD_NUMBER = 1;
    private int attemptNumber_ = 0;

    /**
     *
     *
     * <pre>
     * The attempt number - starting at 0.
     * </pre>
     *
     * <code>int32 attempt_number = 1;</code>
     *
     * @return The attemptNumber.
     */
    @java.lang.Override
    public int getAttemptNumber() {
      return attemptNumber_;
    }

    public static final int ATTEMPT_DEADLINE_FIELD_NUMBER = 2;
    private com.google.protobuf.Timestamp attemptDeadline_;

    /**
     *
     *
     * <pre>
     * The deadline dictated by the attempt to the server.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
     *
     * @return Whether the attemptDeadline field is set.
     */
    @java.lang.Override
    public boolean hasAttemptDeadline() {
      return ((bitField0_ & 0x00000001) != 0);
    }

    /**
     *
     *
     * <pre>
     * The deadline dictated by the attempt to the server.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
     *
     * @return The attemptDeadline.
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getAttemptDeadline() {
      return attemptDeadline_ == null
          ? com.google.protobuf.Timestamp.getDefaultInstance()
          : attemptDeadline_;
    }

    /**
     *
     *
     * <pre>
     * The deadline dictated by the attempt to the server.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
     */
    @java.lang.Override
    public com.google.protobuf.TimestampOrBuilder getAttemptDeadlineOrBuilder() {
      return attemptDeadline_ == null
          ? com.google.protobuf.Timestamp.getDefaultInstance()
          : attemptDeadline_;
    }

    public static final int RESPONSE_TIME_FIELD_NUMBER = 3;
    private com.google.protobuf.Timestamp responseTime_;

    /**
     *
     *
     * <pre>
     * The time that the server responded to the RPC attempt. Used for
     * calculating attempt_delay.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp response_time = 3;</code>
     *
     * @return Whether the responseTime field is set.
     */
    @java.lang.Override
    public boolean hasResponseTime() {
      return ((bitField0_ & 0x00000002) != 0);
    }

    /**
     *
     *
     * <pre>
     * The time that the server responded to the RPC attempt. Used for
     * calculating attempt_delay.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp response_time = 3;</code>
     *
     * @return The responseTime.
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getResponseTime() {
      return responseTime_ == null
          ? com.google.protobuf.Timestamp.getDefaultInstance()
          : responseTime_;
    }

    /**
     *
     *
     * <pre>
     * The time that the server responded to the RPC attempt. Used for
     * calculating attempt_delay.
     * </pre>
     *
     * <code>.google.protobuf.Timestamp response_time = 3;</code>
     */
    @java.lang.Override
    public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
      return responseTime_ == null
          ? com.google.protobuf.Timestamp.getDefaultInstance()
          : responseTime_;
    }

    public static final int ATTEMPT_DELAY_FIELD_NUMBER = 4;
    private com.google.protobuf.Duration attemptDelay_;

    /**
     *
     *
     * <pre>
     * The server perceived delay between sending the last response and
     * receiving this attempt. Used for validating attempt delay backoff.
     * </pre>
     *
     * <code>.google.protobuf.Duration attempt_delay = 4;</code>
     *
     * @return Whether the attemptDelay field is set.
     */
    @java.lang.Override
    public boolean hasAttemptDelay() {
      return ((bitField0_ & 0x00000004) != 0);
    }

    /**
     *
     *
     * <pre>
     * The server perceived delay between sending the last response and
     * receiving this attempt. Used for validating attempt delay backoff.
     * </pre>
     *
     * <code>.google.protobuf.Duration attempt_delay = 4;</code>
     *
     * @return The attemptDelay.
     */
    @java.lang.Override
    public com.google.protobuf.Duration getAttemptDelay() {
      return attemptDelay_ == null
          ? com.google.protobuf.Duration.getDefaultInstance()
          : attemptDelay_;
    }

    /**
     *
     *
     * <pre>
     * The server perceived delay between sending the last response and
     * receiving this attempt. Used for validating attempt delay backoff.
     * </pre>
     *
     * <code>.google.protobuf.Duration attempt_delay = 4;</code>
     */
    @java.lang.Override
    public com.google.protobuf.DurationOrBuilder getAttemptDelayOrBuilder() {
      return attemptDelay_ == null
          ? com.google.protobuf.Duration.getDefaultInstance()
          : attemptDelay_;
    }

    public static final int STATUS_FIELD_NUMBER = 5;
    private com.google.rpc.Status status_;

    /**
     *
     *
     * <pre>
     * The status returned to the attempt.
     * </pre>
     *
     * <code>.google.rpc.Status status = 5;</code>
     *
     * @return Whether the status field is set.
     */
    @java.lang.Override
    public boolean hasStatus() {
      return ((bitField0_ & 0x00000008) != 0);
    }

    /**
     *
     *
     * <pre>
     * The status returned to the attempt.
     * </pre>
     *
     * <code>.google.rpc.Status status = 5;</code>
     *
     * @return The status.
     */
    @java.lang.Override
    public com.google.rpc.Status getStatus() {
      return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
    }

    /**
     *
     *
     * <pre>
     * The status returned to the attempt.
     * </pre>
     *
     * <code>.google.rpc.Status status = 5;</code>
     */
    @java.lang.Override
    public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
    }

    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 (attemptNumber_ != 0) {
        output.writeInt32(1, attemptNumber_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(2, getAttemptDeadline());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(3, getResponseTime());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(4, getAttemptDelay());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeMessage(5, getStatus());
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (attemptNumber_ != 0) {
        size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, attemptNumber_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAttemptDeadline());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getResponseTime());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAttemptDelay());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getStatus());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj instanceof com.google.showcase.v1beta1.SequenceReport.Attempt)) {
        return super.equals(obj);
      }
      com.google.showcase.v1beta1.SequenceReport.Attempt other =
          (com.google.showcase.v1beta1.SequenceReport.Attempt) obj;

      if (getAttemptNumber() != other.getAttemptNumber()) return false;
      if (hasAttemptDeadline() != other.hasAttemptDeadline()) return false;
      if (hasAttemptDeadline()) {
        if (!getAttemptDeadline().equals(other.getAttemptDeadline())) return false;
      }
      if (hasResponseTime() != other.hasResponseTime()) return false;
      if (hasResponseTime()) {
        if (!getResponseTime().equals(other.getResponseTime())) return false;
      }
      if (hasAttemptDelay() != other.hasAttemptDelay()) return false;
      if (hasAttemptDelay()) {
        if (!getAttemptDelay().equals(other.getAttemptDelay())) return false;
      }
      if (hasStatus() != other.hasStatus()) return false;
      if (hasStatus()) {
        if (!getStatus().equals(other.getStatus())) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + ATTEMPT_NUMBER_FIELD_NUMBER;
      hash = (53 * hash) + getAttemptNumber();
      if (hasAttemptDeadline()) {
        hash = (37 * hash) + ATTEMPT_DEADLINE_FIELD_NUMBER;
        hash = (53 * hash) + getAttemptDeadline().hashCode();
      }
      if (hasResponseTime()) {
        hash = (37 * hash) + RESPONSE_TIME_FIELD_NUMBER;
        hash = (53 * hash) + getResponseTime().hashCode();
      }
      if (hasAttemptDelay()) {
        hash = (37 * hash) + ATTEMPT_DELAY_FIELD_NUMBER;
        hash = (53 * hash) + getAttemptDelay().hashCode();
      }
      if (hasStatus()) {
        hash = (37 * hash) + STATUS_FIELD_NUMBER;
        hash = (53 * hash) + getStatus().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt 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.showcase.v1beta1.SequenceReport.Attempt parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseDelimitedFrom(
        java.io.InputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseDelimitedFrom(
        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() {
      return newBuilder();
    }

    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }

    public static Builder newBuilder(com.google.showcase.v1beta1.SequenceReport.Attempt 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.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }

    /**
     *
     *
     * <pre>
     * Contains metrics on individual RPC Attempts in a sequence.
     * </pre>
     *
     * Protobuf type {@code google.showcase.v1beta1.SequenceReport.Attempt}
     */
    public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:google.showcase.v1beta1.SequenceReport.Attempt)
        com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        return com.google.showcase.v1beta1.SequenceOuterClass
            .internal_static_google_showcase_v1beta1_SequenceReport_Attempt_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.showcase.v1beta1.SequenceOuterClass
            .internal_static_google_showcase_v1beta1_SequenceReport_Attempt_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.showcase.v1beta1.SequenceReport.Attempt.class,
                com.google.showcase.v1beta1.SequenceReport.Attempt.Builder.class);
      }

      // Construct using com.google.showcase.v1beta1.SequenceReport.Attempt.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          internalGetAttemptDeadlineFieldBuilder();
          internalGetResponseTimeFieldBuilder();
          internalGetAttemptDelayFieldBuilder();
          internalGetStatusFieldBuilder();
        }
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        attemptNumber_ = 0;
        attemptDeadline_ = null;
        if (attemptDeadlineBuilder_ != null) {
          attemptDeadlineBuilder_.dispose();
          attemptDeadlineBuilder_ = null;
        }
        responseTime_ = null;
        if (responseTimeBuilder_ != null) {
          responseTimeBuilder_.dispose();
          responseTimeBuilder_ = null;
        }
        attemptDelay_ = null;
        if (attemptDelayBuilder_ != null) {
          attemptDelayBuilder_.dispose();
          attemptDelayBuilder_ = null;
        }
        status_ = null;
        if (statusBuilder_ != null) {
          statusBuilder_.dispose();
          statusBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
        return com.google.showcase.v1beta1.SequenceOuterClass
            .internal_static_google_showcase_v1beta1_SequenceReport_Attempt_descriptor;
      }

      @java.lang.Override
      public com.google.showcase.v1beta1.SequenceReport.Attempt getDefaultInstanceForType() {
        return com.google.showcase.v1beta1.SequenceReport.Attempt.getDefaultInstance();
      }

      @java.lang.Override
      public com.google.showcase.v1beta1.SequenceReport.Attempt build() {
        com.google.showcase.v1beta1.SequenceReport.Attempt result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.google.showcase.v1beta1.SequenceReport.Attempt buildPartial() {
        com.google.showcase.v1beta1.SequenceReport.Attempt result =
            new com.google.showcase.v1beta1.SequenceReport.Attempt(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(com.google.showcase.v1beta1.SequenceReport.Attempt result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.attemptNumber_ = attemptNumber_;
        }
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.attemptDeadline_ =
              attemptDeadlineBuilder_ == null ? attemptDeadline_ : attemptDeadlineBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.responseTime_ =
              responseTimeBuilder_ == null ? responseTime_ : responseTimeBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.attemptDelay_ =
              attemptDelayBuilder_ == null ? attemptDelay_ : attemptDelayBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
          to_bitField0_ |= 0x00000008;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.showcase.v1beta1.SequenceReport.Attempt) {
          return mergeFrom((com.google.showcase.v1beta1.SequenceReport.Attempt) other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.showcase.v1beta1.SequenceReport.Attempt other) {
        if (other == com.google.showcase.v1beta1.SequenceReport.Attempt.getDefaultInstance())
          return this;
        if (other.getAttemptNumber() != 0) {
          setAttemptNumber(other.getAttemptNumber());
        }
        if (other.hasAttemptDeadline()) {
          mergeAttemptDeadline(other.getAttemptDeadline());
        }
        if (other.hasResponseTime()) {
          mergeResponseTime(other.getResponseTime());
        }
        if (other.hasAttemptDelay()) {
          mergeAttemptDelay(other.getAttemptDelay());
        }
        if (other.hasStatus()) {
          mergeStatus(other.getStatus());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        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 {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 8:
                {
                  attemptNumber_ = input.readInt32();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 8
              case 18:
                {
                  input.readMessage(
                      internalGetAttemptDeadlineFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
              case 26:
                {
                  input.readMessage(
                      internalGetResponseTimeFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000004;
                  break;
                } // case 26
              case 34:
                {
                  input.readMessage(
                      internalGetAttemptDelayFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000008;
                  break;
                } // case 34
              case 42:
                {
                  input.readMessage(
                      internalGetStatusFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000010;
                  break;
                } // case 42
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private int attemptNumber_;

      /**
       *
       *
       * <pre>
       * The attempt number - starting at 0.
       * </pre>
       *
       * <code>int32 attempt_number = 1;</code>
       *
       * @return The attemptNumber.
       */
      @java.lang.Override
      public int getAttemptNumber() {
        return attemptNumber_;
      }

      /**
       *
       *
       * <pre>
       * The attempt number - starting at 0.
       * </pre>
       *
       * <code>int32 attempt_number = 1;</code>
       *
       * @param value The attemptNumber to set.
       * @return This builder for chaining.
       */
      public Builder setAttemptNumber(int value) {

        attemptNumber_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The attempt number - starting at 0.
       * </pre>
       *
       * <code>int32 attempt_number = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearAttemptNumber() {
        bitField0_ = (bitField0_ & ~0x00000001);
        attemptNumber_ = 0;
        onChanged();
        return this;
      }

      private com.google.protobuf.Timestamp attemptDeadline_;
      private com.google.protobuf.SingleFieldBuilder<
              com.google.protobuf.Timestamp,
              com.google.protobuf.Timestamp.Builder,
              com.google.protobuf.TimestampOrBuilder>
          attemptDeadlineBuilder_;

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       *
       * @return Whether the attemptDeadline field is set.
       */
      public boolean hasAttemptDeadline() {
        return ((bitField0_ & 0x00000002) != 0);
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       *
       * @return The attemptDeadline.
       */
      public com.google.protobuf.Timestamp getAttemptDeadline() {
        if (attemptDeadlineBuilder_ == null) {
          return attemptDeadline_ == null
              ? com.google.protobuf.Timestamp.getDefaultInstance()
              : attemptDeadline_;
        } else {
          return attemptDeadlineBuilder_.getMessage();
        }
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       */
      public Builder setAttemptDeadline(com.google.protobuf.Timestamp value) {
        if (attemptDeadlineBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          attemptDeadline_ = value;
        } else {
          attemptDeadlineBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       */
      public Builder setAttemptDeadline(com.google.protobuf.Timestamp.Builder builderForValue) {
        if (attemptDeadlineBuilder_ == null) {
          attemptDeadline_ = builderForValue.build();
        } else {
          attemptDeadlineBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       */
      public Builder mergeAttemptDeadline(com.google.protobuf.Timestamp value) {
        if (attemptDeadlineBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)
              && attemptDeadline_ != null
              && attemptDeadline_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
            getAttemptDeadlineBuilder().mergeFrom(value);
          } else {
            attemptDeadline_ = value;
          }
        } else {
          attemptDeadlineBuilder_.mergeFrom(value);
        }
        if (attemptDeadline_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       */
      public Builder clearAttemptDeadline() {
        bitField0_ = (bitField0_ & ~0x00000002);
        attemptDeadline_ = null;
        if (attemptDeadlineBuilder_ != null) {
          attemptDeadlineBuilder_.dispose();
          attemptDeadlineBuilder_ = null;
        }
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       */
      public com.google.protobuf.Timestamp.Builder getAttemptDeadlineBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return internalGetAttemptDeadlineFieldBuilder().getBuilder();
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       */
      public com.google.protobuf.TimestampOrBuilder getAttemptDeadlineOrBuilder() {
        if (attemptDeadlineBuilder_ != null) {
          return attemptDeadlineBuilder_.getMessageOrBuilder();
        } else {
          return attemptDeadline_ == null
              ? com.google.protobuf.Timestamp.getDefaultInstance()
              : attemptDeadline_;
        }
      }

      /**
       *
       *
       * <pre>
       * The deadline dictated by the attempt to the server.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp attempt_deadline = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
              com.google.protobuf.Timestamp,
              com.google.protobuf.Timestamp.Builder,
              com.google.protobuf.TimestampOrBuilder>
          internalGetAttemptDeadlineFieldBuilder() {
        if (attemptDeadlineBuilder_ == null) {
          attemptDeadlineBuilder_ =
              new com.google.protobuf.SingleFieldBuilder<
                  com.google.protobuf.Timestamp,
                  com.google.protobuf.Timestamp.Builder,
                  com.google.protobuf.TimestampOrBuilder>(
                  getAttemptDeadline(), getParentForChildren(), isClean());
          attemptDeadline_ = null;
        }
        return attemptDeadlineBuilder_;
      }

      private com.google.protobuf.Timestamp responseTime_;
      private com.google.protobuf.SingleFieldBuilder<
              com.google.protobuf.Timestamp,
              com.google.protobuf.Timestamp.Builder,
              com.google.protobuf.TimestampOrBuilder>
          responseTimeBuilder_;

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       *
       * @return Whether the responseTime field is set.
       */
      public boolean hasResponseTime() {
        return ((bitField0_ & 0x00000004) != 0);
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       *
       * @return The responseTime.
       */
      public com.google.protobuf.Timestamp getResponseTime() {
        if (responseTimeBuilder_ == null) {
          return responseTime_ == null
              ? com.google.protobuf.Timestamp.getDefaultInstance()
              : responseTime_;
        } else {
          return responseTimeBuilder_.getMessage();
        }
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       */
      public Builder setResponseTime(com.google.protobuf.Timestamp value) {
        if (responseTimeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          responseTime_ = value;
        } else {
          responseTimeBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       */
      public Builder setResponseTime(com.google.protobuf.Timestamp.Builder builderForValue) {
        if (responseTimeBuilder_ == null) {
          responseTime_ = builderForValue.build();
        } else {
          responseTimeBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       */
      public Builder mergeResponseTime(com.google.protobuf.Timestamp value) {
        if (responseTimeBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)
              && responseTime_ != null
              && responseTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
            getResponseTimeBuilder().mergeFrom(value);
          } else {
            responseTime_ = value;
          }
        } else {
          responseTimeBuilder_.mergeFrom(value);
        }
        if (responseTime_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       */
      public Builder clearResponseTime() {
        bitField0_ = (bitField0_ & ~0x00000004);
        responseTime_ = null;
        if (responseTimeBuilder_ != null) {
          responseTimeBuilder_.dispose();
          responseTimeBuilder_ = null;
        }
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       */
      public com.google.protobuf.Timestamp.Builder getResponseTimeBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return internalGetResponseTimeFieldBuilder().getBuilder();
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       */
      public com.google.protobuf.TimestampOrBuilder getResponseTimeOrBuilder() {
        if (responseTimeBuilder_ != null) {
          return responseTimeBuilder_.getMessageOrBuilder();
        } else {
          return responseTime_ == null
              ? com.google.protobuf.Timestamp.getDefaultInstance()
              : responseTime_;
        }
      }

      /**
       *
       *
       * <pre>
       * The time that the server responded to the RPC attempt. Used for
       * calculating attempt_delay.
       * </pre>
       *
       * <code>.google.protobuf.Timestamp response_time = 3;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
              com.google.protobuf.Timestamp,
              com.google.protobuf.Timestamp.Builder,
              com.google.protobuf.TimestampOrBuilder>
          internalGetResponseTimeFieldBuilder() {
        if (responseTimeBuilder_ == null) {
          responseTimeBuilder_ =
              new com.google.protobuf.SingleFieldBuilder<
                  com.google.protobuf.Timestamp,
                  com.google.protobuf.Timestamp.Builder,
                  com.google.protobuf.TimestampOrBuilder>(
                  getResponseTime(), getParentForChildren(), isClean());
          responseTime_ = null;
        }
        return responseTimeBuilder_;
      }

      private com.google.protobuf.Duration attemptDelay_;
      private com.google.protobuf.SingleFieldBuilder<
              com.google.protobuf.Duration,
              com.google.protobuf.Duration.Builder,
              com.google.protobuf.DurationOrBuilder>
          attemptDelayBuilder_;

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       *
       * @return Whether the attemptDelay field is set.
       */
      public boolean hasAttemptDelay() {
        return ((bitField0_ & 0x00000008) != 0);
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       *
       * @return The attemptDelay.
       */
      public com.google.protobuf.Duration getAttemptDelay() {
        if (attemptDelayBuilder_ == null) {
          return attemptDelay_ == null
              ? com.google.protobuf.Duration.getDefaultInstance()
              : attemptDelay_;
        } else {
          return attemptDelayBuilder_.getMessage();
        }
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       */
      public Builder setAttemptDelay(com.google.protobuf.Duration value) {
        if (attemptDelayBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          attemptDelay_ = value;
        } else {
          attemptDelayBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       */
      public Builder setAttemptDelay(com.google.protobuf.Duration.Builder builderForValue) {
        if (attemptDelayBuilder_ == null) {
          attemptDelay_ = builderForValue.build();
        } else {
          attemptDelayBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       */
      public Builder mergeAttemptDelay(com.google.protobuf.Duration value) {
        if (attemptDelayBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)
              && attemptDelay_ != null
              && attemptDelay_ != com.google.protobuf.Duration.getDefaultInstance()) {
            getAttemptDelayBuilder().mergeFrom(value);
          } else {
            attemptDelay_ = value;
          }
        } else {
          attemptDelayBuilder_.mergeFrom(value);
        }
        if (attemptDelay_ != null) {
          bitField0_ |= 0x00000008;
          onChanged();
        }
        return this;
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       */
      public Builder clearAttemptDelay() {
        bitField0_ = (bitField0_ & ~0x00000008);
        attemptDelay_ = null;
        if (attemptDelayBuilder_ != null) {
          attemptDelayBuilder_.dispose();
          attemptDelayBuilder_ = null;
        }
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       */
      public com.google.protobuf.Duration.Builder getAttemptDelayBuilder() {
        bitField0_ |= 0x00000008;
        onChanged();
        return internalGetAttemptDelayFieldBuilder().getBuilder();
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       */
      public com.google.protobuf.DurationOrBuilder getAttemptDelayOrBuilder() {
        if (attemptDelayBuilder_ != null) {
          return attemptDelayBuilder_.getMessageOrBuilder();
        } else {
          return attemptDelay_ == null
              ? com.google.protobuf.Duration.getDefaultInstance()
              : attemptDelay_;
        }
      }

      /**
       *
       *
       * <pre>
       * The server perceived delay between sending the last response and
       * receiving this attempt. Used for validating attempt delay backoff.
       * </pre>
       *
       * <code>.google.protobuf.Duration attempt_delay = 4;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
              com.google.protobuf.Duration,
              com.google.protobuf.Duration.Builder,
              com.google.protobuf.DurationOrBuilder>
          internalGetAttemptDelayFieldBuilder() {
        if (attemptDelayBuilder_ == null) {
          attemptDelayBuilder_ =
              new com.google.protobuf.SingleFieldBuilder<
                  com.google.protobuf.Duration,
                  com.google.protobuf.Duration.Builder,
                  com.google.protobuf.DurationOrBuilder>(
                  getAttemptDelay(), getParentForChildren(), isClean());
          attemptDelay_ = null;
        }
        return attemptDelayBuilder_;
      }

      private com.google.rpc.Status status_;
      private com.google.protobuf.SingleFieldBuilder<
              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
          statusBuilder_;

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       *
       * @return Whether the status field is set.
       */
      public boolean hasStatus() {
        return ((bitField0_ & 0x00000010) != 0);
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       *
       * @return The status.
       */
      public com.google.rpc.Status getStatus() {
        if (statusBuilder_ == null) {
          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
        } else {
          return statusBuilder_.getMessage();
        }
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       */
      public Builder setStatus(com.google.rpc.Status value) {
        if (statusBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          status_ = value;
        } else {
          statusBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       */
      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
        if (statusBuilder_ == null) {
          status_ = builderForValue.build();
        } else {
          statusBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       */
      public Builder mergeStatus(com.google.rpc.Status value) {
        if (statusBuilder_ == null) {
          if (((bitField0_ & 0x00000010) != 0)
              && status_ != null
              && status_ != com.google.rpc.Status.getDefaultInstance()) {
            getStatusBuilder().mergeFrom(value);
          } else {
            status_ = value;
          }
        } else {
          statusBuilder_.mergeFrom(value);
        }
        if (status_ != null) {
          bitField0_ |= 0x00000010;
          onChanged();
        }
        return this;
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       */
      public Builder clearStatus() {
        bitField0_ = (bitField0_ & ~0x00000010);
        status_ = null;
        if (statusBuilder_ != null) {
          statusBuilder_.dispose();
          statusBuilder_ = null;
        }
        onChanged();
        return this;
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       */
      public com.google.rpc.Status.Builder getStatusBuilder() {
        bitField0_ |= 0x00000010;
        onChanged();
        return internalGetStatusFieldBuilder().getBuilder();
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       */
      public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        if (statusBuilder_ != null) {
          return statusBuilder_.getMessageOrBuilder();
        } else {
          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
        }
      }

      /**
       *
       *
       * <pre>
       * The status returned to the attempt.
       * </pre>
       *
       * <code>.google.rpc.Status status = 5;</code>
       */
      private com.google.protobuf.SingleFieldBuilder<
              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
          internalGetStatusFieldBuilder() {
        if (statusBuilder_ == null) {
          statusBuilder_ =
              new com.google.protobuf.SingleFieldBuilder<
                  com.google.rpc.Status,
                  com.google.rpc.Status.Builder,
                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
          status_ = null;
        }
        return statusBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:google.showcase.v1beta1.SequenceReport.Attempt)
    }

    // @@protoc_insertion_point(class_scope:google.showcase.v1beta1.SequenceReport.Attempt)
    private static final com.google.showcase.v1beta1.SequenceReport.Attempt DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE = new com.google.showcase.v1beta1.SequenceReport.Attempt();
    }

    public static com.google.showcase.v1beta1.SequenceReport.Attempt getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<Attempt> PARSER =
        new com.google.protobuf.AbstractParser<Attempt>() {
          @java.lang.Override
          public Attempt parsePartialFrom(
              com.google.protobuf.CodedInputStream input,
              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
              throws com.google.protobuf.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (com.google.protobuf.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new com.google.protobuf.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

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

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

    @java.lang.Override
    public com.google.showcase.v1beta1.SequenceReport.Attempt getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public static final int NAME_FIELD_NUMBER = 1;

  @SuppressWarnings("serial")
  private volatile java.lang.Object name_ = "";

  /**
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      name_ = s;
      return s;
    }
  }

  /**
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int ATTEMPTS_FIELD_NUMBER = 2;

  @SuppressWarnings("serial")
  private java.util.List<com.google.showcase.v1beta1.SequenceReport.Attempt> attempts_;

  /**
   *
   *
   * <pre>
   * The set of RPC attempts received by the server for a Sequence.
   * </pre>
   *
   * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
   */
  @java.lang.Override
  public java.util.List<com.google.showcase.v1beta1.SequenceReport.Attempt> getAttemptsList() {
    return attempts_;
  }

  /**
   *
   *
   * <pre>
   * The set of RPC attempts received by the server for a Sequence.
   * </pre>
   *
   * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder>
      getAttemptsOrBuilderList() {
    return attempts_;
  }

  /**
   *
   *
   * <pre>
   * The set of RPC attempts received by the server for a Sequence.
   * </pre>
   *
   * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
   */
  @java.lang.Override
  public int getAttemptsCount() {
    return attempts_.size();
  }

  /**
   *
   *
   * <pre>
   * The set of RPC attempts received by the server for a Sequence.
   * </pre>
   *
   * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.SequenceReport.Attempt getAttempts(int index) {
    return attempts_.get(index);
  }

  /**
   *
   *
   * <pre>
   * The set of RPC attempts received by the server for a Sequence.
   * </pre>
   *
   * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
   */
  @java.lang.Override
  public com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder getAttemptsOrBuilder(
      int index) {
    return attempts_.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 {
    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
    }
    for (int i = 0; i < attempts_.size(); i++) {
      output.writeMessage(2, attempts_.get(i));
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (!com.google.protobuf.GeneratedMessage.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
    }
    for (int i = 0; i < attempts_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, attempts_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.showcase.v1beta1.SequenceReport)) {
      return super.equals(obj);
    }
    com.google.showcase.v1beta1.SequenceReport other =
        (com.google.showcase.v1beta1.SequenceReport) obj;

    if (!getName().equals(other.getName())) return false;
    if (!getAttemptsList().equals(other.getAttemptsList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    if (getAttemptsCount() > 0) {
      hash = (37 * hash) + ATTEMPTS_FIELD_NUMBER;
      hash = (53 * hash) + getAttemptsList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.showcase.v1beta1.SequenceReport 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.showcase.v1beta1.SequenceReport parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseDelimitedFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseDelimitedFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
  }

  public static com.google.showcase.v1beta1.SequenceReport parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessage.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() {
    return newBuilder();
  }

  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }

  public static Builder newBuilder(com.google.showcase.v1beta1.SequenceReport 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.GeneratedMessage.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }

  /** Protobuf type {@code google.showcase.v1beta1.SequenceReport} */
  public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.showcase.v1beta1.SequenceReport)
      com.google.showcase.v1beta1.SequenceReportOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.showcase.v1beta1.SequenceOuterClass
          .internal_static_google_showcase_v1beta1_SequenceReport_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.showcase.v1beta1.SequenceOuterClass
          .internal_static_google_showcase_v1beta1_SequenceReport_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.showcase.v1beta1.SequenceReport.class,
              com.google.showcase.v1beta1.SequenceReport.Builder.class);
    }

    // Construct using com.google.showcase.v1beta1.SequenceReport.newBuilder()
    private Builder() {}

    private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      super(parent);
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      name_ = "";
      if (attemptsBuilder_ == null) {
        attempts_ = java.util.Collections.emptyList();
      } else {
        attempts_ = null;
        attemptsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.showcase.v1beta1.SequenceOuterClass
          .internal_static_google_showcase_v1beta1_SequenceReport_descriptor;
    }

    @java.lang.Override
    public com.google.showcase.v1beta1.SequenceReport getDefaultInstanceForType() {
      return com.google.showcase.v1beta1.SequenceReport.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.showcase.v1beta1.SequenceReport build() {
      com.google.showcase.v1beta1.SequenceReport result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.showcase.v1beta1.SequenceReport buildPartial() {
      com.google.showcase.v1beta1.SequenceReport result =
          new com.google.showcase.v1beta1.SequenceReport(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(com.google.showcase.v1beta1.SequenceReport result) {
      if (attemptsBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          attempts_ = java.util.Collections.unmodifiableList(attempts_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.attempts_ = attempts_;
      } else {
        result.attempts_ = attemptsBuilder_.build();
      }
    }

    private void buildPartial0(com.google.showcase.v1beta1.SequenceReport result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.name_ = name_;
      }
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.showcase.v1beta1.SequenceReport) {
        return mergeFrom((com.google.showcase.v1beta1.SequenceReport) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.showcase.v1beta1.SequenceReport other) {
      if (other == com.google.showcase.v1beta1.SequenceReport.getDefaultInstance()) return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (attemptsBuilder_ == null) {
        if (!other.attempts_.isEmpty()) {
          if (attempts_.isEmpty()) {
            attempts_ = other.attempts_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureAttemptsIsMutable();
            attempts_.addAll(other.attempts_);
          }
          onChanged();
        }
      } else {
        if (!other.attempts_.isEmpty()) {
          if (attemptsBuilder_.isEmpty()) {
            attemptsBuilder_.dispose();
            attemptsBuilder_ = null;
            attempts_ = other.attempts_;
            bitField0_ = (bitField0_ & ~0x00000002);
            attemptsBuilder_ =
                com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
                    ? internalGetAttemptsFieldBuilder()
                    : null;
          } else {
            attemptsBuilder_.addAllMessages(other.attempts_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      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 {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                com.google.showcase.v1beta1.SequenceReport.Attempt m =
                    input.readMessage(
                        com.google.showcase.v1beta1.SequenceReport.Attempt.parser(),
                        extensionRegistry);
                if (attemptsBuilder_ == null) {
                  ensureAttemptsIsMutable();
                  attempts_.add(m);
                } else {
                  attemptsBuilder_.addMessage(m);
                }
                break;
              } // case 18
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }

    private int bitField0_;

    private java.lang.Object name_ = "";

    /**
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return The name.
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }

    /**
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return The bytes for name.
     */
    public com.google.protobuf.ByteString getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    /**
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      name_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    /**
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }

    /**
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      name_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.util.List<com.google.showcase.v1beta1.SequenceReport.Attempt> attempts_ =
        java.util.Collections.emptyList();

    private void ensureAttemptsIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        attempts_ =
            new java.util.ArrayList<com.google.showcase.v1beta1.SequenceReport.Attempt>(attempts_);
        bitField0_ |= 0x00000002;
      }
    }

    private com.google.protobuf.RepeatedFieldBuilder<
            com.google.showcase.v1beta1.SequenceReport.Attempt,
            com.google.showcase.v1beta1.SequenceReport.Attempt.Builder,
            com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder>
        attemptsBuilder_;

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public java.util.List<com.google.showcase.v1beta1.SequenceReport.Attempt> getAttemptsList() {
      if (attemptsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(attempts_);
      } else {
        return attemptsBuilder_.getMessageList();
      }
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public int getAttemptsCount() {
      if (attemptsBuilder_ == null) {
        return attempts_.size();
      } else {
        return attemptsBuilder_.getCount();
      }
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public com.google.showcase.v1beta1.SequenceReport.Attempt getAttempts(int index) {
      if (attemptsBuilder_ == null) {
        return attempts_.get(index);
      } else {
        return attemptsBuilder_.getMessage(index);
      }
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder setAttempts(
        int index, com.google.showcase.v1beta1.SequenceReport.Attempt value) {
      if (attemptsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAttemptsIsMutable();
        attempts_.set(index, value);
        onChanged();
      } else {
        attemptsBuilder_.setMessage(index, value);
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder setAttempts(
        int index, com.google.showcase.v1beta1.SequenceReport.Attempt.Builder builderForValue) {
      if (attemptsBuilder_ == null) {
        ensureAttemptsIsMutable();
        attempts_.set(index, builderForValue.build());
        onChanged();
      } else {
        attemptsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder addAttempts(com.google.showcase.v1beta1.SequenceReport.Attempt value) {
      if (attemptsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAttemptsIsMutable();
        attempts_.add(value);
        onChanged();
      } else {
        attemptsBuilder_.addMessage(value);
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder addAttempts(
        int index, com.google.showcase.v1beta1.SequenceReport.Attempt value) {
      if (attemptsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureAttemptsIsMutable();
        attempts_.add(index, value);
        onChanged();
      } else {
        attemptsBuilder_.addMessage(index, value);
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder addAttempts(
        com.google.showcase.v1beta1.SequenceReport.Attempt.Builder builderForValue) {
      if (attemptsBuilder_ == null) {
        ensureAttemptsIsMutable();
        attempts_.add(builderForValue.build());
        onChanged();
      } else {
        attemptsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder addAttempts(
        int index, com.google.showcase.v1beta1.SequenceReport.Attempt.Builder builderForValue) {
      if (attemptsBuilder_ == null) {
        ensureAttemptsIsMutable();
        attempts_.add(index, builderForValue.build());
        onChanged();
      } else {
        attemptsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder addAllAttempts(
        java.lang.Iterable<? extends com.google.showcase.v1beta1.SequenceReport.Attempt> values) {
      if (attemptsBuilder_ == null) {
        ensureAttemptsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, attempts_);
        onChanged();
      } else {
        attemptsBuilder_.addAllMessages(values);
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder clearAttempts() {
      if (attemptsBuilder_ == null) {
        attempts_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        attemptsBuilder_.clear();
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public Builder removeAttempts(int index) {
      if (attemptsBuilder_ == null) {
        ensureAttemptsIsMutable();
        attempts_.remove(index);
        onChanged();
      } else {
        attemptsBuilder_.remove(index);
      }
      return this;
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public com.google.showcase.v1beta1.SequenceReport.Attempt.Builder getAttemptsBuilder(
        int index) {
      return internalGetAttemptsFieldBuilder().getBuilder(index);
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder getAttemptsOrBuilder(
        int index) {
      if (attemptsBuilder_ == null) {
        return attempts_.get(index);
      } else {
        return attemptsBuilder_.getMessageOrBuilder(index);
      }
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public java.util.List<? extends com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder>
        getAttemptsOrBuilderList() {
      if (attemptsBuilder_ != null) {
        return attemptsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(attempts_);
      }
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public com.google.showcase.v1beta1.SequenceReport.Attempt.Builder addAttemptsBuilder() {
      return internalGetAttemptsFieldBuilder()
          .addBuilder(com.google.showcase.v1beta1.SequenceReport.Attempt.getDefaultInstance());
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public com.google.showcase.v1beta1.SequenceReport.Attempt.Builder addAttemptsBuilder(
        int index) {
      return internalGetAttemptsFieldBuilder()
          .addBuilder(
              index, com.google.showcase.v1beta1.SequenceReport.Attempt.getDefaultInstance());
    }

    /**
     *
     *
     * <pre>
     * The set of RPC attempts received by the server for a Sequence.
     * </pre>
     *
     * <code>repeated .google.showcase.v1beta1.SequenceReport.Attempt attempts = 2;</code>
     */
    public java.util.List<com.google.showcase.v1beta1.SequenceReport.Attempt.Builder>
        getAttemptsBuilderList() {
      return internalGetAttemptsFieldBuilder().getBuilderList();
    }

    private com.google.protobuf.RepeatedFieldBuilder<
            com.google.showcase.v1beta1.SequenceReport.Attempt,
            com.google.showcase.v1beta1.SequenceReport.Attempt.Builder,
            com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder>
        internalGetAttemptsFieldBuilder() {
      if (attemptsBuilder_ == null) {
        attemptsBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilder<
                com.google.showcase.v1beta1.SequenceReport.Attempt,
                com.google.showcase.v1beta1.SequenceReport.Attempt.Builder,
                com.google.showcase.v1beta1.SequenceReport.AttemptOrBuilder>(
                attempts_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
        attempts_ = null;
      }
      return attemptsBuilder_;
    }

    // @@protoc_insertion_point(builder_scope:google.showcase.v1beta1.SequenceReport)
  }

  // @@protoc_insertion_point(class_scope:google.showcase.v1beta1.SequenceReport)
  private static final com.google.showcase.v1beta1.SequenceReport DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.showcase.v1beta1.SequenceReport();
  }

  public static com.google.showcase.v1beta1.SequenceReport getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<SequenceReport> PARSER =
      new com.google.protobuf.AbstractParser<SequenceReport>() {
        @java.lang.Override
        public SequenceReport parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

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

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

  @java.lang.Override
  public com.google.showcase.v1beta1.SequenceReport getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
