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

com.palantir.atlasdb.protos.generated.UpgradePersistence Maven / Gradle / Ivy

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

package com.palantir.atlasdb.protos.generated;

public final class UpgradePersistence {
  private UpgradePersistence() {}
  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 SchemaVersionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.SchemaVersion)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required int64 version = 1;
     * @return Whether the version field is set.
     */
    boolean hasVersion();
    /**
     * required int64 version = 1;
     * @return The version.
     */
    long getVersion();

    /**
     * optional int64 hotfix = 2;
     * @return Whether the hotfix field is set.
     */
    boolean hasHotfix();
    /**
     * optional int64 hotfix = 2;
     * @return The hotfix.
     */
    long getHotfix();

    /**
     * optional int64 hotfix_hotfix = 3;
     * @return Whether the hotfixHotfix field is set.
     */
    boolean hasHotfixHotfix();
    /**
     * optional int64 hotfix_hotfix = 3;
     * @return The hotfixHotfix.
     */
    long getHotfixHotfix();
  }
  /**
   * Protobuf type {@code com.palantir.atlasdb.protos.generated.SchemaVersion}
   */
  public static final class SchemaVersion extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.SchemaVersion)
      SchemaVersionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SchemaVersion.newBuilder() to construct.
    private SchemaVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SchemaVersion() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SchemaVersion(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              bitField0_ |= 0x00000001;
              version_ = input.readInt64();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              hotfix_ = input.readInt64();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              hotfixHotfix_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.class, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder.class);
    }

    private int bitField0_;
    public static final int VERSION_FIELD_NUMBER = 1;
    private long version_;
    /**
     * required int64 version = 1;
     * @return Whether the version field is set.
     */
    @java.lang.Override
    public boolean hasVersion() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * required int64 version = 1;
     * @return The version.
     */
    @java.lang.Override
    public long getVersion() {
      return version_;
    }

    public static final int HOTFIX_FIELD_NUMBER = 2;
    private long hotfix_;
    /**
     * optional int64 hotfix = 2;
     * @return Whether the hotfix field is set.
     */
    @java.lang.Override
    public boolean hasHotfix() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional int64 hotfix = 2;
     * @return The hotfix.
     */
    @java.lang.Override
    public long getHotfix() {
      return hotfix_;
    }

    public static final int HOTFIX_HOTFIX_FIELD_NUMBER = 3;
    private long hotfixHotfix_;
    /**
     * optional int64 hotfix_hotfix = 3;
     * @return Whether the hotfixHotfix field is set.
     */
    @java.lang.Override
    public boolean hasHotfixHotfix() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional int64 hotfix_hotfix = 3;
     * @return The hotfixHotfix.
     */
    @java.lang.Override
    public long getHotfixHotfix() {
      return hotfixHotfix_;
    }

    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 (!hasVersion()) {
        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, version_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt64(2, hotfix_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeInt64(3, hotfixHotfix_);
      }
      unknownFields.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, version_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(2, hotfix_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, hotfixHotfix_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion)) {
        return super.equals(obj);
      }
      com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion other = (com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion) obj;

      if (hasVersion() != other.hasVersion()) return false;
      if (hasVersion()) {
        if (getVersion()
            != other.getVersion()) return false;
      }
      if (hasHotfix() != other.hasHotfix()) return false;
      if (hasHotfix()) {
        if (getHotfix()
            != other.getHotfix()) return false;
      }
      if (hasHotfixHotfix() != other.hasHotfixHotfix()) return false;
      if (hasHotfixHotfix()) {
        if (getHotfixHotfix()
            != other.getHotfixHotfix()) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasVersion()) {
        hash = (37 * hash) + VERSION_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getVersion());
      }
      if (hasHotfix()) {
        hash = (37 * hash) + HOTFIX_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getHotfix());
      }
      if (hasHotfixHotfix()) {
        hash = (37 * hash) + HOTFIX_HOTFIX_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getHotfixHotfix());
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion 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 com.palantir.atlasdb.protos.generated.SchemaVersion}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.SchemaVersion)
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.class, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder.class);
      }

      // Construct using com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        version_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000001);
        hotfix_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000002);
        hotfixHotfix_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_descriptor;
      }

      @java.lang.Override
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion getDefaultInstanceForType() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.getDefaultInstance();
      }

      @java.lang.Override
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion build() {
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion buildPartial() {
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion result = new com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.version_ = version_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.hotfix_ = hotfix_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.hotfixHotfix_ = hotfixHotfix_;
          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 com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion) {
          return mergeFrom((com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion other) {
        if (other == com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.getDefaultInstance()) return this;
        if (other.hasVersion()) {
          setVersion(other.getVersion());
        }
        if (other.hasHotfix()) {
          setHotfix(other.getHotfix());
        }
        if (other.hasHotfixHotfix()) {
          setHotfixHotfix(other.getHotfixHotfix());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private long version_ ;
      /**
       * required int64 version = 1;
       * @return Whether the version field is set.
       */
      @java.lang.Override
      public boolean hasVersion() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * required int64 version = 1;
       * @return The version.
       */
      @java.lang.Override
      public long getVersion() {
        return version_;
      }
      /**
       * required int64 version = 1;
       * @param value The version to set.
       * @return This builder for chaining.
       */
      public Builder setVersion(long value) {
        bitField0_ |= 0x00000001;
        version_ = value;
        onChanged();
        return this;
      }
      /**
       * required int64 version = 1;
       * @return This builder for chaining.
       */
      public Builder clearVersion() {
        bitField0_ = (bitField0_ & ~0x00000001);
        version_ = 0L;
        onChanged();
        return this;
      }

      private long hotfix_ ;
      /**
       * optional int64 hotfix = 2;
       * @return Whether the hotfix field is set.
       */
      @java.lang.Override
      public boolean hasHotfix() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional int64 hotfix = 2;
       * @return The hotfix.
       */
      @java.lang.Override
      public long getHotfix() {
        return hotfix_;
      }
      /**
       * optional int64 hotfix = 2;
       * @param value The hotfix to set.
       * @return This builder for chaining.
       */
      public Builder setHotfix(long value) {
        bitField0_ |= 0x00000002;
        hotfix_ = value;
        onChanged();
        return this;
      }
      /**
       * optional int64 hotfix = 2;
       * @return This builder for chaining.
       */
      public Builder clearHotfix() {
        bitField0_ = (bitField0_ & ~0x00000002);
        hotfix_ = 0L;
        onChanged();
        return this;
      }

      private long hotfixHotfix_ ;
      /**
       * optional int64 hotfix_hotfix = 3;
       * @return Whether the hotfixHotfix field is set.
       */
      @java.lang.Override
      public boolean hasHotfixHotfix() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional int64 hotfix_hotfix = 3;
       * @return The hotfixHotfix.
       */
      @java.lang.Override
      public long getHotfixHotfix() {
        return hotfixHotfix_;
      }
      /**
       * optional int64 hotfix_hotfix = 3;
       * @param value The hotfixHotfix to set.
       * @return This builder for chaining.
       */
      public Builder setHotfixHotfix(long value) {
        bitField0_ |= 0x00000004;
        hotfixHotfix_ = value;
        onChanged();
        return this;
      }
      /**
       * optional int64 hotfix_hotfix = 3;
       * @return This builder for chaining.
       */
      public Builder clearHotfixHotfix() {
        bitField0_ = (bitField0_ & ~0x00000004);
        hotfixHotfix_ = 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:com.palantir.atlasdb.protos.generated.SchemaVersion)
    }

    // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.SchemaVersion)
    private static final com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion();
    }

    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public SchemaVersion parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SchemaVersion(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface SchemaVersionsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.palantir.atlasdb.protos.generated.SchemaVersions)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    java.util.List 
        getVersionsList();
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion getVersions(int index);
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    int getVersionsCount();
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    java.util.List 
        getVersionsOrBuilderList();
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionOrBuilder getVersionsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code com.palantir.atlasdb.protos.generated.SchemaVersions}
   */
  public static final class SchemaVersions extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.palantir.atlasdb.protos.generated.SchemaVersions)
      SchemaVersionsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use SchemaVersions.newBuilder() to construct.
    private SchemaVersions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private SchemaVersions() {
      versions_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private SchemaVersions(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                versions_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              versions_.add(
                  input.readMessage(com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.PARSER, extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          versions_ = java.util.Collections.unmodifiableList(versions_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions.class, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions.Builder.class);
    }

    public static final int VERSIONS_FIELD_NUMBER = 1;
    private java.util.List versions_;
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    @java.lang.Override
    public java.util.List getVersionsList() {
      return versions_;
    }
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    @java.lang.Override
    public java.util.List 
        getVersionsOrBuilderList() {
      return versions_;
    }
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    @java.lang.Override
    public int getVersionsCount() {
      return versions_.size();
    }
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    @java.lang.Override
    public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion getVersions(int index) {
      return versions_.get(index);
    }
    /**
     * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
     */
    @java.lang.Override
    public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionOrBuilder getVersionsOrBuilder(
        int index) {
      return versions_.get(index);
    }

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

      for (int i = 0; i < getVersionsCount(); i++) {
        if (!getVersions(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

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

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

      size = 0;
      for (int i = 0; i < versions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, versions_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions)) {
        return super.equals(obj);
      }
      com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions other = (com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions) obj;

      if (!getVersionsList()
          .equals(other.getVersionsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getVersionsCount() > 0) {
        hash = (37 * hash) + VERSIONS_FIELD_NUMBER;
        hash = (53 * hash) + getVersionsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions 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 com.palantir.atlasdb.protos.generated.SchemaVersions}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.palantir.atlasdb.protos.generated.SchemaVersions)
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions.class, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions.Builder.class);
      }

      // Construct using com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getVersionsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (versionsBuilder_ == null) {
          versions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          versionsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_descriptor;
      }

      @java.lang.Override
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions getDefaultInstanceForType() {
        return com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions.getDefaultInstance();
      }

      @java.lang.Override
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions build() {
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions buildPartial() {
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions result = new com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions(this);
        int from_bitField0_ = bitField0_;
        if (versionsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            versions_ = java.util.Collections.unmodifiableList(versions_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.versions_ = versions_;
        } else {
          result.versions_ = versionsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions) {
          return mergeFrom((com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions other) {
        if (other == com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions.getDefaultInstance()) return this;
        if (versionsBuilder_ == null) {
          if (!other.versions_.isEmpty()) {
            if (versions_.isEmpty()) {
              versions_ = other.versions_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureVersionsIsMutable();
              versions_.addAll(other.versions_);
            }
            onChanged();
          }
        } else {
          if (!other.versions_.isEmpty()) {
            if (versionsBuilder_.isEmpty()) {
              versionsBuilder_.dispose();
              versionsBuilder_ = null;
              versions_ = other.versions_;
              bitField0_ = (bitField0_ & ~0x00000001);
              versionsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getVersionsFieldBuilder() : null;
            } else {
              versionsBuilder_.addAllMessages(other.versions_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        for (int i = 0; i < getVersionsCount(); i++) {
          if (!getVersions(i).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 {
        com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List versions_ =
        java.util.Collections.emptyList();
      private void ensureVersionsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          versions_ = new java.util.ArrayList(versions_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionOrBuilder> versionsBuilder_;

      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public java.util.List getVersionsList() {
        if (versionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(versions_);
        } else {
          return versionsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public int getVersionsCount() {
        if (versionsBuilder_ == null) {
          return versions_.size();
        } else {
          return versionsBuilder_.getCount();
        }
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion getVersions(int index) {
        if (versionsBuilder_ == null) {
          return versions_.get(index);
        } else {
          return versionsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder setVersions(
          int index, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion value) {
        if (versionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVersionsIsMutable();
          versions_.set(index, value);
          onChanged();
        } else {
          versionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder setVersions(
          int index, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder builderForValue) {
        if (versionsBuilder_ == null) {
          ensureVersionsIsMutable();
          versions_.set(index, builderForValue.build());
          onChanged();
        } else {
          versionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder addVersions(com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion value) {
        if (versionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVersionsIsMutable();
          versions_.add(value);
          onChanged();
        } else {
          versionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder addVersions(
          int index, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion value) {
        if (versionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureVersionsIsMutable();
          versions_.add(index, value);
          onChanged();
        } else {
          versionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder addVersions(
          com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder builderForValue) {
        if (versionsBuilder_ == null) {
          ensureVersionsIsMutable();
          versions_.add(builderForValue.build());
          onChanged();
        } else {
          versionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder addVersions(
          int index, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder builderForValue) {
        if (versionsBuilder_ == null) {
          ensureVersionsIsMutable();
          versions_.add(index, builderForValue.build());
          onChanged();
        } else {
          versionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder addAllVersions(
          java.lang.Iterable values) {
        if (versionsBuilder_ == null) {
          ensureVersionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, versions_);
          onChanged();
        } else {
          versionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder clearVersions() {
        if (versionsBuilder_ == null) {
          versions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          versionsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public Builder removeVersions(int index) {
        if (versionsBuilder_ == null) {
          ensureVersionsIsMutable();
          versions_.remove(index);
          onChanged();
        } else {
          versionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder getVersionsBuilder(
          int index) {
        return getVersionsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionOrBuilder getVersionsOrBuilder(
          int index) {
        if (versionsBuilder_ == null) {
          return versions_.get(index);  } else {
          return versionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public java.util.List 
           getVersionsOrBuilderList() {
        if (versionsBuilder_ != null) {
          return versionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(versions_);
        }
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder addVersionsBuilder() {
        return getVersionsFieldBuilder().addBuilder(
            com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.getDefaultInstance());
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder addVersionsBuilder(
          int index) {
        return getVersionsFieldBuilder().addBuilder(
            index, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.getDefaultInstance());
      }
      /**
       * repeated .com.palantir.atlasdb.protos.generated.SchemaVersion versions = 1;
       */
      public java.util.List 
           getVersionsBuilderList() {
        return getVersionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionOrBuilder> 
          getVersionsFieldBuilder() {
        if (versionsBuilder_ == null) {
          versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersion.Builder, com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersionOrBuilder>(
                  versions_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          versions_ = null;
        }
        return versionsBuilder_;
      }
      @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:com.palantir.atlasdb.protos.generated.SchemaVersions)
    }

    // @@protoc_insertion_point(class_scope:com.palantir.atlasdb.protos.generated.SchemaVersions)
    private static final com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions();
    }

    public static com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public SchemaVersions parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new SchemaVersions(input, extensionRegistry);
      }
    };

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

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

    @java.lang.Override
    public com.palantir.atlasdb.protos.generated.UpgradePersistence.SchemaVersions getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_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\030UpgradePersistence.proto\022%com.palantir" +
      ".atlasdb.protos.generated\"G\n\rSchemaVersi" +
      "on\022\017\n\007version\030\001 \002(\003\022\016\n\006hotfix\030\002 \001(\003\022\025\n\rh" +
      "otfix_hotfix\030\003 \001(\003\"X\n\016SchemaVersions\022F\n\010" +
      "versions\030\001 \003(\01324.com.palantir.atlasdb.pr" +
      "otos.generated.SchemaVersion"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_palantir_atlasdb_protos_generated_SchemaVersion_descriptor,
        new java.lang.String[] { "Version", "Hotfix", "HotfixHotfix", });
    internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_com_palantir_atlasdb_protos_generated_SchemaVersions_descriptor,
        new java.lang.String[] { "Versions", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy