/*
 * Copyright 2020 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!
// source: google/dataflow/v1beta3/jobs.proto

package com.google.dataflow.v1beta3;

/**
 *
 *
 * <pre>
 * A descriptive representation of submitted pipeline as well as the executed
 * form.  This data is provided by the Dataflow service for ease of visualizing
 * the pipeline and interpreting Dataflow provided metrics.
 * </pre>
 *
 * Protobuf type {@code google.dataflow.v1beta3.PipelineDescription}
 */
public final class PipelineDescription extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.dataflow.v1beta3.PipelineDescription)
    PipelineDescriptionOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use PipelineDescription.newBuilder() to construct.
  private PipelineDescription(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private PipelineDescription() {
    originalPipelineTransform_ = java.util.Collections.emptyList();
    executionPipelineStage_ = java.util.Collections.emptyList();
    displayData_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    return new PipelineDescription();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.dataflow.v1beta3.JobsProto
        .internal_static_google_dataflow_v1beta3_PipelineDescription_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.dataflow.v1beta3.JobsProto
        .internal_static_google_dataflow_v1beta3_PipelineDescription_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.dataflow.v1beta3.PipelineDescription.class,
            com.google.dataflow.v1beta3.PipelineDescription.Builder.class);
  }

  public static final int ORIGINAL_PIPELINE_TRANSFORM_FIELD_NUMBER = 1;
  private java.util.List<com.google.dataflow.v1beta3.TransformSummary> originalPipelineTransform_;
  /**
   *
   *
   * <pre>
   * Description of each transform in the pipeline and collections between them.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
   * </code>
   */
  @java.lang.Override
  public java.util.List<com.google.dataflow.v1beta3.TransformSummary>
      getOriginalPipelineTransformList() {
    return originalPipelineTransform_;
  }
  /**
   *
   *
   * <pre>
   * Description of each transform in the pipeline and collections between them.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
   * </code>
   */
  @java.lang.Override
  public java.util.List<? extends com.google.dataflow.v1beta3.TransformSummaryOrBuilder>
      getOriginalPipelineTransformOrBuilderList() {
    return originalPipelineTransform_;
  }
  /**
   *
   *
   * <pre>
   * Description of each transform in the pipeline and collections between them.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
   * </code>
   */
  @java.lang.Override
  public int getOriginalPipelineTransformCount() {
    return originalPipelineTransform_.size();
  }
  /**
   *
   *
   * <pre>
   * Description of each transform in the pipeline and collections between them.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
   * </code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.TransformSummary getOriginalPipelineTransform(int index) {
    return originalPipelineTransform_.get(index);
  }
  /**
   *
   *
   * <pre>
   * Description of each transform in the pipeline and collections between them.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
   * </code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.TransformSummaryOrBuilder
      getOriginalPipelineTransformOrBuilder(int index) {
    return originalPipelineTransform_.get(index);
  }

  public static final int EXECUTION_PIPELINE_STAGE_FIELD_NUMBER = 2;
  private java.util.List<com.google.dataflow.v1beta3.ExecutionStageSummary> executionPipelineStage_;
  /**
   *
   *
   * <pre>
   * Description of each stage of execution of the pipeline.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
   * </code>
   */
  @java.lang.Override
  public java.util.List<com.google.dataflow.v1beta3.ExecutionStageSummary>
      getExecutionPipelineStageList() {
    return executionPipelineStage_;
  }
  /**
   *
   *
   * <pre>
   * Description of each stage of execution of the pipeline.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
   * </code>
   */
  @java.lang.Override
  public java.util.List<? extends com.google.dataflow.v1beta3.ExecutionStageSummaryOrBuilder>
      getExecutionPipelineStageOrBuilderList() {
    return executionPipelineStage_;
  }
  /**
   *
   *
   * <pre>
   * Description of each stage of execution of the pipeline.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
   * </code>
   */
  @java.lang.Override
  public int getExecutionPipelineStageCount() {
    return executionPipelineStage_.size();
  }
  /**
   *
   *
   * <pre>
   * Description of each stage of execution of the pipeline.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
   * </code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.ExecutionStageSummary getExecutionPipelineStage(int index) {
    return executionPipelineStage_.get(index);
  }
  /**
   *
   *
   * <pre>
   * Description of each stage of execution of the pipeline.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
   * </code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.ExecutionStageSummaryOrBuilder
      getExecutionPipelineStageOrBuilder(int index) {
    return executionPipelineStage_.get(index);
  }

  public static final int DISPLAY_DATA_FIELD_NUMBER = 3;
  private java.util.List<com.google.dataflow.v1beta3.DisplayData> displayData_;
  /**
   *
   *
   * <pre>
   * Pipeline level display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
   */
  @java.lang.Override
  public java.util.List<com.google.dataflow.v1beta3.DisplayData> getDisplayDataList() {
    return displayData_;
  }
  /**
   *
   *
   * <pre>
   * Pipeline level display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.google.dataflow.v1beta3.DisplayDataOrBuilder>
      getDisplayDataOrBuilderList() {
    return displayData_;
  }
  /**
   *
   *
   * <pre>
   * Pipeline level display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
   */
  @java.lang.Override
  public int getDisplayDataCount() {
    return displayData_.size();
  }
  /**
   *
   *
   * <pre>
   * Pipeline level display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.DisplayData getDisplayData(int index) {
    return displayData_.get(index);
  }
  /**
   *
   *
   * <pre>
   * Pipeline level display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.DisplayDataOrBuilder getDisplayDataOrBuilder(int index) {
    return displayData_.get(index);
  }

  private byte memoizedIsInitialized = -1;

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

    memoizedIsInitialized = 1;
    return true;
  }

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

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

    size = 0;
    for (int i = 0; i < originalPipelineTransform_.size(); i++) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              1, originalPipelineTransform_.get(i));
    }
    for (int i = 0; i < executionPipelineStage_.size(); i++) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              2, executionPipelineStage_.get(i));
    }
    for (int i = 0; i < displayData_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, displayData_.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.dataflow.v1beta3.PipelineDescription)) {
      return super.equals(obj);
    }
    com.google.dataflow.v1beta3.PipelineDescription other =
        (com.google.dataflow.v1beta3.PipelineDescription) obj;

    if (!getOriginalPipelineTransformList().equals(other.getOriginalPipelineTransformList()))
      return false;
    if (!getExecutionPipelineStageList().equals(other.getExecutionPipelineStageList()))
      return false;
    if (!getDisplayDataList().equals(other.getDisplayDataList())) 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();
    if (getOriginalPipelineTransformCount() > 0) {
      hash = (37 * hash) + ORIGINAL_PIPELINE_TRANSFORM_FIELD_NUMBER;
      hash = (53 * hash) + getOriginalPipelineTransformList().hashCode();
    }
    if (getExecutionPipelineStageCount() > 0) {
      hash = (37 * hash) + EXECUTION_PIPELINE_STAGE_FIELD_NUMBER;
      hash = (53 * hash) + getExecutionPipelineStageList().hashCode();
    }
    if (getDisplayDataCount() > 0) {
      hash = (37 * hash) + DISPLAY_DATA_FIELD_NUMBER;
      hash = (53 * hash) + getDisplayDataList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

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

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseDelimitedFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseDelimitedFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.PipelineDescription parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

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

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

  public static Builder newBuilder(com.google.dataflow.v1beta3.PipelineDescription prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }

  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   *
   *
   * <pre>
   * A descriptive representation of submitted pipeline as well as the executed
   * form.  This data is provided by the Dataflow service for ease of visualizing
   * the pipeline and interpreting Dataflow provided metrics.
   * </pre>
   *
   * Protobuf type {@code google.dataflow.v1beta3.PipelineDescription}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.dataflow.v1beta3.PipelineDescription)
      com.google.dataflow.v1beta3.PipelineDescriptionOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.dataflow.v1beta3.JobsProto
          .internal_static_google_dataflow_v1beta3_PipelineDescription_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.dataflow.v1beta3.JobsProto
          .internal_static_google_dataflow_v1beta3_PipelineDescription_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.dataflow.v1beta3.PipelineDescription.class,
              com.google.dataflow.v1beta3.PipelineDescription.Builder.class);
    }

    // Construct using com.google.dataflow.v1beta3.PipelineDescription.newBuilder()
    private Builder() {}

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

    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (originalPipelineTransformBuilder_ == null) {
        originalPipelineTransform_ = java.util.Collections.emptyList();
      } else {
        originalPipelineTransform_ = null;
        originalPipelineTransformBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      if (executionPipelineStageBuilder_ == null) {
        executionPipelineStage_ = java.util.Collections.emptyList();
      } else {
        executionPipelineStage_ = null;
        executionPipelineStageBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000002);
      if (displayDataBuilder_ == null) {
        displayData_ = java.util.Collections.emptyList();
      } else {
        displayData_ = null;
        displayDataBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000004);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.dataflow.v1beta3.JobsProto
          .internal_static_google_dataflow_v1beta3_PipelineDescription_descriptor;
    }

    @java.lang.Override
    public com.google.dataflow.v1beta3.PipelineDescription getDefaultInstanceForType() {
      return com.google.dataflow.v1beta3.PipelineDescription.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.dataflow.v1beta3.PipelineDescription build() {
      com.google.dataflow.v1beta3.PipelineDescription result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.dataflow.v1beta3.PipelineDescription buildPartial() {
      com.google.dataflow.v1beta3.PipelineDescription result =
          new com.google.dataflow.v1beta3.PipelineDescription(this);
      int from_bitField0_ = bitField0_;
      if (originalPipelineTransformBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          originalPipelineTransform_ =
              java.util.Collections.unmodifiableList(originalPipelineTransform_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.originalPipelineTransform_ = originalPipelineTransform_;
      } else {
        result.originalPipelineTransform_ = originalPipelineTransformBuilder_.build();
      }
      if (executionPipelineStageBuilder_ == null) {
        if (((bitField0_ & 0x00000002) != 0)) {
          executionPipelineStage_ = java.util.Collections.unmodifiableList(executionPipelineStage_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.executionPipelineStage_ = executionPipelineStage_;
      } else {
        result.executionPipelineStage_ = executionPipelineStageBuilder_.build();
      }
      if (displayDataBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          displayData_ = java.util.Collections.unmodifiableList(displayData_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.displayData_ = displayData_;
      } else {
        result.displayData_ = displayDataBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }

    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.setField(field, value);
    }

    @java.lang.Override
    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }

    @java.lang.Override
    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }

    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }

    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }

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

    public Builder mergeFrom(com.google.dataflow.v1beta3.PipelineDescription other) {
      if (other == com.google.dataflow.v1beta3.PipelineDescription.getDefaultInstance())
        return this;
      if (originalPipelineTransformBuilder_ == null) {
        if (!other.originalPipelineTransform_.isEmpty()) {
          if (originalPipelineTransform_.isEmpty()) {
            originalPipelineTransform_ = other.originalPipelineTransform_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureOriginalPipelineTransformIsMutable();
            originalPipelineTransform_.addAll(other.originalPipelineTransform_);
          }
          onChanged();
        }
      } else {
        if (!other.originalPipelineTransform_.isEmpty()) {
          if (originalPipelineTransformBuilder_.isEmpty()) {
            originalPipelineTransformBuilder_.dispose();
            originalPipelineTransformBuilder_ = null;
            originalPipelineTransform_ = other.originalPipelineTransform_;
            bitField0_ = (bitField0_ & ~0x00000001);
            originalPipelineTransformBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getOriginalPipelineTransformFieldBuilder()
                    : null;
          } else {
            originalPipelineTransformBuilder_.addAllMessages(other.originalPipelineTransform_);
          }
        }
      }
      if (executionPipelineStageBuilder_ == null) {
        if (!other.executionPipelineStage_.isEmpty()) {
          if (executionPipelineStage_.isEmpty()) {
            executionPipelineStage_ = other.executionPipelineStage_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureExecutionPipelineStageIsMutable();
            executionPipelineStage_.addAll(other.executionPipelineStage_);
          }
          onChanged();
        }
      } else {
        if (!other.executionPipelineStage_.isEmpty()) {
          if (executionPipelineStageBuilder_.isEmpty()) {
            executionPipelineStageBuilder_.dispose();
            executionPipelineStageBuilder_ = null;
            executionPipelineStage_ = other.executionPipelineStage_;
            bitField0_ = (bitField0_ & ~0x00000002);
            executionPipelineStageBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getExecutionPipelineStageFieldBuilder()
                    : null;
          } else {
            executionPipelineStageBuilder_.addAllMessages(other.executionPipelineStage_);
          }
        }
      }
      if (displayDataBuilder_ == null) {
        if (!other.displayData_.isEmpty()) {
          if (displayData_.isEmpty()) {
            displayData_ = other.displayData_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureDisplayDataIsMutable();
            displayData_.addAll(other.displayData_);
          }
          onChanged();
        }
      } else {
        if (!other.displayData_.isEmpty()) {
          if (displayDataBuilder_.isEmpty()) {
            displayDataBuilder_.dispose();
            displayDataBuilder_ = null;
            displayData_ = other.displayData_;
            bitField0_ = (bitField0_ & ~0x00000004);
            displayDataBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getDisplayDataFieldBuilder()
                    : null;
          } else {
            displayDataBuilder_.addAllMessages(other.displayData_);
          }
        }
      }
      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:
              {
                com.google.dataflow.v1beta3.TransformSummary m =
                    input.readMessage(
                        com.google.dataflow.v1beta3.TransformSummary.parser(), extensionRegistry);
                if (originalPipelineTransformBuilder_ == null) {
                  ensureOriginalPipelineTransformIsMutable();
                  originalPipelineTransform_.add(m);
                } else {
                  originalPipelineTransformBuilder_.addMessage(m);
                }
                break;
              } // case 10
            case 18:
              {
                com.google.dataflow.v1beta3.ExecutionStageSummary m =
                    input.readMessage(
                        com.google.dataflow.v1beta3.ExecutionStageSummary.parser(),
                        extensionRegistry);
                if (executionPipelineStageBuilder_ == null) {
                  ensureExecutionPipelineStageIsMutable();
                  executionPipelineStage_.add(m);
                } else {
                  executionPipelineStageBuilder_.addMessage(m);
                }
                break;
              } // case 18
            case 26:
              {
                com.google.dataflow.v1beta3.DisplayData m =
                    input.readMessage(
                        com.google.dataflow.v1beta3.DisplayData.parser(), extensionRegistry);
                if (displayDataBuilder_ == null) {
                  ensureDisplayDataIsMutable();
                  displayData_.add(m);
                } else {
                  displayDataBuilder_.addMessage(m);
                }
                break;
              } // case 26
            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.util.List<com.google.dataflow.v1beta3.TransformSummary>
        originalPipelineTransform_ = java.util.Collections.emptyList();

    private void ensureOriginalPipelineTransformIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        originalPipelineTransform_ =
            new java.util.ArrayList<com.google.dataflow.v1beta3.TransformSummary>(
                originalPipelineTransform_);
        bitField0_ |= 0x00000001;
      }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.dataflow.v1beta3.TransformSummary,
            com.google.dataflow.v1beta3.TransformSummary.Builder,
            com.google.dataflow.v1beta3.TransformSummaryOrBuilder>
        originalPipelineTransformBuilder_;

    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public java.util.List<com.google.dataflow.v1beta3.TransformSummary>
        getOriginalPipelineTransformList() {
      if (originalPipelineTransformBuilder_ == null) {
        return java.util.Collections.unmodifiableList(originalPipelineTransform_);
      } else {
        return originalPipelineTransformBuilder_.getMessageList();
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public int getOriginalPipelineTransformCount() {
      if (originalPipelineTransformBuilder_ == null) {
        return originalPipelineTransform_.size();
      } else {
        return originalPipelineTransformBuilder_.getCount();
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public com.google.dataflow.v1beta3.TransformSummary getOriginalPipelineTransform(int index) {
      if (originalPipelineTransformBuilder_ == null) {
        return originalPipelineTransform_.get(index);
      } else {
        return originalPipelineTransformBuilder_.getMessage(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder setOriginalPipelineTransform(
        int index, com.google.dataflow.v1beta3.TransformSummary value) {
      if (originalPipelineTransformBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOriginalPipelineTransformIsMutable();
        originalPipelineTransform_.set(index, value);
        onChanged();
      } else {
        originalPipelineTransformBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder setOriginalPipelineTransform(
        int index, com.google.dataflow.v1beta3.TransformSummary.Builder builderForValue) {
      if (originalPipelineTransformBuilder_ == null) {
        ensureOriginalPipelineTransformIsMutable();
        originalPipelineTransform_.set(index, builderForValue.build());
        onChanged();
      } else {
        originalPipelineTransformBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder addOriginalPipelineTransform(
        com.google.dataflow.v1beta3.TransformSummary value) {
      if (originalPipelineTransformBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOriginalPipelineTransformIsMutable();
        originalPipelineTransform_.add(value);
        onChanged();
      } else {
        originalPipelineTransformBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder addOriginalPipelineTransform(
        int index, com.google.dataflow.v1beta3.TransformSummary value) {
      if (originalPipelineTransformBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureOriginalPipelineTransformIsMutable();
        originalPipelineTransform_.add(index, value);
        onChanged();
      } else {
        originalPipelineTransformBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder addOriginalPipelineTransform(
        com.google.dataflow.v1beta3.TransformSummary.Builder builderForValue) {
      if (originalPipelineTransformBuilder_ == null) {
        ensureOriginalPipelineTransformIsMutable();
        originalPipelineTransform_.add(builderForValue.build());
        onChanged();
      } else {
        originalPipelineTransformBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder addOriginalPipelineTransform(
        int index, com.google.dataflow.v1beta3.TransformSummary.Builder builderForValue) {
      if (originalPipelineTransformBuilder_ == null) {
        ensureOriginalPipelineTransformIsMutable();
        originalPipelineTransform_.add(index, builderForValue.build());
        onChanged();
      } else {
        originalPipelineTransformBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder addAllOriginalPipelineTransform(
        java.lang.Iterable<? extends com.google.dataflow.v1beta3.TransformSummary> values) {
      if (originalPipelineTransformBuilder_ == null) {
        ensureOriginalPipelineTransformIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, originalPipelineTransform_);
        onChanged();
      } else {
        originalPipelineTransformBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder clearOriginalPipelineTransform() {
      if (originalPipelineTransformBuilder_ == null) {
        originalPipelineTransform_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        originalPipelineTransformBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public Builder removeOriginalPipelineTransform(int index) {
      if (originalPipelineTransformBuilder_ == null) {
        ensureOriginalPipelineTransformIsMutable();
        originalPipelineTransform_.remove(index);
        onChanged();
      } else {
        originalPipelineTransformBuilder_.remove(index);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public com.google.dataflow.v1beta3.TransformSummary.Builder getOriginalPipelineTransformBuilder(
        int index) {
      return getOriginalPipelineTransformFieldBuilder().getBuilder(index);
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public com.google.dataflow.v1beta3.TransformSummaryOrBuilder
        getOriginalPipelineTransformOrBuilder(int index) {
      if (originalPipelineTransformBuilder_ == null) {
        return originalPipelineTransform_.get(index);
      } else {
        return originalPipelineTransformBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public java.util.List<? extends com.google.dataflow.v1beta3.TransformSummaryOrBuilder>
        getOriginalPipelineTransformOrBuilderList() {
      if (originalPipelineTransformBuilder_ != null) {
        return originalPipelineTransformBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(originalPipelineTransform_);
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public com.google.dataflow.v1beta3.TransformSummary.Builder
        addOriginalPipelineTransformBuilder() {
      return getOriginalPipelineTransformFieldBuilder()
          .addBuilder(com.google.dataflow.v1beta3.TransformSummary.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public com.google.dataflow.v1beta3.TransformSummary.Builder addOriginalPipelineTransformBuilder(
        int index) {
      return getOriginalPipelineTransformFieldBuilder()
          .addBuilder(index, com.google.dataflow.v1beta3.TransformSummary.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Description of each transform in the pipeline and collections between them.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.TransformSummary original_pipeline_transform = 1;
     * </code>
     */
    public java.util.List<com.google.dataflow.v1beta3.TransformSummary.Builder>
        getOriginalPipelineTransformBuilderList() {
      return getOriginalPipelineTransformFieldBuilder().getBuilderList();
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.dataflow.v1beta3.TransformSummary,
            com.google.dataflow.v1beta3.TransformSummary.Builder,
            com.google.dataflow.v1beta3.TransformSummaryOrBuilder>
        getOriginalPipelineTransformFieldBuilder() {
      if (originalPipelineTransformBuilder_ == null) {
        originalPipelineTransformBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.dataflow.v1beta3.TransformSummary,
                com.google.dataflow.v1beta3.TransformSummary.Builder,
                com.google.dataflow.v1beta3.TransformSummaryOrBuilder>(
                originalPipelineTransform_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        originalPipelineTransform_ = null;
      }
      return originalPipelineTransformBuilder_;
    }

    private java.util.List<com.google.dataflow.v1beta3.ExecutionStageSummary>
        executionPipelineStage_ = java.util.Collections.emptyList();

    private void ensureExecutionPipelineStageIsMutable() {
      if (!((bitField0_ & 0x00000002) != 0)) {
        executionPipelineStage_ =
            new java.util.ArrayList<com.google.dataflow.v1beta3.ExecutionStageSummary>(
                executionPipelineStage_);
        bitField0_ |= 0x00000002;
      }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.dataflow.v1beta3.ExecutionStageSummary,
            com.google.dataflow.v1beta3.ExecutionStageSummary.Builder,
            com.google.dataflow.v1beta3.ExecutionStageSummaryOrBuilder>
        executionPipelineStageBuilder_;

    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public java.util.List<com.google.dataflow.v1beta3.ExecutionStageSummary>
        getExecutionPipelineStageList() {
      if (executionPipelineStageBuilder_ == null) {
        return java.util.Collections.unmodifiableList(executionPipelineStage_);
      } else {
        return executionPipelineStageBuilder_.getMessageList();
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public int getExecutionPipelineStageCount() {
      if (executionPipelineStageBuilder_ == null) {
        return executionPipelineStage_.size();
      } else {
        return executionPipelineStageBuilder_.getCount();
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public com.google.dataflow.v1beta3.ExecutionStageSummary getExecutionPipelineStage(int index) {
      if (executionPipelineStageBuilder_ == null) {
        return executionPipelineStage_.get(index);
      } else {
        return executionPipelineStageBuilder_.getMessage(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder setExecutionPipelineStage(
        int index, com.google.dataflow.v1beta3.ExecutionStageSummary value) {
      if (executionPipelineStageBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureExecutionPipelineStageIsMutable();
        executionPipelineStage_.set(index, value);
        onChanged();
      } else {
        executionPipelineStageBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder setExecutionPipelineStage(
        int index, com.google.dataflow.v1beta3.ExecutionStageSummary.Builder builderForValue) {
      if (executionPipelineStageBuilder_ == null) {
        ensureExecutionPipelineStageIsMutable();
        executionPipelineStage_.set(index, builderForValue.build());
        onChanged();
      } else {
        executionPipelineStageBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder addExecutionPipelineStage(
        com.google.dataflow.v1beta3.ExecutionStageSummary value) {
      if (executionPipelineStageBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureExecutionPipelineStageIsMutable();
        executionPipelineStage_.add(value);
        onChanged();
      } else {
        executionPipelineStageBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder addExecutionPipelineStage(
        int index, com.google.dataflow.v1beta3.ExecutionStageSummary value) {
      if (executionPipelineStageBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureExecutionPipelineStageIsMutable();
        executionPipelineStage_.add(index, value);
        onChanged();
      } else {
        executionPipelineStageBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder addExecutionPipelineStage(
        com.google.dataflow.v1beta3.ExecutionStageSummary.Builder builderForValue) {
      if (executionPipelineStageBuilder_ == null) {
        ensureExecutionPipelineStageIsMutable();
        executionPipelineStage_.add(builderForValue.build());
        onChanged();
      } else {
        executionPipelineStageBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder addExecutionPipelineStage(
        int index, com.google.dataflow.v1beta3.ExecutionStageSummary.Builder builderForValue) {
      if (executionPipelineStageBuilder_ == null) {
        ensureExecutionPipelineStageIsMutable();
        executionPipelineStage_.add(index, builderForValue.build());
        onChanged();
      } else {
        executionPipelineStageBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder addAllExecutionPipelineStage(
        java.lang.Iterable<? extends com.google.dataflow.v1beta3.ExecutionStageSummary> values) {
      if (executionPipelineStageBuilder_ == null) {
        ensureExecutionPipelineStageIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executionPipelineStage_);
        onChanged();
      } else {
        executionPipelineStageBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder clearExecutionPipelineStage() {
      if (executionPipelineStageBuilder_ == null) {
        executionPipelineStage_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
      } else {
        executionPipelineStageBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public Builder removeExecutionPipelineStage(int index) {
      if (executionPipelineStageBuilder_ == null) {
        ensureExecutionPipelineStageIsMutable();
        executionPipelineStage_.remove(index);
        onChanged();
      } else {
        executionPipelineStageBuilder_.remove(index);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public com.google.dataflow.v1beta3.ExecutionStageSummary.Builder
        getExecutionPipelineStageBuilder(int index) {
      return getExecutionPipelineStageFieldBuilder().getBuilder(index);
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public com.google.dataflow.v1beta3.ExecutionStageSummaryOrBuilder
        getExecutionPipelineStageOrBuilder(int index) {
      if (executionPipelineStageBuilder_ == null) {
        return executionPipelineStage_.get(index);
      } else {
        return executionPipelineStageBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public java.util.List<? extends com.google.dataflow.v1beta3.ExecutionStageSummaryOrBuilder>
        getExecutionPipelineStageOrBuilderList() {
      if (executionPipelineStageBuilder_ != null) {
        return executionPipelineStageBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(executionPipelineStage_);
      }
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public com.google.dataflow.v1beta3.ExecutionStageSummary.Builder
        addExecutionPipelineStageBuilder() {
      return getExecutionPipelineStageFieldBuilder()
          .addBuilder(com.google.dataflow.v1beta3.ExecutionStageSummary.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public com.google.dataflow.v1beta3.ExecutionStageSummary.Builder
        addExecutionPipelineStageBuilder(int index) {
      return getExecutionPipelineStageFieldBuilder()
          .addBuilder(
              index, com.google.dataflow.v1beta3.ExecutionStageSummary.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Description of each stage of execution of the pipeline.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.ExecutionStageSummary execution_pipeline_stage = 2;
     * </code>
     */
    public java.util.List<com.google.dataflow.v1beta3.ExecutionStageSummary.Builder>
        getExecutionPipelineStageBuilderList() {
      return getExecutionPipelineStageFieldBuilder().getBuilderList();
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.dataflow.v1beta3.ExecutionStageSummary,
            com.google.dataflow.v1beta3.ExecutionStageSummary.Builder,
            com.google.dataflow.v1beta3.ExecutionStageSummaryOrBuilder>
        getExecutionPipelineStageFieldBuilder() {
      if (executionPipelineStageBuilder_ == null) {
        executionPipelineStageBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.dataflow.v1beta3.ExecutionStageSummary,
                com.google.dataflow.v1beta3.ExecutionStageSummary.Builder,
                com.google.dataflow.v1beta3.ExecutionStageSummaryOrBuilder>(
                executionPipelineStage_,
                ((bitField0_ & 0x00000002) != 0),
                getParentForChildren(),
                isClean());
        executionPipelineStage_ = null;
      }
      return executionPipelineStageBuilder_;
    }

    private java.util.List<com.google.dataflow.v1beta3.DisplayData> displayData_ =
        java.util.Collections.emptyList();

    private void ensureDisplayDataIsMutable() {
      if (!((bitField0_ & 0x00000004) != 0)) {
        displayData_ =
            new java.util.ArrayList<com.google.dataflow.v1beta3.DisplayData>(displayData_);
        bitField0_ |= 0x00000004;
      }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.dataflow.v1beta3.DisplayData,
            com.google.dataflow.v1beta3.DisplayData.Builder,
            com.google.dataflow.v1beta3.DisplayDataOrBuilder>
        displayDataBuilder_;

    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public java.util.List<com.google.dataflow.v1beta3.DisplayData> getDisplayDataList() {
      if (displayDataBuilder_ == null) {
        return java.util.Collections.unmodifiableList(displayData_);
      } else {
        return displayDataBuilder_.getMessageList();
      }
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public int getDisplayDataCount() {
      if (displayDataBuilder_ == null) {
        return displayData_.size();
      } else {
        return displayDataBuilder_.getCount();
      }
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData getDisplayData(int index) {
      if (displayDataBuilder_ == null) {
        return displayData_.get(index);
      } else {
        return displayDataBuilder_.getMessage(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder setDisplayData(int index, com.google.dataflow.v1beta3.DisplayData value) {
      if (displayDataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDisplayDataIsMutable();
        displayData_.set(index, value);
        onChanged();
      } else {
        displayDataBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder setDisplayData(
        int index, com.google.dataflow.v1beta3.DisplayData.Builder builderForValue) {
      if (displayDataBuilder_ == null) {
        ensureDisplayDataIsMutable();
        displayData_.set(index, builderForValue.build());
        onChanged();
      } else {
        displayDataBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder addDisplayData(com.google.dataflow.v1beta3.DisplayData value) {
      if (displayDataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDisplayDataIsMutable();
        displayData_.add(value);
        onChanged();
      } else {
        displayDataBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder addDisplayData(int index, com.google.dataflow.v1beta3.DisplayData value) {
      if (displayDataBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureDisplayDataIsMutable();
        displayData_.add(index, value);
        onChanged();
      } else {
        displayDataBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder addDisplayData(com.google.dataflow.v1beta3.DisplayData.Builder builderForValue) {
      if (displayDataBuilder_ == null) {
        ensureDisplayDataIsMutable();
        displayData_.add(builderForValue.build());
        onChanged();
      } else {
        displayDataBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder addDisplayData(
        int index, com.google.dataflow.v1beta3.DisplayData.Builder builderForValue) {
      if (displayDataBuilder_ == null) {
        ensureDisplayDataIsMutable();
        displayData_.add(index, builderForValue.build());
        onChanged();
      } else {
        displayDataBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder addAllDisplayData(
        java.lang.Iterable<? extends com.google.dataflow.v1beta3.DisplayData> values) {
      if (displayDataBuilder_ == null) {
        ensureDisplayDataIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, displayData_);
        onChanged();
      } else {
        displayDataBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder clearDisplayData() {
      if (displayDataBuilder_ == null) {
        displayData_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
      } else {
        displayDataBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public Builder removeDisplayData(int index) {
      if (displayDataBuilder_ == null) {
        ensureDisplayDataIsMutable();
        displayData_.remove(index);
        onChanged();
      } else {
        displayDataBuilder_.remove(index);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData.Builder getDisplayDataBuilder(int index) {
      return getDisplayDataFieldBuilder().getBuilder(index);
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public com.google.dataflow.v1beta3.DisplayDataOrBuilder getDisplayDataOrBuilder(int index) {
      if (displayDataBuilder_ == null) {
        return displayData_.get(index);
      } else {
        return displayDataBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public java.util.List<? extends com.google.dataflow.v1beta3.DisplayDataOrBuilder>
        getDisplayDataOrBuilderList() {
      if (displayDataBuilder_ != null) {
        return displayDataBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(displayData_);
      }
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData.Builder addDisplayDataBuilder() {
      return getDisplayDataFieldBuilder()
          .addBuilder(com.google.dataflow.v1beta3.DisplayData.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData.Builder addDisplayDataBuilder(int index) {
      return getDisplayDataFieldBuilder()
          .addBuilder(index, com.google.dataflow.v1beta3.DisplayData.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Pipeline level display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 3;</code>
     */
    public java.util.List<com.google.dataflow.v1beta3.DisplayData.Builder>
        getDisplayDataBuilderList() {
      return getDisplayDataFieldBuilder().getBuilderList();
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.dataflow.v1beta3.DisplayData,
            com.google.dataflow.v1beta3.DisplayData.Builder,
            com.google.dataflow.v1beta3.DisplayDataOrBuilder>
        getDisplayDataFieldBuilder() {
      if (displayDataBuilder_ == null) {
        displayDataBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.dataflow.v1beta3.DisplayData,
                com.google.dataflow.v1beta3.DisplayData.Builder,
                com.google.dataflow.v1beta3.DisplayDataOrBuilder>(
                displayData_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
        displayData_ = null;
      }
      return displayDataBuilder_;
    }

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

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

    // @@protoc_insertion_point(builder_scope:google.dataflow.v1beta3.PipelineDescription)
  }

  // @@protoc_insertion_point(class_scope:google.dataflow.v1beta3.PipelineDescription)
  private static final com.google.dataflow.v1beta3.PipelineDescription DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.dataflow.v1beta3.PipelineDescription();
  }

  public static com.google.dataflow.v1beta3.PipelineDescription getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<PipelineDescription> PARSER =
      new com.google.protobuf.AbstractParser<PipelineDescription>() {
        @java.lang.Override
        public PipelineDescription 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<PipelineDescription> parser() {
    return PARSER;
  }

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

  @java.lang.Override
  public com.google.dataflow.v1beta3.PipelineDescription getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
