All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.genomicsdb.model.Coordinates Maven / Gradle / Ivy

There is a newer version: 1.5.4
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: genomicsdb_coordinates.proto

package org.genomicsdb.model;

public final class Coordinates {
  private Coordinates() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface ContigPositionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ContigPosition)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required string contig = 1;
     * @return Whether the contig field is set.
     */
    boolean hasContig();
    /**
     * required string contig = 1;
     * @return The contig.
     */
    java.lang.String getContig();
    /**
     * required string contig = 1;
     * @return The bytes for contig.
     */
    com.google.protobuf.ByteString
        getContigBytes();

    /**
     * required int64 position = 2;
     * @return Whether the position field is set.
     */
    boolean hasPosition();
    /**
     * required int64 position = 2;
     * @return The position.
     */
    long getPosition();
  }
  /**
   * Protobuf type {@code ContigPosition}
   */
  public static final class ContigPosition extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ContigPosition)
      ContigPositionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ContigPosition.newBuilder() to construct.
    private ContigPosition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ContigPosition() {
      contig_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.genomicsdb.model.Coordinates.internal_static_ContigPosition_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.genomicsdb.model.Coordinates.internal_static_ContigPosition_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.genomicsdb.model.Coordinates.ContigPosition.class, org.genomicsdb.model.Coordinates.ContigPosition.Builder.class);
    }

    private int bitField0_;
    public static final int CONTIG_FIELD_NUMBER = 1;
    private volatile java.lang.Object contig_;
    /**
     * required string contig = 1;
     * @return Whether the contig field is set.
     */
    @java.lang.Override
    public boolean hasContig() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * required string contig = 1;
     * @return The contig.
     */
    @java.lang.Override
    public java.lang.String getContig() {
      java.lang.Object ref = contig_;
      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();
        if (bs.isValidUtf8()) {
          contig_ = s;
        }
        return s;
      }
    }
    /**
     * required string contig = 1;
     * @return The bytes for contig.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getContigBytes() {
      java.lang.Object ref = contig_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        contig_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int POSITION_FIELD_NUMBER = 2;
    private long position_;
    /**
     * required int64 position = 2;
     * @return Whether the position field is set.
     */
    @java.lang.Override
    public boolean hasPosition() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * required int64 position = 2;
     * @return The position.
     */
    @java.lang.Override
    public long getPosition() {
      return position_;
    }

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

      if (!hasContig()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasPosition()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, contig_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt64(2, position_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, contig_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, position_);
      }
      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 org.genomicsdb.model.Coordinates.ContigPosition)) {
        return super.equals(obj);
      }
      org.genomicsdb.model.Coordinates.ContigPosition other = (org.genomicsdb.model.Coordinates.ContigPosition) obj;

      if (hasContig() != other.hasContig()) return false;
      if (hasContig()) {
        if (!getContig()
            .equals(other.getContig())) return false;
      }
      if (hasPosition() != other.hasPosition()) return false;
      if (hasPosition()) {
        if (getPosition()
            != other.getPosition()) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasContig()) {
        hash = (37 * hash) + CONTIG_FIELD_NUMBER;
        hash = (53 * hash) + getContig().hashCode();
      }
      if (hasPosition()) {
        hash = (37 * hash) + POSITION_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getPosition());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.genomicsdb.model.Coordinates.ContigPosition parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition 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 org.genomicsdb.model.Coordinates.ContigPosition parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition 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 org.genomicsdb.model.Coordinates.ContigPosition parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.ContigPosition 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(org.genomicsdb.model.Coordinates.ContigPosition 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;
    }
    /**
     * Protobuf type {@code ContigPosition}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:ContigPosition)
        org.genomicsdb.model.Coordinates.ContigPositionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.genomicsdb.model.Coordinates.internal_static_ContigPosition_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.genomicsdb.model.Coordinates.internal_static_ContigPosition_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.genomicsdb.model.Coordinates.ContigPosition.class, org.genomicsdb.model.Coordinates.ContigPosition.Builder.class);
      }

      // Construct using org.genomicsdb.model.Coordinates.ContigPosition.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        contig_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        position_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.genomicsdb.model.Coordinates.internal_static_ContigPosition_descriptor;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigPosition getDefaultInstanceForType() {
        return org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance();
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigPosition build() {
        org.genomicsdb.model.Coordinates.ContigPosition result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigPosition buildPartial() {
        org.genomicsdb.model.Coordinates.ContigPosition result = new org.genomicsdb.model.Coordinates.ContigPosition(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.contig_ = contig_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.position_ = position_;
          to_bitField0_ |= 0x00000002;
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.genomicsdb.model.Coordinates.ContigPosition) {
          return mergeFrom((org.genomicsdb.model.Coordinates.ContigPosition)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.genomicsdb.model.Coordinates.ContigPosition other) {
        if (other == org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance()) return this;
        if (other.hasContig()) {
          bitField0_ |= 0x00000001;
          contig_ = other.contig_;
          onChanged();
        }
        if (other.hasPosition()) {
          setPosition(other.getPosition());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasContig()) {
          return false;
        }
        if (!hasPosition()) {
          return false;
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                contig_ = input.readBytes();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 16: {
                position_ = input.readInt64();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object contig_ = "";
      /**
       * required string contig = 1;
       * @return Whether the contig field is set.
       */
      public boolean hasContig() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * required string contig = 1;
       * @return The contig.
       */
      public java.lang.String getContig() {
        java.lang.Object ref = contig_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            contig_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * required string contig = 1;
       * @return The bytes for contig.
       */
      public com.google.protobuf.ByteString
          getContigBytes() {
        java.lang.Object ref = contig_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          contig_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * required string contig = 1;
       * @param value The contig to set.
       * @return This builder for chaining.
       */
      public Builder setContig(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        contig_ = value;
        onChanged();
        return this;
      }
      /**
       * required string contig = 1;
       * @return This builder for chaining.
       */
      public Builder clearContig() {
        bitField0_ = (bitField0_ & ~0x00000001);
        contig_ = getDefaultInstance().getContig();
        onChanged();
        return this;
      }
      /**
       * required string contig = 1;
       * @param value The bytes for contig to set.
       * @return This builder for chaining.
       */
      public Builder setContigBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        contig_ = value;
        onChanged();
        return this;
      }

      private long position_ ;
      /**
       * required int64 position = 2;
       * @return Whether the position field is set.
       */
      @java.lang.Override
      public boolean hasPosition() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * required int64 position = 2;
       * @return The position.
       */
      @java.lang.Override
      public long getPosition() {
        return position_;
      }
      /**
       * required int64 position = 2;
       * @param value The position to set.
       * @return This builder for chaining.
       */
      public Builder setPosition(long value) {
        bitField0_ |= 0x00000002;
        position_ = value;
        onChanged();
        return this;
      }
      /**
       * required int64 position = 2;
       * @return This builder for chaining.
       */
      public Builder clearPosition() {
        bitField0_ = (bitField0_ & ~0x00000002);
        position_ = 0L;
        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:ContigPosition)
    }

    // @@protoc_insertion_point(class_scope:ContigPosition)
    private static final org.genomicsdb.model.Coordinates.ContigPosition DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.genomicsdb.model.Coordinates.ContigPosition();
    }

    public static org.genomicsdb.model.Coordinates.ContigPosition getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public org.genomicsdb.model.Coordinates.ContigPosition getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GenomicsDBColumnOrBuilder extends
      // @@protoc_insertion_point(interface_extends:GenomicsDBColumn)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 tiledb_column = 1;
     * @return Whether the tiledbColumn field is set.
     */
    boolean hasTiledbColumn();
    /**
     * int64 tiledb_column = 1;
     * @return The tiledbColumn.
     */
    long getTiledbColumn();

    /**
     * .ContigPosition contig_position = 2;
     * @return Whether the contigPosition field is set.
     */
    boolean hasContigPosition();
    /**
     * .ContigPosition contig_position = 2;
     * @return The contigPosition.
     */
    org.genomicsdb.model.Coordinates.ContigPosition getContigPosition();
    /**
     * .ContigPosition contig_position = 2;
     */
    org.genomicsdb.model.Coordinates.ContigPositionOrBuilder getContigPositionOrBuilder();

    public org.genomicsdb.model.Coordinates.GenomicsDBColumn.ColumnCase getColumnCase();
  }
  /**
   * Protobuf type {@code GenomicsDBColumn}
   */
  public static final class GenomicsDBColumn extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GenomicsDBColumn)
      GenomicsDBColumnOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GenomicsDBColumn.newBuilder() to construct.
    private GenomicsDBColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GenomicsDBColumn() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumn_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumn_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.genomicsdb.model.Coordinates.GenomicsDBColumn.class, org.genomicsdb.model.Coordinates.GenomicsDBColumn.Builder.class);
    }

    private int bitField0_;
    private int columnCase_ = 0;
    private java.lang.Object column_;
    public enum ColumnCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      TILEDB_COLUMN(1),
      CONTIG_POSITION(2),
      COLUMN_NOT_SET(0);
      private final int value;
      private ColumnCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ColumnCase valueOf(int value) {
        return forNumber(value);
      }

      public static ColumnCase forNumber(int value) {
        switch (value) {
          case 1: return TILEDB_COLUMN;
          case 2: return CONTIG_POSITION;
          case 0: return COLUMN_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ColumnCase
    getColumnCase() {
      return ColumnCase.forNumber(
          columnCase_);
    }

    public static final int TILEDB_COLUMN_FIELD_NUMBER = 1;
    /**
     * int64 tiledb_column = 1;
     * @return Whether the tiledbColumn field is set.
     */
    @java.lang.Override
    public boolean hasTiledbColumn() {
      return columnCase_ == 1;
    }
    /**
     * int64 tiledb_column = 1;
     * @return The tiledbColumn.
     */
    @java.lang.Override
    public long getTiledbColumn() {
      if (columnCase_ == 1) {
        return (java.lang.Long) column_;
      }
      return 0L;
    }

    public static final int CONTIG_POSITION_FIELD_NUMBER = 2;
    /**
     * .ContigPosition contig_position = 2;
     * @return Whether the contigPosition field is set.
     */
    @java.lang.Override
    public boolean hasContigPosition() {
      return columnCase_ == 2;
    }
    /**
     * .ContigPosition contig_position = 2;
     * @return The contigPosition.
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.ContigPosition getContigPosition() {
      if (columnCase_ == 2) {
         return (org.genomicsdb.model.Coordinates.ContigPosition) column_;
      }
      return org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance();
    }
    /**
     * .ContigPosition contig_position = 2;
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.ContigPositionOrBuilder getContigPositionOrBuilder() {
      if (columnCase_ == 2) {
         return (org.genomicsdb.model.Coordinates.ContigPosition) column_;
      }
      return org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance();
    }

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

      if (hasContigPosition()) {
        if (!getContigPosition().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (columnCase_ == 1) {
        output.writeInt64(
            1, (long)((java.lang.Long) column_));
      }
      if (columnCase_ == 2) {
        output.writeMessage(2, (org.genomicsdb.model.Coordinates.ContigPosition) column_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (columnCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(
              1, (long)((java.lang.Long) column_));
      }
      if (columnCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (org.genomicsdb.model.Coordinates.ContigPosition) column_);
      }
      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 org.genomicsdb.model.Coordinates.GenomicsDBColumn)) {
        return super.equals(obj);
      }
      org.genomicsdb.model.Coordinates.GenomicsDBColumn other = (org.genomicsdb.model.Coordinates.GenomicsDBColumn) obj;

      if (!getColumnCase().equals(other.getColumnCase())) return false;
      switch (columnCase_) {
        case 1:
          if (getTiledbColumn()
              != other.getTiledbColumn()) return false;
          break;
        case 2:
          if (!getContigPosition()
              .equals(other.getContigPosition())) return false;
          break;
        case 0:
        default:
      }
      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();
      switch (columnCase_) {
        case 1:
          hash = (37 * hash) + TILEDB_COLUMN_FIELD_NUMBER;
          hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
              getTiledbColumn());
          break;
        case 2:
          hash = (37 * hash) + CONTIG_POSITION_FIELD_NUMBER;
          hash = (53 * hash) + getContigPosition().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn 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 org.genomicsdb.model.Coordinates.GenomicsDBColumn parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn 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 org.genomicsdb.model.Coordinates.GenomicsDBColumn parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn 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(org.genomicsdb.model.Coordinates.GenomicsDBColumn 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;
    }
    /**
     * Protobuf type {@code GenomicsDBColumn}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:GenomicsDBColumn)
        org.genomicsdb.model.Coordinates.GenomicsDBColumnOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumn_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumn_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.genomicsdb.model.Coordinates.GenomicsDBColumn.class, org.genomicsdb.model.Coordinates.GenomicsDBColumn.Builder.class);
      }

      // Construct using org.genomicsdb.model.Coordinates.GenomicsDBColumn.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (contigPositionBuilder_ != null) {
          contigPositionBuilder_.clear();
        }
        columnCase_ = 0;
        column_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumn_descriptor;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumn getDefaultInstanceForType() {
        return org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance();
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumn build() {
        org.genomicsdb.model.Coordinates.GenomicsDBColumn result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumn buildPartial() {
        org.genomicsdb.model.Coordinates.GenomicsDBColumn result = new org.genomicsdb.model.Coordinates.GenomicsDBColumn(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (columnCase_ == 1) {
          result.column_ = column_;
        }
        if (columnCase_ == 2) {
          if (contigPositionBuilder_ == null) {
            result.column_ = column_;
          } else {
            result.column_ = contigPositionBuilder_.build();
          }
        }
        result.bitField0_ = to_bitField0_;
        result.columnCase_ = columnCase_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.genomicsdb.model.Coordinates.GenomicsDBColumn) {
          return mergeFrom((org.genomicsdb.model.Coordinates.GenomicsDBColumn)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.genomicsdb.model.Coordinates.GenomicsDBColumn other) {
        if (other == org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance()) return this;
        switch (other.getColumnCase()) {
          case TILEDB_COLUMN: {
            setTiledbColumn(other.getTiledbColumn());
            break;
          }
          case CONTIG_POSITION: {
            mergeContigPosition(other.getContigPosition());
            break;
          }
          case COLUMN_NOT_SET: {
            break;
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (hasContigPosition()) {
          if (!getContigPosition().isInitialized()) {
            return false;
          }
        }
        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: {
                column_ = input.readInt64();
                columnCase_ = 1;
                break;
              } // case 8
              case 18: {
                input.readMessage(
                    getContigPositionFieldBuilder().getBuilder(),
                    extensionRegistry);
                columnCase_ = 2;
                break;
              } // case 18
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int columnCase_ = 0;
      private java.lang.Object column_;
      public ColumnCase
          getColumnCase() {
        return ColumnCase.forNumber(
            columnCase_);
      }

      public Builder clearColumn() {
        columnCase_ = 0;
        column_ = null;
        onChanged();
        return this;
      }

      private int bitField0_;

      /**
       * int64 tiledb_column = 1;
       * @return Whether the tiledbColumn field is set.
       */
      public boolean hasTiledbColumn() {
        return columnCase_ == 1;
      }
      /**
       * int64 tiledb_column = 1;
       * @return The tiledbColumn.
       */
      public long getTiledbColumn() {
        if (columnCase_ == 1) {
          return (java.lang.Long) column_;
        }
        return 0L;
      }
      /**
       * int64 tiledb_column = 1;
       * @param value The tiledbColumn to set.
       * @return This builder for chaining.
       */
      public Builder setTiledbColumn(long value) {
        columnCase_ = 1;
        column_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 tiledb_column = 1;
       * @return This builder for chaining.
       */
      public Builder clearTiledbColumn() {
        if (columnCase_ == 1) {
          columnCase_ = 0;
          column_ = null;
          onChanged();
        }
        return this;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.ContigPosition, org.genomicsdb.model.Coordinates.ContigPosition.Builder, org.genomicsdb.model.Coordinates.ContigPositionOrBuilder> contigPositionBuilder_;
      /**
       * .ContigPosition contig_position = 2;
       * @return Whether the contigPosition field is set.
       */
      @java.lang.Override
      public boolean hasContigPosition() {
        return columnCase_ == 2;
      }
      /**
       * .ContigPosition contig_position = 2;
       * @return The contigPosition.
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigPosition getContigPosition() {
        if (contigPositionBuilder_ == null) {
          if (columnCase_ == 2) {
            return (org.genomicsdb.model.Coordinates.ContigPosition) column_;
          }
          return org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance();
        } else {
          if (columnCase_ == 2) {
            return contigPositionBuilder_.getMessage();
          }
          return org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance();
        }
      }
      /**
       * .ContigPosition contig_position = 2;
       */
      public Builder setContigPosition(org.genomicsdb.model.Coordinates.ContigPosition value) {
        if (contigPositionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          column_ = value;
          onChanged();
        } else {
          contigPositionBuilder_.setMessage(value);
        }
        columnCase_ = 2;
        return this;
      }
      /**
       * .ContigPosition contig_position = 2;
       */
      public Builder setContigPosition(
          org.genomicsdb.model.Coordinates.ContigPosition.Builder builderForValue) {
        if (contigPositionBuilder_ == null) {
          column_ = builderForValue.build();
          onChanged();
        } else {
          contigPositionBuilder_.setMessage(builderForValue.build());
        }
        columnCase_ = 2;
        return this;
      }
      /**
       * .ContigPosition contig_position = 2;
       */
      public Builder mergeContigPosition(org.genomicsdb.model.Coordinates.ContigPosition value) {
        if (contigPositionBuilder_ == null) {
          if (columnCase_ == 2 &&
              column_ != org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance()) {
            column_ = org.genomicsdb.model.Coordinates.ContigPosition.newBuilder((org.genomicsdb.model.Coordinates.ContigPosition) column_)
                .mergeFrom(value).buildPartial();
          } else {
            column_ = value;
          }
          onChanged();
        } else {
          if (columnCase_ == 2) {
            contigPositionBuilder_.mergeFrom(value);
          } else {
            contigPositionBuilder_.setMessage(value);
          }
        }
        columnCase_ = 2;
        return this;
      }
      /**
       * .ContigPosition contig_position = 2;
       */
      public Builder clearContigPosition() {
        if (contigPositionBuilder_ == null) {
          if (columnCase_ == 2) {
            columnCase_ = 0;
            column_ = null;
            onChanged();
          }
        } else {
          if (columnCase_ == 2) {
            columnCase_ = 0;
            column_ = null;
          }
          contigPositionBuilder_.clear();
        }
        return this;
      }
      /**
       * .ContigPosition contig_position = 2;
       */
      public org.genomicsdb.model.Coordinates.ContigPosition.Builder getContigPositionBuilder() {
        return getContigPositionFieldBuilder().getBuilder();
      }
      /**
       * .ContigPosition contig_position = 2;
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigPositionOrBuilder getContigPositionOrBuilder() {
        if ((columnCase_ == 2) && (contigPositionBuilder_ != null)) {
          return contigPositionBuilder_.getMessageOrBuilder();
        } else {
          if (columnCase_ == 2) {
            return (org.genomicsdb.model.Coordinates.ContigPosition) column_;
          }
          return org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance();
        }
      }
      /**
       * .ContigPosition contig_position = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.ContigPosition, org.genomicsdb.model.Coordinates.ContigPosition.Builder, org.genomicsdb.model.Coordinates.ContigPositionOrBuilder> 
          getContigPositionFieldBuilder() {
        if (contigPositionBuilder_ == null) {
          if (!(columnCase_ == 2)) {
            column_ = org.genomicsdb.model.Coordinates.ContigPosition.getDefaultInstance();
          }
          contigPositionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.genomicsdb.model.Coordinates.ContigPosition, org.genomicsdb.model.Coordinates.ContigPosition.Builder, org.genomicsdb.model.Coordinates.ContigPositionOrBuilder>(
                  (org.genomicsdb.model.Coordinates.ContigPosition) column_,
                  getParentForChildren(),
                  isClean());
          column_ = null;
        }
        columnCase_ = 2;
        onChanged();;
        return contigPositionBuilder_;
      }
      @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:GenomicsDBColumn)
    }

    // @@protoc_insertion_point(class_scope:GenomicsDBColumn)
    private static final org.genomicsdb.model.Coordinates.GenomicsDBColumn DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.genomicsdb.model.Coordinates.GenomicsDBColumn();
    }

    public static org.genomicsdb.model.Coordinates.GenomicsDBColumn getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public org.genomicsdb.model.Coordinates.GenomicsDBColumn getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TileDBColumnIntervalOrBuilder extends
      // @@protoc_insertion_point(interface_extends:TileDBColumnInterval)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required int64 begin = 1;
     * @return Whether the begin field is set.
     */
    boolean hasBegin();
    /**
     * required int64 begin = 1;
     * @return The begin.
     */
    long getBegin();

    /**
     * required int64 end = 2;
     * @return Whether the end field is set.
     */
    boolean hasEnd();
    /**
     * required int64 end = 2;
     * @return The end.
     */
    long getEnd();
  }
  /**
   * Protobuf type {@code TileDBColumnInterval}
   */
  public static final class TileDBColumnInterval extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:TileDBColumnInterval)
      TileDBColumnIntervalOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TileDBColumnInterval.newBuilder() to construct.
    private TileDBColumnInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TileDBColumnInterval() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.genomicsdb.model.Coordinates.internal_static_TileDBColumnInterval_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.genomicsdb.model.Coordinates.internal_static_TileDBColumnInterval_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.genomicsdb.model.Coordinates.TileDBColumnInterval.class, org.genomicsdb.model.Coordinates.TileDBColumnInterval.Builder.class);
    }

    private int bitField0_;
    public static final int BEGIN_FIELD_NUMBER = 1;
    private long begin_;
    /**
     * required int64 begin = 1;
     * @return Whether the begin field is set.
     */
    @java.lang.Override
    public boolean hasBegin() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * required int64 begin = 1;
     * @return The begin.
     */
    @java.lang.Override
    public long getBegin() {
      return begin_;
    }

    public static final int END_FIELD_NUMBER = 2;
    private long end_;
    /**
     * required int64 end = 2;
     * @return Whether the end field is set.
     */
    @java.lang.Override
    public boolean hasEnd() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * required int64 end = 2;
     * @return The end.
     */
    @java.lang.Override
    public long getEnd() {
      return end_;
    }

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

      if (!hasBegin()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasEnd()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeInt64(1, begin_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt64(2, end_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, begin_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, end_);
      }
      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 org.genomicsdb.model.Coordinates.TileDBColumnInterval)) {
        return super.equals(obj);
      }
      org.genomicsdb.model.Coordinates.TileDBColumnInterval other = (org.genomicsdb.model.Coordinates.TileDBColumnInterval) obj;

      if (hasBegin() != other.hasBegin()) return false;
      if (hasBegin()) {
        if (getBegin()
            != other.getBegin()) return false;
      }
      if (hasEnd() != other.hasEnd()) return false;
      if (hasEnd()) {
        if (getEnd()
            != other.getEnd()) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasBegin()) {
        hash = (37 * hash) + BEGIN_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBegin());
      }
      if (hasEnd()) {
        hash = (37 * hash) + END_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEnd());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval 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 org.genomicsdb.model.Coordinates.TileDBColumnInterval parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval 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 org.genomicsdb.model.Coordinates.TileDBColumnInterval parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval 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(org.genomicsdb.model.Coordinates.TileDBColumnInterval 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;
    }
    /**
     * Protobuf type {@code TileDBColumnInterval}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:TileDBColumnInterval)
        org.genomicsdb.model.Coordinates.TileDBColumnIntervalOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.genomicsdb.model.Coordinates.internal_static_TileDBColumnInterval_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.genomicsdb.model.Coordinates.internal_static_TileDBColumnInterval_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.genomicsdb.model.Coordinates.TileDBColumnInterval.class, org.genomicsdb.model.Coordinates.TileDBColumnInterval.Builder.class);
      }

      // Construct using org.genomicsdb.model.Coordinates.TileDBColumnInterval.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        begin_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000001);
        end_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.genomicsdb.model.Coordinates.internal_static_TileDBColumnInterval_descriptor;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.TileDBColumnInterval getDefaultInstanceForType() {
        return org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance();
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.TileDBColumnInterval build() {
        org.genomicsdb.model.Coordinates.TileDBColumnInterval result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.TileDBColumnInterval buildPartial() {
        org.genomicsdb.model.Coordinates.TileDBColumnInterval result = new org.genomicsdb.model.Coordinates.TileDBColumnInterval(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.begin_ = begin_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.end_ = end_;
          to_bitField0_ |= 0x00000002;
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.genomicsdb.model.Coordinates.TileDBColumnInterval) {
          return mergeFrom((org.genomicsdb.model.Coordinates.TileDBColumnInterval)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.genomicsdb.model.Coordinates.TileDBColumnInterval other) {
        if (other == org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance()) return this;
        if (other.hasBegin()) {
          setBegin(other.getBegin());
        }
        if (other.hasEnd()) {
          setEnd(other.getEnd());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasBegin()) {
          return false;
        }
        if (!hasEnd()) {
          return false;
        }
        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: {
                begin_ = input.readInt64();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
              case 16: {
                end_ = input.readInt64();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              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 long begin_ ;
      /**
       * required int64 begin = 1;
       * @return Whether the begin field is set.
       */
      @java.lang.Override
      public boolean hasBegin() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * required int64 begin = 1;
       * @return The begin.
       */
      @java.lang.Override
      public long getBegin() {
        return begin_;
      }
      /**
       * required int64 begin = 1;
       * @param value The begin to set.
       * @return This builder for chaining.
       */
      public Builder setBegin(long value) {
        bitField0_ |= 0x00000001;
        begin_ = value;
        onChanged();
        return this;
      }
      /**
       * required int64 begin = 1;
       * @return This builder for chaining.
       */
      public Builder clearBegin() {
        bitField0_ = (bitField0_ & ~0x00000001);
        begin_ = 0L;
        onChanged();
        return this;
      }

      private long end_ ;
      /**
       * required int64 end = 2;
       * @return Whether the end field is set.
       */
      @java.lang.Override
      public boolean hasEnd() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * required int64 end = 2;
       * @return The end.
       */
      @java.lang.Override
      public long getEnd() {
        return end_;
      }
      /**
       * required int64 end = 2;
       * @param value The end to set.
       * @return This builder for chaining.
       */
      public Builder setEnd(long value) {
        bitField0_ |= 0x00000002;
        end_ = value;
        onChanged();
        return this;
      }
      /**
       * required int64 end = 2;
       * @return This builder for chaining.
       */
      public Builder clearEnd() {
        bitField0_ = (bitField0_ & ~0x00000002);
        end_ = 0L;
        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:TileDBColumnInterval)
    }

    // @@protoc_insertion_point(class_scope:TileDBColumnInterval)
    private static final org.genomicsdb.model.Coordinates.TileDBColumnInterval DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.genomicsdb.model.Coordinates.TileDBColumnInterval();
    }

    public static org.genomicsdb.model.Coordinates.TileDBColumnInterval getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public org.genomicsdb.model.Coordinates.TileDBColumnInterval getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ContigIntervalOrBuilder extends
      // @@protoc_insertion_point(interface_extends:ContigInterval)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required string contig = 1;
     * @return Whether the contig field is set.
     */
    boolean hasContig();
    /**
     * required string contig = 1;
     * @return The contig.
     */
    java.lang.String getContig();
    /**
     * required string contig = 1;
     * @return The bytes for contig.
     */
    com.google.protobuf.ByteString
        getContigBytes();

    /**
     * optional int64 begin = 2;
     * @return Whether the begin field is set.
     */
    boolean hasBegin();
    /**
     * optional int64 begin = 2;
     * @return The begin.
     */
    long getBegin();

    /**
     * optional int64 end = 3;
     * @return Whether the end field is set.
     */
    boolean hasEnd();
    /**
     * optional int64 end = 3;
     * @return The end.
     */
    long getEnd();
  }
  /**
   * Protobuf type {@code ContigInterval}
   */
  public static final class ContigInterval extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:ContigInterval)
      ContigIntervalOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ContigInterval.newBuilder() to construct.
    private ContigInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ContigInterval() {
      contig_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.genomicsdb.model.Coordinates.internal_static_ContigInterval_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.genomicsdb.model.Coordinates.internal_static_ContigInterval_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.genomicsdb.model.Coordinates.ContigInterval.class, org.genomicsdb.model.Coordinates.ContigInterval.Builder.class);
    }

    private int bitField0_;
    public static final int CONTIG_FIELD_NUMBER = 1;
    private volatile java.lang.Object contig_;
    /**
     * required string contig = 1;
     * @return Whether the contig field is set.
     */
    @java.lang.Override
    public boolean hasContig() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * required string contig = 1;
     * @return The contig.
     */
    @java.lang.Override
    public java.lang.String getContig() {
      java.lang.Object ref = contig_;
      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();
        if (bs.isValidUtf8()) {
          contig_ = s;
        }
        return s;
      }
    }
    /**
     * required string contig = 1;
     * @return The bytes for contig.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getContigBytes() {
      java.lang.Object ref = contig_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        contig_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int BEGIN_FIELD_NUMBER = 2;
    private long begin_;
    /**
     * optional int64 begin = 2;
     * @return Whether the begin field is set.
     */
    @java.lang.Override
    public boolean hasBegin() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional int64 begin = 2;
     * @return The begin.
     */
    @java.lang.Override
    public long getBegin() {
      return begin_;
    }

    public static final int END_FIELD_NUMBER = 3;
    private long end_;
    /**
     * optional int64 end = 3;
     * @return Whether the end field is set.
     */
    @java.lang.Override
    public boolean hasEnd() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional int64 end = 3;
     * @return The end.
     */
    @java.lang.Override
    public long getEnd() {
      return end_;
    }

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

      if (!hasContig()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, contig_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt64(2, begin_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeInt64(3, end_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, contig_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, begin_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, end_);
      }
      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 org.genomicsdb.model.Coordinates.ContigInterval)) {
        return super.equals(obj);
      }
      org.genomicsdb.model.Coordinates.ContigInterval other = (org.genomicsdb.model.Coordinates.ContigInterval) obj;

      if (hasContig() != other.hasContig()) return false;
      if (hasContig()) {
        if (!getContig()
            .equals(other.getContig())) return false;
      }
      if (hasBegin() != other.hasBegin()) return false;
      if (hasBegin()) {
        if (getBegin()
            != other.getBegin()) return false;
      }
      if (hasEnd() != other.hasEnd()) return false;
      if (hasEnd()) {
        if (getEnd()
            != other.getEnd()) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasContig()) {
        hash = (37 * hash) + CONTIG_FIELD_NUMBER;
        hash = (53 * hash) + getContig().hashCode();
      }
      if (hasBegin()) {
        hash = (37 * hash) + BEGIN_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getBegin());
      }
      if (hasEnd()) {
        hash = (37 * hash) + END_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getEnd());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.genomicsdb.model.Coordinates.ContigInterval parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval 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 org.genomicsdb.model.Coordinates.ContigInterval parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval 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 org.genomicsdb.model.Coordinates.ContigInterval parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.ContigInterval 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(org.genomicsdb.model.Coordinates.ContigInterval 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;
    }
    /**
     * Protobuf type {@code ContigInterval}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:ContigInterval)
        org.genomicsdb.model.Coordinates.ContigIntervalOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.genomicsdb.model.Coordinates.internal_static_ContigInterval_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.genomicsdb.model.Coordinates.internal_static_ContigInterval_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.genomicsdb.model.Coordinates.ContigInterval.class, org.genomicsdb.model.Coordinates.ContigInterval.Builder.class);
      }

      // Construct using org.genomicsdb.model.Coordinates.ContigInterval.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        contig_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        begin_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000002);
        end_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.genomicsdb.model.Coordinates.internal_static_ContigInterval_descriptor;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigInterval getDefaultInstanceForType() {
        return org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance();
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigInterval build() {
        org.genomicsdb.model.Coordinates.ContigInterval result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigInterval buildPartial() {
        org.genomicsdb.model.Coordinates.ContigInterval result = new org.genomicsdb.model.Coordinates.ContigInterval(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.contig_ = contig_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.begin_ = begin_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.end_ = end_;
          to_bitField0_ |= 0x00000004;
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.genomicsdb.model.Coordinates.ContigInterval) {
          return mergeFrom((org.genomicsdb.model.Coordinates.ContigInterval)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.genomicsdb.model.Coordinates.ContigInterval other) {
        if (other == org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance()) return this;
        if (other.hasContig()) {
          bitField0_ |= 0x00000001;
          contig_ = other.contig_;
          onChanged();
        }
        if (other.hasBegin()) {
          setBegin(other.getBegin());
        }
        if (other.hasEnd()) {
          setEnd(other.getEnd());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasContig()) {
          return false;
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                contig_ = input.readBytes();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 16: {
                begin_ = input.readInt64();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 24: {
                end_ = input.readInt64();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private java.lang.Object contig_ = "";
      /**
       * required string contig = 1;
       * @return Whether the contig field is set.
       */
      public boolean hasContig() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * required string contig = 1;
       * @return The contig.
       */
      public java.lang.String getContig() {
        java.lang.Object ref = contig_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            contig_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * required string contig = 1;
       * @return The bytes for contig.
       */
      public com.google.protobuf.ByteString
          getContigBytes() {
        java.lang.Object ref = contig_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          contig_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * required string contig = 1;
       * @param value The contig to set.
       * @return This builder for chaining.
       */
      public Builder setContig(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        contig_ = value;
        onChanged();
        return this;
      }
      /**
       * required string contig = 1;
       * @return This builder for chaining.
       */
      public Builder clearContig() {
        bitField0_ = (bitField0_ & ~0x00000001);
        contig_ = getDefaultInstance().getContig();
        onChanged();
        return this;
      }
      /**
       * required string contig = 1;
       * @param value The bytes for contig to set.
       * @return This builder for chaining.
       */
      public Builder setContigBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        contig_ = value;
        onChanged();
        return this;
      }

      private long begin_ ;
      /**
       * optional int64 begin = 2;
       * @return Whether the begin field is set.
       */
      @java.lang.Override
      public boolean hasBegin() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional int64 begin = 2;
       * @return The begin.
       */
      @java.lang.Override
      public long getBegin() {
        return begin_;
      }
      /**
       * optional int64 begin = 2;
       * @param value The begin to set.
       * @return This builder for chaining.
       */
      public Builder setBegin(long value) {
        bitField0_ |= 0x00000002;
        begin_ = value;
        onChanged();
        return this;
      }
      /**
       * optional int64 begin = 2;
       * @return This builder for chaining.
       */
      public Builder clearBegin() {
        bitField0_ = (bitField0_ & ~0x00000002);
        begin_ = 0L;
        onChanged();
        return this;
      }

      private long end_ ;
      /**
       * optional int64 end = 3;
       * @return Whether the end field is set.
       */
      @java.lang.Override
      public boolean hasEnd() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional int64 end = 3;
       * @return The end.
       */
      @java.lang.Override
      public long getEnd() {
        return end_;
      }
      /**
       * optional int64 end = 3;
       * @param value The end to set.
       * @return This builder for chaining.
       */
      public Builder setEnd(long value) {
        bitField0_ |= 0x00000004;
        end_ = value;
        onChanged();
        return this;
      }
      /**
       * optional int64 end = 3;
       * @return This builder for chaining.
       */
      public Builder clearEnd() {
        bitField0_ = (bitField0_ & ~0x00000004);
        end_ = 0L;
        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:ContigInterval)
    }

    // @@protoc_insertion_point(class_scope:ContigInterval)
    private static final org.genomicsdb.model.Coordinates.ContigInterval DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.genomicsdb.model.Coordinates.ContigInterval();
    }

    public static org.genomicsdb.model.Coordinates.ContigInterval getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public org.genomicsdb.model.Coordinates.ContigInterval getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GenomicsDBColumnIntervalOrBuilder extends
      // @@protoc_insertion_point(interface_extends:GenomicsDBColumnInterval)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .TileDBColumnInterval tiledb_column_interval = 1;
     * @return Whether the tiledbColumnInterval field is set.
     */
    boolean hasTiledbColumnInterval();
    /**
     * .TileDBColumnInterval tiledb_column_interval = 1;
     * @return The tiledbColumnInterval.
     */
    org.genomicsdb.model.Coordinates.TileDBColumnInterval getTiledbColumnInterval();
    /**
     * .TileDBColumnInterval tiledb_column_interval = 1;
     */
    org.genomicsdb.model.Coordinates.TileDBColumnIntervalOrBuilder getTiledbColumnIntervalOrBuilder();

    /**
     * .ContigInterval contig_interval = 2;
     * @return Whether the contigInterval field is set.
     */
    boolean hasContigInterval();
    /**
     * .ContigInterval contig_interval = 2;
     * @return The contigInterval.
     */
    org.genomicsdb.model.Coordinates.ContigInterval getContigInterval();
    /**
     * .ContigInterval contig_interval = 2;
     */
    org.genomicsdb.model.Coordinates.ContigIntervalOrBuilder getContigIntervalOrBuilder();

    public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.IntervalCase getIntervalCase();
  }
  /**
   * Protobuf type {@code GenomicsDBColumnInterval}
   */
  public static final class GenomicsDBColumnInterval extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GenomicsDBColumnInterval)
      GenomicsDBColumnIntervalOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GenomicsDBColumnInterval.newBuilder() to construct.
    private GenomicsDBColumnInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GenomicsDBColumnInterval() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnInterval_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnInterval_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.class, org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.Builder.class);
    }

    private int bitField0_;
    private int intervalCase_ = 0;
    private java.lang.Object interval_;
    public enum IntervalCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      TILEDB_COLUMN_INTERVAL(1),
      CONTIG_INTERVAL(2),
      INTERVAL_NOT_SET(0);
      private final int value;
      private IntervalCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static IntervalCase valueOf(int value) {
        return forNumber(value);
      }

      public static IntervalCase forNumber(int value) {
        switch (value) {
          case 1: return TILEDB_COLUMN_INTERVAL;
          case 2: return CONTIG_INTERVAL;
          case 0: return INTERVAL_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public IntervalCase
    getIntervalCase() {
      return IntervalCase.forNumber(
          intervalCase_);
    }

    public static final int TILEDB_COLUMN_INTERVAL_FIELD_NUMBER = 1;
    /**
     * .TileDBColumnInterval tiledb_column_interval = 1;
     * @return Whether the tiledbColumnInterval field is set.
     */
    @java.lang.Override
    public boolean hasTiledbColumnInterval() {
      return intervalCase_ == 1;
    }
    /**
     * .TileDBColumnInterval tiledb_column_interval = 1;
     * @return The tiledbColumnInterval.
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.TileDBColumnInterval getTiledbColumnInterval() {
      if (intervalCase_ == 1) {
         return (org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_;
      }
      return org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance();
    }
    /**
     * .TileDBColumnInterval tiledb_column_interval = 1;
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.TileDBColumnIntervalOrBuilder getTiledbColumnIntervalOrBuilder() {
      if (intervalCase_ == 1) {
         return (org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_;
      }
      return org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance();
    }

    public static final int CONTIG_INTERVAL_FIELD_NUMBER = 2;
    /**
     * .ContigInterval contig_interval = 2;
     * @return Whether the contigInterval field is set.
     */
    @java.lang.Override
    public boolean hasContigInterval() {
      return intervalCase_ == 2;
    }
    /**
     * .ContigInterval contig_interval = 2;
     * @return The contigInterval.
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.ContigInterval getContigInterval() {
      if (intervalCase_ == 2) {
         return (org.genomicsdb.model.Coordinates.ContigInterval) interval_;
      }
      return org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance();
    }
    /**
     * .ContigInterval contig_interval = 2;
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.ContigIntervalOrBuilder getContigIntervalOrBuilder() {
      if (intervalCase_ == 2) {
         return (org.genomicsdb.model.Coordinates.ContigInterval) interval_;
      }
      return org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance();
    }

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

      if (hasTiledbColumnInterval()) {
        if (!getTiledbColumnInterval().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      if (hasContigInterval()) {
        if (!getContigInterval().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (intervalCase_ == 1) {
        output.writeMessage(1, (org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_);
      }
      if (intervalCase_ == 2) {
        output.writeMessage(2, (org.genomicsdb.model.Coordinates.ContigInterval) interval_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (intervalCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, (org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_);
      }
      if (intervalCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (org.genomicsdb.model.Coordinates.ContigInterval) interval_);
      }
      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 org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval)) {
        return super.equals(obj);
      }
      org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval other = (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) obj;

      if (!getIntervalCase().equals(other.getIntervalCase())) return false;
      switch (intervalCase_) {
        case 1:
          if (!getTiledbColumnInterval()
              .equals(other.getTiledbColumnInterval())) return false;
          break;
        case 2:
          if (!getContigInterval()
              .equals(other.getContigInterval())) return false;
          break;
        case 0:
        default:
      }
      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();
      switch (intervalCase_) {
        case 1:
          hash = (37 * hash) + TILEDB_COLUMN_INTERVAL_FIELD_NUMBER;
          hash = (53 * hash) + getTiledbColumnInterval().hashCode();
          break;
        case 2:
          hash = (37 * hash) + CONTIG_INTERVAL_FIELD_NUMBER;
          hash = (53 * hash) + getContigInterval().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval 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 org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval 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 org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval 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(org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval 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;
    }
    /**
     * Protobuf type {@code GenomicsDBColumnInterval}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:GenomicsDBColumnInterval)
        org.genomicsdb.model.Coordinates.GenomicsDBColumnIntervalOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnInterval_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnInterval_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.class, org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.Builder.class);
      }

      // Construct using org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (tiledbColumnIntervalBuilder_ != null) {
          tiledbColumnIntervalBuilder_.clear();
        }
        if (contigIntervalBuilder_ != null) {
          contigIntervalBuilder_.clear();
        }
        intervalCase_ = 0;
        interval_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnInterval_descriptor;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval getDefaultInstanceForType() {
        return org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance();
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval build() {
        org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval buildPartial() {
        org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval result = new org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (intervalCase_ == 1) {
          if (tiledbColumnIntervalBuilder_ == null) {
            result.interval_ = interval_;
          } else {
            result.interval_ = tiledbColumnIntervalBuilder_.build();
          }
        }
        if (intervalCase_ == 2) {
          if (contigIntervalBuilder_ == null) {
            result.interval_ = interval_;
          } else {
            result.interval_ = contigIntervalBuilder_.build();
          }
        }
        result.bitField0_ = to_bitField0_;
        result.intervalCase_ = intervalCase_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) {
          return mergeFrom((org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval other) {
        if (other == org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance()) return this;
        switch (other.getIntervalCase()) {
          case TILEDB_COLUMN_INTERVAL: {
            mergeTiledbColumnInterval(other.getTiledbColumnInterval());
            break;
          }
          case CONTIG_INTERVAL: {
            mergeContigInterval(other.getContigInterval());
            break;
          }
          case INTERVAL_NOT_SET: {
            break;
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (hasTiledbColumnInterval()) {
          if (!getTiledbColumnInterval().isInitialized()) {
            return false;
          }
        }
        if (hasContigInterval()) {
          if (!getContigInterval().isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                input.readMessage(
                    getTiledbColumnIntervalFieldBuilder().getBuilder(),
                    extensionRegistry);
                intervalCase_ = 1;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getContigIntervalFieldBuilder().getBuilder(),
                    extensionRegistry);
                intervalCase_ = 2;
                break;
              } // case 18
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int intervalCase_ = 0;
      private java.lang.Object interval_;
      public IntervalCase
          getIntervalCase() {
        return IntervalCase.forNumber(
            intervalCase_);
      }

      public Builder clearInterval() {
        intervalCase_ = 0;
        interval_ = null;
        onChanged();
        return this;
      }

      private int bitField0_;

      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.TileDBColumnInterval, org.genomicsdb.model.Coordinates.TileDBColumnInterval.Builder, org.genomicsdb.model.Coordinates.TileDBColumnIntervalOrBuilder> tiledbColumnIntervalBuilder_;
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       * @return Whether the tiledbColumnInterval field is set.
       */
      @java.lang.Override
      public boolean hasTiledbColumnInterval() {
        return intervalCase_ == 1;
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       * @return The tiledbColumnInterval.
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.TileDBColumnInterval getTiledbColumnInterval() {
        if (tiledbColumnIntervalBuilder_ == null) {
          if (intervalCase_ == 1) {
            return (org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_;
          }
          return org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance();
        } else {
          if (intervalCase_ == 1) {
            return tiledbColumnIntervalBuilder_.getMessage();
          }
          return org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance();
        }
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       */
      public Builder setTiledbColumnInterval(org.genomicsdb.model.Coordinates.TileDBColumnInterval value) {
        if (tiledbColumnIntervalBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          interval_ = value;
          onChanged();
        } else {
          tiledbColumnIntervalBuilder_.setMessage(value);
        }
        intervalCase_ = 1;
        return this;
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       */
      public Builder setTiledbColumnInterval(
          org.genomicsdb.model.Coordinates.TileDBColumnInterval.Builder builderForValue) {
        if (tiledbColumnIntervalBuilder_ == null) {
          interval_ = builderForValue.build();
          onChanged();
        } else {
          tiledbColumnIntervalBuilder_.setMessage(builderForValue.build());
        }
        intervalCase_ = 1;
        return this;
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       */
      public Builder mergeTiledbColumnInterval(org.genomicsdb.model.Coordinates.TileDBColumnInterval value) {
        if (tiledbColumnIntervalBuilder_ == null) {
          if (intervalCase_ == 1 &&
              interval_ != org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance()) {
            interval_ = org.genomicsdb.model.Coordinates.TileDBColumnInterval.newBuilder((org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_)
                .mergeFrom(value).buildPartial();
          } else {
            interval_ = value;
          }
          onChanged();
        } else {
          if (intervalCase_ == 1) {
            tiledbColumnIntervalBuilder_.mergeFrom(value);
          } else {
            tiledbColumnIntervalBuilder_.setMessage(value);
          }
        }
        intervalCase_ = 1;
        return this;
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       */
      public Builder clearTiledbColumnInterval() {
        if (tiledbColumnIntervalBuilder_ == null) {
          if (intervalCase_ == 1) {
            intervalCase_ = 0;
            interval_ = null;
            onChanged();
          }
        } else {
          if (intervalCase_ == 1) {
            intervalCase_ = 0;
            interval_ = null;
          }
          tiledbColumnIntervalBuilder_.clear();
        }
        return this;
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       */
      public org.genomicsdb.model.Coordinates.TileDBColumnInterval.Builder getTiledbColumnIntervalBuilder() {
        return getTiledbColumnIntervalFieldBuilder().getBuilder();
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.TileDBColumnIntervalOrBuilder getTiledbColumnIntervalOrBuilder() {
        if ((intervalCase_ == 1) && (tiledbColumnIntervalBuilder_ != null)) {
          return tiledbColumnIntervalBuilder_.getMessageOrBuilder();
        } else {
          if (intervalCase_ == 1) {
            return (org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_;
          }
          return org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance();
        }
      }
      /**
       * .TileDBColumnInterval tiledb_column_interval = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.TileDBColumnInterval, org.genomicsdb.model.Coordinates.TileDBColumnInterval.Builder, org.genomicsdb.model.Coordinates.TileDBColumnIntervalOrBuilder> 
          getTiledbColumnIntervalFieldBuilder() {
        if (tiledbColumnIntervalBuilder_ == null) {
          if (!(intervalCase_ == 1)) {
            interval_ = org.genomicsdb.model.Coordinates.TileDBColumnInterval.getDefaultInstance();
          }
          tiledbColumnIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.genomicsdb.model.Coordinates.TileDBColumnInterval, org.genomicsdb.model.Coordinates.TileDBColumnInterval.Builder, org.genomicsdb.model.Coordinates.TileDBColumnIntervalOrBuilder>(
                  (org.genomicsdb.model.Coordinates.TileDBColumnInterval) interval_,
                  getParentForChildren(),
                  isClean());
          interval_ = null;
        }
        intervalCase_ = 1;
        onChanged();;
        return tiledbColumnIntervalBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.ContigInterval, org.genomicsdb.model.Coordinates.ContigInterval.Builder, org.genomicsdb.model.Coordinates.ContigIntervalOrBuilder> contigIntervalBuilder_;
      /**
       * .ContigInterval contig_interval = 2;
       * @return Whether the contigInterval field is set.
       */
      @java.lang.Override
      public boolean hasContigInterval() {
        return intervalCase_ == 2;
      }
      /**
       * .ContigInterval contig_interval = 2;
       * @return The contigInterval.
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigInterval getContigInterval() {
        if (contigIntervalBuilder_ == null) {
          if (intervalCase_ == 2) {
            return (org.genomicsdb.model.Coordinates.ContigInterval) interval_;
          }
          return org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance();
        } else {
          if (intervalCase_ == 2) {
            return contigIntervalBuilder_.getMessage();
          }
          return org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance();
        }
      }
      /**
       * .ContigInterval contig_interval = 2;
       */
      public Builder setContigInterval(org.genomicsdb.model.Coordinates.ContigInterval value) {
        if (contigIntervalBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          interval_ = value;
          onChanged();
        } else {
          contigIntervalBuilder_.setMessage(value);
        }
        intervalCase_ = 2;
        return this;
      }
      /**
       * .ContigInterval contig_interval = 2;
       */
      public Builder setContigInterval(
          org.genomicsdb.model.Coordinates.ContigInterval.Builder builderForValue) {
        if (contigIntervalBuilder_ == null) {
          interval_ = builderForValue.build();
          onChanged();
        } else {
          contigIntervalBuilder_.setMessage(builderForValue.build());
        }
        intervalCase_ = 2;
        return this;
      }
      /**
       * .ContigInterval contig_interval = 2;
       */
      public Builder mergeContigInterval(org.genomicsdb.model.Coordinates.ContigInterval value) {
        if (contigIntervalBuilder_ == null) {
          if (intervalCase_ == 2 &&
              interval_ != org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance()) {
            interval_ = org.genomicsdb.model.Coordinates.ContigInterval.newBuilder((org.genomicsdb.model.Coordinates.ContigInterval) interval_)
                .mergeFrom(value).buildPartial();
          } else {
            interval_ = value;
          }
          onChanged();
        } else {
          if (intervalCase_ == 2) {
            contigIntervalBuilder_.mergeFrom(value);
          } else {
            contigIntervalBuilder_.setMessage(value);
          }
        }
        intervalCase_ = 2;
        return this;
      }
      /**
       * .ContigInterval contig_interval = 2;
       */
      public Builder clearContigInterval() {
        if (contigIntervalBuilder_ == null) {
          if (intervalCase_ == 2) {
            intervalCase_ = 0;
            interval_ = null;
            onChanged();
          }
        } else {
          if (intervalCase_ == 2) {
            intervalCase_ = 0;
            interval_ = null;
          }
          contigIntervalBuilder_.clear();
        }
        return this;
      }
      /**
       * .ContigInterval contig_interval = 2;
       */
      public org.genomicsdb.model.Coordinates.ContigInterval.Builder getContigIntervalBuilder() {
        return getContigIntervalFieldBuilder().getBuilder();
      }
      /**
       * .ContigInterval contig_interval = 2;
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.ContigIntervalOrBuilder getContigIntervalOrBuilder() {
        if ((intervalCase_ == 2) && (contigIntervalBuilder_ != null)) {
          return contigIntervalBuilder_.getMessageOrBuilder();
        } else {
          if (intervalCase_ == 2) {
            return (org.genomicsdb.model.Coordinates.ContigInterval) interval_;
          }
          return org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance();
        }
      }
      /**
       * .ContigInterval contig_interval = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.ContigInterval, org.genomicsdb.model.Coordinates.ContigInterval.Builder, org.genomicsdb.model.Coordinates.ContigIntervalOrBuilder> 
          getContigIntervalFieldBuilder() {
        if (contigIntervalBuilder_ == null) {
          if (!(intervalCase_ == 2)) {
            interval_ = org.genomicsdb.model.Coordinates.ContigInterval.getDefaultInstance();
          }
          contigIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.genomicsdb.model.Coordinates.ContigInterval, org.genomicsdb.model.Coordinates.ContigInterval.Builder, org.genomicsdb.model.Coordinates.ContigIntervalOrBuilder>(
                  (org.genomicsdb.model.Coordinates.ContigInterval) interval_,
                  getParentForChildren(),
                  isClean());
          interval_ = null;
        }
        intervalCase_ = 2;
        onChanged();;
        return contigIntervalBuilder_;
      }
      @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:GenomicsDBColumnInterval)
    }

    // @@protoc_insertion_point(class_scope:GenomicsDBColumnInterval)
    private static final org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval();
    }

    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GenomicsDBColumnOrIntervalOrBuilder extends
      // @@protoc_insertion_point(interface_extends:GenomicsDBColumnOrInterval)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .GenomicsDBColumn column = 1;
     * @return Whether the column field is set.
     */
    boolean hasColumn();
    /**
     * .GenomicsDBColumn column = 1;
     * @return The column.
     */
    org.genomicsdb.model.Coordinates.GenomicsDBColumn getColumn();
    /**
     * .GenomicsDBColumn column = 1;
     */
    org.genomicsdb.model.Coordinates.GenomicsDBColumnOrBuilder getColumnOrBuilder();

    /**
     * .GenomicsDBColumnInterval column_interval = 2;
     * @return Whether the columnInterval field is set.
     */
    boolean hasColumnInterval();
    /**
     * .GenomicsDBColumnInterval column_interval = 2;
     * @return The columnInterval.
     */
    org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval getColumnInterval();
    /**
     * .GenomicsDBColumnInterval column_interval = 2;
     */
    org.genomicsdb.model.Coordinates.GenomicsDBColumnIntervalOrBuilder getColumnIntervalOrBuilder();

    public org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.ColumnOrIntervalCase getColumnOrIntervalCase();
  }
  /**
   * Protobuf type {@code GenomicsDBColumnOrInterval}
   */
  public static final class GenomicsDBColumnOrInterval extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:GenomicsDBColumnOrInterval)
      GenomicsDBColumnOrIntervalOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GenomicsDBColumnOrInterval.newBuilder() to construct.
    private GenomicsDBColumnOrInterval(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GenomicsDBColumnOrInterval() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnOrInterval_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnOrInterval_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.class, org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.Builder.class);
    }

    private int bitField0_;
    private int columnOrIntervalCase_ = 0;
    private java.lang.Object columnOrInterval_;
    public enum ColumnOrIntervalCase
        implements com.google.protobuf.Internal.EnumLite,
            com.google.protobuf.AbstractMessage.InternalOneOfEnum {
      COLUMN(1),
      COLUMN_INTERVAL(2),
      COLUMNORINTERVAL_NOT_SET(0);
      private final int value;
      private ColumnOrIntervalCase(int value) {
        this.value = value;
      }
      /**
       * @param value The number of the enum to look for.
       * @return The enum associated with the given number.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ColumnOrIntervalCase valueOf(int value) {
        return forNumber(value);
      }

      public static ColumnOrIntervalCase forNumber(int value) {
        switch (value) {
          case 1: return COLUMN;
          case 2: return COLUMN_INTERVAL;
          case 0: return COLUMNORINTERVAL_NOT_SET;
          default: return null;
        }
      }
      public int getNumber() {
        return this.value;
      }
    };

    public ColumnOrIntervalCase
    getColumnOrIntervalCase() {
      return ColumnOrIntervalCase.forNumber(
          columnOrIntervalCase_);
    }

    public static final int COLUMN_FIELD_NUMBER = 1;
    /**
     * .GenomicsDBColumn column = 1;
     * @return Whether the column field is set.
     */
    @java.lang.Override
    public boolean hasColumn() {
      return columnOrIntervalCase_ == 1;
    }
    /**
     * .GenomicsDBColumn column = 1;
     * @return The column.
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.GenomicsDBColumn getColumn() {
      if (columnOrIntervalCase_ == 1) {
         return (org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_;
      }
      return org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance();
    }
    /**
     * .GenomicsDBColumn column = 1;
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.GenomicsDBColumnOrBuilder getColumnOrBuilder() {
      if (columnOrIntervalCase_ == 1) {
         return (org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_;
      }
      return org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance();
    }

    public static final int COLUMN_INTERVAL_FIELD_NUMBER = 2;
    /**
     * .GenomicsDBColumnInterval column_interval = 2;
     * @return Whether the columnInterval field is set.
     */
    @java.lang.Override
    public boolean hasColumnInterval() {
      return columnOrIntervalCase_ == 2;
    }
    /**
     * .GenomicsDBColumnInterval column_interval = 2;
     * @return The columnInterval.
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval getColumnInterval() {
      if (columnOrIntervalCase_ == 2) {
         return (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_;
      }
      return org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance();
    }
    /**
     * .GenomicsDBColumnInterval column_interval = 2;
     */
    @java.lang.Override
    public org.genomicsdb.model.Coordinates.GenomicsDBColumnIntervalOrBuilder getColumnIntervalOrBuilder() {
      if (columnOrIntervalCase_ == 2) {
         return (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_;
      }
      return org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance();
    }

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

      if (hasColumn()) {
        if (!getColumn().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      if (hasColumnInterval()) {
        if (!getColumnInterval().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (columnOrIntervalCase_ == 1) {
        output.writeMessage(1, (org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_);
      }
      if (columnOrIntervalCase_ == 2) {
        output.writeMessage(2, (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (columnOrIntervalCase_ == 1) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, (org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_);
      }
      if (columnOrIntervalCase_ == 2) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_);
      }
      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 org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval)) {
        return super.equals(obj);
      }
      org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval other = (org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval) obj;

      if (!getColumnOrIntervalCase().equals(other.getColumnOrIntervalCase())) return false;
      switch (columnOrIntervalCase_) {
        case 1:
          if (!getColumn()
              .equals(other.getColumn())) return false;
          break;
        case 2:
          if (!getColumnInterval()
              .equals(other.getColumnInterval())) return false;
          break;
        case 0:
        default:
      }
      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();
      switch (columnOrIntervalCase_) {
        case 1:
          hash = (37 * hash) + COLUMN_FIELD_NUMBER;
          hash = (53 * hash) + getColumn().hashCode();
          break;
        case 2:
          hash = (37 * hash) + COLUMN_INTERVAL_FIELD_NUMBER;
          hash = (53 * hash) + getColumnInterval().hashCode();
          break;
        case 0:
        default:
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval 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 org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval 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 org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval 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(org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval 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;
    }
    /**
     * Protobuf type {@code GenomicsDBColumnOrInterval}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:GenomicsDBColumnOrInterval)
        org.genomicsdb.model.Coordinates.GenomicsDBColumnOrIntervalOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnOrInterval_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnOrInterval_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.class, org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.Builder.class);
      }

      // Construct using org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.newBuilder()
      private Builder() {

      }

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

      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (columnBuilder_ != null) {
          columnBuilder_.clear();
        }
        if (columnIntervalBuilder_ != null) {
          columnIntervalBuilder_.clear();
        }
        columnOrIntervalCase_ = 0;
        columnOrInterval_ = null;
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.genomicsdb.model.Coordinates.internal_static_GenomicsDBColumnOrInterval_descriptor;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval getDefaultInstanceForType() {
        return org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.getDefaultInstance();
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval build() {
        org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval buildPartial() {
        org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval result = new org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (columnOrIntervalCase_ == 1) {
          if (columnBuilder_ == null) {
            result.columnOrInterval_ = columnOrInterval_;
          } else {
            result.columnOrInterval_ = columnBuilder_.build();
          }
        }
        if (columnOrIntervalCase_ == 2) {
          if (columnIntervalBuilder_ == null) {
            result.columnOrInterval_ = columnOrInterval_;
          } else {
            result.columnOrInterval_ = columnIntervalBuilder_.build();
          }
        }
        result.bitField0_ = to_bitField0_;
        result.columnOrIntervalCase_ = columnOrIntervalCase_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval) {
          return mergeFrom((org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval other) {
        if (other == org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval.getDefaultInstance()) return this;
        switch (other.getColumnOrIntervalCase()) {
          case COLUMN: {
            mergeColumn(other.getColumn());
            break;
          }
          case COLUMN_INTERVAL: {
            mergeColumnInterval(other.getColumnInterval());
            break;
          }
          case COLUMNORINTERVAL_NOT_SET: {
            break;
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (hasColumn()) {
          if (!getColumn().isInitialized()) {
            return false;
          }
        }
        if (hasColumnInterval()) {
          if (!getColumnInterval().isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                input.readMessage(
                    getColumnFieldBuilder().getBuilder(),
                    extensionRegistry);
                columnOrIntervalCase_ = 1;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    getColumnIntervalFieldBuilder().getBuilder(),
                    extensionRegistry);
                columnOrIntervalCase_ = 2;
                break;
              } // case 18
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int columnOrIntervalCase_ = 0;
      private java.lang.Object columnOrInterval_;
      public ColumnOrIntervalCase
          getColumnOrIntervalCase() {
        return ColumnOrIntervalCase.forNumber(
            columnOrIntervalCase_);
      }

      public Builder clearColumnOrInterval() {
        columnOrIntervalCase_ = 0;
        columnOrInterval_ = null;
        onChanged();
        return this;
      }

      private int bitField0_;

      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.GenomicsDBColumn, org.genomicsdb.model.Coordinates.GenomicsDBColumn.Builder, org.genomicsdb.model.Coordinates.GenomicsDBColumnOrBuilder> columnBuilder_;
      /**
       * .GenomicsDBColumn column = 1;
       * @return Whether the column field is set.
       */
      @java.lang.Override
      public boolean hasColumn() {
        return columnOrIntervalCase_ == 1;
      }
      /**
       * .GenomicsDBColumn column = 1;
       * @return The column.
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumn getColumn() {
        if (columnBuilder_ == null) {
          if (columnOrIntervalCase_ == 1) {
            return (org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_;
          }
          return org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance();
        } else {
          if (columnOrIntervalCase_ == 1) {
            return columnBuilder_.getMessage();
          }
          return org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance();
        }
      }
      /**
       * .GenomicsDBColumn column = 1;
       */
      public Builder setColumn(org.genomicsdb.model.Coordinates.GenomicsDBColumn value) {
        if (columnBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          columnOrInterval_ = value;
          onChanged();
        } else {
          columnBuilder_.setMessage(value);
        }
        columnOrIntervalCase_ = 1;
        return this;
      }
      /**
       * .GenomicsDBColumn column = 1;
       */
      public Builder setColumn(
          org.genomicsdb.model.Coordinates.GenomicsDBColumn.Builder builderForValue) {
        if (columnBuilder_ == null) {
          columnOrInterval_ = builderForValue.build();
          onChanged();
        } else {
          columnBuilder_.setMessage(builderForValue.build());
        }
        columnOrIntervalCase_ = 1;
        return this;
      }
      /**
       * .GenomicsDBColumn column = 1;
       */
      public Builder mergeColumn(org.genomicsdb.model.Coordinates.GenomicsDBColumn value) {
        if (columnBuilder_ == null) {
          if (columnOrIntervalCase_ == 1 &&
              columnOrInterval_ != org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance()) {
            columnOrInterval_ = org.genomicsdb.model.Coordinates.GenomicsDBColumn.newBuilder((org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_)
                .mergeFrom(value).buildPartial();
          } else {
            columnOrInterval_ = value;
          }
          onChanged();
        } else {
          if (columnOrIntervalCase_ == 1) {
            columnBuilder_.mergeFrom(value);
          } else {
            columnBuilder_.setMessage(value);
          }
        }
        columnOrIntervalCase_ = 1;
        return this;
      }
      /**
       * .GenomicsDBColumn column = 1;
       */
      public Builder clearColumn() {
        if (columnBuilder_ == null) {
          if (columnOrIntervalCase_ == 1) {
            columnOrIntervalCase_ = 0;
            columnOrInterval_ = null;
            onChanged();
          }
        } else {
          if (columnOrIntervalCase_ == 1) {
            columnOrIntervalCase_ = 0;
            columnOrInterval_ = null;
          }
          columnBuilder_.clear();
        }
        return this;
      }
      /**
       * .GenomicsDBColumn column = 1;
       */
      public org.genomicsdb.model.Coordinates.GenomicsDBColumn.Builder getColumnBuilder() {
        return getColumnFieldBuilder().getBuilder();
      }
      /**
       * .GenomicsDBColumn column = 1;
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnOrBuilder getColumnOrBuilder() {
        if ((columnOrIntervalCase_ == 1) && (columnBuilder_ != null)) {
          return columnBuilder_.getMessageOrBuilder();
        } else {
          if (columnOrIntervalCase_ == 1) {
            return (org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_;
          }
          return org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance();
        }
      }
      /**
       * .GenomicsDBColumn column = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.GenomicsDBColumn, org.genomicsdb.model.Coordinates.GenomicsDBColumn.Builder, org.genomicsdb.model.Coordinates.GenomicsDBColumnOrBuilder> 
          getColumnFieldBuilder() {
        if (columnBuilder_ == null) {
          if (!(columnOrIntervalCase_ == 1)) {
            columnOrInterval_ = org.genomicsdb.model.Coordinates.GenomicsDBColumn.getDefaultInstance();
          }
          columnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.genomicsdb.model.Coordinates.GenomicsDBColumn, org.genomicsdb.model.Coordinates.GenomicsDBColumn.Builder, org.genomicsdb.model.Coordinates.GenomicsDBColumnOrBuilder>(
                  (org.genomicsdb.model.Coordinates.GenomicsDBColumn) columnOrInterval_,
                  getParentForChildren(),
                  isClean());
          columnOrInterval_ = null;
        }
        columnOrIntervalCase_ = 1;
        onChanged();;
        return columnBuilder_;
      }

      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval, org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.Builder, org.genomicsdb.model.Coordinates.GenomicsDBColumnIntervalOrBuilder> columnIntervalBuilder_;
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       * @return Whether the columnInterval field is set.
       */
      @java.lang.Override
      public boolean hasColumnInterval() {
        return columnOrIntervalCase_ == 2;
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       * @return The columnInterval.
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval getColumnInterval() {
        if (columnIntervalBuilder_ == null) {
          if (columnOrIntervalCase_ == 2) {
            return (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_;
          }
          return org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance();
        } else {
          if (columnOrIntervalCase_ == 2) {
            return columnIntervalBuilder_.getMessage();
          }
          return org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance();
        }
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       */
      public Builder setColumnInterval(org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval value) {
        if (columnIntervalBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          columnOrInterval_ = value;
          onChanged();
        } else {
          columnIntervalBuilder_.setMessage(value);
        }
        columnOrIntervalCase_ = 2;
        return this;
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       */
      public Builder setColumnInterval(
          org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.Builder builderForValue) {
        if (columnIntervalBuilder_ == null) {
          columnOrInterval_ = builderForValue.build();
          onChanged();
        } else {
          columnIntervalBuilder_.setMessage(builderForValue.build());
        }
        columnOrIntervalCase_ = 2;
        return this;
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       */
      public Builder mergeColumnInterval(org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval value) {
        if (columnIntervalBuilder_ == null) {
          if (columnOrIntervalCase_ == 2 &&
              columnOrInterval_ != org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance()) {
            columnOrInterval_ = org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.newBuilder((org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_)
                .mergeFrom(value).buildPartial();
          } else {
            columnOrInterval_ = value;
          }
          onChanged();
        } else {
          if (columnOrIntervalCase_ == 2) {
            columnIntervalBuilder_.mergeFrom(value);
          } else {
            columnIntervalBuilder_.setMessage(value);
          }
        }
        columnOrIntervalCase_ = 2;
        return this;
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       */
      public Builder clearColumnInterval() {
        if (columnIntervalBuilder_ == null) {
          if (columnOrIntervalCase_ == 2) {
            columnOrIntervalCase_ = 0;
            columnOrInterval_ = null;
            onChanged();
          }
        } else {
          if (columnOrIntervalCase_ == 2) {
            columnOrIntervalCase_ = 0;
            columnOrInterval_ = null;
          }
          columnIntervalBuilder_.clear();
        }
        return this;
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       */
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.Builder getColumnIntervalBuilder() {
        return getColumnIntervalFieldBuilder().getBuilder();
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       */
      @java.lang.Override
      public org.genomicsdb.model.Coordinates.GenomicsDBColumnIntervalOrBuilder getColumnIntervalOrBuilder() {
        if ((columnOrIntervalCase_ == 2) && (columnIntervalBuilder_ != null)) {
          return columnIntervalBuilder_.getMessageOrBuilder();
        } else {
          if (columnOrIntervalCase_ == 2) {
            return (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_;
          }
          return org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance();
        }
      }
      /**
       * .GenomicsDBColumnInterval column_interval = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval, org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.Builder, org.genomicsdb.model.Coordinates.GenomicsDBColumnIntervalOrBuilder> 
          getColumnIntervalFieldBuilder() {
        if (columnIntervalBuilder_ == null) {
          if (!(columnOrIntervalCase_ == 2)) {
            columnOrInterval_ = org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.getDefaultInstance();
          }
          columnIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval, org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval.Builder, org.genomicsdb.model.Coordinates.GenomicsDBColumnIntervalOrBuilder>(
                  (org.genomicsdb.model.Coordinates.GenomicsDBColumnInterval) columnOrInterval_,
                  getParentForChildren(),
                  isClean());
          columnOrInterval_ = null;
        }
        columnOrIntervalCase_ = 2;
        onChanged();;
        return columnIntervalBuilder_;
      }
      @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:GenomicsDBColumnOrInterval)
    }

    // @@protoc_insertion_point(class_scope:GenomicsDBColumnOrInterval)
    private static final org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval();
    }

    public static org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

    @java.lang.Override
    public org.genomicsdb.model.Coordinates.GenomicsDBColumnOrInterval getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ContigPosition_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ContigPosition_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GenomicsDBColumn_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GenomicsDBColumn_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_TileDBColumnInterval_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_TileDBColumnInterval_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_ContigInterval_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_ContigInterval_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GenomicsDBColumnInterval_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GenomicsDBColumnInterval_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_GenomicsDBColumnOrInterval_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_GenomicsDBColumnOrInterval_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\034genomicsdb_coordinates.proto\"2\n\016Contig" +
      "Position\022\016\n\006contig\030\001 \002(\t\022\020\n\010position\030\002 \002" +
      "(\003\"a\n\020GenomicsDBColumn\022\027\n\rtiledb_column\030" +
      "\001 \001(\003H\000\022*\n\017contig_position\030\002 \001(\0132\017.Conti" +
      "gPositionH\000B\010\n\006column\"2\n\024TileDBColumnInt" +
      "erval\022\r\n\005begin\030\001 \002(\003\022\013\n\003end\030\002 \002(\003\"<\n\016Con" +
      "tigInterval\022\016\n\006contig\030\001 \002(\t\022\r\n\005begin\030\002 \001" +
      "(\003\022\013\n\003end\030\003 \001(\003\"\213\001\n\030GenomicsDBColumnInte" +
      "rval\0227\n\026tiledb_column_interval\030\001 \001(\0132\025.T" +
      "ileDBColumnIntervalH\000\022*\n\017contig_interval" +
      "\030\002 \001(\0132\017.ContigIntervalH\000B\n\n\010interval\"\215\001" +
      "\n\032GenomicsDBColumnOrInterval\022#\n\006column\030\001" +
      " \001(\0132\021.GenomicsDBColumnH\000\0224\n\017column_inte" +
      "rval\030\002 \001(\0132\031.GenomicsDBColumnIntervalH\000B" +
      "\024\n\022column_or_intervalB.\n\024org.genomicsdb." +
      "modelB\013CoordinatesZ\tprotobuf/"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_ContigPosition_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_ContigPosition_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ContigPosition_descriptor,
        new java.lang.String[] { "Contig", "Position", });
    internal_static_GenomicsDBColumn_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_GenomicsDBColumn_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GenomicsDBColumn_descriptor,
        new java.lang.String[] { "TiledbColumn", "ContigPosition", "Column", });
    internal_static_TileDBColumnInterval_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_TileDBColumnInterval_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_TileDBColumnInterval_descriptor,
        new java.lang.String[] { "Begin", "End", });
    internal_static_ContigInterval_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_ContigInterval_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_ContigInterval_descriptor,
        new java.lang.String[] { "Contig", "Begin", "End", });
    internal_static_GenomicsDBColumnInterval_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_GenomicsDBColumnInterval_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GenomicsDBColumnInterval_descriptor,
        new java.lang.String[] { "TiledbColumnInterval", "ContigInterval", "Interval", });
    internal_static_GenomicsDBColumnOrInterval_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_GenomicsDBColumnOrInterval_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_GenomicsDBColumnOrInterval_descriptor,
        new java.lang.String[] { "Column", "ColumnInterval", "ColumnOrInterval", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy