// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/genomics/v1alpha2/pipelines.proto

package com.google.genomics.v1a;

/**
 * <pre>
 * Stores the information that the controller will fetch from the
 * server in order to run. Should only be used by VMs created by the
 * Pipelines Service and not by end users.
 * </pre>
 *
 * Protobuf type {@code google.genomics.v1alpha2.ControllerConfig}
 */
public  final class ControllerConfig extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:google.genomics.v1alpha2.ControllerConfig)
    ControllerConfigOrBuilder {
  // Use ControllerConfig.newBuilder() to construct.
  private ControllerConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }
  private ControllerConfig() {
    image_ = "";
    cmd_ = "";
    gcsLogPath_ = "";
    machineType_ = "";
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
  }
  private ControllerConfig(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    int mutable_bitField0_ = 0;
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          default: {
            if (!input.skipField(tag)) {
              done = true;
            }
            break;
          }
          case 10: {
            java.lang.String s = input.readStringRequireUtf8();

            image_ = s;
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            cmd_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            gcsLogPath_ = s;
            break;
          }
          case 34: {
            java.lang.String s = input.readStringRequireUtf8();

            machineType_ = s;
            break;
          }
          case 42: {
            if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
              vars_ = com.google.protobuf.MapField.newMapField(
                  VarsDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000010;
            }
            com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
            vars__ = input.readMessage(
                VarsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            vars_.getMutableMap().put(
                vars__.getKey(), vars__.getValue());
            break;
          }
          case 50: {
            if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
              disks_ = com.google.protobuf.MapField.newMapField(
                  DisksDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000020;
            }
            com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
            disks__ = input.readMessage(
                DisksDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            disks_.getMutableMap().put(
                disks__.getKey(), disks__.getValue());
            break;
          }
          case 58: {
            if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
              gcsSources_ = com.google.protobuf.MapField.newMapField(
                  GcsSourcesDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000040;
            }
            com.google.protobuf.MapEntry<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
            gcsSources__ = input.readMessage(
                GcsSourcesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            gcsSources_.getMutableMap().put(
                gcsSources__.getKey(), gcsSources__.getValue());
            break;
          }
          case 66: {
            if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
              gcsSinks_ = com.google.protobuf.MapField.newMapField(
                  GcsSinksDefaultEntryHolder.defaultEntry);
              mutable_bitField0_ |= 0x00000080;
            }
            com.google.protobuf.MapEntry<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
            gcsSinks__ = input.readMessage(
                GcsSinksDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
            gcsSinks_.getMutableMap().put(
                gcsSinks__.getKey(), gcsSinks__.getValue());
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  protected com.google.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 5:
        return internalGetVars();
      case 6:
        return internalGetDisks();
      case 7:
        return internalGetGcsSources();
      case 8:
        return internalGetGcsSinks();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.genomics.v1a.ControllerConfig.class, com.google.genomics.v1a.ControllerConfig.Builder.class);
  }

  public interface RepeatedStringOrBuilder extends
      // @@protoc_insertion_point(interface_extends:google.genomics.v1alpha2.ControllerConfig.RepeatedString)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>repeated string values = 1;</code>
     */
    java.util.List<java.lang.String>
        getValuesList();
    /**
     * <code>repeated string values = 1;</code>
     */
    int getValuesCount();
    /**
     * <code>repeated string values = 1;</code>
     */
    java.lang.String getValues(int index);
    /**
     * <code>repeated string values = 1;</code>
     */
    com.google.protobuf.ByteString
        getValuesBytes(int index);
  }
  /**
   * Protobuf type {@code google.genomics.v1alpha2.ControllerConfig.RepeatedString}
   */
  public  static final class RepeatedString extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:google.genomics.v1alpha2.ControllerConfig.RepeatedString)
      RepeatedStringOrBuilder {
    // Use RepeatedString.newBuilder() to construct.
    private RepeatedString(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private RepeatedString() {
      values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return com.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private RepeatedString(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                values_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              values_.add(s);
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          values_ = values_.getUnmodifiableView();
        }
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_RepeatedString_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_RepeatedString_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.genomics.v1a.ControllerConfig.RepeatedString.class, com.google.genomics.v1a.ControllerConfig.RepeatedString.Builder.class);
    }

    public static final int VALUES_FIELD_NUMBER = 1;
    private com.google.protobuf.LazyStringList values_;
    /**
     * <code>repeated string values = 1;</code>
     */
    public com.google.protobuf.ProtocolStringList
        getValuesList() {
      return values_;
    }
    /**
     * <code>repeated string values = 1;</code>
     */
    public int getValuesCount() {
      return values_.size();
    }
    /**
     * <code>repeated string values = 1;</code>
     */
    public java.lang.String getValues(int index) {
      return values_.get(index);
    }
    /**
     * <code>repeated string values = 1;</code>
     */
    public com.google.protobuf.ByteString
        getValuesBytes(int index) {
      return values_.getByteString(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < values_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, values_.getRaw(i));
      }
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < values_.size(); i++) {
          dataSize += computeStringSizeNoTag(values_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getValuesList().size();
      }
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.google.genomics.v1a.ControllerConfig.RepeatedString)) {
        return super.equals(obj);
      }
      com.google.genomics.v1a.ControllerConfig.RepeatedString other = (com.google.genomics.v1a.ControllerConfig.RepeatedString) obj;

      boolean result = true;
      result = result && getValuesList()
          .equals(other.getValuesList());
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptorForType().hashCode();
      if (getValuesCount() > 0) {
        hash = (37 * hash) + VALUES_FIELD_NUMBER;
        hash = (53 * hash) + getValuesList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.google.genomics.v1a.ControllerConfig.RepeatedString parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.genomics.v1a.ControllerConfig.RepeatedString 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.genomics.v1a.ControllerConfig.RepeatedString parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.google.genomics.v1a.ControllerConfig.RepeatedString parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.google.genomics.v1a.ControllerConfig.RepeatedString parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.genomics.v1a.ControllerConfig.RepeatedString 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.genomics.v1a.ControllerConfig.RepeatedString parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.google.genomics.v1a.ControllerConfig.RepeatedString 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.genomics.v1a.ControllerConfig.RepeatedString parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.google.genomics.v1a.ControllerConfig.RepeatedString parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.google.genomics.v1a.ControllerConfig.RepeatedString prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code google.genomics.v1alpha2.ControllerConfig.RepeatedString}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:google.genomics.v1alpha2.ControllerConfig.RepeatedString)
        com.google.genomics.v1a.ControllerConfig.RepeatedStringOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_RepeatedString_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_RepeatedString_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.google.genomics.v1a.ControllerConfig.RepeatedString.class, com.google.genomics.v1a.ControllerConfig.RepeatedString.Builder.class);
      }

      // Construct using com.google.genomics.v1a.ControllerConfig.RepeatedString.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_RepeatedString_descriptor;
      }

      public com.google.genomics.v1a.ControllerConfig.RepeatedString getDefaultInstanceForType() {
        return com.google.genomics.v1a.ControllerConfig.RepeatedString.getDefaultInstance();
      }

      public com.google.genomics.v1a.ControllerConfig.RepeatedString build() {
        com.google.genomics.v1a.ControllerConfig.RepeatedString result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.google.genomics.v1a.ControllerConfig.RepeatedString buildPartial() {
        com.google.genomics.v1a.ControllerConfig.RepeatedString result = new com.google.genomics.v1a.ControllerConfig.RepeatedString(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          values_ = values_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.values_ = values_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.google.genomics.v1a.ControllerConfig.RepeatedString) {
          return mergeFrom((com.google.genomics.v1a.ControllerConfig.RepeatedString)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.google.genomics.v1a.ControllerConfig.RepeatedString other) {
        if (other == com.google.genomics.v1a.ControllerConfig.RepeatedString.getDefaultInstance()) return this;
        if (!other.values_.isEmpty()) {
          if (values_.isEmpty()) {
            values_ = other.values_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureValuesIsMutable();
            values_.addAll(other.values_);
          }
          onChanged();
        }
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.google.genomics.v1a.ControllerConfig.RepeatedString parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.google.genomics.v1a.ControllerConfig.RepeatedString) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.LazyStringList values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureValuesIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          values_ = new com.google.protobuf.LazyStringArrayList(values_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public com.google.protobuf.ProtocolStringList
          getValuesList() {
        return values_.getUnmodifiableView();
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public int getValuesCount() {
        return values_.size();
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public java.lang.String getValues(int index) {
        return values_.get(index);
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public com.google.protobuf.ByteString
          getValuesBytes(int index) {
        return values_.getByteString(index);
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public Builder setValues(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureValuesIsMutable();
        values_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public Builder addValues(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureValuesIsMutable();
        values_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public Builder addAllValues(
          java.lang.Iterable<java.lang.String> values) {
        ensureValuesIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, values_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public Builder clearValues() {
        values_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string values = 1;</code>
       */
      public Builder addValuesBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureValuesIsMutable();
        values_.add(value);
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return this;
      }

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


      // @@protoc_insertion_point(builder_scope:google.genomics.v1alpha2.ControllerConfig.RepeatedString)
    }

    // @@protoc_insertion_point(class_scope:google.genomics.v1alpha2.ControllerConfig.RepeatedString)
    private static final com.google.genomics.v1a.ControllerConfig.RepeatedString DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.google.genomics.v1a.ControllerConfig.RepeatedString();
    }

    public static com.google.genomics.v1a.ControllerConfig.RepeatedString getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    public com.google.genomics.v1a.ControllerConfig.RepeatedString getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private int bitField0_;
  public static final int IMAGE_FIELD_NUMBER = 1;
  private volatile java.lang.Object image_;
  /**
   * <code>optional string image = 1;</code>
   */
  public java.lang.String getImage() {
    java.lang.Object ref = image_;
    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();
      image_ = s;
      return s;
    }
  }
  /**
   * <code>optional string image = 1;</code>
   */
  public com.google.protobuf.ByteString
      getImageBytes() {
    java.lang.Object ref = image_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      image_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int CMD_FIELD_NUMBER = 2;
  private volatile java.lang.Object cmd_;
  /**
   * <code>optional string cmd = 2;</code>
   */
  public java.lang.String getCmd() {
    java.lang.Object ref = cmd_;
    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();
      cmd_ = s;
      return s;
    }
  }
  /**
   * <code>optional string cmd = 2;</code>
   */
  public com.google.protobuf.ByteString
      getCmdBytes() {
    java.lang.Object ref = cmd_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      cmd_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int GCS_LOG_PATH_FIELD_NUMBER = 3;
  private volatile java.lang.Object gcsLogPath_;
  /**
   * <code>optional string gcs_log_path = 3;</code>
   */
  public java.lang.String getGcsLogPath() {
    java.lang.Object ref = gcsLogPath_;
    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();
      gcsLogPath_ = s;
      return s;
    }
  }
  /**
   * <code>optional string gcs_log_path = 3;</code>
   */
  public com.google.protobuf.ByteString
      getGcsLogPathBytes() {
    java.lang.Object ref = gcsLogPath_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      gcsLogPath_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MACHINE_TYPE_FIELD_NUMBER = 4;
  private volatile java.lang.Object machineType_;
  /**
   * <code>optional string machine_type = 4;</code>
   */
  public java.lang.String getMachineType() {
    java.lang.Object ref = machineType_;
    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();
      machineType_ = s;
      return s;
    }
  }
  /**
   * <code>optional string machine_type = 4;</code>
   */
  public com.google.protobuf.ByteString
      getMachineTypeBytes() {
    java.lang.Object ref = machineType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      machineType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int VARS_FIELD_NUMBER = 5;
  private static final class VarsDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, java.lang.String> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.String, java.lang.String>newDefaultInstance(
                com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_VarsEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.STRING,
                "");
  }
  private com.google.protobuf.MapField<
      java.lang.String, java.lang.String> vars_;
  private com.google.protobuf.MapField<java.lang.String, java.lang.String>
  internalGetVars() {
    if (vars_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          VarsDefaultEntryHolder.defaultEntry);
    }
    return vars_;
  }

  public int getVarsCount() {
    return internalGetVars().getMap().size();
  }
  /**
   * <code>map&lt;string, string&gt; vars = 5;</code>
   */

  public boolean containsVars(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    return internalGetVars().getMap().containsKey(key);
  }
  /**
   * Use {@link #getVarsMap()} instead.
   */
  @java.lang.Deprecated
  public java.util.Map<java.lang.String, java.lang.String> getVars() {
    return getVarsMap();
  }
  /**
   * <code>map&lt;string, string&gt; vars = 5;</code>
   */

  public java.util.Map<java.lang.String, java.lang.String> getVarsMap() {
    return internalGetVars().getMap();
  }
  /**
   * <code>map&lt;string, string&gt; vars = 5;</code>
   */

  public java.lang.String getVarsOrDefault(
      java.lang.String key,
      java.lang.String defaultValue) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, java.lang.String> map =
        internalGetVars().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;string, string&gt; vars = 5;</code>
   */

  public java.lang.String getVarsOrThrow(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, java.lang.String> map =
        internalGetVars().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int DISKS_FIELD_NUMBER = 6;
  private static final class DisksDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, java.lang.String> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.String, java.lang.String>newDefaultInstance(
                com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_DisksEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.STRING,
                "");
  }
  private com.google.protobuf.MapField<
      java.lang.String, java.lang.String> disks_;
  private com.google.protobuf.MapField<java.lang.String, java.lang.String>
  internalGetDisks() {
    if (disks_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          DisksDefaultEntryHolder.defaultEntry);
    }
    return disks_;
  }

  public int getDisksCount() {
    return internalGetDisks().getMap().size();
  }
  /**
   * <code>map&lt;string, string&gt; disks = 6;</code>
   */

  public boolean containsDisks(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    return internalGetDisks().getMap().containsKey(key);
  }
  /**
   * Use {@link #getDisksMap()} instead.
   */
  @java.lang.Deprecated
  public java.util.Map<java.lang.String, java.lang.String> getDisks() {
    return getDisksMap();
  }
  /**
   * <code>map&lt;string, string&gt; disks = 6;</code>
   */

  public java.util.Map<java.lang.String, java.lang.String> getDisksMap() {
    return internalGetDisks().getMap();
  }
  /**
   * <code>map&lt;string, string&gt; disks = 6;</code>
   */

  public java.lang.String getDisksOrDefault(
      java.lang.String key,
      java.lang.String defaultValue) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, java.lang.String> map =
        internalGetDisks().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;string, string&gt; disks = 6;</code>
   */

  public java.lang.String getDisksOrThrow(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, java.lang.String> map =
        internalGetDisks().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int GCS_SOURCES_FIELD_NUMBER = 7;
  private static final class GcsSourcesDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>newDefaultInstance(
                com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_GcsSourcesEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                com.google.genomics.v1a.ControllerConfig.RepeatedString.getDefaultInstance());
  }
  private com.google.protobuf.MapField<
      java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> gcsSources_;
  private com.google.protobuf.MapField<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
  internalGetGcsSources() {
    if (gcsSources_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          GcsSourcesDefaultEntryHolder.defaultEntry);
    }
    return gcsSources_;
  }

  public int getGcsSourcesCount() {
    return internalGetGcsSources().getMap().size();
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
   */

  public boolean containsGcsSources(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    return internalGetGcsSources().getMap().containsKey(key);
  }
  /**
   * Use {@link #getGcsSourcesMap()} instead.
   */
  @java.lang.Deprecated
  public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSources() {
    return getGcsSourcesMap();
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
   */

  public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSourcesMap() {
    return internalGetGcsSources().getMap();
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
   */

  public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSourcesOrDefault(
      java.lang.String key,
      com.google.genomics.v1a.ControllerConfig.RepeatedString defaultValue) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
        internalGetGcsSources().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
   */

  public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSourcesOrThrow(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
        internalGetGcsSources().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  public static final int GCS_SINKS_FIELD_NUMBER = 8;
  private static final class GcsSinksDefaultEntryHolder {
    static final com.google.protobuf.MapEntry<
        java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> defaultEntry =
            com.google.protobuf.MapEntry
            .<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>newDefaultInstance(
                com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_GcsSinksEntry_descriptor, 
                com.google.protobuf.WireFormat.FieldType.STRING,
                "",
                com.google.protobuf.WireFormat.FieldType.MESSAGE,
                com.google.genomics.v1a.ControllerConfig.RepeatedString.getDefaultInstance());
  }
  private com.google.protobuf.MapField<
      java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> gcsSinks_;
  private com.google.protobuf.MapField<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
  internalGetGcsSinks() {
    if (gcsSinks_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          GcsSinksDefaultEntryHolder.defaultEntry);
    }
    return gcsSinks_;
  }

  public int getGcsSinksCount() {
    return internalGetGcsSinks().getMap().size();
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
   */

  public boolean containsGcsSinks(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    return internalGetGcsSinks().getMap().containsKey(key);
  }
  /**
   * Use {@link #getGcsSinksMap()} instead.
   */
  @java.lang.Deprecated
  public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSinks() {
    return getGcsSinksMap();
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
   */

  public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSinksMap() {
    return internalGetGcsSinks().getMap();
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
   */

  public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSinksOrDefault(
      java.lang.String key,
      com.google.genomics.v1a.ControllerConfig.RepeatedString defaultValue) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
        internalGetGcsSinks().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
   */

  public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSinksOrThrow(
      java.lang.String key) {
    if (key == null) { throw new java.lang.NullPointerException(); }
    java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
        internalGetGcsSinks().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

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

    memoizedIsInitialized = 1;
    return true;
  }

  public void writeTo(com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (!getImageBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, image_);
    }
    if (!getCmdBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cmd_);
    }
    if (!getGcsLogPathBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gcsLogPath_);
    }
    if (!getMachineTypeBytes().isEmpty()) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, machineType_);
    }
    com.google.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetVars(),
        VarsDefaultEntryHolder.defaultEntry,
        5);
    com.google.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetDisks(),
        DisksDefaultEntryHolder.defaultEntry,
        6);
    com.google.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetGcsSources(),
        GcsSourcesDefaultEntryHolder.defaultEntry,
        7);
    com.google.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetGcsSinks(),
        GcsSinksDefaultEntryHolder.defaultEntry,
        8);
  }

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

    size = 0;
    if (!getImageBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, image_);
    }
    if (!getCmdBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cmd_);
    }
    if (!getGcsLogPathBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gcsLogPath_);
    }
    if (!getMachineTypeBytes().isEmpty()) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, machineType_);
    }
    for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
         : internalGetVars().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
      vars__ = VarsDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(5, vars__);
    }
    for (java.util.Map.Entry<java.lang.String, java.lang.String> entry
         : internalGetDisks().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.String, java.lang.String>
      disks__ = DisksDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(6, disks__);
    }
    for (java.util.Map.Entry<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> entry
         : internalGetGcsSources().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
      gcsSources__ = GcsSourcesDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, gcsSources__);
    }
    for (java.util.Map.Entry<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> entry
         : internalGetGcsSinks().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
      gcsSinks__ = GcsSinksDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, gcsSinks__);
    }
    memoizedSize = size;
    return size;
  }

  private static final long serialVersionUID = 0L;
  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.google.genomics.v1a.ControllerConfig)) {
      return super.equals(obj);
    }
    com.google.genomics.v1a.ControllerConfig other = (com.google.genomics.v1a.ControllerConfig) obj;

    boolean result = true;
    result = result && getImage()
        .equals(other.getImage());
    result = result && getCmd()
        .equals(other.getCmd());
    result = result && getGcsLogPath()
        .equals(other.getGcsLogPath());
    result = result && getMachineType()
        .equals(other.getMachineType());
    result = result && internalGetVars().equals(
        other.internalGetVars());
    result = result && internalGetDisks().equals(
        other.internalGetDisks());
    result = result && internalGetGcsSources().equals(
        other.internalGetGcsSources());
    result = result && internalGetGcsSinks().equals(
        other.internalGetGcsSinks());
    return result;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptorForType().hashCode();
    hash = (37 * hash) + IMAGE_FIELD_NUMBER;
    hash = (53 * hash) + getImage().hashCode();
    hash = (37 * hash) + CMD_FIELD_NUMBER;
    hash = (53 * hash) + getCmd().hashCode();
    hash = (37 * hash) + GCS_LOG_PATH_FIELD_NUMBER;
    hash = (53 * hash) + getGcsLogPath().hashCode();
    hash = (37 * hash) + MACHINE_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + getMachineType().hashCode();
    if (!internalGetVars().getMap().isEmpty()) {
      hash = (37 * hash) + VARS_FIELD_NUMBER;
      hash = (53 * hash) + internalGetVars().hashCode();
    }
    if (!internalGetDisks().getMap().isEmpty()) {
      hash = (37 * hash) + DISKS_FIELD_NUMBER;
      hash = (53 * hash) + internalGetDisks().hashCode();
    }
    if (!internalGetGcsSources().getMap().isEmpty()) {
      hash = (37 * hash) + GCS_SOURCES_FIELD_NUMBER;
      hash = (53 * hash) + internalGetGcsSources().hashCode();
    }
    if (!internalGetGcsSinks().getMap().isEmpty()) {
      hash = (37 * hash) + GCS_SINKS_FIELD_NUMBER;
      hash = (53 * hash) + internalGetGcsSinks().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.genomics.v1a.ControllerConfig parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.genomics.v1a.ControllerConfig 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.genomics.v1a.ControllerConfig parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.google.genomics.v1a.ControllerConfig parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.google.genomics.v1a.ControllerConfig parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.genomics.v1a.ControllerConfig 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.genomics.v1a.ControllerConfig parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.google.genomics.v1a.ControllerConfig 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.genomics.v1a.ControllerConfig parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.google.genomics.v1a.ControllerConfig parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.google.genomics.v1a.ControllerConfig prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE
        ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(
      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * <pre>
   * Stores the information that the controller will fetch from the
   * server in order to run. Should only be used by VMs created by the
   * Pipelines Service and not by end users.
   * </pre>
   *
   * Protobuf type {@code google.genomics.v1alpha2.ControllerConfig}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
      // @@protoc_insertion_point(builder_implements:google.genomics.v1alpha2.ControllerConfig)
      com.google.genomics.v1a.ControllerConfigOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 5:
          return internalGetVars();
        case 6:
          return internalGetDisks();
        case 7:
          return internalGetGcsSources();
        case 8:
          return internalGetGcsSinks();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.google.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 5:
          return internalGetMutableVars();
        case 6:
          return internalGetMutableDisks();
        case 7:
          return internalGetMutableGcsSources();
        case 8:
          return internalGetMutableGcsSinks();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.genomics.v1a.ControllerConfig.class, com.google.genomics.v1a.ControllerConfig.Builder.class);
    }

    // Construct using com.google.genomics.v1a.ControllerConfig.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    public Builder clear() {
      super.clear();
      image_ = "";

      cmd_ = "";

      gcsLogPath_ = "";

      machineType_ = "";

      internalGetMutableVars().clear();
      internalGetMutableDisks().clear();
      internalGetMutableGcsSources().clear();
      internalGetMutableGcsSinks().clear();
      return this;
    }

    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.google.genomics.v1a.PipelinesProto.internal_static_google_genomics_v1alpha2_ControllerConfig_descriptor;
    }

    public com.google.genomics.v1a.ControllerConfig getDefaultInstanceForType() {
      return com.google.genomics.v1a.ControllerConfig.getDefaultInstance();
    }

    public com.google.genomics.v1a.ControllerConfig build() {
      com.google.genomics.v1a.ControllerConfig result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    public com.google.genomics.v1a.ControllerConfig buildPartial() {
      com.google.genomics.v1a.ControllerConfig result = new com.google.genomics.v1a.ControllerConfig(this);
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      result.image_ = image_;
      result.cmd_ = cmd_;
      result.gcsLogPath_ = gcsLogPath_;
      result.machineType_ = machineType_;
      result.vars_ = internalGetVars();
      result.vars_.makeImmutable();
      result.disks_ = internalGetDisks();
      result.disks_.makeImmutable();
      result.gcsSources_ = internalGetGcsSources();
      result.gcsSources_.makeImmutable();
      result.gcsSinks_ = internalGetGcsSinks();
      result.gcsSinks_.makeImmutable();
      result.bitField0_ = to_bitField0_;
      onBuilt();
      return result;
    }

    public Builder clone() {
      return (Builder) super.clone();
    }
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return (Builder) super.setField(field, value);
    }
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return (Builder) super.clearField(field);
    }
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return (Builder) super.clearOneof(oneof);
    }
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, Object value) {
      return (Builder) super.setRepeatedField(field, index, value);
    }
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) {
      return (Builder) super.addRepeatedField(field, value);
    }
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.genomics.v1a.ControllerConfig) {
        return mergeFrom((com.google.genomics.v1a.ControllerConfig)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.genomics.v1a.ControllerConfig other) {
      if (other == com.google.genomics.v1a.ControllerConfig.getDefaultInstance()) return this;
      if (!other.getImage().isEmpty()) {
        image_ = other.image_;
        onChanged();
      }
      if (!other.getCmd().isEmpty()) {
        cmd_ = other.cmd_;
        onChanged();
      }
      if (!other.getGcsLogPath().isEmpty()) {
        gcsLogPath_ = other.gcsLogPath_;
        onChanged();
      }
      if (!other.getMachineType().isEmpty()) {
        machineType_ = other.machineType_;
        onChanged();
      }
      internalGetMutableVars().mergeFrom(
          other.internalGetVars());
      internalGetMutableDisks().mergeFrom(
          other.internalGetDisks());
      internalGetMutableGcsSources().mergeFrom(
          other.internalGetGcsSources());
      internalGetMutableGcsSinks().mergeFrom(
          other.internalGetGcsSinks());
      onChanged();
      return this;
    }

    public final boolean isInitialized() {
      return true;
    }

    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      com.google.genomics.v1a.ControllerConfig parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.google.genomics.v1a.ControllerConfig) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int bitField0_;

    private java.lang.Object image_ = "";
    /**
     * <code>optional string image = 1;</code>
     */
    public java.lang.String getImage() {
      java.lang.Object ref = image_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        image_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>optional string image = 1;</code>
     */
    public com.google.protobuf.ByteString
        getImageBytes() {
      java.lang.Object ref = image_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        image_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>optional string image = 1;</code>
     */
    public Builder setImage(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      image_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>optional string image = 1;</code>
     */
    public Builder clearImage() {
      
      image_ = getDefaultInstance().getImage();
      onChanged();
      return this;
    }
    /**
     * <code>optional string image = 1;</code>
     */
    public Builder setImageBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      image_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object cmd_ = "";
    /**
     * <code>optional string cmd = 2;</code>
     */
    public java.lang.String getCmd() {
      java.lang.Object ref = cmd_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        cmd_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>optional string cmd = 2;</code>
     */
    public com.google.protobuf.ByteString
        getCmdBytes() {
      java.lang.Object ref = cmd_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        cmd_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>optional string cmd = 2;</code>
     */
    public Builder setCmd(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      cmd_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>optional string cmd = 2;</code>
     */
    public Builder clearCmd() {
      
      cmd_ = getDefaultInstance().getCmd();
      onChanged();
      return this;
    }
    /**
     * <code>optional string cmd = 2;</code>
     */
    public Builder setCmdBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      cmd_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object gcsLogPath_ = "";
    /**
     * <code>optional string gcs_log_path = 3;</code>
     */
    public java.lang.String getGcsLogPath() {
      java.lang.Object ref = gcsLogPath_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        gcsLogPath_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>optional string gcs_log_path = 3;</code>
     */
    public com.google.protobuf.ByteString
        getGcsLogPathBytes() {
      java.lang.Object ref = gcsLogPath_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        gcsLogPath_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>optional string gcs_log_path = 3;</code>
     */
    public Builder setGcsLogPath(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      gcsLogPath_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>optional string gcs_log_path = 3;</code>
     */
    public Builder clearGcsLogPath() {
      
      gcsLogPath_ = getDefaultInstance().getGcsLogPath();
      onChanged();
      return this;
    }
    /**
     * <code>optional string gcs_log_path = 3;</code>
     */
    public Builder setGcsLogPathBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      gcsLogPath_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object machineType_ = "";
    /**
     * <code>optional string machine_type = 4;</code>
     */
    public java.lang.String getMachineType() {
      java.lang.Object ref = machineType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        machineType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * <code>optional string machine_type = 4;</code>
     */
    public com.google.protobuf.ByteString
        getMachineTypeBytes() {
      java.lang.Object ref = machineType_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        machineType_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * <code>optional string machine_type = 4;</code>
     */
    public Builder setMachineType(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      machineType_ = value;
      onChanged();
      return this;
    }
    /**
     * <code>optional string machine_type = 4;</code>
     */
    public Builder clearMachineType() {
      
      machineType_ = getDefaultInstance().getMachineType();
      onChanged();
      return this;
    }
    /**
     * <code>optional string machine_type = 4;</code>
     */
    public Builder setMachineTypeBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      machineType_ = value;
      onChanged();
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> vars_;
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetVars() {
      if (vars_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            VarsDefaultEntryHolder.defaultEntry);
      }
      return vars_;
    }
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetMutableVars() {
      onChanged();;
      if (vars_ == null) {
        vars_ = com.google.protobuf.MapField.newMapField(
            VarsDefaultEntryHolder.defaultEntry);
      }
      if (!vars_.isMutable()) {
        vars_ = vars_.copy();
      }
      return vars_;
    }

    public int getVarsCount() {
      return internalGetVars().getMap().size();
    }
    /**
     * <code>map&lt;string, string&gt; vars = 5;</code>
     */

    public boolean containsVars(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetVars().getMap().containsKey(key);
    }
    /**
     * Use {@link #getVarsMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String> getVars() {
      return getVarsMap();
    }
    /**
     * <code>map&lt;string, string&gt; vars = 5;</code>
     */

    public java.util.Map<java.lang.String, java.lang.String> getVarsMap() {
      return internalGetVars().getMap();
    }
    /**
     * <code>map&lt;string, string&gt; vars = 5;</code>
     */

    public java.lang.String getVarsOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetVars().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, string&gt; vars = 5;</code>
     */

    public java.lang.String getVarsOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetVars().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearVars() {
      getMutableVars().clear();
      return this;
    }
    /**
     * <code>map&lt;string, string&gt; vars = 5;</code>
     */

    public Builder removeVars(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      getMutableVars().remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String>
    getMutableVars() {
      return internalGetMutableVars().getMutableMap();
    }
    /**
     * <code>map&lt;string, string&gt; vars = 5;</code>
     */
    public Builder putVars(
        java.lang.String key,
        java.lang.String value) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      if (value == null) { throw new java.lang.NullPointerException(); }
      getMutableVars().put(key, value);
      return this;
    }
    /**
     * <code>map&lt;string, string&gt; vars = 5;</code>
     */

    public Builder putAllVars(
        java.util.Map<java.lang.String, java.lang.String> values) {
      getMutableVars().putAll(values);
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> disks_;
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetDisks() {
      if (disks_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            DisksDefaultEntryHolder.defaultEntry);
      }
      return disks_;
    }
    private com.google.protobuf.MapField<java.lang.String, java.lang.String>
    internalGetMutableDisks() {
      onChanged();;
      if (disks_ == null) {
        disks_ = com.google.protobuf.MapField.newMapField(
            DisksDefaultEntryHolder.defaultEntry);
      }
      if (!disks_.isMutable()) {
        disks_ = disks_.copy();
      }
      return disks_;
    }

    public int getDisksCount() {
      return internalGetDisks().getMap().size();
    }
    /**
     * <code>map&lt;string, string&gt; disks = 6;</code>
     */

    public boolean containsDisks(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetDisks().getMap().containsKey(key);
    }
    /**
     * Use {@link #getDisksMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String> getDisks() {
      return getDisksMap();
    }
    /**
     * <code>map&lt;string, string&gt; disks = 6;</code>
     */

    public java.util.Map<java.lang.String, java.lang.String> getDisksMap() {
      return internalGetDisks().getMap();
    }
    /**
     * <code>map&lt;string, string&gt; disks = 6;</code>
     */

    public java.lang.String getDisksOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetDisks().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, string&gt; disks = 6;</code>
     */

    public java.lang.String getDisksOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, java.lang.String> map =
          internalGetDisks().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearDisks() {
      getMutableDisks().clear();
      return this;
    }
    /**
     * <code>map&lt;string, string&gt; disks = 6;</code>
     */

    public Builder removeDisks(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      getMutableDisks().remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, java.lang.String>
    getMutableDisks() {
      return internalGetMutableDisks().getMutableMap();
    }
    /**
     * <code>map&lt;string, string&gt; disks = 6;</code>
     */
    public Builder putDisks(
        java.lang.String key,
        java.lang.String value) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      if (value == null) { throw new java.lang.NullPointerException(); }
      getMutableDisks().put(key, value);
      return this;
    }
    /**
     * <code>map&lt;string, string&gt; disks = 6;</code>
     */

    public Builder putAllDisks(
        java.util.Map<java.lang.String, java.lang.String> values) {
      getMutableDisks().putAll(values);
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> gcsSources_;
    private com.google.protobuf.MapField<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
    internalGetGcsSources() {
      if (gcsSources_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            GcsSourcesDefaultEntryHolder.defaultEntry);
      }
      return gcsSources_;
    }
    private com.google.protobuf.MapField<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
    internalGetMutableGcsSources() {
      onChanged();;
      if (gcsSources_ == null) {
        gcsSources_ = com.google.protobuf.MapField.newMapField(
            GcsSourcesDefaultEntryHolder.defaultEntry);
      }
      if (!gcsSources_.isMutable()) {
        gcsSources_ = gcsSources_.copy();
      }
      return gcsSources_;
    }

    public int getGcsSourcesCount() {
      return internalGetGcsSources().getMap().size();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
     */

    public boolean containsGcsSources(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetGcsSources().getMap().containsKey(key);
    }
    /**
     * Use {@link #getGcsSourcesMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSources() {
      return getGcsSourcesMap();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
     */

    public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSourcesMap() {
      return internalGetGcsSources().getMap();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
     */

    public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSourcesOrDefault(
        java.lang.String key,
        com.google.genomics.v1a.ControllerConfig.RepeatedString defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
          internalGetGcsSources().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
     */

    public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSourcesOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
          internalGetGcsSources().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearGcsSources() {
      getMutableGcsSources().clear();
      return this;
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
     */

    public Builder removeGcsSources(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      getMutableGcsSources().remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
    getMutableGcsSources() {
      return internalGetMutableGcsSources().getMutableMap();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
     */
    public Builder putGcsSources(
        java.lang.String key,
        com.google.genomics.v1a.ControllerConfig.RepeatedString value) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      if (value == null) { throw new java.lang.NullPointerException(); }
      getMutableGcsSources().put(key, value);
      return this;
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sources = 7;</code>
     */

    public Builder putAllGcsSources(
        java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> values) {
      getMutableGcsSources().putAll(values);
      return this;
    }

    private com.google.protobuf.MapField<
        java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> gcsSinks_;
    private com.google.protobuf.MapField<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
    internalGetGcsSinks() {
      if (gcsSinks_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            GcsSinksDefaultEntryHolder.defaultEntry);
      }
      return gcsSinks_;
    }
    private com.google.protobuf.MapField<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
    internalGetMutableGcsSinks() {
      onChanged();;
      if (gcsSinks_ == null) {
        gcsSinks_ = com.google.protobuf.MapField.newMapField(
            GcsSinksDefaultEntryHolder.defaultEntry);
      }
      if (!gcsSinks_.isMutable()) {
        gcsSinks_ = gcsSinks_.copy();
      }
      return gcsSinks_;
    }

    public int getGcsSinksCount() {
      return internalGetGcsSinks().getMap().size();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
     */

    public boolean containsGcsSinks(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      return internalGetGcsSinks().getMap().containsKey(key);
    }
    /**
     * Use {@link #getGcsSinksMap()} instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSinks() {
      return getGcsSinksMap();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
     */

    public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> getGcsSinksMap() {
      return internalGetGcsSinks().getMap();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
     */

    public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSinksOrDefault(
        java.lang.String key,
        com.google.genomics.v1a.ControllerConfig.RepeatedString defaultValue) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
          internalGetGcsSinks().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
     */

    public com.google.genomics.v1a.ControllerConfig.RepeatedString getGcsSinksOrThrow(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> map =
          internalGetGcsSinks().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }

    public Builder clearGcsSinks() {
      getMutableGcsSinks().clear();
      return this;
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
     */

    public Builder removeGcsSinks(
        java.lang.String key) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      getMutableGcsSinks().remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString>
    getMutableGcsSinks() {
      return internalGetMutableGcsSinks().getMutableMap();
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
     */
    public Builder putGcsSinks(
        java.lang.String key,
        com.google.genomics.v1a.ControllerConfig.RepeatedString value) {
      if (key == null) { throw new java.lang.NullPointerException(); }
      if (value == null) { throw new java.lang.NullPointerException(); }
      getMutableGcsSinks().put(key, value);
      return this;
    }
    /**
     * <code>map&lt;string, .google.genomics.v1alpha2.ControllerConfig.RepeatedString&gt; gcs_sinks = 8;</code>
     */

    public Builder putAllGcsSinks(
        java.util.Map<java.lang.String, com.google.genomics.v1a.ControllerConfig.RepeatedString> values) {
      getMutableGcsSinks().putAll(values);
      return this;
    }
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return this;
    }

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


    // @@protoc_insertion_point(builder_scope:google.genomics.v1alpha2.ControllerConfig)
  }

  // @@protoc_insertion_point(class_scope:google.genomics.v1alpha2.ControllerConfig)
  private static final com.google.genomics.v1a.ControllerConfig DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.google.genomics.v1a.ControllerConfig();
  }

  public static com.google.genomics.v1a.ControllerConfig getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

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

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

  public com.google.genomics.v1a.ControllerConfig getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}

