/*
 * 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>
 * Description of the type, names/ids, and input/outputs for a transform.
 * </pre>
 *
 * Protobuf type {@code google.dataflow.v1beta3.TransformSummary}
 */
public final class TransformSummary extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.dataflow.v1beta3.TransformSummary)
    TransformSummaryOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use TransformSummary.newBuilder() to construct.
  private TransformSummary(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private TransformSummary() {
    kind_ = 0;
    id_ = "";
    name_ = "";
    displayData_ = java.util.Collections.emptyList();
    outputCollectionName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    inputCollectionName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
  }

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

  @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_TransformSummary_descriptor;
  }

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

  public static final int KIND_FIELD_NUMBER = 1;
  private int kind_ = 0;
  /**
   *
   *
   * <pre>
   * Type of transform.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.KindType kind = 1;</code>
   *
   * @return The enum numeric value on the wire for kind.
   */
  @java.lang.Override
  public int getKindValue() {
    return kind_;
  }
  /**
   *
   *
   * <pre>
   * Type of transform.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.KindType kind = 1;</code>
   *
   * @return The kind.
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.KindType getKind() {
    com.google.dataflow.v1beta3.KindType result =
        com.google.dataflow.v1beta3.KindType.forNumber(kind_);
    return result == null ? com.google.dataflow.v1beta3.KindType.UNRECOGNIZED : result;
  }

  public static final int ID_FIELD_NUMBER = 2;

  @SuppressWarnings("serial")
  private volatile java.lang.Object id_ = "";
  /**
   *
   *
   * <pre>
   * SDK generated id of this transform instance.
   * </pre>
   *
   * <code>string id = 2;</code>
   *
   * @return The id.
   */
  @java.lang.Override
  public java.lang.String getId() {
    java.lang.Object ref = id_;
    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();
      id_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * SDK generated id of this transform instance.
   * </pre>
   *
   * <code>string id = 2;</code>
   *
   * @return The bytes for id.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getIdBytes() {
    java.lang.Object ref = id_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      id_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int NAME_FIELD_NUMBER = 3;

  @SuppressWarnings("serial")
  private volatile java.lang.Object name_ = "";
  /**
   *
   *
   * <pre>
   * User provided name for this transform instance.
   * </pre>
   *
   * <code>string name = 3;</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;
    }
  }
  /**
   *
   *
   * <pre>
   * User provided name for this transform instance.
   * </pre>
   *
   * <code>string name = 3;</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 DISPLAY_DATA_FIELD_NUMBER = 4;

  @SuppressWarnings("serial")
  private java.util.List<com.google.dataflow.v1beta3.DisplayData> displayData_;
  /**
   *
   *
   * <pre>
   * Transform-specific display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
   */
  @java.lang.Override
  public java.util.List<com.google.dataflow.v1beta3.DisplayData> getDisplayDataList() {
    return displayData_;
  }
  /**
   *
   *
   * <pre>
   * Transform-specific display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
   */
  @java.lang.Override
  public java.util.List<? extends com.google.dataflow.v1beta3.DisplayDataOrBuilder>
      getDisplayDataOrBuilderList() {
    return displayData_;
  }
  /**
   *
   *
   * <pre>
   * Transform-specific display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
   */
  @java.lang.Override
  public int getDisplayDataCount() {
    return displayData_.size();
  }
  /**
   *
   *
   * <pre>
   * Transform-specific display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.DisplayData getDisplayData(int index) {
    return displayData_.get(index);
  }
  /**
   *
   *
   * <pre>
   * Transform-specific display data.
   * </pre>
   *
   * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
   */
  @java.lang.Override
  public com.google.dataflow.v1beta3.DisplayDataOrBuilder getDisplayDataOrBuilder(int index) {
    return displayData_.get(index);
  }

  public static final int OUTPUT_COLLECTION_NAME_FIELD_NUMBER = 5;

  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringList outputCollectionName_;
  /**
   *
   *
   * <pre>
   * User  names for all collection outputs to this transform.
   * </pre>
   *
   * <code>repeated string output_collection_name = 5;</code>
   *
   * @return A list containing the outputCollectionName.
   */
  public com.google.protobuf.ProtocolStringList getOutputCollectionNameList() {
    return outputCollectionName_;
  }
  /**
   *
   *
   * <pre>
   * User  names for all collection outputs to this transform.
   * </pre>
   *
   * <code>repeated string output_collection_name = 5;</code>
   *
   * @return The count of outputCollectionName.
   */
  public int getOutputCollectionNameCount() {
    return outputCollectionName_.size();
  }
  /**
   *
   *
   * <pre>
   * User  names for all collection outputs to this transform.
   * </pre>
   *
   * <code>repeated string output_collection_name = 5;</code>
   *
   * @param index The index of the element to return.
   * @return The outputCollectionName at the given index.
   */
  public java.lang.String getOutputCollectionName(int index) {
    return outputCollectionName_.get(index);
  }
  /**
   *
   *
   * <pre>
   * User  names for all collection outputs to this transform.
   * </pre>
   *
   * <code>repeated string output_collection_name = 5;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the outputCollectionName at the given index.
   */
  public com.google.protobuf.ByteString getOutputCollectionNameBytes(int index) {
    return outputCollectionName_.getByteString(index);
  }

  public static final int INPUT_COLLECTION_NAME_FIELD_NUMBER = 6;

  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringList inputCollectionName_;
  /**
   *
   *
   * <pre>
   * User names for all collection inputs to this transform.
   * </pre>
   *
   * <code>repeated string input_collection_name = 6;</code>
   *
   * @return A list containing the inputCollectionName.
   */
  public com.google.protobuf.ProtocolStringList getInputCollectionNameList() {
    return inputCollectionName_;
  }
  /**
   *
   *
   * <pre>
   * User names for all collection inputs to this transform.
   * </pre>
   *
   * <code>repeated string input_collection_name = 6;</code>
   *
   * @return The count of inputCollectionName.
   */
  public int getInputCollectionNameCount() {
    return inputCollectionName_.size();
  }
  /**
   *
   *
   * <pre>
   * User names for all collection inputs to this transform.
   * </pre>
   *
   * <code>repeated string input_collection_name = 6;</code>
   *
   * @param index The index of the element to return.
   * @return The inputCollectionName at the given index.
   */
  public java.lang.String getInputCollectionName(int index) {
    return inputCollectionName_.get(index);
  }
  /**
   *
   *
   * <pre>
   * User names for all collection inputs to this transform.
   * </pre>
   *
   * <code>repeated string input_collection_name = 6;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the inputCollectionName at the given index.
   */
  public com.google.protobuf.ByteString getInputCollectionNameBytes(int index) {
    return inputCollectionName_.getByteString(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 (kind_ != com.google.dataflow.v1beta3.KindType.UNKNOWN_KIND.getNumber()) {
      output.writeEnum(1, kind_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, name_);
    }
    for (int i = 0; i < displayData_.size(); i++) {
      output.writeMessage(4, displayData_.get(i));
    }
    for (int i = 0; i < outputCollectionName_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(
          output, 5, outputCollectionName_.getRaw(i));
    }
    for (int i = 0; i < inputCollectionName_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, inputCollectionName_.getRaw(i));
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (kind_ != com.google.dataflow.v1beta3.KindType.UNKNOWN_KIND.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, kind_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, name_);
    }
    for (int i = 0; i < displayData_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, displayData_.get(i));
    }
    {
      int dataSize = 0;
      for (int i = 0; i < outputCollectionName_.size(); i++) {
        dataSize += computeStringSizeNoTag(outputCollectionName_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getOutputCollectionNameList().size();
    }
    {
      int dataSize = 0;
      for (int i = 0; i < inputCollectionName_.size(); i++) {
        dataSize += computeStringSizeNoTag(inputCollectionName_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getInputCollectionNameList().size();
    }
    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.TransformSummary)) {
      return super.equals(obj);
    }
    com.google.dataflow.v1beta3.TransformSummary other =
        (com.google.dataflow.v1beta3.TransformSummary) obj;

    if (kind_ != other.kind_) return false;
    if (!getId().equals(other.getId())) return false;
    if (!getName().equals(other.getName())) return false;
    if (!getDisplayDataList().equals(other.getDisplayDataList())) return false;
    if (!getOutputCollectionNameList().equals(other.getOutputCollectionNameList())) return false;
    if (!getInputCollectionNameList().equals(other.getInputCollectionNameList())) 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) + KIND_FIELD_NUMBER;
    hash = (53 * hash) + kind_;
    hash = (37 * hash) + ID_FIELD_NUMBER;
    hash = (53 * hash) + getId().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    if (getDisplayDataCount() > 0) {
      hash = (37 * hash) + DISPLAY_DATA_FIELD_NUMBER;
      hash = (53 * hash) + getDisplayDataList().hashCode();
    }
    if (getOutputCollectionNameCount() > 0) {
      hash = (37 * hash) + OUTPUT_COLLECTION_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getOutputCollectionNameList().hashCode();
    }
    if (getInputCollectionNameCount() > 0) {
      hash = (37 * hash) + INPUT_COLLECTION_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getInputCollectionNameList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

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

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

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

  public static com.google.dataflow.v1beta3.TransformSummary 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.TransformSummary parseDelimitedFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.TransformSummary 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.TransformSummary parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.dataflow.v1beta3.TransformSummary 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.TransformSummary 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>
   * Description of the type, names/ids, and input/outputs for a transform.
   * </pre>
   *
   * Protobuf type {@code google.dataflow.v1beta3.TransformSummary}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.dataflow.v1beta3.TransformSummary)
      com.google.dataflow.v1beta3.TransformSummaryOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.dataflow.v1beta3.JobsProto
          .internal_static_google_dataflow_v1beta3_TransformSummary_descriptor;
    }

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

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

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

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      kind_ = 0;
      id_ = "";
      name_ = "";
      if (displayDataBuilder_ == null) {
        displayData_ = java.util.Collections.emptyList();
      } else {
        displayData_ = null;
        displayDataBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000008);
      outputCollectionName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000010);
      inputCollectionName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000020);
      return this;
    }

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

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

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

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

    private void buildPartialRepeatedFields(com.google.dataflow.v1beta3.TransformSummary result) {
      if (displayDataBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          displayData_ = java.util.Collections.unmodifiableList(displayData_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.displayData_ = displayData_;
      } else {
        result.displayData_ = displayDataBuilder_.build();
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        outputCollectionName_ = outputCollectionName_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000010);
      }
      result.outputCollectionName_ = outputCollectionName_;
      if (((bitField0_ & 0x00000020) != 0)) {
        inputCollectionName_ = inputCollectionName_.getUnmodifiableView();
        bitField0_ = (bitField0_ & ~0x00000020);
      }
      result.inputCollectionName_ = inputCollectionName_;
    }

    private void buildPartial0(com.google.dataflow.v1beta3.TransformSummary result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.kind_ = kind_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.id_ = id_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.name_ = name_;
      }
    }

    @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.TransformSummary) {
        return mergeFrom((com.google.dataflow.v1beta3.TransformSummary) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.dataflow.v1beta3.TransformSummary other) {
      if (other == com.google.dataflow.v1beta3.TransformSummary.getDefaultInstance()) return this;
      if (other.kind_ != 0) {
        setKindValue(other.getKindValue());
      }
      if (!other.getId().isEmpty()) {
        id_ = other.id_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (displayDataBuilder_ == null) {
        if (!other.displayData_.isEmpty()) {
          if (displayData_.isEmpty()) {
            displayData_ = other.displayData_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureDisplayDataIsMutable();
            displayData_.addAll(other.displayData_);
          }
          onChanged();
        }
      } else {
        if (!other.displayData_.isEmpty()) {
          if (displayDataBuilder_.isEmpty()) {
            displayDataBuilder_.dispose();
            displayDataBuilder_ = null;
            displayData_ = other.displayData_;
            bitField0_ = (bitField0_ & ~0x00000008);
            displayDataBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getDisplayDataFieldBuilder()
                    : null;
          } else {
            displayDataBuilder_.addAllMessages(other.displayData_);
          }
        }
      }
      if (!other.outputCollectionName_.isEmpty()) {
        if (outputCollectionName_.isEmpty()) {
          outputCollectionName_ = other.outputCollectionName_;
          bitField0_ = (bitField0_ & ~0x00000010);
        } else {
          ensureOutputCollectionNameIsMutable();
          outputCollectionName_.addAll(other.outputCollectionName_);
        }
        onChanged();
      }
      if (!other.inputCollectionName_.isEmpty()) {
        if (inputCollectionName_.isEmpty()) {
          inputCollectionName_ = other.inputCollectionName_;
          bitField0_ = (bitField0_ & ~0x00000020);
        } else {
          ensureInputCollectionNameIsMutable();
          inputCollectionName_.addAll(other.inputCollectionName_);
        }
        onChanged();
      }
      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:
              {
                kind_ = input.readEnum();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
            case 18:
              {
                id_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 26:
              {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000004;
                break;
              } // case 26
            case 34:
              {
                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 34
            case 42:
              {
                java.lang.String s = input.readStringRequireUtf8();
                ensureOutputCollectionNameIsMutable();
                outputCollectionName_.add(s);
                break;
              } // case 42
            case 50:
              {
                java.lang.String s = input.readStringRequireUtf8();
                ensureInputCollectionNameIsMutable();
                inputCollectionName_.add(s);
                break;
              } // case 50
            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 kind_ = 0;
    /**
     *
     *
     * <pre>
     * Type of transform.
     * </pre>
     *
     * <code>.google.dataflow.v1beta3.KindType kind = 1;</code>
     *
     * @return The enum numeric value on the wire for kind.
     */
    @java.lang.Override
    public int getKindValue() {
      return kind_;
    }
    /**
     *
     *
     * <pre>
     * Type of transform.
     * </pre>
     *
     * <code>.google.dataflow.v1beta3.KindType kind = 1;</code>
     *
     * @param value The enum numeric value on the wire for kind to set.
     * @return This builder for chaining.
     */
    public Builder setKindValue(int value) {
      kind_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Type of transform.
     * </pre>
     *
     * <code>.google.dataflow.v1beta3.KindType kind = 1;</code>
     *
     * @return The kind.
     */
    @java.lang.Override
    public com.google.dataflow.v1beta3.KindType getKind() {
      com.google.dataflow.v1beta3.KindType result =
          com.google.dataflow.v1beta3.KindType.forNumber(kind_);
      return result == null ? com.google.dataflow.v1beta3.KindType.UNRECOGNIZED : result;
    }
    /**
     *
     *
     * <pre>
     * Type of transform.
     * </pre>
     *
     * <code>.google.dataflow.v1beta3.KindType kind = 1;</code>
     *
     * @param value The kind to set.
     * @return This builder for chaining.
     */
    public Builder setKind(com.google.dataflow.v1beta3.KindType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      kind_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Type of transform.
     * </pre>
     *
     * <code>.google.dataflow.v1beta3.KindType kind = 1;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearKind() {
      bitField0_ = (bitField0_ & ~0x00000001);
      kind_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object id_ = "";
    /**
     *
     *
     * <pre>
     * SDK generated id of this transform instance.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @return The id.
     */
    public java.lang.String getId() {
      java.lang.Object ref = id_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        id_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * SDK generated id of this transform instance.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @return The bytes for id.
     */
    public com.google.protobuf.ByteString getIdBytes() {
      java.lang.Object ref = id_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        id_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * SDK generated id of this transform instance.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @param value The id to set.
     * @return This builder for chaining.
     */
    public Builder setId(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      id_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * SDK generated id of this transform instance.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearId() {
      id_ = getDefaultInstance().getId();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * SDK generated id of this transform instance.
     * </pre>
     *
     * <code>string id = 2;</code>
     *
     * @param value The bytes for id to set.
     * @return This builder for chaining.
     */
    public Builder setIdBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      id_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.lang.Object name_ = "";
    /**
     *
     *
     * <pre>
     * User provided name for this transform instance.
     * </pre>
     *
     * <code>string name = 3;</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;
      }
    }
    /**
     *
     *
     * <pre>
     * User provided name for this transform instance.
     * </pre>
     *
     * <code>string name = 3;</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;
      }
    }
    /**
     *
     *
     * <pre>
     * User provided name for this transform instance.
     * </pre>
     *
     * <code>string name = 3;</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_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User provided name for this transform instance.
     * </pre>
     *
     * <code>string name = 3;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User provided name for this transform instance.
     * </pre>
     *
     * <code>string name = 3;</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_ |= 0x00000004;
      onChanged();
      return this;
    }

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

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

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

    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public int getDisplayDataCount() {
      if (displayDataBuilder_ == null) {
        return displayData_.size();
      } else {
        return displayDataBuilder_.getCount();
      }
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData getDisplayData(int index) {
      if (displayDataBuilder_ == null) {
        return displayData_.get(index);
      } else {
        return displayDataBuilder_.getMessage(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public Builder clearDisplayData() {
      if (displayDataBuilder_ == null) {
        displayData_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
      } else {
        displayDataBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public Builder removeDisplayData(int index) {
      if (displayDataBuilder_ == null) {
        ensureDisplayDataIsMutable();
        displayData_.remove(index);
        onChanged();
      } else {
        displayDataBuilder_.remove(index);
      }
      return this;
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData.Builder getDisplayDataBuilder(int index) {
      return getDisplayDataFieldBuilder().getBuilder(index);
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public com.google.dataflow.v1beta3.DisplayDataOrBuilder getDisplayDataOrBuilder(int index) {
      if (displayDataBuilder_ == null) {
        return displayData_.get(index);
      } else {
        return displayDataBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData.Builder addDisplayDataBuilder() {
      return getDisplayDataFieldBuilder()
          .addBuilder(com.google.dataflow.v1beta3.DisplayData.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</code>
     */
    public com.google.dataflow.v1beta3.DisplayData.Builder addDisplayDataBuilder(int index) {
      return getDisplayDataFieldBuilder()
          .addBuilder(index, com.google.dataflow.v1beta3.DisplayData.getDefaultInstance());
    }
    /**
     *
     *
     * <pre>
     * Transform-specific display data.
     * </pre>
     *
     * <code>repeated .google.dataflow.v1beta3.DisplayData display_data = 4;</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_ & 0x00000008) != 0), getParentForChildren(), isClean());
        displayData_ = null;
      }
      return displayDataBuilder_;
    }

    private com.google.protobuf.LazyStringList outputCollectionName_ =
        com.google.protobuf.LazyStringArrayList.EMPTY;

    private void ensureOutputCollectionNameIsMutable() {
      if (!((bitField0_ & 0x00000010) != 0)) {
        outputCollectionName_ = new com.google.protobuf.LazyStringArrayList(outputCollectionName_);
        bitField0_ |= 0x00000010;
      }
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @return A list containing the outputCollectionName.
     */
    public com.google.protobuf.ProtocolStringList getOutputCollectionNameList() {
      return outputCollectionName_.getUnmodifiableView();
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @return The count of outputCollectionName.
     */
    public int getOutputCollectionNameCount() {
      return outputCollectionName_.size();
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @param index The index of the element to return.
     * @return The outputCollectionName at the given index.
     */
    public java.lang.String getOutputCollectionName(int index) {
      return outputCollectionName_.get(index);
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the outputCollectionName at the given index.
     */
    public com.google.protobuf.ByteString getOutputCollectionNameBytes(int index) {
      return outputCollectionName_.getByteString(index);
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @param index The index to set the value at.
     * @param value The outputCollectionName to set.
     * @return This builder for chaining.
     */
    public Builder setOutputCollectionName(int index, java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureOutputCollectionNameIsMutable();
      outputCollectionName_.set(index, value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @param value The outputCollectionName to add.
     * @return This builder for chaining.
     */
    public Builder addOutputCollectionName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureOutputCollectionNameIsMutable();
      outputCollectionName_.add(value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @param values The outputCollectionName to add.
     * @return This builder for chaining.
     */
    public Builder addAllOutputCollectionName(java.lang.Iterable<java.lang.String> values) {
      ensureOutputCollectionNameIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(values, outputCollectionName_);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearOutputCollectionName() {
      outputCollectionName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User  names for all collection outputs to this transform.
     * </pre>
     *
     * <code>repeated string output_collection_name = 5;</code>
     *
     * @param value The bytes of the outputCollectionName to add.
     * @return This builder for chaining.
     */
    public Builder addOutputCollectionNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      ensureOutputCollectionNameIsMutable();
      outputCollectionName_.add(value);
      onChanged();
      return this;
    }

    private com.google.protobuf.LazyStringList inputCollectionName_ =
        com.google.protobuf.LazyStringArrayList.EMPTY;

    private void ensureInputCollectionNameIsMutable() {
      if (!((bitField0_ & 0x00000020) != 0)) {
        inputCollectionName_ = new com.google.protobuf.LazyStringArrayList(inputCollectionName_);
        bitField0_ |= 0x00000020;
      }
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @return A list containing the inputCollectionName.
     */
    public com.google.protobuf.ProtocolStringList getInputCollectionNameList() {
      return inputCollectionName_.getUnmodifiableView();
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @return The count of inputCollectionName.
     */
    public int getInputCollectionNameCount() {
      return inputCollectionName_.size();
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @param index The index of the element to return.
     * @return The inputCollectionName at the given index.
     */
    public java.lang.String getInputCollectionName(int index) {
      return inputCollectionName_.get(index);
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the inputCollectionName at the given index.
     */
    public com.google.protobuf.ByteString getInputCollectionNameBytes(int index) {
      return inputCollectionName_.getByteString(index);
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @param index The index to set the value at.
     * @param value The inputCollectionName to set.
     * @return This builder for chaining.
     */
    public Builder setInputCollectionName(int index, java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureInputCollectionNameIsMutable();
      inputCollectionName_.set(index, value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @param value The inputCollectionName to add.
     * @return This builder for chaining.
     */
    public Builder addInputCollectionName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      ensureInputCollectionNameIsMutable();
      inputCollectionName_.add(value);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @param values The inputCollectionName to add.
     * @return This builder for chaining.
     */
    public Builder addAllInputCollectionName(java.lang.Iterable<java.lang.String> values) {
      ensureInputCollectionNameIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(values, inputCollectionName_);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearInputCollectionName() {
      inputCollectionName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * User names for all collection inputs to this transform.
     * </pre>
     *
     * <code>repeated string input_collection_name = 6;</code>
     *
     * @param value The bytes of the inputCollectionName to add.
     * @return This builder for chaining.
     */
    public Builder addInputCollectionNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      ensureInputCollectionNameIsMutable();
      inputCollectionName_.add(value);
      onChanged();
      return this;
    }

    @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.TransformSummary)
  }

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

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

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

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

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

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