content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // NO CHECKED-IN PROTOBUF GENCODE
  // source: messages.proto
  // Protobuf Java Version: 4.28.2
  
  package finsky.protos;
  
  /**
   * Protobuf type {@code finsky.protos.LibraryReplicationRequest}
   */
  public  final class LibraryReplicationRequest extends
      com.google.protobuf.GeneratedMessageLite<
          LibraryReplicationRequest, LibraryReplicationRequest.Builder> implements
      // @@protoc_insertion_point(message_implements:finsky.protos.LibraryReplicationRequest)
      LibraryReplicationRequestOrBuilder {
    private LibraryReplicationRequest() {
      libraryState_ = emptyProtobufList();
    }
    private int bitField0_;
    public static final int LIBRARYSTATE_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.ProtobufList<finsky.protos.LibraryUpdateProto.ClientLibraryState> libraryState_;
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    @java.lang.Override
    public java.util.List<finsky.protos.LibraryUpdateProto.ClientLibraryState> getLibraryStateList() {
      return libraryState_;
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    public java.util.List<? extends finsky.protos.LibraryUpdateProto.ClientLibraryStateOrBuilder> 
        getLibraryStateOrBuilderList() {
      return libraryState_;
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    @java.lang.Override
    public int getLibraryStateCount() {
      return libraryState_.size();
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    @java.lang.Override
    public finsky.protos.LibraryUpdateProto.ClientLibraryState getLibraryState(int index) {
      return libraryState_.get(index);
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    public finsky.protos.LibraryUpdateProto.ClientLibraryStateOrBuilder getLibraryStateOrBuilder(
        int index) {
      return libraryState_.get(index);
    }
    private void ensureLibraryStateIsMutable() {
      com.google.protobuf.Internal.ProtobufList<finsky.protos.LibraryUpdateProto.ClientLibraryState> tmp = libraryState_;
      if (!tmp.isModifiable()) {
        libraryState_ =
            com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
       }
    }
  
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    private void setLibraryState(
        int index, finsky.protos.LibraryUpdateProto.ClientLibraryState value) {
      value.getClass();
    ensureLibraryStateIsMutable();
      libraryState_.set(index, value);
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    private void addLibraryState(finsky.protos.LibraryUpdateProto.ClientLibraryState value) {
      value.getClass();
    ensureLibraryStateIsMutable();
      libraryState_.add(value);
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    private void addLibraryState(
        int index, finsky.protos.LibraryUpdateProto.ClientLibraryState value) {
      value.getClass();
    ensureLibraryStateIsMutable();
      libraryState_.add(index, value);
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    private void addAllLibraryState(
        java.lang.Iterable<? extends finsky.protos.LibraryUpdateProto.ClientLibraryState> values) {
      ensureLibraryStateIsMutable();
      com.google.protobuf.AbstractMessageLite.addAll(
          values, libraryState_);
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    private void clearLibraryState() {
      libraryState_ = emptyProtobufList();
    }
    /**
     * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
     */
    private void removeLibraryState(int index) {
      ensureLibraryStateIsMutable();
      libraryState_.remove(index);
    }
  
    public static final int LIBRARYMUTATIONVERSION_FIELD_NUMBER = 2;
    private int libraryMutationVersion_;
    /**
     * <code>optional int32 libraryMutationVersion = 2;</code>
     * @return Whether the libraryMutationVersion field is set.
     */
    @java.lang.Override
    public boolean hasLibraryMutationVersion() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional int32 libraryMutationVersion = 2;</code>
     * @return The libraryMutationVersion.
     */
    @java.lang.Override
    public int getLibraryMutationVersion() {
      return libraryMutationVersion_;
    }
    /**
     * <code>optional int32 libraryMutationVersion = 2;</code>
     * @param value The libraryMutationVersion to set.
     */
    private void setLibraryMutationVersion(int value) {
      bitField0_ |= 0x00000001;
      libraryMutationVersion_ = value;
    }
    /**
     * <code>optional int32 libraryMutationVersion = 2;</code>
     */
    private void clearLibraryMutationVersion() {
      bitField0_ = (bitField0_ & ~0x00000001);
      libraryMutationVersion_ = 0;
    }
  
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, data, extensionRegistry);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
  
    public static finsky.protos.LibraryReplicationRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input);
    }
  
    public static finsky.protos.LibraryReplicationRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input);
    }
    public static finsky.protos.LibraryReplicationRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageLite.parseFrom(
          DEFAULT_INSTANCE, input, extensionRegistry);
    }
  
    public static Builder newBuilder() {
      return (Builder) DEFAULT_INSTANCE.createBuilder();
    }
    public static Builder newBuilder(finsky.protos.LibraryReplicationRequest prototype) {
      return DEFAULT_INSTANCE.createBuilder(prototype);
    }
  
    /**
     * Protobuf type {@code finsky.protos.LibraryReplicationRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageLite.Builder<
          finsky.protos.LibraryReplicationRequest, Builder> implements
        // @@protoc_insertion_point(builder_implements:finsky.protos.LibraryReplicationRequest)
        finsky.protos.LibraryReplicationRequestOrBuilder {
      // Construct using finsky.protos.LibraryReplicationRequest.newBuilder()
      private Builder() {
        super(DEFAULT_INSTANCE);
      }
  
  
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      @java.lang.Override
      public java.util.List<finsky.protos.LibraryUpdateProto.ClientLibraryState> getLibraryStateList() {
        return java.util.Collections.unmodifiableList(
            instance.getLibraryStateList());
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      @java.lang.Override
      public int getLibraryStateCount() {
        return instance.getLibraryStateCount();
      }/**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      @java.lang.Override
      public finsky.protos.LibraryUpdateProto.ClientLibraryState getLibraryState(int index) {
        return instance.getLibraryState(index);
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder setLibraryState(
          int index, finsky.protos.LibraryUpdateProto.ClientLibraryState value) {
        copyOnWrite();
        instance.setLibraryState(index, value);
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder setLibraryState(
          int index, finsky.protos.LibraryUpdateProto.ClientLibraryState.Builder builderForValue) {
        copyOnWrite();
        instance.setLibraryState(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder addLibraryState(finsky.protos.LibraryUpdateProto.ClientLibraryState value) {
        copyOnWrite();
        instance.addLibraryState(value);
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder addLibraryState(
          int index, finsky.protos.LibraryUpdateProto.ClientLibraryState value) {
        copyOnWrite();
        instance.addLibraryState(index, value);
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder addLibraryState(
          finsky.protos.LibraryUpdateProto.ClientLibraryState.Builder builderForValue) {
        copyOnWrite();
        instance.addLibraryState(builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder addLibraryState(
          int index, finsky.protos.LibraryUpdateProto.ClientLibraryState.Builder builderForValue) {
        copyOnWrite();
        instance.addLibraryState(index,
            builderForValue.build());
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder addAllLibraryState(
          java.lang.Iterable<? extends finsky.protos.LibraryUpdateProto.ClientLibraryState> values) {
        copyOnWrite();
        instance.addAllLibraryState(values);
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder clearLibraryState() {
        copyOnWrite();
        instance.clearLibraryState();
        return this;
      }
      /**
       * <code>repeated .finsky.protos.LibraryUpdateProto.ClientLibraryState libraryState = 1;</code>
       */
      public Builder removeLibraryState(int index) {
        copyOnWrite();
        instance.removeLibraryState(index);
        return this;
      }
  
      /**
       * <code>optional int32 libraryMutationVersion = 2;</code>
       * @return Whether the libraryMutationVersion field is set.
       */
      @java.lang.Override
      public boolean hasLibraryMutationVersion() {
        return instance.hasLibraryMutationVersion();
      }
      /**
       * <code>optional int32 libraryMutationVersion = 2;</code>
       * @return The libraryMutationVersion.
       */
      @java.lang.Override
      public int getLibraryMutationVersion() {
        return instance.getLibraryMutationVersion();
      }
      /**
       * <code>optional int32 libraryMutationVersion = 2;</code>
       * @param value The libraryMutationVersion to set.
       * @return This builder for chaining.
       */
      public Builder setLibraryMutationVersion(int value) {
        copyOnWrite();
        instance.setLibraryMutationVersion(value);
        return this;
      }
      /**
       * <code>optional int32 libraryMutationVersion = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearLibraryMutationVersion() {
        copyOnWrite();
        instance.clearLibraryMutationVersion();
        return this;
      }
  
      // @@protoc_insertion_point(builder_scope:finsky.protos.LibraryReplicationRequest)
    }
    private byte memoizedIsInitialized = 2;
    @java.lang.Override
    @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
    protected final java.lang.Object dynamicMethod(
        com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
        java.lang.Object arg0, java.lang.Object arg1) {
      switch (method) {
        case NEW_MUTABLE_INSTANCE: {
          return new finsky.protos.LibraryReplicationRequest();
        }
        case NEW_BUILDER: {
          return new Builder();
        }
        case BUILD_MESSAGE_INFO: {
            java.lang.Object[] objects = new java.lang.Object[] {
              "bitField0_",
              "libraryState_",
              finsky.protos.LibraryUpdateProto.ClientLibraryState.class,
              "libraryMutationVersion_",
            };
            java.lang.String info =
                "\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0001\u0001\u041b\u0002\u1004" +
                "\u0000";
            return newMessageInfo(DEFAULT_INSTANCE, info, objects);
        }
        // fall through
        case GET_DEFAULT_INSTANCE: {
          return DEFAULT_INSTANCE;
        }
        case GET_PARSER: {
          com.google.protobuf.Parser<finsky.protos.LibraryReplicationRequest> parser = PARSER;
          if (parser == null) {
            synchronized (finsky.protos.LibraryReplicationRequest.class) {
              parser = PARSER;
              if (parser == null) {
                parser =
                    new DefaultInstanceBasedParser<finsky.protos.LibraryReplicationRequest>(
                        DEFAULT_INSTANCE);
                PARSER = parser;
              }
            }
          }
          return parser;
      }
      case GET_MEMOIZED_IS_INITIALIZED: {
        return memoizedIsInitialized;
      }
      case SET_MEMOIZED_IS_INITIALIZED: {
        memoizedIsInitialized = (byte) (arg0 == null ? 0 : 1);
        return null;
      }
      }
      throw new UnsupportedOperationException();
    }
  
  
    // @@protoc_insertion_point(class_scope:finsky.protos.LibraryReplicationRequest)
    private static final finsky.protos.LibraryReplicationRequest DEFAULT_INSTANCE;
    static {
      LibraryReplicationRequest defaultInstance = new LibraryReplicationRequest();
      // New instances are implicitly immutable so no need to make
      // immutable.
      DEFAULT_INSTANCE = defaultInstance;
      com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
        LibraryReplicationRequest.class, defaultInstance);
    }
  
    public static finsky.protos.LibraryReplicationRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
  
    private static volatile com.google.protobuf.Parser<LibraryReplicationRequest> PARSER;
  
    public static com.google.protobuf.Parser<LibraryReplicationRequest> parser() {
      return DEFAULT_INSTANCE.getParserForType();
    }
  }
  
  