/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * license agreements; and to You under the Apache License, version 2.0:
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * This file is part of the Apache Pekko project, which was derived from Akka.
 */

/*
 * Copyright (C) 2019-2022 Lightbend Inc. <https://www.lightbend.com>
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: ReplicatedEventSourcing.proto
// Protobuf Java Version: 4.33.0

package org.apache.pekko.persistence.typed.serialization;

@org.apache.pekko.protobufv3.internal.Generated
public final class ReplicatedEventSourcing
    extends org.apache.pekko.protobufv3.internal.GeneratedFile {
  private ReplicatedEventSourcing() {}

  static {
    org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
        org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 33,
        /* patch= */ 0,
        /* suffix= */ "",
        "ReplicatedEventSourcing");
  }

  public static void registerAllExtensions(
      org.apache.pekko.protobufv3.internal.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(
      org.apache.pekko.protobufv3.internal.ExtensionRegistry registry) {
    registerAllExtensions((org.apache.pekko.protobufv3.internal.ExtensionRegistryLite) registry);
  }
  /** Protobuf enum {@code ORSetDeltaOp} */
  public enum ORSetDeltaOp implements org.apache.pekko.protobufv3.internal.ProtocolMessageEnum {
    /** <code>Add = 0;</code> */
    Add(0),
    /** <code>Remove = 1;</code> */
    Remove(1),
    /** <code>Full = 2;</code> */
    Full(2),
    ;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "ORSetDeltaOp");
    }
    /** <code>Add = 0;</code> */
    public static final int Add_VALUE = 0;
    /** <code>Remove = 1;</code> */
    public static final int Remove_VALUE = 1;
    /** <code>Full = 2;</code> */
    public static final int Full_VALUE = 2;

    public final int getNumber() {
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ORSetDeltaOp valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ORSetDeltaOp forNumber(int value) {
      switch (value) {
        case 0:
          return Add;
        case 1:
          return Remove;
        case 2:
          return Full;
        default:
          return null;
      }
    }

    public static org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<ORSetDeltaOp>
        internalGetValueMap() {
      return internalValueMap;
    }

    private static final org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<ORSetDeltaOp>
        internalValueMap =
            new org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<ORSetDeltaOp>() {
              public ORSetDeltaOp findValueByNumber(int number) {
                return ORSetDeltaOp.forNumber(number);
              }
            };

    public final org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }

    public final org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }

    public static org.apache.pekko.protobufv3.internal.Descriptors.EnumDescriptor getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .getDescriptor()
          .getEnumTypes()
          .get(0);
    }

    private static final ORSetDeltaOp[] VALUES = values();

    public static ORSetDeltaOp valueOf(
        org.apache.pekko.protobufv3.internal.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ORSetDeltaOp(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:ORSetDeltaOp)
  }

  public interface CounterOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:Counter)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>required bytes value = 1;</code>
     *
     * @return Whether the value field is set.
     */
    boolean hasValue();
    /**
     * <code>required bytes value = 1;</code>
     *
     * @return The value.
     */
    org.apache.pekko.protobufv3.internal.ByteString getValue();
  }
  /** Protobuf type {@code Counter} */
  public static final class Counter extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:Counter)
      CounterOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "Counter");
    }
    // Use Counter.newBuilder() to construct.
    private Counter(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private Counter() {
      value_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_Counter_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_Counter_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
                  .class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
                  .Builder.class);
    }

    private int bitField0_;
    public static final int VALUE_FIELD_NUMBER = 1;
    private org.apache.pekko.protobufv3.internal.ByteString value_ =
        org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
    /**
     * <code>required bytes value = 1;</code>
     *
     * @return Whether the value field is set.
     */
    @java.lang.Override
    public boolean hasValue() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required bytes value = 1;</code>
     *
     * @return The value.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString getValue() {
      return value_;
    }

    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 (!hasValue()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeBytes(1, value_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream.computeBytesSize(1, value_);
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter other =
          (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter) obj;

      if (hasValue() != other.hasValue()) return false;
      if (hasValue()) {
        if (!getValue().equals(other.getValue())) 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 (hasValue()) {
        hash = (37 * hash) + VALUE_FIELD_NUMBER;
        hash = (53 * hash) + getValue().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code Counter} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:Counter)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_Counter_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_Counter_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
                    .class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
                    .Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter.newBuilder()
      private Builder() {}

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        value_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_Counter_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
            .getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter result =
            buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter result =
            new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter(
                this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.value_ = value_;
          to_bitField0_ |= 0x00000001;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
                .getDefaultInstance()) return this;
        if (other.hasValue()) {
          setValue(other.getValue());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  value_ = input.readBytes();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private org.apache.pekko.protobufv3.internal.ByteString value_ =
          org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
      /**
       * <code>required bytes value = 1;</code>
       *
       * @return Whether the value field is set.
       */
      @java.lang.Override
      public boolean hasValue() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required bytes value = 1;</code>
       *
       * @return The value.
       */
      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.ByteString getValue() {
        return value_;
      }
      /**
       * <code>required bytes value = 1;</code>
       *
       * @param value The value to set.
       * @return This builder for chaining.
       */
      public Builder setValue(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        value_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes value = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearValue() {
        bitField0_ = (bitField0_ & ~0x00000001);
        value_ = getDefaultInstance().getValue();
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:Counter)
    }

    // @@protoc_insertion_point(class_scope:Counter)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .Counter
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<Counter> PARSER =
        new org.apache.pekko.protobufv3.internal.AbstractParser<Counter>() {
          @java.lang.Override
          public Counter parsePartialFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static org.apache.pekko.protobufv3.internal.Parser<Counter> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<Counter> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.Counter
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface CounterUpdateOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:CounterUpdate)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>required bytes delta = 1;</code>
     *
     * @return Whether the delta field is set.
     */
    boolean hasDelta();
    /**
     * <code>required bytes delta = 1;</code>
     *
     * @return The delta.
     */
    org.apache.pekko.protobufv3.internal.ByteString getDelta();
  }
  /** Protobuf type {@code CounterUpdate} */
  public static final class CounterUpdate
      extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:CounterUpdate)
      CounterUpdateOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "CounterUpdate");
    }
    // Use CounterUpdate.newBuilder() to construct.
    private CounterUpdate(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private CounterUpdate() {
      delta_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_CounterUpdate_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_CounterUpdate_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
                  .class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
                  .Builder.class);
    }

    private int bitField0_;
    public static final int DELTA_FIELD_NUMBER = 1;
    private org.apache.pekko.protobufv3.internal.ByteString delta_ =
        org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
    /**
     * <code>required bytes delta = 1;</code>
     *
     * @return Whether the delta field is set.
     */
    @java.lang.Override
    public boolean hasDelta() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required bytes delta = 1;</code>
     *
     * @return The delta.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString getDelta() {
      return delta_;
    }

    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 (!hasDelta()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeBytes(1, delta_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream.computeBytesSize(1, delta_);
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate other =
          (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate)
              obj;

      if (hasDelta() != other.hasDelta()) return false;
      if (hasDelta()) {
        if (!getDelta().equals(other.getDelta())) 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 (hasDelta()) {
        hash = (37 * hash) + DELTA_FIELD_NUMBER;
        hash = (53 * hash) + getDelta().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code CounterUpdate} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:CounterUpdate)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdateOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_CounterUpdate_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_CounterUpdate_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .CounterUpdate.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .CounterUpdate.Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate.newBuilder()
      private Builder() {}

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        delta_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_CounterUpdate_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
            result =
                new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .CounterUpdate(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
              result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.delta_ = delta_;
          to_bitField0_ |= 0x00000001;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .CounterUpdate) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .CounterUpdate)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
              other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .CounterUpdate.getDefaultInstance()) return this;
        if (other.hasDelta()) {
          setDelta(other.getDelta());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  delta_ = input.readBytes();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private org.apache.pekko.protobufv3.internal.ByteString delta_ =
          org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
      /**
       * <code>required bytes delta = 1;</code>
       *
       * @return Whether the delta field is set.
       */
      @java.lang.Override
      public boolean hasDelta() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required bytes delta = 1;</code>
       *
       * @return The delta.
       */
      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.ByteString getDelta() {
        return delta_;
      }
      /**
       * <code>required bytes delta = 1;</code>
       *
       * @param value The delta to set.
       * @return This builder for chaining.
       */
      public Builder setDelta(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        delta_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes delta = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearDelta() {
        bitField0_ = (bitField0_ & ~0x00000001);
        delta_ = getDefaultInstance().getDelta();
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:CounterUpdate)
    }

    // @@protoc_insertion_point(class_scope:CounterUpdate)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .CounterUpdate();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .CounterUpdate
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<CounterUpdate> PARSER =
        new org.apache.pekko.protobufv3.internal.AbstractParser<CounterUpdate>() {
          @java.lang.Override
          public CounterUpdate parsePartialFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static org.apache.pekko.protobufv3.internal.Parser<CounterUpdate> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<CounterUpdate> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.CounterUpdate
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface ORSetOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:ORSet)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>required string originDc = 1;</code>
     *
     * @return Whether the originDc field is set.
     */
    boolean hasOriginDc();
    /**
     * <code>required string originDc = 1;</code>
     *
     * @return The originDc.
     */
    java.lang.String getOriginDc();
    /**
     * <code>required string originDc = 1;</code>
     *
     * @return The bytes for originDc.
     */
    org.apache.pekko.protobufv3.internal.ByteString getOriginDcBytes();

    /**
     * <code>required .VersionVector vvector = 2;</code>
     *
     * @return Whether the vvector field is set.
     */
    boolean hasVvector();
    /**
     * <code>required .VersionVector vvector = 2;</code>
     *
     * @return The vvector.
     */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVvector();
    /** <code>required .VersionVector vvector = 2;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVectorOrBuilder
        getVvectorOrBuilder();

    /** <code>repeated .VersionVector dots = 3;</code> */
    java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector>
        getDotsList();
    /** <code>repeated .VersionVector dots = 3;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector getDots(
        int index);
    /** <code>repeated .VersionVector dots = 3;</code> */
    int getDotsCount();
    /** <code>repeated .VersionVector dots = 3;</code> */
    java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVectorOrBuilder>
        getDotsOrBuilderList();
    /** <code>repeated .VersionVector dots = 3;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVectorOrBuilder
        getDotsOrBuilder(int index);

    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @return A list containing the stringElements.
     */
    java.util.List<java.lang.String> getStringElementsList();
    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @return The count of stringElements.
     */
    int getStringElementsCount();
    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @param index The index of the element to return.
     * @return The stringElements at the given index.
     */
    java.lang.String getStringElements(int index);
    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the stringElements at the given index.
     */
    org.apache.pekko.protobufv3.internal.ByteString getStringElementsBytes(int index);

    /**
     * <code>repeated sint32 intElements = 5 [packed = true];</code>
     *
     * @return A list containing the intElements.
     */
    java.util.List<java.lang.Integer> getIntElementsList();
    /**
     * <code>repeated sint32 intElements = 5 [packed = true];</code>
     *
     * @return The count of intElements.
     */
    int getIntElementsCount();
    /**
     * <code>repeated sint32 intElements = 5 [packed = true];</code>
     *
     * @param index The index of the element to return.
     * @return The intElements at the given index.
     */
    int getIntElements(int index);

    /**
     * <code>repeated sint64 longElements = 6 [packed = true];</code>
     *
     * @return A list containing the longElements.
     */
    java.util.List<java.lang.Long> getLongElementsList();
    /**
     * <code>repeated sint64 longElements = 6 [packed = true];</code>
     *
     * @return The count of longElements.
     */
    int getLongElementsCount();
    /**
     * <code>repeated sint64 longElements = 6 [packed = true];</code>
     *
     * @param index The index of the element to return.
     * @return The longElements at the given index.
     */
    long getLongElements(int index);

    /** <code>repeated .Payload otherElements = 7;</code> */
    java.util.List<org.apache.pekko.remote.ContainerFormats.Payload> getOtherElementsList();
    /** <code>repeated .Payload otherElements = 7;</code> */
    org.apache.pekko.remote.ContainerFormats.Payload getOtherElements(int index);
    /** <code>repeated .Payload otherElements = 7;</code> */
    int getOtherElementsCount();
    /** <code>repeated .Payload otherElements = 7;</code> */
    java.util.List<? extends org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
        getOtherElementsOrBuilderList();
    /** <code>repeated .Payload otherElements = 7;</code> */
    org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getOtherElementsOrBuilder(int index);
  }
  /** Protobuf type {@code ORSet} */
  public static final class ORSet extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:ORSet)
      ORSetOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "ORSet");
    }
    // Use ORSet.newBuilder() to construct.
    private ORSet(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private ORSet() {
      originDc_ = "";
      dots_ = java.util.Collections.emptyList();
      stringElements_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
      intElements_ = emptyIntList();
      longElements_ = emptyLongList();
      otherElements_ = java.util.Collections.emptyList();
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ORSet_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ORSet_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet.class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet.Builder
                  .class);
    }

    private int bitField0_;
    public static final int ORIGINDC_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private volatile java.lang.Object originDc_ = "";
    /**
     * <code>required string originDc = 1;</code>
     *
     * @return Whether the originDc field is set.
     */
    @java.lang.Override
    public boolean hasOriginDc() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required string originDc = 1;</code>
     *
     * @return The originDc.
     */
    @java.lang.Override
    public java.lang.String getOriginDc() {
      java.lang.Object ref = originDc_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        org.apache.pekko.protobufv3.internal.ByteString bs =
            (org.apache.pekko.protobufv3.internal.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          originDc_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string originDc = 1;</code>
     *
     * @return The bytes for originDc.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString getOriginDcBytes() {
      java.lang.Object ref = originDc_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b =
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
        originDc_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int VVECTOR_FIELD_NUMBER = 2;
    private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        vvector_;
    /**
     * <code>required .VersionVector vvector = 2;</code>
     *
     * @return Whether the vvector field is set.
     */
    @java.lang.Override
    public boolean hasVvector() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required .VersionVector vvector = 2;</code>
     *
     * @return The vvector.
     */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVvector() {
      return vvector_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : vvector_;
    }
    /** <code>required .VersionVector vvector = 2;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVectorOrBuilder
        getVvectorOrBuilder() {
      return vvector_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : vvector_;
    }

    public static final int DOTS_FIELD_NUMBER = 3;

    @SuppressWarnings("serial")
    private java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector>
        dots_;
    /** <code>repeated .VersionVector dots = 3;</code> */
    @java.lang.Override
    public java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector>
        getDotsList() {
      return dots_;
    }
    /** <code>repeated .VersionVector dots = 3;</code> */
    @java.lang.Override
    public java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVectorOrBuilder>
        getDotsOrBuilderList() {
      return dots_;
    }
    /** <code>repeated .VersionVector dots = 3;</code> */
    @java.lang.Override
    public int getDotsCount() {
      return dots_.size();
    }
    /** <code>repeated .VersionVector dots = 3;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getDots(int index) {
      return dots_.get(index);
    }
    /** <code>repeated .VersionVector dots = 3;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVectorOrBuilder
        getDotsOrBuilder(int index) {
      return dots_.get(index);
    }

    public static final int STRINGELEMENTS_FIELD_NUMBER = 4;

    @SuppressWarnings("serial")
    private org.apache.pekko.protobufv3.internal.LazyStringArrayList stringElements_ =
        org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @return A list containing the stringElements.
     */
    public org.apache.pekko.protobufv3.internal.ProtocolStringList getStringElementsList() {
      return stringElements_;
    }
    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @return The count of stringElements.
     */
    public int getStringElementsCount() {
      return stringElements_.size();
    }
    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @param index The index of the element to return.
     * @return The stringElements at the given index.
     */
    public java.lang.String getStringElements(int index) {
      return stringElements_.get(index);
    }
    /**
     * <code>repeated string stringElements = 4;</code>
     *
     * @param index The index of the value to return.
     * @return The bytes of the stringElements at the given index.
     */
    public org.apache.pekko.protobufv3.internal.ByteString getStringElementsBytes(int index) {
      return stringElements_.getByteString(index);
    }

    public static final int INTELEMENTS_FIELD_NUMBER = 5;

    @SuppressWarnings("serial")
    private org.apache.pekko.protobufv3.internal.Internal.IntList intElements_ = emptyIntList();
    /**
     * <code>repeated sint32 intElements = 5 [packed = true];</code>
     *
     * @return A list containing the intElements.
     */
    @java.lang.Override
    public java.util.List<java.lang.Integer> getIntElementsList() {
      return intElements_;
    }
    /**
     * <code>repeated sint32 intElements = 5 [packed = true];</code>
     *
     * @return The count of intElements.
     */
    public int getIntElementsCount() {
      return intElements_.size();
    }
    /**
     * <code>repeated sint32 intElements = 5 [packed = true];</code>
     *
     * @param index The index of the element to return.
     * @return The intElements at the given index.
     */
    public int getIntElements(int index) {
      return intElements_.getInt(index);
    }

    private int intElementsMemoizedSerializedSize = -1;

    public static final int LONGELEMENTS_FIELD_NUMBER = 6;

    @SuppressWarnings("serial")
    private org.apache.pekko.protobufv3.internal.Internal.LongList longElements_ = emptyLongList();
    /**
     * <code>repeated sint64 longElements = 6 [packed = true];</code>
     *
     * @return A list containing the longElements.
     */
    @java.lang.Override
    public java.util.List<java.lang.Long> getLongElementsList() {
      return longElements_;
    }
    /**
     * <code>repeated sint64 longElements = 6 [packed = true];</code>
     *
     * @return The count of longElements.
     */
    public int getLongElementsCount() {
      return longElements_.size();
    }
    /**
     * <code>repeated sint64 longElements = 6 [packed = true];</code>
     *
     * @param index The index of the element to return.
     * @return The longElements at the given index.
     */
    public long getLongElements(int index) {
      return longElements_.getLong(index);
    }

    private int longElementsMemoizedSerializedSize = -1;

    public static final int OTHERELEMENTS_FIELD_NUMBER = 7;

    @SuppressWarnings("serial")
    private java.util.List<org.apache.pekko.remote.ContainerFormats.Payload> otherElements_;
    /** <code>repeated .Payload otherElements = 7;</code> */
    @java.lang.Override
    public java.util.List<org.apache.pekko.remote.ContainerFormats.Payload> getOtherElementsList() {
      return otherElements_;
    }
    /** <code>repeated .Payload otherElements = 7;</code> */
    @java.lang.Override
    public java.util.List<? extends org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
        getOtherElementsOrBuilderList() {
      return otherElements_;
    }
    /** <code>repeated .Payload otherElements = 7;</code> */
    @java.lang.Override
    public int getOtherElementsCount() {
      return otherElements_.size();
    }
    /** <code>repeated .Payload otherElements = 7;</code> */
    @java.lang.Override
    public org.apache.pekko.remote.ContainerFormats.Payload getOtherElements(int index) {
      return otherElements_.get(index);
    }
    /** <code>repeated .Payload otherElements = 7;</code> */
    @java.lang.Override
    public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getOtherElementsOrBuilder(
        int index) {
      return otherElements_.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;

      if (!hasOriginDc()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasVvector()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getVvector().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getDotsCount(); i++) {
        if (!getDots(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      for (int i = 0; i < getOtherElementsCount(); i++) {
        if (!getOtherElements(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 1, originDc_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getVvector());
      }
      for (int i = 0; i < dots_.size(); i++) {
        output.writeMessage(3, dots_.get(i));
      }
      for (int i = 0; i < stringElements_.size(); i++) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(
            output, 4, stringElements_.getRaw(i));
      }
      if (getIntElementsList().size() > 0) {
        output.writeUInt32NoTag(42);
        output.writeUInt32NoTag(intElementsMemoizedSerializedSize);
      }
      for (int i = 0; i < intElements_.size(); i++) {
        output.writeSInt32NoTag(intElements_.getInt(i));
      }
      if (getLongElementsList().size() > 0) {
        output.writeUInt32NoTag(50);
        output.writeUInt32NoTag(longElementsMemoizedSerializedSize);
      }
      for (int i = 0; i < longElements_.size(); i++) {
        output.writeSInt64NoTag(longElements_.getLong(i));
      }
      for (int i = 0; i < otherElements_.size(); i++) {
        output.writeMessage(7, otherElements_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(1, originDc_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                2, getVvector());
      }
      for (int i = 0; i < dots_.size(); i++) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                3, dots_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < stringElements_.size(); i++) {
          dataSize += computeStringSizeNoTag(stringElements_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getStringElementsList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < intElements_.size(); i++) {
          dataSize +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeSInt32SizeNoTag(
                  intElements_.getInt(i));
        }
        size += dataSize;
        if (!getIntElementsList().isEmpty()) {
          size += 1;
          size +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeInt32SizeNoTag(
                  dataSize);
        }
        intElementsMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < longElements_.size(); i++) {
          dataSize +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeSInt64SizeNoTag(
                  longElements_.getLong(i));
        }
        size += dataSize;
        if (!getLongElementsList().isEmpty()) {
          size += 1;
          size +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeInt32SizeNoTag(
                  dataSize);
        }
        longElementsMemoizedSerializedSize = dataSize;
      }
      for (int i = 0; i < otherElements_.size(); i++) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                7, otherElements_.get(i));
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet other =
          (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet) obj;

      if (hasOriginDc() != other.hasOriginDc()) return false;
      if (hasOriginDc()) {
        if (!getOriginDc().equals(other.getOriginDc())) return false;
      }
      if (hasVvector() != other.hasVvector()) return false;
      if (hasVvector()) {
        if (!getVvector().equals(other.getVvector())) return false;
      }
      if (!getDotsList().equals(other.getDotsList())) return false;
      if (!getStringElementsList().equals(other.getStringElementsList())) return false;
      if (!getIntElementsList().equals(other.getIntElementsList())) return false;
      if (!getLongElementsList().equals(other.getLongElementsList())) return false;
      if (!getOtherElementsList().equals(other.getOtherElementsList())) 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 (hasOriginDc()) {
        hash = (37 * hash) + ORIGINDC_FIELD_NUMBER;
        hash = (53 * hash) + getOriginDc().hashCode();
      }
      if (hasVvector()) {
        hash = (37 * hash) + VVECTOR_FIELD_NUMBER;
        hash = (53 * hash) + getVvector().hashCode();
      }
      if (getDotsCount() > 0) {
        hash = (37 * hash) + DOTS_FIELD_NUMBER;
        hash = (53 * hash) + getDotsList().hashCode();
      }
      if (getStringElementsCount() > 0) {
        hash = (37 * hash) + STRINGELEMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getStringElementsList().hashCode();
      }
      if (getIntElementsCount() > 0) {
        hash = (37 * hash) + INTELEMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getIntElementsList().hashCode();
      }
      if (getLongElementsCount() > 0) {
        hash = (37 * hash) + LONGELEMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getLongElementsList().hashCode();
      }
      if (getOtherElementsCount() > 0) {
        hash = (37 * hash) + OTHERELEMENTS_FIELD_NUMBER;
        hash = (53 * hash) + getOtherElementsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet 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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code ORSet} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:ORSet)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSet_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSet_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                    .class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                    .Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders) {
          internalGetVvectorFieldBuilder();
          internalGetDotsFieldBuilder();
          internalGetOtherElementsFieldBuilder();
        }
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        originDc_ = "";
        vvector_ = null;
        if (vvectorBuilder_ != null) {
          vvectorBuilder_.dispose();
          vvectorBuilder_ = null;
        }
        if (dotsBuilder_ == null) {
          dots_ = java.util.Collections.emptyList();
        } else {
          dots_ = null;
          dotsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        stringElements_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
        intElements_ = emptyIntList();
        longElements_ = emptyLongList();
        if (otherElementsBuilder_ == null) {
          otherElements_ = java.util.Collections.emptyList();
        } else {
          otherElements_ = null;
          otherElementsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000040);
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSet_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
            .getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet result =
            buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet result =
            new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet(
                this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet result) {
        if (dotsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            dots_ = java.util.Collections.unmodifiableList(dots_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.dots_ = dots_;
        } else {
          result.dots_ = dotsBuilder_.build();
        }
        if (otherElementsBuilder_ == null) {
          if (((bitField0_ & 0x00000040) != 0)) {
            otherElements_ = java.util.Collections.unmodifiableList(otherElements_);
            bitField0_ = (bitField0_ & ~0x00000040);
          }
          result.otherElements_ = otherElements_;
        } else {
          result.otherElements_ = otherElementsBuilder_.build();
        }
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.originDc_ = originDc_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.vvector_ = vvectorBuilder_ == null ? vvector_ : vvectorBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          stringElements_.makeImmutable();
          result.stringElements_ = stringElements_;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          intElements_.makeImmutable();
          result.intElements_ = intElements_;
        }
        if (((from_bitField0_ & 0x00000020) != 0)) {
          longElements_.makeImmutable();
          result.longElements_ = longElements_;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                .getDefaultInstance()) return this;
        if (other.hasOriginDc()) {
          originDc_ = other.originDc_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasVvector()) {
          mergeVvector(other.getVvector());
        }
        if (dotsBuilder_ == null) {
          if (!other.dots_.isEmpty()) {
            if (dots_.isEmpty()) {
              dots_ = other.dots_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureDotsIsMutable();
              dots_.addAll(other.dots_);
            }
            onChanged();
          }
        } else {
          if (!other.dots_.isEmpty()) {
            if (dotsBuilder_.isEmpty()) {
              dotsBuilder_.dispose();
              dotsBuilder_ = null;
              dots_ = other.dots_;
              bitField0_ = (bitField0_ & ~0x00000004);
              dotsBuilder_ =
                  org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders
                      ? internalGetDotsFieldBuilder()
                      : null;
            } else {
              dotsBuilder_.addAllMessages(other.dots_);
            }
          }
        }
        if (!other.stringElements_.isEmpty()) {
          if (stringElements_.isEmpty()) {
            stringElements_ = other.stringElements_;
            bitField0_ |= 0x00000008;
          } else {
            ensureStringElementsIsMutable();
            stringElements_.addAll(other.stringElements_);
          }
          onChanged();
        }
        if (!other.intElements_.isEmpty()) {
          if (intElements_.isEmpty()) {
            intElements_ = other.intElements_;
            intElements_.makeImmutable();
            bitField0_ |= 0x00000010;
          } else {
            ensureIntElementsIsMutable();
            intElements_.addAll(other.intElements_);
          }
          onChanged();
        }
        if (!other.longElements_.isEmpty()) {
          if (longElements_.isEmpty()) {
            longElements_ = other.longElements_;
            longElements_.makeImmutable();
            bitField0_ |= 0x00000020;
          } else {
            ensureLongElementsIsMutable();
            longElements_.addAll(other.longElements_);
          }
          onChanged();
        }
        if (otherElementsBuilder_ == null) {
          if (!other.otherElements_.isEmpty()) {
            if (otherElements_.isEmpty()) {
              otherElements_ = other.otherElements_;
              bitField0_ = (bitField0_ & ~0x00000040);
            } else {
              ensureOtherElementsIsMutable();
              otherElements_.addAll(other.otherElements_);
            }
            onChanged();
          }
        } else {
          if (!other.otherElements_.isEmpty()) {
            if (otherElementsBuilder_.isEmpty()) {
              otherElementsBuilder_.dispose();
              otherElementsBuilder_ = null;
              otherElements_ = other.otherElements_;
              bitField0_ = (bitField0_ & ~0x00000040);
              otherElementsBuilder_ =
                  org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders
                      ? internalGetOtherElementsFieldBuilder()
                      : null;
            } else {
              otherElementsBuilder_.addAllMessages(other.otherElements_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasOriginDc()) {
          return false;
        }
        if (!hasVvector()) {
          return false;
        }
        if (!getVvector().isInitialized()) {
          return false;
        }
        for (int i = 0; i < getDotsCount(); i++) {
          if (!getDots(i).isInitialized()) {
            return false;
          }
        }
        for (int i = 0; i < getOtherElementsCount(); i++) {
          if (!getOtherElements(i).isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  originDc_ = input.readBytes();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 18:
                {
                  input.readMessage(
                      internalGetVvectorFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
              case 26:
                {
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .VersionVector
                      m =
                          input.readMessage(
                              org.apache.pekko.persistence.typed.serialization
                                  .ReplicatedEventSourcing.VersionVector.parser(),
                              extensionRegistry);
                  if (dotsBuilder_ == null) {
                    ensureDotsIsMutable();
                    dots_.add(m);
                  } else {
                    dotsBuilder_.addMessage(m);
                  }
                  break;
                } // case 26
              case 34:
                {
                  org.apache.pekko.protobufv3.internal.ByteString bs = input.readBytes();
                  ensureStringElementsIsMutable();
                  stringElements_.add(bs);
                  break;
                } // case 34
              case 40:
                {
                  int v = input.readSInt32();
                  ensureIntElementsIsMutable();
                  intElements_.addInt(v);
                  break;
                } // case 40
              case 42:
                {
                  int length = input.readRawVarint32();
                  int limit = input.pushLimit(length);
                  ensureIntElementsIsMutable();
                  while (input.getBytesUntilLimit() > 0) {
                    intElements_.addInt(input.readSInt32());
                  }
                  input.popLimit(limit);
                  break;
                } // case 42
              case 48:
                {
                  long v = input.readSInt64();
                  ensureLongElementsIsMutable();
                  longElements_.addLong(v);
                  break;
                } // case 48
              case 50:
                {
                  int length = input.readRawVarint32();
                  int limit = input.pushLimit(length);
                  ensureLongElementsIsMutable();
                  while (input.getBytesUntilLimit() > 0) {
                    longElements_.addLong(input.readSInt64());
                  }
                  input.popLimit(limit);
                  break;
                } // case 50
              case 58:
                {
                  org.apache.pekko.remote.ContainerFormats.Payload m =
                      input.readMessage(
                          org.apache.pekko.remote.ContainerFormats.Payload.parser(),
                          extensionRegistry);
                  if (otherElementsBuilder_ == null) {
                    ensureOtherElementsIsMutable();
                    otherElements_.add(m);
                  } else {
                    otherElementsBuilder_.addMessage(m);
                  }
                  break;
                } // case 58
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.lang.Object originDc_ = "";
      /**
       * <code>required string originDc = 1;</code>
       *
       * @return Whether the originDc field is set.
       */
      public boolean hasOriginDc() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required string originDc = 1;</code>
       *
       * @return The originDc.
       */
      public java.lang.String getOriginDc() {
        java.lang.Object ref = originDc_;
        if (!(ref instanceof java.lang.String)) {
          org.apache.pekko.protobufv3.internal.ByteString bs =
              (org.apache.pekko.protobufv3.internal.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            originDc_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string originDc = 1;</code>
       *
       * @return The bytes for originDc.
       */
      public org.apache.pekko.protobufv3.internal.ByteString getOriginDcBytes() {
        java.lang.Object ref = originDc_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b =
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
          originDc_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>required string originDc = 1;</code>
       *
       * @param value The originDc to set.
       * @return This builder for chaining.
       */
      public Builder setOriginDc(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        originDc_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required string originDc = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearOriginDc() {
        originDc_ = getDefaultInstance().getOriginDc();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>required string originDc = 1;</code>
       *
       * @param value The bytes for originDc to set.
       * @return This builder for chaining.
       */
      public Builder setOriginDcBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        originDc_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          vvector_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          vvectorBuilder_;
      /**
       * <code>required .VersionVector vvector = 2;</code>
       *
       * @return Whether the vvector field is set.
       */
      public boolean hasVvector() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required .VersionVector vvector = 2;</code>
       *
       * @return The vvector.
       */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          getVvector() {
        if (vvectorBuilder_ == null) {
          return vvector_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : vvector_;
        } else {
          return vvectorBuilder_.getMessage();
        }
      }
      /** <code>required .VersionVector vvector = 2;</code> */
      public Builder setVvector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (vvectorBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          vvector_ = value;
        } else {
          vvectorBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /** <code>required .VersionVector vvector = 2;</code> */
      public Builder setVvector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder
              builderForValue) {
        if (vvectorBuilder_ == null) {
          vvector_ = builderForValue.build();
        } else {
          vvectorBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /** <code>required .VersionVector vvector = 2;</code> */
      public Builder mergeVvector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (vvectorBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)
              && vvector_ != null
              && vvector_
                  != org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.getDefaultInstance()) {
            getVvectorBuilder().mergeFrom(value);
          } else {
            vvector_ = value;
          }
        } else {
          vvectorBuilder_.mergeFrom(value);
        }
        if (vvector_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /** <code>required .VersionVector vvector = 2;</code> */
      public Builder clearVvector() {
        bitField0_ = (bitField0_ & ~0x00000002);
        vvector_ = null;
        if (vvectorBuilder_ != null) {
          vvectorBuilder_.dispose();
          vvectorBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /** <code>required .VersionVector vvector = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Builder
          getVvectorBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return internalGetVvectorFieldBuilder().getBuilder();
      }
      /** <code>required .VersionVector vvector = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVectorOrBuilder
          getVvectorOrBuilder() {
        if (vvectorBuilder_ != null) {
          return vvectorBuilder_.getMessageOrBuilder();
        } else {
          return vvector_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : vvector_;
        }
      }
      /** <code>required .VersionVector vvector = 2;</code> */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          internalGetVvectorFieldBuilder() {
        if (vvectorBuilder_ == null) {
          vvectorBuilder_ =
              new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVectorOrBuilder>(getVvector(), getParentForChildren(), isClean());
          vvector_ = null;
        }
        return vvectorBuilder_;
      }

      private java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector>
          dots_ = java.util.Collections.emptyList();

      private void ensureDotsIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          dots_ =
              new java.util.ArrayList<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector>(dots_);
          bitField0_ |= 0x00000004;
        }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          dotsBuilder_;

      /** <code>repeated .VersionVector dots = 3;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector>
          getDotsList() {
        if (dotsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(dots_);
        } else {
          return dotsBuilder_.getMessageList();
        }
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public int getDotsCount() {
        if (dotsBuilder_ == null) {
          return dots_.size();
        } else {
          return dotsBuilder_.getCount();
        }
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          getDots(int index) {
        if (dotsBuilder_ == null) {
          return dots_.get(index);
        } else {
          return dotsBuilder_.getMessage(index);
        }
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder setDots(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (dotsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDotsIsMutable();
          dots_.set(index, value);
          onChanged();
        } else {
          dotsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder setDots(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder
              builderForValue) {
        if (dotsBuilder_ == null) {
          ensureDotsIsMutable();
          dots_.set(index, builderForValue.build());
          onChanged();
        } else {
          dotsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder addDots(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (dotsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDotsIsMutable();
          dots_.add(value);
          onChanged();
        } else {
          dotsBuilder_.addMessage(value);
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder addDots(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (dotsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDotsIsMutable();
          dots_.add(index, value);
          onChanged();
        } else {
          dotsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder addDots(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder
              builderForValue) {
        if (dotsBuilder_ == null) {
          ensureDotsIsMutable();
          dots_.add(builderForValue.build());
          onChanged();
        } else {
          dotsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder addDots(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder
              builderForValue) {
        if (dotsBuilder_ == null) {
          ensureDotsIsMutable();
          dots_.add(index, builderForValue.build());
          onChanged();
        } else {
          dotsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder addAllDots(
          java.lang.Iterable<
                  ? extends
                      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .VersionVector>
              values) {
        if (dotsBuilder_ == null) {
          ensureDotsIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(values, dots_);
          onChanged();
        } else {
          dotsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder clearDots() {
        if (dotsBuilder_ == null) {
          dots_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          dotsBuilder_.clear();
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public Builder removeDots(int index) {
        if (dotsBuilder_ == null) {
          ensureDotsIsMutable();
          dots_.remove(index);
          onChanged();
        } else {
          dotsBuilder_.remove(index);
        }
        return this;
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Builder
          getDotsBuilder(int index) {
        return internalGetDotsFieldBuilder().getBuilder(index);
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVectorOrBuilder
          getDotsOrBuilder(int index) {
        if (dotsBuilder_ == null) {
          return dots_.get(index);
        } else {
          return dotsBuilder_.getMessageOrBuilder(index);
        }
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public java.util.List<
              ? extends
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVectorOrBuilder>
          getDotsOrBuilderList() {
        if (dotsBuilder_ != null) {
          return dotsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(dots_);
        }
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Builder
          addDotsBuilder() {
        return internalGetDotsFieldBuilder()
            .addBuilder(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.getDefaultInstance());
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Builder
          addDotsBuilder(int index) {
        return internalGetDotsFieldBuilder()
            .addBuilder(
                index,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.getDefaultInstance());
      }
      /** <code>repeated .VersionVector dots = 3;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder>
          getDotsBuilderList() {
        return internalGetDotsFieldBuilder().getBuilderList();
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          internalGetDotsFieldBuilder() {
        if (dotsBuilder_ == null) {
          dotsBuilder_ =
              new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVectorOrBuilder>(
                  dots_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
          dots_ = null;
        }
        return dotsBuilder_;
      }

      private org.apache.pekko.protobufv3.internal.LazyStringArrayList stringElements_ =
          org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();

      private void ensureStringElementsIsMutable() {
        if (!stringElements_.isModifiable()) {
          stringElements_ =
              new org.apache.pekko.protobufv3.internal.LazyStringArrayList(stringElements_);
        }
        bitField0_ |= 0x00000008;
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @return A list containing the stringElements.
       */
      public org.apache.pekko.protobufv3.internal.ProtocolStringList getStringElementsList() {
        stringElements_.makeImmutable();
        return stringElements_;
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @return The count of stringElements.
       */
      public int getStringElementsCount() {
        return stringElements_.size();
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @param index The index of the element to return.
       * @return The stringElements at the given index.
       */
      public java.lang.String getStringElements(int index) {
        return stringElements_.get(index);
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @param index The index of the value to return.
       * @return The bytes of the stringElements at the given index.
       */
      public org.apache.pekko.protobufv3.internal.ByteString getStringElementsBytes(int index) {
        return stringElements_.getByteString(index);
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @param index The index to set the value at.
       * @param value The stringElements to set.
       * @return This builder for chaining.
       */
      public Builder setStringElements(int index, java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStringElementsIsMutable();
        stringElements_.set(index, value);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @param value The stringElements to add.
       * @return This builder for chaining.
       */
      public Builder addStringElements(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStringElementsIsMutable();
        stringElements_.add(value);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @param values The stringElements to add.
       * @return This builder for chaining.
       */
      public Builder addAllStringElements(java.lang.Iterable<java.lang.String> values) {
        ensureStringElementsIsMutable();
        org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
            values, stringElements_);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearStringElements() {
        stringElements_ = org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        ;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string stringElements = 4;</code>
       *
       * @param value The bytes of the stringElements to add.
       * @return This builder for chaining.
       */
      public Builder addStringElementsBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureStringElementsIsMutable();
        stringElements_.add(value);
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }

      private org.apache.pekko.protobufv3.internal.Internal.IntList intElements_ = emptyIntList();

      private void ensureIntElementsIsMutable() {
        if (!intElements_.isModifiable()) {
          intElements_ = makeMutableCopy(intElements_);
        }
        bitField0_ |= 0x00000010;
      }
      /**
       * <code>repeated sint32 intElements = 5 [packed = true];</code>
       *
       * @return A list containing the intElements.
       */
      public java.util.List<java.lang.Integer> getIntElementsList() {
        intElements_.makeImmutable();
        return intElements_;
      }
      /**
       * <code>repeated sint32 intElements = 5 [packed = true];</code>
       *
       * @return The count of intElements.
       */
      public int getIntElementsCount() {
        return intElements_.size();
      }
      /**
       * <code>repeated sint32 intElements = 5 [packed = true];</code>
       *
       * @param index The index of the element to return.
       * @return The intElements at the given index.
       */
      public int getIntElements(int index) {
        return intElements_.getInt(index);
      }
      /**
       * <code>repeated sint32 intElements = 5 [packed = true];</code>
       *
       * @param index The index to set the value at.
       * @param value The intElements to set.
       * @return This builder for chaining.
       */
      public Builder setIntElements(int index, int value) {

        ensureIntElementsIsMutable();
        intElements_.setInt(index, value);
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>repeated sint32 intElements = 5 [packed = true];</code>
       *
       * @param value The intElements to add.
       * @return This builder for chaining.
       */
      public Builder addIntElements(int value) {

        ensureIntElementsIsMutable();
        intElements_.addInt(value);
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>repeated sint32 intElements = 5 [packed = true];</code>
       *
       * @param values The intElements to add.
       * @return This builder for chaining.
       */
      public Builder addAllIntElements(java.lang.Iterable<? extends java.lang.Integer> values) {
        ensureIntElementsIsMutable();
        org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
            values, intElements_);
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /**
       * <code>repeated sint32 intElements = 5 [packed = true];</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearIntElements() {
        intElements_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
        return this;
      }

      private org.apache.pekko.protobufv3.internal.Internal.LongList longElements_ =
          emptyLongList();

      private void ensureLongElementsIsMutable() {
        if (!longElements_.isModifiable()) {
          longElements_ = makeMutableCopy(longElements_);
        }
        bitField0_ |= 0x00000020;
      }
      /**
       * <code>repeated sint64 longElements = 6 [packed = true];</code>
       *
       * @return A list containing the longElements.
       */
      public java.util.List<java.lang.Long> getLongElementsList() {
        longElements_.makeImmutable();
        return longElements_;
      }
      /**
       * <code>repeated sint64 longElements = 6 [packed = true];</code>
       *
       * @return The count of longElements.
       */
      public int getLongElementsCount() {
        return longElements_.size();
      }
      /**
       * <code>repeated sint64 longElements = 6 [packed = true];</code>
       *
       * @param index The index of the element to return.
       * @return The longElements at the given index.
       */
      public long getLongElements(int index) {
        return longElements_.getLong(index);
      }
      /**
       * <code>repeated sint64 longElements = 6 [packed = true];</code>
       *
       * @param index The index to set the value at.
       * @param value The longElements to set.
       * @return This builder for chaining.
       */
      public Builder setLongElements(int index, long value) {

        ensureLongElementsIsMutable();
        longElements_.setLong(index, value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <code>repeated sint64 longElements = 6 [packed = true];</code>
       *
       * @param value The longElements to add.
       * @return This builder for chaining.
       */
      public Builder addLongElements(long value) {

        ensureLongElementsIsMutable();
        longElements_.addLong(value);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <code>repeated sint64 longElements = 6 [packed = true];</code>
       *
       * @param values The longElements to add.
       * @return This builder for chaining.
       */
      public Builder addAllLongElements(java.lang.Iterable<? extends java.lang.Long> values) {
        ensureLongElementsIsMutable();
        org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
            values, longElements_);
        bitField0_ |= 0x00000020;
        onChanged();
        return this;
      }
      /**
       * <code>repeated sint64 longElements = 6 [packed = true];</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearLongElements() {
        longElements_ = emptyLongList();
        bitField0_ = (bitField0_ & ~0x00000020);
        onChanged();
        return this;
      }

      private java.util.List<org.apache.pekko.remote.ContainerFormats.Payload> otherElements_ =
          java.util.Collections.emptyList();

      private void ensureOtherElementsIsMutable() {
        if (!((bitField0_ & 0x00000040) != 0)) {
          otherElements_ =
              new java.util.ArrayList<org.apache.pekko.remote.ContainerFormats.Payload>(
                  otherElements_);
          bitField0_ |= 0x00000040;
        }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.remote.ContainerFormats.Payload,
              org.apache.pekko.remote.ContainerFormats.Payload.Builder,
              org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
          otherElementsBuilder_;

      /** <code>repeated .Payload otherElements = 7;</code> */
      public java.util.List<org.apache.pekko.remote.ContainerFormats.Payload>
          getOtherElementsList() {
        if (otherElementsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(otherElements_);
        } else {
          return otherElementsBuilder_.getMessageList();
        }
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public int getOtherElementsCount() {
        if (otherElementsBuilder_ == null) {
          return otherElements_.size();
        } else {
          return otherElementsBuilder_.getCount();
        }
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public org.apache.pekko.remote.ContainerFormats.Payload getOtherElements(int index) {
        if (otherElementsBuilder_ == null) {
          return otherElements_.get(index);
        } else {
          return otherElementsBuilder_.getMessage(index);
        }
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder setOtherElements(
          int index, org.apache.pekko.remote.ContainerFormats.Payload value) {
        if (otherElementsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOtherElementsIsMutable();
          otherElements_.set(index, value);
          onChanged();
        } else {
          otherElementsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder setOtherElements(
          int index, org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) {
        if (otherElementsBuilder_ == null) {
          ensureOtherElementsIsMutable();
          otherElements_.set(index, builderForValue.build());
          onChanged();
        } else {
          otherElementsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder addOtherElements(org.apache.pekko.remote.ContainerFormats.Payload value) {
        if (otherElementsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOtherElementsIsMutable();
          otherElements_.add(value);
          onChanged();
        } else {
          otherElementsBuilder_.addMessage(value);
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder addOtherElements(
          int index, org.apache.pekko.remote.ContainerFormats.Payload value) {
        if (otherElementsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureOtherElementsIsMutable();
          otherElements_.add(index, value);
          onChanged();
        } else {
          otherElementsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder addOtherElements(
          org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) {
        if (otherElementsBuilder_ == null) {
          ensureOtherElementsIsMutable();
          otherElements_.add(builderForValue.build());
          onChanged();
        } else {
          otherElementsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder addOtherElements(
          int index, org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) {
        if (otherElementsBuilder_ == null) {
          ensureOtherElementsIsMutable();
          otherElements_.add(index, builderForValue.build());
          onChanged();
        } else {
          otherElementsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder addAllOtherElements(
          java.lang.Iterable<? extends org.apache.pekko.remote.ContainerFormats.Payload> values) {
        if (otherElementsBuilder_ == null) {
          ensureOtherElementsIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
              values, otherElements_);
          onChanged();
        } else {
          otherElementsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder clearOtherElements() {
        if (otherElementsBuilder_ == null) {
          otherElements_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000040);
          onChanged();
        } else {
          otherElementsBuilder_.clear();
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public Builder removeOtherElements(int index) {
        if (otherElementsBuilder_ == null) {
          ensureOtherElementsIsMutable();
          otherElements_.remove(index);
          onChanged();
        } else {
          otherElementsBuilder_.remove(index);
        }
        return this;
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public org.apache.pekko.remote.ContainerFormats.Payload.Builder getOtherElementsBuilder(
          int index) {
        return internalGetOtherElementsFieldBuilder().getBuilder(index);
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getOtherElementsOrBuilder(
          int index) {
        if (otherElementsBuilder_ == null) {
          return otherElements_.get(index);
        } else {
          return otherElementsBuilder_.getMessageOrBuilder(index);
        }
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public java.util.List<? extends org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
          getOtherElementsOrBuilderList() {
        if (otherElementsBuilder_ != null) {
          return otherElementsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(otherElements_);
        }
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public org.apache.pekko.remote.ContainerFormats.Payload.Builder addOtherElementsBuilder() {
        return internalGetOtherElementsFieldBuilder()
            .addBuilder(org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance());
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public org.apache.pekko.remote.ContainerFormats.Payload.Builder addOtherElementsBuilder(
          int index) {
        return internalGetOtherElementsFieldBuilder()
            .addBuilder(
                index, org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance());
      }
      /** <code>repeated .Payload otherElements = 7;</code> */
      public java.util.List<org.apache.pekko.remote.ContainerFormats.Payload.Builder>
          getOtherElementsBuilderList() {
        return internalGetOtherElementsFieldBuilder().getBuilderList();
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.remote.ContainerFormats.Payload,
              org.apache.pekko.remote.ContainerFormats.Payload.Builder,
              org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
          internalGetOtherElementsFieldBuilder() {
        if (otherElementsBuilder_ == null) {
          otherElementsBuilder_ =
              new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
                  org.apache.pekko.remote.ContainerFormats.Payload,
                  org.apache.pekko.remote.ContainerFormats.Payload.Builder,
                  org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>(
                  otherElements_,
                  ((bitField0_ & 0x00000040) != 0),
                  getParentForChildren(),
                  isClean());
          otherElements_ = null;
        }
        return otherElementsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:ORSet)
    }

    // @@protoc_insertion_point(class_scope:ORSet)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSet
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<ORSet> PARSER =
        new org.apache.pekko.protobufv3.internal.AbstractParser<ORSet>() {
          @java.lang.Override
          public ORSet parsePartialFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static org.apache.pekko.protobufv3.internal.Parser<ORSet> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<ORSet> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface ORSetDeltaGroupOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:ORSetDeltaGroup)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                .Entry>
        getEntriesList();
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup.Entry
        getEntries(int index);
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    int getEntriesCount();
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.EntryOrBuilder>
        getEntriesOrBuilderList();
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
            .EntryOrBuilder
        getEntriesOrBuilder(int index);
  }
  /** Protobuf type {@code ORSetDeltaGroup} */
  public static final class ORSetDeltaGroup
      extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:ORSetDeltaGroup)
      ORSetDeltaGroupOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "ORSetDeltaGroup");
    }
    // Use ORSetDeltaGroup.newBuilder() to construct.
    private ORSetDeltaGroup(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private ORSetDeltaGroup() {
      entries_ = java.util.Collections.emptyList();
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ORSetDeltaGroup_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ORSetDeltaGroup_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Builder.class);
    }

    public interface EntryOrBuilder
        extends
        // @@protoc_insertion_point(interface_extends:ORSetDeltaGroup.Entry)
        org.apache.pekko.protobufv3.internal.MessageOrBuilder {

      /**
       * <code>required .ORSetDeltaOp operation = 1;</code>
       *
       * @return Whether the operation field is set.
       */
      boolean hasOperation();
      /**
       * <code>required .ORSetDeltaOp operation = 1;</code>
       *
       * @return The operation.
       */
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
          getOperation();

      /**
       * <code>required .ORSet underlying = 2;</code>
       *
       * @return Whether the underlying field is set.
       */
      boolean hasUnderlying();
      /**
       * <code>required .ORSet underlying = 2;</code>
       *
       * @return The underlying.
       */
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
          getUnderlying();
      /** <code>required .ORSet underlying = 2;</code> */
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetOrBuilder
          getUnderlyingOrBuilder();
    }
    /** Protobuf type {@code ORSetDeltaGroup.Entry} */
    public static final class Entry extends org.apache.pekko.protobufv3.internal.GeneratedMessage
        implements
        // @@protoc_insertion_point(message_implements:ORSetDeltaGroup.Entry)
        EntryOrBuilder {
      private static final long serialVersionUID = 0L;

      static {
        org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
            org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
            /* major= */ 4,
            /* minor= */ 33,
            /* patch= */ 0,
            /* suffix= */ "",
            "Entry");
      }
      // Use Entry.newBuilder() to construct.
      private Entry(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
        super(builder);
      }

      private Entry() {
        operation_ = 0;
      }

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSetDeltaGroup_Entry_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSetDeltaGroup_Entry_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.Entry.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.Entry.Builder.class);
      }

      private int bitField0_;
      public static final int OPERATION_FIELD_NUMBER = 1;
      private int operation_ = 0;
      /**
       * <code>required .ORSetDeltaOp operation = 1;</code>
       *
       * @return Whether the operation field is set.
       */
      @java.lang.Override
      public boolean hasOperation() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .ORSetDeltaOp operation = 1;</code>
       *
       * @return The operation.
       */
      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
          getOperation() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
            result =
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaOp.forNumber(operation_);
        return result == null
            ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
                .Add
            : result;
      }

      public static final int UNDERLYING_FIELD_NUMBER = 2;
      private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
          underlying_;
      /**
       * <code>required .ORSet underlying = 2;</code>
       *
       * @return Whether the underlying field is set.
       */
      @java.lang.Override
      public boolean hasUnderlying() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required .ORSet underlying = 2;</code>
       *
       * @return The underlying.
       */
      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
          getUnderlying() {
        return underlying_ == null
            ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                .getDefaultInstance()
            : underlying_;
      }
      /** <code>required .ORSet underlying = 2;</code> */
      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetOrBuilder
          getUnderlyingOrBuilder() {
        return underlying_ == null
            ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                .getDefaultInstance()
            : underlying_;
      }

      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 (!hasOperation()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (!hasUnderlying()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (!getUnderlying().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
          throws java.io.IOException {
        if (((bitField0_ & 0x00000001) != 0)) {
          output.writeEnum(1, operation_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          output.writeMessage(2, getUnderlying());
        }
        getUnknownFields().writeTo(output);
      }

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

        size = 0;
        if (((bitField0_ & 0x00000001) != 0)) {
          size +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeEnumSize(1, operation_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                  2, getUnderlying());
        }
        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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                .Entry)) {
          return super.equals(obj);
        }
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                .Entry
            other =
                (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .ORSetDeltaGroup.Entry)
                    obj;

        if (hasOperation() != other.hasOperation()) return false;
        if (hasOperation()) {
          if (operation_ != other.operation_) return false;
        }
        if (hasUnderlying() != other.hasUnderlying()) return false;
        if (hasUnderlying()) {
          if (!getUnderlying().equals(other.getUnderlying())) 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 (hasOperation()) {
          hash = (37 * hash) + OPERATION_FIELD_NUMBER;
          hash = (53 * hash) + operation_;
        }
        if (hasUnderlying()) {
          hash = (37 * hash) + UNDERLYING_FIELD_NUMBER;
          hash = (53 * hash) + getUnderlying().hashCode();
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(java.nio.ByteBuffer data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(
              java.nio.ByteBuffer data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(
              org.apache.pekko.protobufv3.internal.ByteString data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(byte[] data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(
              byte[] data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(java.io.InputStream input) throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(
              java.io.InputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseDelimitedFrom(
              java.io.InputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
            PARSER, input, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          parseFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry
              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(
          org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /** Protobuf type {@code ORSetDeltaGroup.Entry} */
      public static final class Builder
          extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
          implements
          // @@protoc_insertion_point(builder_implements:ORSetDeltaGroup.Entry)
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
              .EntryOrBuilder {
        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptor() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_ORSetDeltaGroup_Entry_descriptor;
        }

        @java.lang.Override
        protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_ORSetDeltaGroup_Entry_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.Entry.class,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.Entry.Builder.class);
        }

        // Construct using
        // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup.Entry.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }

        private void maybeForceBuilderInitialization() {
          if (org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders) {
            internalGetUnderlyingFieldBuilder();
          }
        }

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          operation_ = 0;
          underlying_ = null;
          if (underlyingBuilder_ != null) {
            underlyingBuilder_.dispose();
            underlyingBuilder_ = null;
          }
          return this;
        }

        @java.lang.Override
        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_ORSetDeltaGroup_Entry_descriptor;
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ORSetDeltaGroup.Entry
            getDefaultInstanceForType() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry.getDefaultInstance();
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ORSetDeltaGroup.Entry
            build() {
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry
              result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ORSetDeltaGroup.Entry
            buildPartial() {
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry
              result =
                  new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.Entry(this);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartial0(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                    .Entry
                result) {
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.operation_ = operation_;
            to_bitField0_ |= 0x00000001;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.underlying_ =
                underlyingBuilder_ == null ? underlying_ : underlyingBuilder_.build();
            to_bitField0_ |= 0x00000002;
          }
          result.bitField0_ |= to_bitField0_;
        }

        @java.lang.Override
        public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
          if (other
              instanceof
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry) {
            return mergeFrom(
                (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .ORSetDeltaGroup.Entry)
                    other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                    .Entry
                other) {
          if (other
              == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry.getDefaultInstance()) return this;
          if (other.hasOperation()) {
            setOperation(other.getOperation());
          }
          if (other.hasUnderlying()) {
            mergeUnderlying(other.getUnderlying());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.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:
                  {
                    int tmpRaw = input.readEnum();
                    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                            .ORSetDeltaOp
                        tmpValue =
                            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                                .ORSetDeltaOp.forNumber(tmpRaw);
                    if (tmpValue == null) {
                      mergeUnknownVarintField(1, tmpRaw);
                    } else {
                      operation_ = tmpRaw;
                      bitField0_ |= 0x00000001;
                    }
                    break;
                  } // case 8
                case 18:
                  {
                    input.readMessage(
                        internalGetUnderlyingFieldBuilder().getBuilder(), extensionRegistry);
                    bitField0_ |= 0x00000002;
                    break;
                  } // case 18
                default:
                  {
                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                      done = true; // was an endgroup tag
                    }
                    break;
                  } // default:
              } // switch (tag)
            } // while (!done)
          } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private int operation_ = 0;
        /**
         * <code>required .ORSetDeltaOp operation = 1;</code>
         *
         * @return Whether the operation field is set.
         */
        @java.lang.Override
        public boolean hasOperation() {
          return ((bitField0_ & 0x00000001) != 0);
        }
        /**
         * <code>required .ORSetDeltaOp operation = 1;</code>
         *
         * @return The operation.
         */
        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
            getOperation() {
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
              result =
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaOp.forNumber(operation_);
          return result == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaOp.Add
              : result;
        }
        /**
         * <code>required .ORSetDeltaOp operation = 1;</code>
         *
         * @param value The operation to set.
         * @return This builder for chaining.
         */
        public Builder setOperation(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaOp
                value) {
          if (value == null) {
            throw new NullPointerException();
          }
          bitField0_ |= 0x00000001;
          operation_ = value.getNumber();
          onChanged();
          return this;
        }
        /**
         * <code>required .ORSetDeltaOp operation = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearOperation() {
          bitField0_ = (bitField0_ & ~0x00000001);
          operation_ = 0;
          onChanged();
          return this;
        }

        private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
            underlying_;
        private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                    .Builder,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetOrBuilder>
            underlyingBuilder_;
        /**
         * <code>required .ORSet underlying = 2;</code>
         *
         * @return Whether the underlying field is set.
         */
        public boolean hasUnderlying() {
          return ((bitField0_ & 0x00000002) != 0);
        }
        /**
         * <code>required .ORSet underlying = 2;</code>
         *
         * @return The underlying.
         */
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
            getUnderlying() {
          if (underlyingBuilder_ == null) {
            return underlying_ == null
                ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                    .getDefaultInstance()
                : underlying_;
          } else {
            return underlyingBuilder_.getMessage();
          }
        }
        /** <code>required .ORSet underlying = 2;</code> */
        public Builder setUnderlying(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet value) {
          if (underlyingBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            underlying_ = value;
          } else {
            underlyingBuilder_.setMessage(value);
          }
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /** <code>required .ORSet underlying = 2;</code> */
        public Builder setUnderlying(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet.Builder
                builderForValue) {
          if (underlyingBuilder_ == null) {
            underlying_ = builderForValue.build();
          } else {
            underlyingBuilder_.setMessage(builderForValue.build());
          }
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /** <code>required .ORSet underlying = 2;</code> */
        public Builder mergeUnderlying(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet value) {
          if (underlyingBuilder_ == null) {
            if (((bitField0_ & 0x00000002) != 0)
                && underlying_ != null
                && underlying_
                    != org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .ORSet.getDefaultInstance()) {
              getUnderlyingBuilder().mergeFrom(value);
            } else {
              underlying_ = value;
            }
          } else {
            underlyingBuilder_.mergeFrom(value);
          }
          if (underlying_ != null) {
            bitField0_ |= 0x00000002;
            onChanged();
          }
          return this;
        }
        /** <code>required .ORSet underlying = 2;</code> */
        public Builder clearUnderlying() {
          bitField0_ = (bitField0_ & ~0x00000002);
          underlying_ = null;
          if (underlyingBuilder_ != null) {
            underlyingBuilder_.dispose();
            underlyingBuilder_ = null;
          }
          onChanged();
          return this;
        }
        /** <code>required .ORSet underlying = 2;</code> */
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                .Builder
            getUnderlyingBuilder() {
          bitField0_ |= 0x00000002;
          onChanged();
          return internalGetUnderlyingFieldBuilder().getBuilder();
        }
        /** <code>required .ORSet underlying = 2;</code> */
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ORSetOrBuilder
            getUnderlyingOrBuilder() {
          if (underlyingBuilder_ != null) {
            return underlyingBuilder_.getMessageOrBuilder();
          } else {
            return underlying_ == null
                ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                    .getDefaultInstance()
                : underlying_;
          }
        }
        /** <code>required .ORSet underlying = 2;</code> */
        private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                    .Builder,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetOrBuilder>
            internalGetUnderlyingFieldBuilder() {
          if (underlyingBuilder_ == null) {
            underlyingBuilder_ =
                new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet,
                    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSet
                        .Builder,
                    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .ORSetOrBuilder>(getUnderlying(), getParentForChildren(), isClean());
            underlying_ = null;
          }
          return underlyingBuilder_;
        }

        // @@protoc_insertion_point(builder_scope:ORSetDeltaGroup.Entry)
      }

      // @@protoc_insertion_point(class_scope:ORSetDeltaGroup.Entry)
      private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          DEFAULT_INSTANCE;

      static {
        DEFAULT_INSTANCE =
            new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ORSetDeltaGroup.Entry();
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final org.apache.pekko.protobufv3.internal.Parser<Entry> PARSER =
          new org.apache.pekko.protobufv3.internal.AbstractParser<Entry>() {
            @java.lang.Override
            public Entry parsePartialFrom(
                org.apache.pekko.protobufv3.internal.CodedInputStream input,
                org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

      public static org.apache.pekko.protobufv3.internal.Parser<Entry> parser() {
        return PARSER;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Parser<Entry> getParserForType() {
        return PARSER;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
    }

    public static final int ENTRIES_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                .Entry>
        entries_;
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    @java.lang.Override
    public java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                .Entry>
        getEntriesList() {
      return entries_;
    }
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    @java.lang.Override
    public java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.EntryOrBuilder>
        getEntriesOrBuilderList() {
      return entries_;
    }
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    @java.lang.Override
    public int getEntriesCount() {
      return entries_.size();
    }
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
            .Entry
        getEntries(int index) {
      return entries_.get(index);
    }
    /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
            .EntryOrBuilder
        getEntriesOrBuilder(int index) {
      return entries_.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 < getEntriesCount(); i++) {
        if (!getEntries(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      for (int i = 0; i < entries_.size(); i++) {
        output.writeMessage(1, entries_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < entries_.size(); i++) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                1, entries_.get(i));
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
          other =
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup)
                  obj;

      if (!getEntriesList().equals(other.getEntriesList())) 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 (getEntriesCount() > 0) {
        hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
        hash = (53 * hash) + getEntriesList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code ORSetDeltaGroup} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:ORSetDeltaGroup)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroupOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSetDeltaGroup_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSetDeltaGroup_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup.newBuilder()
      private Builder() {}

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        if (entriesBuilder_ == null) {
          entries_ = java.util.Collections.emptyList();
        } else {
          entries_ = null;
          entriesBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ORSetDeltaGroup_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
            result =
                new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
              result) {
        if (entriesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            entries_ = java.util.Collections.unmodifiableList(entries_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.entries_ = entries_;
        } else {
          result.entries_ = entriesBuilder_.build();
        }
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
              result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ORSetDeltaGroup) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
              other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ORSetDeltaGroup.getDefaultInstance()) return this;
        if (entriesBuilder_ == null) {
          if (!other.entries_.isEmpty()) {
            if (entries_.isEmpty()) {
              entries_ = other.entries_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureEntriesIsMutable();
              entries_.addAll(other.entries_);
            }
            onChanged();
          }
        } else {
          if (!other.entries_.isEmpty()) {
            if (entriesBuilder_.isEmpty()) {
              entriesBuilder_.dispose();
              entriesBuilder_ = null;
              entries_ = other.entries_;
              bitField0_ = (bitField0_ & ~0x00000001);
              entriesBuilder_ =
                  org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders
                      ? internalGetEntriesFieldBuilder()
                      : null;
            } else {
              entriesBuilder_.addAllMessages(other.entries_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        for (int i = 0; i < getEntriesCount(); i++) {
          if (!getEntries(i).isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .ORSetDeltaGroup.Entry
                      m =
                          input.readMessage(
                              org.apache.pekko.persistence.typed.serialization
                                  .ReplicatedEventSourcing.ORSetDeltaGroup.Entry.parser(),
                              extensionRegistry);
                  if (entriesBuilder_ == null) {
                    ensureEntriesIsMutable();
                    entries_.add(m);
                  } else {
                    entriesBuilder_.addMessage(m);
                  }
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry>
          entries_ = java.util.Collections.emptyList();

      private void ensureEntriesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          entries_ =
              new java.util.ArrayList<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.Entry>(entries_);
          bitField0_ |= 0x00000001;
        }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.EntryOrBuilder>
          entriesBuilder_;

      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry>
          getEntriesList() {
        if (entriesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(entries_);
        } else {
          return entriesBuilder_.getMessageList();
        }
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public int getEntriesCount() {
        if (entriesBuilder_ == null) {
          return entries_.size();
        } else {
          return entriesBuilder_.getCount();
        }
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry
          getEntries(int index) {
        if (entriesBuilder_ == null) {
          return entries_.get(index);
        } else {
          return entriesBuilder_.getMessage(index);
        }
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder setEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry
              value) {
        if (entriesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntriesIsMutable();
          entries_.set(index, value);
          onChanged();
        } else {
          entriesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder setEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry.Builder
              builderForValue) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.set(index, builderForValue.build());
          onChanged();
        } else {
          entriesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder addEntries(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry
              value) {
        if (entriesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntriesIsMutable();
          entries_.add(value);
          onChanged();
        } else {
          entriesBuilder_.addMessage(value);
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder addEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry
              value) {
        if (entriesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntriesIsMutable();
          entries_.add(index, value);
          onChanged();
        } else {
          entriesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder addEntries(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry.Builder
              builderForValue) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.add(builderForValue.build());
          onChanged();
        } else {
          entriesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder addEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
                  .Entry.Builder
              builderForValue) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.add(index, builderForValue.build());
          onChanged();
        } else {
          entriesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder addAllEntries(
          java.lang.Iterable<
                  ? extends
                      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .ORSetDeltaGroup.Entry>
              values) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(values, entries_);
          onChanged();
        } else {
          entriesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder clearEntries() {
        if (entriesBuilder_ == null) {
          entries_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          entriesBuilder_.clear();
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public Builder removeEntries(int index) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.remove(index);
          onChanged();
        } else {
          entriesBuilder_.remove(index);
        }
        return this;
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry.Builder
          getEntriesBuilder(int index) {
        return internalGetEntriesFieldBuilder().getBuilder(index);
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.EntryOrBuilder
          getEntriesOrBuilder(int index) {
        if (entriesBuilder_ == null) {
          return entries_.get(index);
        } else {
          return entriesBuilder_.getMessageOrBuilder(index);
        }
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public java.util.List<
              ? extends
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.EntryOrBuilder>
          getEntriesOrBuilderList() {
        if (entriesBuilder_ != null) {
          return entriesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(entries_);
        }
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry.Builder
          addEntriesBuilder() {
        return internalGetEntriesFieldBuilder()
            .addBuilder(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.Entry.getDefaultInstance());
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup.Entry.Builder
          addEntriesBuilder(int index) {
        return internalGetEntriesFieldBuilder()
            .addBuilder(
                index,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ORSetDeltaGroup.Entry.getDefaultInstance());
      }
      /** <code>repeated .ORSetDeltaGroup.Entry entries = 1;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry.Builder>
          getEntriesBuilderList() {
        return internalGetEntriesFieldBuilder().getBuilderList();
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.Entry.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ORSetDeltaGroup.EntryOrBuilder>
          internalGetEntriesFieldBuilder() {
        if (entriesBuilder_ == null) {
          entriesBuilder_ =
              new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.Entry,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.Entry.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ORSetDeltaGroup.EntryOrBuilder>(
                  entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
          entries_ = null;
        }
        return entriesBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:ORSetDeltaGroup)
    }

    // @@protoc_insertion_point(class_scope:ORSetDeltaGroup)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ORSetDeltaGroup();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ORSetDeltaGroup
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<ORSetDeltaGroup> PARSER =
        new org.apache.pekko.protobufv3.internal.AbstractParser<ORSetDeltaGroup>() {
          @java.lang.Override
          public ORSetDeltaGroup parsePartialFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static org.apache.pekko.protobufv3.internal.Parser<ORSetDeltaGroup> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<ORSetDeltaGroup> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ORSetDeltaGroup
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface VersionVectorOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:VersionVector)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                .Entry>
        getEntriesList();
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector.Entry
        getEntries(int index);
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    int getEntriesCount();
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.EntryOrBuilder>
        getEntriesOrBuilderList();
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
            .EntryOrBuilder
        getEntriesOrBuilder(int index);
  }
  /** Protobuf type {@code VersionVector} */
  public static final class VersionVector
      extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:VersionVector)
      VersionVectorOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "VersionVector");
    }
    // Use VersionVector.newBuilder() to construct.
    private VersionVector(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private VersionVector() {
      entries_ = java.util.Collections.emptyList();
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_VersionVector_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_VersionVector_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder.class);
    }

    public interface EntryOrBuilder
        extends
        // @@protoc_insertion_point(interface_extends:VersionVector.Entry)
        org.apache.pekko.protobufv3.internal.MessageOrBuilder {

      /**
       * <code>required string key = 1;</code>
       *
       * @return Whether the key field is set.
       */
      boolean hasKey();
      /**
       * <code>required string key = 1;</code>
       *
       * @return The key.
       */
      java.lang.String getKey();
      /**
       * <code>required string key = 1;</code>
       *
       * @return The bytes for key.
       */
      org.apache.pekko.protobufv3.internal.ByteString getKeyBytes();

      /**
       * <code>required int64 version = 2;</code>
       *
       * @return Whether the version field is set.
       */
      boolean hasVersion();
      /**
       * <code>required int64 version = 2;</code>
       *
       * @return The version.
       */
      long getVersion();
    }
    /** Protobuf type {@code VersionVector.Entry} */
    public static final class Entry extends org.apache.pekko.protobufv3.internal.GeneratedMessage
        implements
        // @@protoc_insertion_point(message_implements:VersionVector.Entry)
        EntryOrBuilder {
      private static final long serialVersionUID = 0L;

      static {
        org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
            org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
            /* major= */ 4,
            /* minor= */ 33,
            /* patch= */ 0,
            /* suffix= */ "",
            "Entry");
      }
      // Use Entry.newBuilder() to construct.
      private Entry(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
        super(builder);
      }

      private Entry() {
        key_ = "";
      }

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_VersionVector_Entry_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_VersionVector_Entry_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.Entry.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.Entry.Builder.class);
      }

      private int bitField0_;
      public static final int KEY_FIELD_NUMBER = 1;

      @SuppressWarnings("serial")
      private volatile java.lang.Object key_ = "";
      /**
       * <code>required string key = 1;</code>
       *
       * @return Whether the key field is set.
       */
      @java.lang.Override
      public boolean hasKey() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required string key = 1;</code>
       *
       * @return The key.
       */
      @java.lang.Override
      public java.lang.String getKey() {
        java.lang.Object ref = key_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          org.apache.pekko.protobufv3.internal.ByteString bs =
              (org.apache.pekko.protobufv3.internal.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            key_ = s;
          }
          return s;
        }
      }
      /**
       * <code>required string key = 1;</code>
       *
       * @return The bytes for key.
       */
      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.ByteString getKeyBytes() {
        java.lang.Object ref = key_;
        if (ref instanceof java.lang.String) {
          org.apache.pekko.protobufv3.internal.ByteString b =
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
          key_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }

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

      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 (!hasKey()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (!hasVersion()) {
          memoizedIsInitialized = 0;
          return false;
        }
        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
          throws java.io.IOException {
        if (((bitField0_ & 0x00000001) != 0)) {
          org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 1, key_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          output.writeInt64(2, version_);
        }
        getUnknownFields().writeTo(output);
      }

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

        size = 0;
        if (((bitField0_ & 0x00000001) != 0)) {
          size += org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(1, key_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeInt64Size(2, version_);
        }
        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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                .Entry)) {
          return super.equals(obj);
        }
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector.Entry
            other =
                (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .VersionVector.Entry)
                    obj;

        if (hasKey() != other.hasKey()) return false;
        if (hasKey()) {
          if (!getKey().equals(other.getKey())) return false;
        }
        if (hasVersion() != other.hasVersion()) return false;
        if (hasVersion()) {
          if (getVersion() != other.getVersion()) 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 (hasKey()) {
          hash = (37 * hash) + KEY_FIELD_NUMBER;
          hash = (53 * hash) + getKey().hashCode();
        }
        if (hasVersion()) {
          hash = (37 * hash) + VERSION_FIELD_NUMBER;
          hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(getVersion());
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(java.nio.ByteBuffer data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(
              java.nio.ByteBuffer data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(
              org.apache.pekko.protobufv3.internal.ByteString data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(byte[] data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(
              byte[] data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(java.io.InputStream input) throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(
              java.io.InputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseDelimitedFrom(
              java.io.InputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
            PARSER, input, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          parseFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry
              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(
          org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /** Protobuf type {@code VersionVector.Entry} */
      public static final class Builder
          extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
          implements
          // @@protoc_insertion_point(builder_implements:VersionVector.Entry)
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .EntryOrBuilder {
        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptor() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_VersionVector_Entry_descriptor;
        }

        @java.lang.Override
        protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_VersionVector_Entry_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Entry.class,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Entry.Builder.class);
        }

        // Construct using
        // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector.Entry.newBuilder()
        private Builder() {}

        private Builder(
            org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
          super(parent);
        }

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          key_ = "";
          version_ = 0L;
          return this;
        }

        @java.lang.Override
        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_VersionVector_Entry_descriptor;
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .VersionVector.Entry
            getDefaultInstanceForType() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry.getDefaultInstance();
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .VersionVector.Entry
            build() {
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry
              result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .VersionVector.Entry
            buildPartial() {
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry
              result =
                  new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Entry(this);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartial0(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                    .Entry
                result) {
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.key_ = key_;
            to_bitField0_ |= 0x00000001;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.version_ = version_;
            to_bitField0_ |= 0x00000002;
          }
          result.bitField0_ |= to_bitField0_;
        }

        @java.lang.Override
        public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
          if (other
              instanceof
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry) {
            return mergeFrom(
                (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .VersionVector.Entry)
                    other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                    .Entry
                other) {
          if (other
              == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.Entry.getDefaultInstance()) return this;
          if (other.hasKey()) {
            key_ = other.key_;
            bitField0_ |= 0x00000001;
            onChanged();
          }
          if (other.hasVersion()) {
            setVersion(other.getVersion());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.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:
                  {
                    key_ = input.readBytes();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 10
                case 16:
                  {
                    version_ = 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 (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private java.lang.Object key_ = "";
        /**
         * <code>required string key = 1;</code>
         *
         * @return Whether the key field is set.
         */
        public boolean hasKey() {
          return ((bitField0_ & 0x00000001) != 0);
        }
        /**
         * <code>required string key = 1;</code>
         *
         * @return The key.
         */
        public java.lang.String getKey() {
          java.lang.Object ref = key_;
          if (!(ref instanceof java.lang.String)) {
            org.apache.pekko.protobufv3.internal.ByteString bs =
                (org.apache.pekko.protobufv3.internal.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            if (bs.isValidUtf8()) {
              key_ = s;
            }
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <code>required string key = 1;</code>
         *
         * @return The bytes for key.
         */
        public org.apache.pekko.protobufv3.internal.ByteString getKeyBytes() {
          java.lang.Object ref = key_;
          if (ref instanceof String) {
            org.apache.pekko.protobufv3.internal.ByteString b =
                org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            key_ = b;
            return b;
          } else {
            return (org.apache.pekko.protobufv3.internal.ByteString) ref;
          }
        }
        /**
         * <code>required string key = 1;</code>
         *
         * @param value The key to set.
         * @return This builder for chaining.
         */
        public Builder setKey(java.lang.String value) {
          if (value == null) {
            throw new NullPointerException();
          }
          key_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         * <code>required string key = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearKey() {
          key_ = getDefaultInstance().getKey();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
          return this;
        }
        /**
         * <code>required string key = 1;</code>
         *
         * @param value The bytes for key to set.
         * @return This builder for chaining.
         */
        public Builder setKeyBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
          if (value == null) {
            throw new NullPointerException();
          }
          key_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }

        private long version_;
        /**
         * <code>required int64 version = 2;</code>
         *
         * @return Whether the version field is set.
         */
        @java.lang.Override
        public boolean hasVersion() {
          return ((bitField0_ & 0x00000002) != 0);
        }
        /**
         * <code>required int64 version = 2;</code>
         *
         * @return The version.
         */
        @java.lang.Override
        public long getVersion() {
          return version_;
        }
        /**
         * <code>required int64 version = 2;</code>
         *
         * @param value The version to set.
         * @return This builder for chaining.
         */
        public Builder setVersion(long value) {

          version_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         * <code>required int64 version = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearVersion() {
          bitField0_ = (bitField0_ & ~0x00000002);
          version_ = 0L;
          onChanged();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:VersionVector.Entry)
      }

      // @@protoc_insertion_point(class_scope:VersionVector.Entry)
      private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          DEFAULT_INSTANCE;

      static {
        DEFAULT_INSTANCE =
            new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .VersionVector.Entry();
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector.Entry
          getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final org.apache.pekko.protobufv3.internal.Parser<Entry> PARSER =
          new org.apache.pekko.protobufv3.internal.AbstractParser<Entry>() {
            @java.lang.Override
            public Entry parsePartialFrom(
                org.apache.pekko.protobufv3.internal.CodedInputStream input,
                org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

      public static org.apache.pekko.protobufv3.internal.Parser<Entry> parser() {
        return PARSER;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Parser<Entry> getParserForType() {
        return PARSER;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Entry
          getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
    }

    public static final int ENTRIES_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                .Entry>
        entries_;
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    @java.lang.Override
    public java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                .Entry>
        getEntriesList() {
      return entries_;
    }
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    @java.lang.Override
    public java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.EntryOrBuilder>
        getEntriesOrBuilderList() {
      return entries_;
    }
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    @java.lang.Override
    public int getEntriesCount() {
      return entries_.size();
    }
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
            .Entry
        getEntries(int index) {
      return entries_.get(index);
    }
    /** <code>repeated .VersionVector.Entry entries = 1;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
            .EntryOrBuilder
        getEntriesOrBuilder(int index) {
      return entries_.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 < getEntriesCount(); i++) {
        if (!getEntries(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      for (int i = 0; i < entries_.size(); i++) {
        output.writeMessage(1, entries_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      for (int i = 0; i < entries_.size(); i++) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                1, entries_.get(i));
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector other =
          (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector)
              obj;

      if (!getEntriesList().equals(other.getEntriesList())) 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 (getEntriesCount() > 0) {
        hash = (37 * hash) + ENTRIES_FIELD_NUMBER;
        hash = (53 * hash) + getEntriesList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code VersionVector} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:VersionVector)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVectorOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_VersionVector_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_VersionVector_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector.newBuilder()
      private Builder() {}

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        if (entriesBuilder_ == null) {
          entries_ = java.util.Collections.emptyList();
        } else {
          entries_ = null;
          entriesBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_VersionVector_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
            result =
                new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              result) {
        if (entriesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            entries_ = java.util.Collections.unmodifiableList(entries_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.entries_ = entries_;
        } else {
          result.entries_ = entriesBuilder_.build();
        }
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .VersionVector) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .VersionVector.getDefaultInstance()) return this;
        if (entriesBuilder_ == null) {
          if (!other.entries_.isEmpty()) {
            if (entries_.isEmpty()) {
              entries_ = other.entries_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureEntriesIsMutable();
              entries_.addAll(other.entries_);
            }
            onChanged();
          }
        } else {
          if (!other.entries_.isEmpty()) {
            if (entriesBuilder_.isEmpty()) {
              entriesBuilder_.dispose();
              entriesBuilder_ = null;
              entries_ = other.entries_;
              bitField0_ = (bitField0_ & ~0x00000001);
              entriesBuilder_ =
                  org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders
                      ? internalGetEntriesFieldBuilder()
                      : null;
            } else {
              entriesBuilder_.addAllMessages(other.entries_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        for (int i = 0; i < getEntriesCount(); i++) {
          if (!getEntries(i).isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .VersionVector.Entry
                      m =
                          input.readMessage(
                              org.apache.pekko.persistence.typed.serialization
                                  .ReplicatedEventSourcing.VersionVector.Entry.parser(),
                              extensionRegistry);
                  if (entriesBuilder_ == null) {
                    ensureEntriesIsMutable();
                    entries_.add(m);
                  } else {
                    entriesBuilder_.addMessage(m);
                  }
                  break;
                } // case 10
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry>
          entries_ = java.util.Collections.emptyList();

      private void ensureEntriesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          entries_ =
              new java.util.ArrayList<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Entry>(entries_);
          bitField0_ |= 0x00000001;
        }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .EntryOrBuilder>
          entriesBuilder_;

      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry>
          getEntriesList() {
        if (entriesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(entries_);
        } else {
          return entriesBuilder_.getMessageList();
        }
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public int getEntriesCount() {
        if (entriesBuilder_ == null) {
          return entries_.size();
        } else {
          return entriesBuilder_.getCount();
        }
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Entry
          getEntries(int index) {
        if (entriesBuilder_ == null) {
          return entries_.get(index);
        } else {
          return entriesBuilder_.getMessage(index);
        }
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder setEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry
              value) {
        if (entriesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntriesIsMutable();
          entries_.set(index, value);
          onChanged();
        } else {
          entriesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder setEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry.Builder
              builderForValue) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.set(index, builderForValue.build());
          onChanged();
        } else {
          entriesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder addEntries(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry
              value) {
        if (entriesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntriesIsMutable();
          entries_.add(value);
          onChanged();
        } else {
          entriesBuilder_.addMessage(value);
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder addEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry
              value) {
        if (entriesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureEntriesIsMutable();
          entries_.add(index, value);
          onChanged();
        } else {
          entriesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder addEntries(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry.Builder
              builderForValue) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.add(builderForValue.build());
          onChanged();
        } else {
          entriesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder addEntries(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry.Builder
              builderForValue) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.add(index, builderForValue.build());
          onChanged();
        } else {
          entriesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder addAllEntries(
          java.lang.Iterable<
                  ? extends
                      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .VersionVector.Entry>
              values) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(values, entries_);
          onChanged();
        } else {
          entriesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder clearEntries() {
        if (entriesBuilder_ == null) {
          entries_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          entriesBuilder_.clear();
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public Builder removeEntries(int index) {
        if (entriesBuilder_ == null) {
          ensureEntriesIsMutable();
          entries_.remove(index);
          onChanged();
        } else {
          entriesBuilder_.remove(index);
        }
        return this;
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Entry.Builder
          getEntriesBuilder(int index) {
        return internalGetEntriesFieldBuilder().getBuilder(index);
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .EntryOrBuilder
          getEntriesOrBuilder(int index) {
        if (entriesBuilder_ == null) {
          return entries_.get(index);
        } else {
          return entriesBuilder_.getMessageOrBuilder(index);
        }
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public java.util.List<
              ? extends
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.EntryOrBuilder>
          getEntriesOrBuilderList() {
        if (entriesBuilder_ != null) {
          return entriesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(entries_);
        }
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Entry.Builder
          addEntriesBuilder() {
        return internalGetEntriesFieldBuilder()
            .addBuilder(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.Entry.getDefaultInstance());
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Entry.Builder
          addEntriesBuilder(int index) {
        return internalGetEntriesFieldBuilder()
            .addBuilder(
                index,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .VersionVector.Entry.getDefaultInstance());
      }
      /** <code>repeated .VersionVector.Entry entries = 1;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry.Builder>
          getEntriesBuilderList() {
        return internalGetEntriesFieldBuilder().getBuilderList();
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Entry.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .EntryOrBuilder>
          internalGetEntriesFieldBuilder() {
        if (entriesBuilder_ == null) {
          entriesBuilder_ =
              new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Entry,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Entry.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.EntryOrBuilder>(
                  entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
          entries_ = null;
        }
        return entriesBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:VersionVector)
    }

    // @@protoc_insertion_point(class_scope:VersionVector)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVector();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVector
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<VersionVector> PARSER =
        new org.apache.pekko.protobufv3.internal.AbstractParser<VersionVector>() {
          @java.lang.Override
          public VersionVector parsePartialFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static org.apache.pekko.protobufv3.internal.Parser<VersionVector> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<VersionVector> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface ReplicatedEventMetadataOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:ReplicatedEventMetadata)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>required string originReplica = 1;</code>
     *
     * @return Whether the originReplica field is set.
     */
    boolean hasOriginReplica();
    /**
     * <code>required string originReplica = 1;</code>
     *
     * @return The originReplica.
     */
    java.lang.String getOriginReplica();
    /**
     * <code>required string originReplica = 1;</code>
     *
     * @return The bytes for originReplica.
     */
    org.apache.pekko.protobufv3.internal.ByteString getOriginReplicaBytes();

    /**
     * <code>required int64 originSequenceNr = 2;</code>
     *
     * @return Whether the originSequenceNr field is set.
     */
    boolean hasOriginSequenceNr();
    /**
     * <code>required int64 originSequenceNr = 2;</code>
     *
     * @return The originSequenceNr.
     */
    long getOriginSequenceNr();

    /**
     * <code>required .VersionVector versionVector = 3;</code>
     *
     * @return Whether the versionVector field is set.
     */
    boolean hasVersionVector();
    /**
     * <code>required .VersionVector versionVector = 3;</code>
     *
     * @return The versionVector.
     */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVersionVector();
    /** <code>required .VersionVector versionVector = 3;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVectorOrBuilder
        getVersionVectorOrBuilder();

    /**
     * <code>required bool concurrent = 4;</code>
     *
     * @return Whether the concurrent field is set.
     */
    boolean hasConcurrent();
    /**
     * <code>required bool concurrent = 4;</code>
     *
     * @return The concurrent.
     */
    boolean getConcurrent();
  }
  /** Protobuf type {@code ReplicatedEventMetadata} */
  public static final class ReplicatedEventMetadata
      extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:ReplicatedEventMetadata)
      ReplicatedEventMetadataOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "ReplicatedEventMetadata");
    }
    // Use ReplicatedEventMetadata.newBuilder() to construct.
    private ReplicatedEventMetadata(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private ReplicatedEventMetadata() {
      originReplica_ = "";
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ReplicatedEventMetadata_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ReplicatedEventMetadata_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedEventMetadata.class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedEventMetadata.Builder.class);
    }

    private int bitField0_;
    public static final int ORIGINREPLICA_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private volatile java.lang.Object originReplica_ = "";
    /**
     * <code>required string originReplica = 1;</code>
     *
     * @return Whether the originReplica field is set.
     */
    @java.lang.Override
    public boolean hasOriginReplica() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required string originReplica = 1;</code>
     *
     * @return The originReplica.
     */
    @java.lang.Override
    public java.lang.String getOriginReplica() {
      java.lang.Object ref = originReplica_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        org.apache.pekko.protobufv3.internal.ByteString bs =
            (org.apache.pekko.protobufv3.internal.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          originReplica_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string originReplica = 1;</code>
     *
     * @return The bytes for originReplica.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString getOriginReplicaBytes() {
      java.lang.Object ref = originReplica_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b =
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
        originReplica_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int ORIGINSEQUENCENR_FIELD_NUMBER = 2;
    private long originSequenceNr_ = 0L;
    /**
     * <code>required int64 originSequenceNr = 2;</code>
     *
     * @return Whether the originSequenceNr field is set.
     */
    @java.lang.Override
    public boolean hasOriginSequenceNr() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required int64 originSequenceNr = 2;</code>
     *
     * @return The originSequenceNr.
     */
    @java.lang.Override
    public long getOriginSequenceNr() {
      return originSequenceNr_;
    }

    public static final int VERSIONVECTOR_FIELD_NUMBER = 3;
    private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        versionVector_;
    /**
     * <code>required .VersionVector versionVector = 3;</code>
     *
     * @return Whether the versionVector field is set.
     */
    @java.lang.Override
    public boolean hasVersionVector() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>required .VersionVector versionVector = 3;</code>
     *
     * @return The versionVector.
     */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVersionVector() {
      return versionVector_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : versionVector_;
    }
    /** <code>required .VersionVector versionVector = 3;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVectorOrBuilder
        getVersionVectorOrBuilder() {
      return versionVector_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : versionVector_;
    }

    public static final int CONCURRENT_FIELD_NUMBER = 4;
    private boolean concurrent_ = false;
    /**
     * <code>required bool concurrent = 4;</code>
     *
     * @return Whether the concurrent field is set.
     */
    @java.lang.Override
    public boolean hasConcurrent() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>required bool concurrent = 4;</code>
     *
     * @return The concurrent.
     */
    @java.lang.Override
    public boolean getConcurrent() {
      return concurrent_;
    }

    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 (!hasOriginReplica()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasOriginSequenceNr()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasVersionVector()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasConcurrent()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getVersionVector().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(
            output, 1, originReplica_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt64(2, originSequenceNr_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getVersionVector());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeBool(4, concurrent_);
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(
                1, originReplica_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeInt64Size(
                2, originSequenceNr_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                3, getVersionVector());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeBoolSize(4, concurrent_);
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedEventMetadata)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedEventMetadata
          other =
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedEventMetadata)
                  obj;

      if (hasOriginReplica() != other.hasOriginReplica()) return false;
      if (hasOriginReplica()) {
        if (!getOriginReplica().equals(other.getOriginReplica())) return false;
      }
      if (hasOriginSequenceNr() != other.hasOriginSequenceNr()) return false;
      if (hasOriginSequenceNr()) {
        if (getOriginSequenceNr() != other.getOriginSequenceNr()) return false;
      }
      if (hasVersionVector() != other.hasVersionVector()) return false;
      if (hasVersionVector()) {
        if (!getVersionVector().equals(other.getVersionVector())) return false;
      }
      if (hasConcurrent() != other.hasConcurrent()) return false;
      if (hasConcurrent()) {
        if (getConcurrent() != other.getConcurrent()) 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 (hasOriginReplica()) {
        hash = (37 * hash) + ORIGINREPLICA_FIELD_NUMBER;
        hash = (53 * hash) + getOriginReplica().hashCode();
      }
      if (hasOriginSequenceNr()) {
        hash = (37 * hash) + ORIGINSEQUENCENR_FIELD_NUMBER;
        hash =
            (53 * hash)
                + org.apache.pekko.protobufv3.internal.Internal.hashLong(getOriginSequenceNr());
      }
      if (hasVersionVector()) {
        hash = (37 * hash) + VERSIONVECTOR_FIELD_NUMBER;
        hash = (53 * hash) + getVersionVector().hashCode();
      }
      if (hasConcurrent()) {
        hash = (37 * hash) + CONCURRENT_FIELD_NUMBER;
        hash =
            (53 * hash)
                + org.apache.pekko.protobufv3.internal.Internal.hashBoolean(getConcurrent());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedEventMetadata
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code ReplicatedEventMetadata} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:ReplicatedEventMetadata)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadataOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedEventMetadata_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedEventMetadata_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedEventMetadata.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedEventMetadata.Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ReplicatedEventMetadata.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders) {
          internalGetVersionVectorFieldBuilder();
        }
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        originReplica_ = "";
        originSequenceNr_ = 0L;
        versionVector_ = null;
        if (versionVectorBuilder_ != null) {
          versionVectorBuilder_.dispose();
          versionVectorBuilder_ = null;
        }
        concurrent_ = false;
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedEventMetadata_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedEventMetadata
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedEventMetadata
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedEventMetadata
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedEventMetadata
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedEventMetadata
            result =
                new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedEventMetadata(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedEventMetadata
              result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.originReplica_ = originReplica_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.originSequenceNr_ = originSequenceNr_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.versionVector_ =
              versionVectorBuilder_ == null ? versionVector_ : versionVectorBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.concurrent_ = concurrent_;
          to_bitField0_ |= 0x00000008;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedEventMetadata) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedEventMetadata)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedEventMetadata
              other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedEventMetadata.getDefaultInstance()) return this;
        if (other.hasOriginReplica()) {
          originReplica_ = other.originReplica_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasOriginSequenceNr()) {
          setOriginSequenceNr(other.getOriginSequenceNr());
        }
        if (other.hasVersionVector()) {
          mergeVersionVector(other.getVersionVector());
        }
        if (other.hasConcurrent()) {
          setConcurrent(other.getConcurrent());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasOriginReplica()) {
          return false;
        }
        if (!hasOriginSequenceNr()) {
          return false;
        }
        if (!hasVersionVector()) {
          return false;
        }
        if (!hasConcurrent()) {
          return false;
        }
        if (!getVersionVector().isInitialized()) {
          return false;
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  originReplica_ = input.readBytes();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 16:
                {
                  originSequenceNr_ = input.readInt64();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 16
              case 26:
                {
                  input.readMessage(
                      internalGetVersionVectorFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000004;
                  break;
                } // case 26
              case 32:
                {
                  concurrent_ = input.readBool();
                  bitField0_ |= 0x00000008;
                  break;
                } // case 32
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.lang.Object originReplica_ = "";
      /**
       * <code>required string originReplica = 1;</code>
       *
       * @return Whether the originReplica field is set.
       */
      public boolean hasOriginReplica() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required string originReplica = 1;</code>
       *
       * @return The originReplica.
       */
      public java.lang.String getOriginReplica() {
        java.lang.Object ref = originReplica_;
        if (!(ref instanceof java.lang.String)) {
          org.apache.pekko.protobufv3.internal.ByteString bs =
              (org.apache.pekko.protobufv3.internal.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            originReplica_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string originReplica = 1;</code>
       *
       * @return The bytes for originReplica.
       */
      public org.apache.pekko.protobufv3.internal.ByteString getOriginReplicaBytes() {
        java.lang.Object ref = originReplica_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b =
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
          originReplica_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>required string originReplica = 1;</code>
       *
       * @param value The originReplica to set.
       * @return This builder for chaining.
       */
      public Builder setOriginReplica(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        originReplica_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required string originReplica = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearOriginReplica() {
        originReplica_ = getDefaultInstance().getOriginReplica();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>required string originReplica = 1;</code>
       *
       * @param value The bytes for originReplica to set.
       * @return This builder for chaining.
       */
      public Builder setOriginReplicaBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        originReplica_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private long originSequenceNr_;
      /**
       * <code>required int64 originSequenceNr = 2;</code>
       *
       * @return Whether the originSequenceNr field is set.
       */
      @java.lang.Override
      public boolean hasOriginSequenceNr() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required int64 originSequenceNr = 2;</code>
       *
       * @return The originSequenceNr.
       */
      @java.lang.Override
      public long getOriginSequenceNr() {
        return originSequenceNr_;
      }
      /**
       * <code>required int64 originSequenceNr = 2;</code>
       *
       * @param value The originSequenceNr to set.
       * @return This builder for chaining.
       */
      public Builder setOriginSequenceNr(long value) {

        originSequenceNr_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>required int64 originSequenceNr = 2;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearOriginSequenceNr() {
        bitField0_ = (bitField0_ & ~0x00000002);
        originSequenceNr_ = 0L;
        onChanged();
        return this;
      }

      private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          versionVector_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          versionVectorBuilder_;
      /**
       * <code>required .VersionVector versionVector = 3;</code>
       *
       * @return Whether the versionVector field is set.
       */
      public boolean hasVersionVector() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>required .VersionVector versionVector = 3;</code>
       *
       * @return The versionVector.
       */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          getVersionVector() {
        if (versionVectorBuilder_ == null) {
          return versionVector_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : versionVector_;
        } else {
          return versionVectorBuilder_.getMessage();
        }
      }
      /** <code>required .VersionVector versionVector = 3;</code> */
      public Builder setVersionVector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (versionVectorBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          versionVector_ = value;
        } else {
          versionVectorBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /** <code>required .VersionVector versionVector = 3;</code> */
      public Builder setVersionVector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder
              builderForValue) {
        if (versionVectorBuilder_ == null) {
          versionVector_ = builderForValue.build();
        } else {
          versionVectorBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /** <code>required .VersionVector versionVector = 3;</code> */
      public Builder mergeVersionVector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (versionVectorBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)
              && versionVector_ != null
              && versionVector_
                  != org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.getDefaultInstance()) {
            getVersionVectorBuilder().mergeFrom(value);
          } else {
            versionVector_ = value;
          }
        } else {
          versionVectorBuilder_.mergeFrom(value);
        }
        if (versionVector_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /** <code>required .VersionVector versionVector = 3;</code> */
      public Builder clearVersionVector() {
        bitField0_ = (bitField0_ & ~0x00000004);
        versionVector_ = null;
        if (versionVectorBuilder_ != null) {
          versionVectorBuilder_.dispose();
          versionVectorBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /** <code>required .VersionVector versionVector = 3;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Builder
          getVersionVectorBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return internalGetVersionVectorFieldBuilder().getBuilder();
      }
      /** <code>required .VersionVector versionVector = 3;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVectorOrBuilder
          getVersionVectorOrBuilder() {
        if (versionVectorBuilder_ != null) {
          return versionVectorBuilder_.getMessageOrBuilder();
        } else {
          return versionVector_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : versionVector_;
        }
      }
      /** <code>required .VersionVector versionVector = 3;</code> */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          internalGetVersionVectorFieldBuilder() {
        if (versionVectorBuilder_ == null) {
          versionVectorBuilder_ =
              new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVectorOrBuilder>(
                  getVersionVector(), getParentForChildren(), isClean());
          versionVector_ = null;
        }
        return versionVectorBuilder_;
      }

      private boolean concurrent_;
      /**
       * <code>required bool concurrent = 4;</code>
       *
       * @return Whether the concurrent field is set.
       */
      @java.lang.Override
      public boolean hasConcurrent() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>required bool concurrent = 4;</code>
       *
       * @return The concurrent.
       */
      @java.lang.Override
      public boolean getConcurrent() {
        return concurrent_;
      }
      /**
       * <code>required bool concurrent = 4;</code>
       *
       * @param value The concurrent to set.
       * @return This builder for chaining.
       */
      public Builder setConcurrent(boolean value) {

        concurrent_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>required bool concurrent = 4;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearConcurrent() {
        bitField0_ = (bitField0_ & ~0x00000008);
        concurrent_ = false;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:ReplicatedEventMetadata)
    }

    // @@protoc_insertion_point(class_scope:ReplicatedEventMetadata)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedEventMetadata();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventMetadata>
        PARSER =
            new org.apache.pekko.protobufv3.internal.AbstractParser<ReplicatedEventMetadata>() {
              @java.lang.Override
              public ReplicatedEventMetadata parsePartialFrom(
                  org.apache.pekko.protobufv3.internal.CodedInputStream input,
                  org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                  throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
                Builder builder = newBuilder();
                try {
                  builder.mergeFrom(input, extensionRegistry);
                } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
                  throw e.setUnfinishedMessage(builder.buildPartial());
                } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
                  throw e.asInvalidProtocolBufferException()
                      .setUnfinishedMessage(builder.buildPartial());
                } catch (java.io.IOException e) {
                  throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                      .setUnfinishedMessage(builder.buildPartial());
                }
                return builder.buildPartial();
              }
            };

    public static org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventMetadata> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<ReplicatedEventMetadata> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedEventMetadata
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface ReplicatedSnapshotMetadataOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:ReplicatedSnapshotMetadata)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>required .VersionVector version = 1;</code>
     *
     * @return Whether the version field is set.
     */
    boolean hasVersion();
    /**
     * <code>required .VersionVector version = 1;</code>
     *
     * @return The version.
     */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVersion();
    /** <code>required .VersionVector version = 1;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVectorOrBuilder
        getVersionOrBuilder();

    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen>
        getSeenPerReplicaList();
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata.Seen
        getSeenPerReplica(int index);
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    int getSeenPerReplicaCount();
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.SeenOrBuilder>
        getSeenPerReplicaOrBuilderList();
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata.SeenOrBuilder
        getSeenPerReplicaOrBuilder(int index);
  }
  /** Protobuf type {@code ReplicatedSnapshotMetadata} */
  public static final class ReplicatedSnapshotMetadata
      extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:ReplicatedSnapshotMetadata)
      ReplicatedSnapshotMetadataOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "ReplicatedSnapshotMetadata");
    }
    // Use ReplicatedSnapshotMetadata.newBuilder() to construct.
    private ReplicatedSnapshotMetadata(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private ReplicatedSnapshotMetadata() {
      seenPerReplica_ = java.util.Collections.emptyList();
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ReplicatedSnapshotMetadata_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ReplicatedSnapshotMetadata_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Builder.class);
    }

    public interface SeenOrBuilder
        extends
        // @@protoc_insertion_point(interface_extends:ReplicatedSnapshotMetadata.Seen)
        org.apache.pekko.protobufv3.internal.MessageOrBuilder {

      /**
       * <code>required string replicaId = 1;</code>
       *
       * @return Whether the replicaId field is set.
       */
      boolean hasReplicaId();
      /**
       * <code>required string replicaId = 1;</code>
       *
       * @return The replicaId.
       */
      java.lang.String getReplicaId();
      /**
       * <code>required string replicaId = 1;</code>
       *
       * @return The bytes for replicaId.
       */
      org.apache.pekko.protobufv3.internal.ByteString getReplicaIdBytes();

      /**
       * <code>required int64 sequenceNr = 2;</code>
       *
       * @return Whether the sequenceNr field is set.
       */
      boolean hasSequenceNr();
      /**
       * <code>required int64 sequenceNr = 2;</code>
       *
       * @return The sequenceNr.
       */
      long getSequenceNr();
    }
    /** Protobuf type {@code ReplicatedSnapshotMetadata.Seen} */
    public static final class Seen extends org.apache.pekko.protobufv3.internal.GeneratedMessage
        implements
        // @@protoc_insertion_point(message_implements:ReplicatedSnapshotMetadata.Seen)
        SeenOrBuilder {
      private static final long serialVersionUID = 0L;

      static {
        org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
            org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
            /* major= */ 4,
            /* minor= */ 33,
            /* patch= */ 0,
            /* suffix= */ "",
            "Seen");
      }
      // Use Seen.newBuilder() to construct.
      private Seen(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
        super(builder);
      }

      private Seen() {
        replicaId_ = "";
      }

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedSnapshotMetadata_Seen_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedSnapshotMetadata_Seen_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.Seen.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.Seen.Builder.class);
      }

      private int bitField0_;
      public static final int REPLICAID_FIELD_NUMBER = 1;

      @SuppressWarnings("serial")
      private volatile java.lang.Object replicaId_ = "";
      /**
       * <code>required string replicaId = 1;</code>
       *
       * @return Whether the replicaId field is set.
       */
      @java.lang.Override
      public boolean hasReplicaId() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required string replicaId = 1;</code>
       *
       * @return The replicaId.
       */
      @java.lang.Override
      public java.lang.String getReplicaId() {
        java.lang.Object ref = replicaId_;
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          org.apache.pekko.protobufv3.internal.ByteString bs =
              (org.apache.pekko.protobufv3.internal.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            replicaId_ = s;
          }
          return s;
        }
      }
      /**
       * <code>required string replicaId = 1;</code>
       *
       * @return The bytes for replicaId.
       */
      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.ByteString getReplicaIdBytes() {
        java.lang.Object ref = replicaId_;
        if (ref instanceof java.lang.String) {
          org.apache.pekko.protobufv3.internal.ByteString b =
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
          replicaId_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }

      public static final int SEQUENCENR_FIELD_NUMBER = 2;
      private long sequenceNr_ = 0L;
      /**
       * <code>required int64 sequenceNr = 2;</code>
       *
       * @return Whether the sequenceNr field is set.
       */
      @java.lang.Override
      public boolean hasSequenceNr() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required int64 sequenceNr = 2;</code>
       *
       * @return The sequenceNr.
       */
      @java.lang.Override
      public long getSequenceNr() {
        return sequenceNr_;
      }

      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 (!hasReplicaId()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (!hasSequenceNr()) {
          memoizedIsInitialized = 0;
          return false;
        }
        memoizedIsInitialized = 1;
        return true;
      }

      @java.lang.Override
      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
          throws java.io.IOException {
        if (((bitField0_ & 0x00000001) != 0)) {
          org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 1, replicaId_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          output.writeInt64(2, sequenceNr_);
        }
        getUnknownFields().writeTo(output);
      }

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

        size = 0;
        if (((bitField0_ & 0x00000001) != 0)) {
          size +=
              org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(
                  1, replicaId_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size +=
              org.apache.pekko.protobufv3.internal.CodedOutputStream.computeInt64Size(
                  2, sequenceNr_);
        }
        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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen)) {
          return super.equals(obj);
        }
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen
            other =
                (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .ReplicatedSnapshotMetadata.Seen)
                    obj;

        if (hasReplicaId() != other.hasReplicaId()) return false;
        if (hasReplicaId()) {
          if (!getReplicaId().equals(other.getReplicaId())) return false;
        }
        if (hasSequenceNr() != other.hasSequenceNr()) return false;
        if (hasSequenceNr()) {
          if (getSequenceNr() != other.getSequenceNr()) 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 (hasReplicaId()) {
          hash = (37 * hash) + REPLICAID_FIELD_NUMBER;
          hash = (53 * hash) + getReplicaId().hashCode();
        }
        if (hasSequenceNr()) {
          hash = (37 * hash) + SEQUENCENR_FIELD_NUMBER;
          hash =
              (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(getSequenceNr());
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(java.nio.ByteBuffer data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(
              java.nio.ByteBuffer data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(
              org.apache.pekko.protobufv3.internal.ByteString data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(byte[] data)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(
              byte[] data,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(java.io.InputStream input) throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(
              java.io.InputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseDelimitedFrom(
              java.io.InputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
            PARSER, input, extensionRegistry);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
            PARSER, input);
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          parseFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen
              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(
          org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /** Protobuf type {@code ReplicatedSnapshotMetadata.Seen} */
      public static final class Builder
          extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
          implements
          // @@protoc_insertion_point(builder_implements:ReplicatedSnapshotMetadata.Seen)
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.SeenOrBuilder {
        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptor() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_ReplicatedSnapshotMetadata_Seen_descriptor;
        }

        @java.lang.Override
        protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_ReplicatedSnapshotMetadata_Seen_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.Seen.class,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.Seen.Builder.class);
        }

        // Construct using
        // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ReplicatedSnapshotMetadata.Seen.newBuilder()
        private Builder() {}

        private Builder(
            org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
          super(parent);
        }

        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          replicaId_ = "";
          sequenceNr_ = 0L;
          return this;
        }

        @java.lang.Override
        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .internal_static_ReplicatedSnapshotMetadata_Seen_descriptor;
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen
            getDefaultInstanceForType() {
          return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen.getDefaultInstance();
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen
            build() {
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen
              result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen
            buildPartial() {
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen
              result =
                  new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.Seen(this);
          if (bitField0_ != 0) {
            buildPartial0(result);
          }
          onBuilt();
          return result;
        }

        private void buildPartial0(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.Seen
                result) {
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.replicaId_ = replicaId_;
            to_bitField0_ |= 0x00000001;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.sequenceNr_ = sequenceNr_;
            to_bitField0_ |= 0x00000002;
          }
          result.bitField0_ |= to_bitField0_;
        }

        @java.lang.Override
        public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
          if (other
              instanceof
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen) {
            return mergeFrom(
                (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                        .ReplicatedSnapshotMetadata.Seen)
                    other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.Seen
                other) {
          if (other
              == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen.getDefaultInstance()) return this;
          if (other.hasReplicaId()) {
            replicaId_ = other.replicaId_;
            bitField0_ |= 0x00000001;
            onChanged();
          }
          if (other.hasSequenceNr()) {
            setSequenceNr(other.getSequenceNr());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

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

        @java.lang.Override
        public Builder mergeFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.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:
                  {
                    replicaId_ = input.readBytes();
                    bitField0_ |= 0x00000001;
                    break;
                  } // case 10
                case 16:
                  {
                    sequenceNr_ = 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 (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
            throw e.unwrapIOException();
          } finally {
            onChanged();
          } // finally
          return this;
        }

        private int bitField0_;

        private java.lang.Object replicaId_ = "";
        /**
         * <code>required string replicaId = 1;</code>
         *
         * @return Whether the replicaId field is set.
         */
        public boolean hasReplicaId() {
          return ((bitField0_ & 0x00000001) != 0);
        }
        /**
         * <code>required string replicaId = 1;</code>
         *
         * @return The replicaId.
         */
        public java.lang.String getReplicaId() {
          java.lang.Object ref = replicaId_;
          if (!(ref instanceof java.lang.String)) {
            org.apache.pekko.protobufv3.internal.ByteString bs =
                (org.apache.pekko.protobufv3.internal.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            if (bs.isValidUtf8()) {
              replicaId_ = s;
            }
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
        /**
         * <code>required string replicaId = 1;</code>
         *
         * @return The bytes for replicaId.
         */
        public org.apache.pekko.protobufv3.internal.ByteString getReplicaIdBytes() {
          java.lang.Object ref = replicaId_;
          if (ref instanceof String) {
            org.apache.pekko.protobufv3.internal.ByteString b =
                org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                    (java.lang.String) ref);
            replicaId_ = b;
            return b;
          } else {
            return (org.apache.pekko.protobufv3.internal.ByteString) ref;
          }
        }
        /**
         * <code>required string replicaId = 1;</code>
         *
         * @param value The replicaId to set.
         * @return This builder for chaining.
         */
        public Builder setReplicaId(java.lang.String value) {
          if (value == null) {
            throw new NullPointerException();
          }
          replicaId_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         * <code>required string replicaId = 1;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearReplicaId() {
          replicaId_ = getDefaultInstance().getReplicaId();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
          return this;
        }
        /**
         * <code>required string replicaId = 1;</code>
         *
         * @param value The bytes for replicaId to set.
         * @return This builder for chaining.
         */
        public Builder setReplicaIdBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
          if (value == null) {
            throw new NullPointerException();
          }
          replicaId_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }

        private long sequenceNr_;
        /**
         * <code>required int64 sequenceNr = 2;</code>
         *
         * @return Whether the sequenceNr field is set.
         */
        @java.lang.Override
        public boolean hasSequenceNr() {
          return ((bitField0_ & 0x00000002) != 0);
        }
        /**
         * <code>required int64 sequenceNr = 2;</code>
         *
         * @return The sequenceNr.
         */
        @java.lang.Override
        public long getSequenceNr() {
          return sequenceNr_;
        }
        /**
         * <code>required int64 sequenceNr = 2;</code>
         *
         * @param value The sequenceNr to set.
         * @return This builder for chaining.
         */
        public Builder setSequenceNr(long value) {

          sequenceNr_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         * <code>required int64 sequenceNr = 2;</code>
         *
         * @return This builder for chaining.
         */
        public Builder clearSequenceNr() {
          bitField0_ = (bitField0_ & ~0x00000002);
          sequenceNr_ = 0L;
          onChanged();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:ReplicatedSnapshotMetadata.Seen)
      }

      // @@protoc_insertion_point(class_scope:ReplicatedSnapshotMetadata.Seen)
      private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          DEFAULT_INSTANCE;

      static {
        DEFAULT_INSTANCE =
            new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen();
      }

      public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final org.apache.pekko.protobufv3.internal.Parser<Seen> PARSER =
          new org.apache.pekko.protobufv3.internal.AbstractParser<Seen>() {
            @java.lang.Override
            public Seen parsePartialFrom(
                org.apache.pekko.protobufv3.internal.CodedInputStream input,
                org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
              Builder builder = newBuilder();
              try {
                builder.mergeFrom(input, extensionRegistry);
              } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
                throw e.setUnfinishedMessage(builder.buildPartial());
              } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
                throw e.asInvalidProtocolBufferException()
                    .setUnfinishedMessage(builder.buildPartial());
              } catch (java.io.IOException e) {
                throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                    .setUnfinishedMessage(builder.buildPartial());
              }
              return builder.buildPartial();
            }
          };

      public static org.apache.pekko.protobufv3.internal.Parser<Seen> parser() {
        return PARSER;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Parser<Seen> getParserForType() {
        return PARSER;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }
    }

    private int bitField0_;
    public static final int VERSION_FIELD_NUMBER = 1;
    private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        version_;
    /**
     * <code>required .VersionVector version = 1;</code>
     *
     * @return Whether the version field is set.
     */
    @java.lang.Override
    public boolean hasVersion() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .VersionVector version = 1;</code>
     *
     * @return The version.
     */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVersion() {
      return version_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : version_;
    }
    /** <code>required .VersionVector version = 1;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVectorOrBuilder
        getVersionOrBuilder() {
      return version_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : version_;
    }

    public static final int SEENPERREPLICA_FIELD_NUMBER = 2;

    @SuppressWarnings("serial")
    private java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen>
        seenPerReplica_;
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    @java.lang.Override
    public java.util.List<
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.Seen>
        getSeenPerReplicaList() {
      return seenPerReplica_;
    }
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    @java.lang.Override
    public java.util.List<
            ? extends
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.SeenOrBuilder>
        getSeenPerReplicaOrBuilderList() {
      return seenPerReplica_;
    }
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    @java.lang.Override
    public int getSeenPerReplicaCount() {
      return seenPerReplica_.size();
    }
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata.Seen
        getSeenPerReplica(int index) {
      return seenPerReplica_.get(index);
    }
    /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata.SeenOrBuilder
        getSeenPerReplicaOrBuilder(int index) {
      return seenPerReplica_.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;

      if (!hasVersion()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getVersion().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getSeenPerReplicaCount(); i++) {
        if (!getSeenPerReplica(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getVersion());
      }
      for (int i = 0; i < seenPerReplica_.size(); i++) {
        output.writeMessage(2, seenPerReplica_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                1, getVersion());
      }
      for (int i = 0; i < seenPerReplica_.size(); i++) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                2, seenPerReplica_.get(i));
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata
          other =
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata)
                  obj;

      if (hasVersion() != other.hasVersion()) return false;
      if (hasVersion()) {
        if (!getVersion().equals(other.getVersion())) return false;
      }
      if (!getSeenPerReplicaList().equals(other.getSeenPerReplicaList())) 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 (hasVersion()) {
        hash = (37 * hash) + VERSION_FIELD_NUMBER;
        hash = (53 * hash) + getVersion().hashCode();
      }
      if (getSeenPerReplicaCount() > 0) {
        hash = (37 * hash) + SEENPERREPLICA_FIELD_NUMBER;
        hash = (53 * hash) + getSeenPerReplicaList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code ReplicatedSnapshotMetadata} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:ReplicatedSnapshotMetadata)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadataOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedSnapshotMetadata_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedSnapshotMetadata_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ReplicatedSnapshotMetadata.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders) {
          internalGetVersionFieldBuilder();
          internalGetSeenPerReplicaFieldBuilder();
        }
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        version_ = null;
        if (versionBuilder_ != null) {
          versionBuilder_.dispose();
          versionBuilder_ = null;
        }
        if (seenPerReplicaBuilder_ == null) {
          seenPerReplica_ = java.util.Collections.emptyList();
        } else {
          seenPerReplica_ = null;
          seenPerReplicaBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedSnapshotMetadata_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata
            result =
                new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata
              result) {
        if (seenPerReplicaBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            seenPerReplica_ = java.util.Collections.unmodifiableList(seenPerReplica_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.seenPerReplica_ = seenPerReplica_;
        } else {
          result.seenPerReplica_ = seenPerReplicaBuilder_.build();
        }
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata
              result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.version_ = versionBuilder_ == null ? version_ : versionBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata
              other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedSnapshotMetadata.getDefaultInstance()) return this;
        if (other.hasVersion()) {
          mergeVersion(other.getVersion());
        }
        if (seenPerReplicaBuilder_ == null) {
          if (!other.seenPerReplica_.isEmpty()) {
            if (seenPerReplica_.isEmpty()) {
              seenPerReplica_ = other.seenPerReplica_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureSeenPerReplicaIsMutable();
              seenPerReplica_.addAll(other.seenPerReplica_);
            }
            onChanged();
          }
        } else {
          if (!other.seenPerReplica_.isEmpty()) {
            if (seenPerReplicaBuilder_.isEmpty()) {
              seenPerReplicaBuilder_.dispose();
              seenPerReplicaBuilder_ = null;
              seenPerReplica_ = other.seenPerReplica_;
              bitField0_ = (bitField0_ & ~0x00000002);
              seenPerReplicaBuilder_ =
                  org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders
                      ? internalGetSeenPerReplicaFieldBuilder()
                      : null;
            } else {
              seenPerReplicaBuilder_.addAllMessages(other.seenPerReplica_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasVersion()) {
          return false;
        }
        if (!getVersion().isInitialized()) {
          return false;
        }
        for (int i = 0; i < getSeenPerReplicaCount(); i++) {
          if (!getSeenPerReplica(i).isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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(
                      internalGetVersionFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 18:
                {
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .ReplicatedSnapshotMetadata.Seen
                      m =
                          input.readMessage(
                              org.apache.pekko.persistence.typed.serialization
                                  .ReplicatedEventSourcing.ReplicatedSnapshotMetadata.Seen.parser(),
                              extensionRegistry);
                  if (seenPerReplicaBuilder_ == null) {
                    ensureSeenPerReplicaIsMutable();
                    seenPerReplica_.add(m);
                  } else {
                    seenPerReplicaBuilder_.addMessage(m);
                  }
                  break;
                } // case 18
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          version_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          versionBuilder_;
      /**
       * <code>required .VersionVector version = 1;</code>
       *
       * @return Whether the version field is set.
       */
      public boolean hasVersion() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .VersionVector version = 1;</code>
       *
       * @return The version.
       */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          getVersion() {
        if (versionBuilder_ == null) {
          return version_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : version_;
        } else {
          return versionBuilder_.getMessage();
        }
      }
      /** <code>required .VersionVector version = 1;</code> */
      public Builder setVersion(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (versionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          version_ = value;
        } else {
          versionBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /** <code>required .VersionVector version = 1;</code> */
      public Builder setVersion(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder
              builderForValue) {
        if (versionBuilder_ == null) {
          version_ = builderForValue.build();
        } else {
          versionBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /** <code>required .VersionVector version = 1;</code> */
      public Builder mergeVersion(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (versionBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)
              && version_ != null
              && version_
                  != org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.getDefaultInstance()) {
            getVersionBuilder().mergeFrom(value);
          } else {
            version_ = value;
          }
        } else {
          versionBuilder_.mergeFrom(value);
        }
        if (version_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /** <code>required .VersionVector version = 1;</code> */
      public Builder clearVersion() {
        bitField0_ = (bitField0_ & ~0x00000001);
        version_ = null;
        if (versionBuilder_ != null) {
          versionBuilder_.dispose();
          versionBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /** <code>required .VersionVector version = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Builder
          getVersionBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return internalGetVersionFieldBuilder().getBuilder();
      }
      /** <code>required .VersionVector version = 1;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVectorOrBuilder
          getVersionOrBuilder() {
        if (versionBuilder_ != null) {
          return versionBuilder_.getMessageOrBuilder();
        } else {
          return version_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : version_;
        }
      }
      /** <code>required .VersionVector version = 1;</code> */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          internalGetVersionFieldBuilder() {
        if (versionBuilder_ == null) {
          versionBuilder_ =
              new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVectorOrBuilder>(getVersion(), getParentForChildren(), isClean());
          version_ = null;
        }
        return versionBuilder_;
      }

      private java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen>
          seenPerReplica_ = java.util.Collections.emptyList();

      private void ensureSeenPerReplicaIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          seenPerReplica_ =
              new java.util.ArrayList<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.Seen>(seenPerReplica_);
          bitField0_ |= 0x00000002;
        }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.SeenOrBuilder>
          seenPerReplicaBuilder_;

      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen>
          getSeenPerReplicaList() {
        if (seenPerReplicaBuilder_ == null) {
          return java.util.Collections.unmodifiableList(seenPerReplica_);
        } else {
          return seenPerReplicaBuilder_.getMessageList();
        }
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public int getSeenPerReplicaCount() {
        if (seenPerReplicaBuilder_ == null) {
          return seenPerReplica_.size();
        } else {
          return seenPerReplicaBuilder_.getCount();
        }
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen
          getSeenPerReplica(int index) {
        if (seenPerReplicaBuilder_ == null) {
          return seenPerReplica_.get(index);
        } else {
          return seenPerReplicaBuilder_.getMessage(index);
        }
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder setSeenPerReplica(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen
              value) {
        if (seenPerReplicaBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSeenPerReplicaIsMutable();
          seenPerReplica_.set(index, value);
          onChanged();
        } else {
          seenPerReplicaBuilder_.setMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder setSeenPerReplica(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen.Builder
              builderForValue) {
        if (seenPerReplicaBuilder_ == null) {
          ensureSeenPerReplicaIsMutable();
          seenPerReplica_.set(index, builderForValue.build());
          onChanged();
        } else {
          seenPerReplicaBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder addSeenPerReplica(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen
              value) {
        if (seenPerReplicaBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSeenPerReplicaIsMutable();
          seenPerReplica_.add(value);
          onChanged();
        } else {
          seenPerReplicaBuilder_.addMessage(value);
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder addSeenPerReplica(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen
              value) {
        if (seenPerReplicaBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSeenPerReplicaIsMutable();
          seenPerReplica_.add(index, value);
          onChanged();
        } else {
          seenPerReplicaBuilder_.addMessage(index, value);
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder addSeenPerReplica(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen.Builder
              builderForValue) {
        if (seenPerReplicaBuilder_ == null) {
          ensureSeenPerReplicaIsMutable();
          seenPerReplica_.add(builderForValue.build());
          onChanged();
        } else {
          seenPerReplicaBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder addSeenPerReplica(
          int index,
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen.Builder
              builderForValue) {
        if (seenPerReplicaBuilder_ == null) {
          ensureSeenPerReplicaIsMutable();
          seenPerReplica_.add(index, builderForValue.build());
          onChanged();
        } else {
          seenPerReplicaBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder addAllSeenPerReplica(
          java.lang.Iterable<
                  ? extends
                      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                          .ReplicatedSnapshotMetadata.Seen>
              values) {
        if (seenPerReplicaBuilder_ == null) {
          ensureSeenPerReplicaIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
              values, seenPerReplica_);
          onChanged();
        } else {
          seenPerReplicaBuilder_.addAllMessages(values);
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder clearSeenPerReplica() {
        if (seenPerReplicaBuilder_ == null) {
          seenPerReplica_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          seenPerReplicaBuilder_.clear();
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public Builder removeSeenPerReplica(int index) {
        if (seenPerReplicaBuilder_ == null) {
          ensureSeenPerReplicaIsMutable();
          seenPerReplica_.remove(index);
          onChanged();
        } else {
          seenPerReplicaBuilder_.remove(index);
        }
        return this;
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen.Builder
          getSeenPerReplicaBuilder(int index) {
        return internalGetSeenPerReplicaFieldBuilder().getBuilder(index);
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.SeenOrBuilder
          getSeenPerReplicaOrBuilder(int index) {
        if (seenPerReplicaBuilder_ == null) {
          return seenPerReplica_.get(index);
        } else {
          return seenPerReplicaBuilder_.getMessageOrBuilder(index);
        }
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public java.util.List<
              ? extends
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.SeenOrBuilder>
          getSeenPerReplicaOrBuilderList() {
        if (seenPerReplicaBuilder_ != null) {
          return seenPerReplicaBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(seenPerReplica_);
        }
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen.Builder
          addSeenPerReplicaBuilder() {
        return internalGetSeenPerReplicaFieldBuilder()
            .addBuilder(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.Seen.getDefaultInstance());
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata.Seen.Builder
          addSeenPerReplicaBuilder(int index) {
        return internalGetSeenPerReplicaFieldBuilder()
            .addBuilder(
                index,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedSnapshotMetadata.Seen.getDefaultInstance());
      }
      /** <code>repeated .ReplicatedSnapshotMetadata.Seen seenPerReplica = 2;</code> */
      public java.util.List<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen.Builder>
          getSeenPerReplicaBuilderList() {
        return internalGetSeenPerReplicaFieldBuilder().getBuilderList();
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.Seen.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedSnapshotMetadata.SeenOrBuilder>
          internalGetSeenPerReplicaFieldBuilder() {
        if (seenPerReplicaBuilder_ == null) {
          seenPerReplicaBuilder_ =
              new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.Seen,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.Seen.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedSnapshotMetadata.SeenOrBuilder>(
                  seenPerReplica_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          seenPerReplica_ = null;
        }
        return seenPerReplicaBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:ReplicatedSnapshotMetadata)
    }

    // @@protoc_insertion_point(class_scope:ReplicatedSnapshotMetadata)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedSnapshotMetadata();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<ReplicatedSnapshotMetadata>
        PARSER =
            new org.apache.pekko.protobufv3.internal.AbstractParser<ReplicatedSnapshotMetadata>() {
              @java.lang.Override
              public ReplicatedSnapshotMetadata parsePartialFrom(
                  org.apache.pekko.protobufv3.internal.CodedInputStream input,
                  org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                  throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
                Builder builder = newBuilder();
                try {
                  builder.mergeFrom(input, extensionRegistry);
                } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
                  throw e.setUnfinishedMessage(builder.buildPartial());
                } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
                  throw e.asInvalidProtocolBufferException()
                      .setUnfinishedMessage(builder.buildPartial());
                } catch (java.io.IOException e) {
                  throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                      .setUnfinishedMessage(builder.buildPartial());
                }
                return builder.buildPartial();
              }
            };

    public static org.apache.pekko.protobufv3.internal.Parser<ReplicatedSnapshotMetadata> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<ReplicatedSnapshotMetadata>
        getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedSnapshotMetadata
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface ReplicatedPublishedEventMetaDataOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:ReplicatedPublishedEventMetaData)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>optional string replicaId = 1;</code>
     *
     * @return Whether the replicaId field is set.
     */
    boolean hasReplicaId();
    /**
     * <code>optional string replicaId = 1;</code>
     *
     * @return The replicaId.
     */
    java.lang.String getReplicaId();
    /**
     * <code>optional string replicaId = 1;</code>
     *
     * @return The bytes for replicaId.
     */
    org.apache.pekko.protobufv3.internal.ByteString getReplicaIdBytes();

    /**
     * <code>optional .VersionVector versionVector = 2;</code>
     *
     * @return Whether the versionVector field is set.
     */
    boolean hasVersionVector();
    /**
     * <code>optional .VersionVector versionVector = 2;</code>
     *
     * @return The versionVector.
     */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVersionVector();
    /** <code>optional .VersionVector versionVector = 2;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVectorOrBuilder
        getVersionVectorOrBuilder();
  }
  /** Protobuf type {@code ReplicatedPublishedEventMetaData} */
  public static final class ReplicatedPublishedEventMetaData
      extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:ReplicatedPublishedEventMetaData)
      ReplicatedPublishedEventMetaDataOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "ReplicatedPublishedEventMetaData");
    }
    // Use ReplicatedPublishedEventMetaData.newBuilder() to construct.
    private ReplicatedPublishedEventMetaData(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private ReplicatedPublishedEventMetaData() {
      replicaId_ = "";
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ReplicatedPublishedEventMetaData_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_ReplicatedPublishedEventMetaData_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData.class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData.Builder.class);
    }

    private int bitField0_;
    public static final int REPLICAID_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private volatile java.lang.Object replicaId_ = "";
    /**
     * <code>optional string replicaId = 1;</code>
     *
     * @return Whether the replicaId field is set.
     */
    @java.lang.Override
    public boolean hasReplicaId() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional string replicaId = 1;</code>
     *
     * @return The replicaId.
     */
    @java.lang.Override
    public java.lang.String getReplicaId() {
      java.lang.Object ref = replicaId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        org.apache.pekko.protobufv3.internal.ByteString bs =
            (org.apache.pekko.protobufv3.internal.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          replicaId_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string replicaId = 1;</code>
     *
     * @return The bytes for replicaId.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString getReplicaIdBytes() {
      java.lang.Object ref = replicaId_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b =
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
        replicaId_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int VERSIONVECTOR_FIELD_NUMBER = 2;
    private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        versionVector_;
    /**
     * <code>optional .VersionVector versionVector = 2;</code>
     *
     * @return Whether the versionVector field is set.
     */
    @java.lang.Override
    public boolean hasVersionVector() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional .VersionVector versionVector = 2;</code>
     *
     * @return The versionVector.
     */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
        getVersionVector() {
      return versionVector_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : versionVector_;
    }
    /** <code>optional .VersionVector versionVector = 2;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .VersionVectorOrBuilder
        getVersionVectorOrBuilder() {
      return versionVector_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .getDefaultInstance()
          : versionVector_;
    }

    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 (hasVersionVector()) {
        if (!getVersionVector().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 1, replicaId_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getVersionVector());
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(1, replicaId_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                2, getVersionVector());
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData
          other =
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedPublishedEventMetaData)
                  obj;

      if (hasReplicaId() != other.hasReplicaId()) return false;
      if (hasReplicaId()) {
        if (!getReplicaId().equals(other.getReplicaId())) return false;
      }
      if (hasVersionVector() != other.hasVersionVector()) return false;
      if (hasVersionVector()) {
        if (!getVersionVector().equals(other.getVersionVector())) 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 (hasReplicaId()) {
        hash = (37 * hash) + REPLICAID_FIELD_NUMBER;
        hash = (53 * hash) + getReplicaId().hashCode();
      }
      if (hasVersionVector()) {
        hash = (37 * hash) + VERSIONVECTOR_FIELD_NUMBER;
        hash = (53 * hash) + getVersionVector().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedPublishedEventMetaData
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code ReplicatedPublishedEventMetaData} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:ReplicatedPublishedEventMetaData)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaDataOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedPublishedEventMetaData_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedPublishedEventMetaData_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedPublishedEventMetaData.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedPublishedEventMetaData.Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.ReplicatedPublishedEventMetaData.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders) {
          internalGetVersionVectorFieldBuilder();
        }
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        replicaId_ = "";
        versionVector_ = null;
        if (versionVectorBuilder_ != null) {
          versionVectorBuilder_.dispose();
          versionVectorBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_ReplicatedPublishedEventMetaData_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedPublishedEventMetaData
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedPublishedEventMetaData
            result =
                new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .ReplicatedPublishedEventMetaData(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData
              result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.replicaId_ = replicaId_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.versionVector_ =
              versionVectorBuilder_ == null ? versionVector_ : versionVectorBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedPublishedEventMetaData) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedPublishedEventMetaData)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData
              other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .ReplicatedPublishedEventMetaData.getDefaultInstance()) return this;
        if (other.hasReplicaId()) {
          replicaId_ = other.replicaId_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasVersionVector()) {
          mergeVersionVector(other.getVersionVector());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  replicaId_ = input.readBytes();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 18:
                {
                  input.readMessage(
                      internalGetVersionVectorFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.lang.Object replicaId_ = "";
      /**
       * <code>optional string replicaId = 1;</code>
       *
       * @return Whether the replicaId field is set.
       */
      public boolean hasReplicaId() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>optional string replicaId = 1;</code>
       *
       * @return The replicaId.
       */
      public java.lang.String getReplicaId() {
        java.lang.Object ref = replicaId_;
        if (!(ref instanceof java.lang.String)) {
          org.apache.pekko.protobufv3.internal.ByteString bs =
              (org.apache.pekko.protobufv3.internal.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            replicaId_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string replicaId = 1;</code>
       *
       * @return The bytes for replicaId.
       */
      public org.apache.pekko.protobufv3.internal.ByteString getReplicaIdBytes() {
        java.lang.Object ref = replicaId_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b =
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
          replicaId_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>optional string replicaId = 1;</code>
       *
       * @param value The replicaId to set.
       * @return This builder for chaining.
       */
      public Builder setReplicaId(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        replicaId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>optional string replicaId = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearReplicaId() {
        replicaId_ = getDefaultInstance().getReplicaId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>optional string replicaId = 1;</code>
       *
       * @param value The bytes for replicaId to set.
       * @return This builder for chaining.
       */
      public Builder setReplicaIdBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        replicaId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          versionVector_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          versionVectorBuilder_;
      /**
       * <code>optional .VersionVector versionVector = 2;</code>
       *
       * @return Whether the versionVector field is set.
       */
      public boolean hasVersionVector() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>optional .VersionVector versionVector = 2;</code>
       *
       * @return The versionVector.
       */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
          getVersionVector() {
        if (versionVectorBuilder_ == null) {
          return versionVector_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : versionVector_;
        } else {
          return versionVectorBuilder_.getMessage();
        }
      }
      /** <code>optional .VersionVector versionVector = 2;</code> */
      public Builder setVersionVector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (versionVectorBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          versionVector_ = value;
        } else {
          versionVectorBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /** <code>optional .VersionVector versionVector = 2;</code> */
      public Builder setVersionVector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder
              builderForValue) {
        if (versionVectorBuilder_ == null) {
          versionVector_ = builderForValue.build();
        } else {
          versionVectorBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /** <code>optional .VersionVector versionVector = 2;</code> */
      public Builder mergeVersionVector(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              value) {
        if (versionVectorBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)
              && versionVector_ != null
              && versionVector_
                  != org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.getDefaultInstance()) {
            getVersionVectorBuilder().mergeFrom(value);
          } else {
            versionVector_ = value;
          }
        } else {
          versionVectorBuilder_.mergeFrom(value);
        }
        if (versionVector_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /** <code>optional .VersionVector versionVector = 2;</code> */
      public Builder clearVersionVector() {
        bitField0_ = (bitField0_ & ~0x00000002);
        versionVector_ = null;
        if (versionVectorBuilder_ != null) {
          versionVectorBuilder_.dispose();
          versionVectorBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /** <code>optional .VersionVector versionVector = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
              .Builder
          getVersionVectorBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return internalGetVersionVectorFieldBuilder().getBuilder();
      }
      /** <code>optional .VersionVector versionVector = 2;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .VersionVectorOrBuilder
          getVersionVectorOrBuilder() {
        if (versionVectorBuilder_ != null) {
          return versionVectorBuilder_.getMessageOrBuilder();
        } else {
          return versionVector_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector.getDefaultInstance()
              : versionVector_;
        }
      }
      /** <code>optional .VersionVector versionVector = 2;</code> */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVector,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.VersionVector
                  .Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .VersionVectorOrBuilder>
          internalGetVersionVectorFieldBuilder() {
        if (versionVectorBuilder_ == null) {
          versionVectorBuilder_ =
              new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVector.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .VersionVectorOrBuilder>(
                  getVersionVector(), getParentForChildren(), isClean());
          versionVector_ = null;
        }
        return versionVectorBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:ReplicatedPublishedEventMetaData)
    }

    // @@protoc_insertion_point(class_scope:ReplicatedPublishedEventMetaData)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<
            ReplicatedPublishedEventMetaData>
        PARSER =
            new org.apache.pekko.protobufv3.internal.AbstractParser<
                ReplicatedPublishedEventMetaData>() {
              @java.lang.Override
              public ReplicatedPublishedEventMetaData parsePartialFrom(
                  org.apache.pekko.protobufv3.internal.CodedInputStream input,
                  org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                  throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
                Builder builder = newBuilder();
                try {
                  builder.mergeFrom(input, extensionRegistry);
                } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
                  throw e.setUnfinishedMessage(builder.buildPartial());
                } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
                  throw e.asInvalidProtocolBufferException()
                      .setUnfinishedMessage(builder.buildPartial());
                } catch (java.io.IOException e) {
                  throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                      .setUnfinishedMessage(builder.buildPartial());
                }
                return builder.buildPartial();
              }
            };

    public static org.apache.pekko.protobufv3.internal.Parser<ReplicatedPublishedEventMetaData>
        parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<ReplicatedPublishedEventMetaData>
        getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  public interface PublishedEventOrBuilder
      extends
      // @@protoc_insertion_point(interface_extends:PublishedEvent)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>optional string persistenceId = 1;</code>
     *
     * @return Whether the persistenceId field is set.
     */
    boolean hasPersistenceId();
    /**
     * <code>optional string persistenceId = 1;</code>
     *
     * @return The persistenceId.
     */
    java.lang.String getPersistenceId();
    /**
     * <code>optional string persistenceId = 1;</code>
     *
     * @return The bytes for persistenceId.
     */
    org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes();

    /**
     * <code>optional int64 sequenceNr = 2;</code>
     *
     * @return Whether the sequenceNr field is set.
     */
    boolean hasSequenceNr();
    /**
     * <code>optional int64 sequenceNr = 2;</code>
     *
     * @return The sequenceNr.
     */
    long getSequenceNr();

    /**
     * <code>optional .Payload payload = 3;</code>
     *
     * @return Whether the payload field is set.
     */
    boolean hasPayload();
    /**
     * <code>optional .Payload payload = 3;</code>
     *
     * @return The payload.
     */
    org.apache.pekko.remote.ContainerFormats.Payload getPayload();
    /** <code>optional .Payload payload = 3;</code> */
    org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getPayloadOrBuilder();

    /**
     * <code>optional int64 timestamp = 4;</code>
     *
     * @return Whether the timestamp field is set.
     */
    boolean hasTimestamp();
    /**
     * <code>optional int64 timestamp = 4;</code>
     *
     * @return The timestamp.
     */
    long getTimestamp();

    /**
     * <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code>
     *
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code>
     *
     * @return The metadata.
     */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        getMetadata();
    /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
    org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaDataOrBuilder
        getMetadataOrBuilder();
  }
  /** Protobuf type {@code PublishedEvent} */
  public static final class PublishedEvent
      extends org.apache.pekko.protobufv3.internal.GeneratedMessage
      implements
      // @@protoc_insertion_point(message_implements:PublishedEvent)
      PublishedEventOrBuilder {
    private static final long serialVersionUID = 0L;

    static {
      org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "PublishedEvent");
    }
    // Use PublishedEvent.newBuilder() to construct.
    private PublishedEvent(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }

    private PublishedEvent() {
      persistenceId_ = "";
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_PublishedEvent_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
          .internal_static_PublishedEvent_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .PublishedEvent.class,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .PublishedEvent.Builder.class);
    }

    private int bitField0_;
    public static final int PERSISTENCEID_FIELD_NUMBER = 1;

    @SuppressWarnings("serial")
    private volatile java.lang.Object persistenceId_ = "";
    /**
     * <code>optional string persistenceId = 1;</code>
     *
     * @return Whether the persistenceId field is set.
     */
    @java.lang.Override
    public boolean hasPersistenceId() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>optional string persistenceId = 1;</code>
     *
     * @return The persistenceId.
     */
    @java.lang.Override
    public java.lang.String getPersistenceId() {
      java.lang.Object ref = persistenceId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        org.apache.pekko.protobufv3.internal.ByteString bs =
            (org.apache.pekko.protobufv3.internal.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          persistenceId_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string persistenceId = 1;</code>
     *
     * @return The bytes for persistenceId.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes() {
      java.lang.Object ref = persistenceId_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b =
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
        persistenceId_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int SEQUENCENR_FIELD_NUMBER = 2;
    private long sequenceNr_ = 0L;
    /**
     * <code>optional int64 sequenceNr = 2;</code>
     *
     * @return Whether the sequenceNr field is set.
     */
    @java.lang.Override
    public boolean hasSequenceNr() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>optional int64 sequenceNr = 2;</code>
     *
     * @return The sequenceNr.
     */
    @java.lang.Override
    public long getSequenceNr() {
      return sequenceNr_;
    }

    public static final int PAYLOAD_FIELD_NUMBER = 3;
    private org.apache.pekko.remote.ContainerFormats.Payload payload_;
    /**
     * <code>optional .Payload payload = 3;</code>
     *
     * @return Whether the payload field is set.
     */
    @java.lang.Override
    public boolean hasPayload() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>optional .Payload payload = 3;</code>
     *
     * @return The payload.
     */
    @java.lang.Override
    public org.apache.pekko.remote.ContainerFormats.Payload getPayload() {
      return payload_ == null
          ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()
          : payload_;
    }
    /** <code>optional .Payload payload = 3;</code> */
    @java.lang.Override
    public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getPayloadOrBuilder() {
      return payload_ == null
          ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()
          : payload_;
    }

    public static final int TIMESTAMP_FIELD_NUMBER = 4;
    private long timestamp_ = 0L;
    /**
     * <code>optional int64 timestamp = 4;</code>
     *
     * @return Whether the timestamp field is set.
     */
    @java.lang.Override
    public boolean hasTimestamp() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>optional int64 timestamp = 4;</code>
     *
     * @return The timestamp.
     */
    @java.lang.Override
    public long getTimestamp() {
      return timestamp_;
    }

    public static final int METADATA_FIELD_NUMBER = 5;
    private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        metadata_;
    /**
     * <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code>
     *
     * @return Whether the metadata field is set.
     */
    @java.lang.Override
    public boolean hasMetadata() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     * <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code>
     *
     * @return The metadata.
     */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaData
        getMetadata() {
      return metadata_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData.getDefaultInstance()
          : metadata_;
    }
    /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .ReplicatedPublishedEventMetaDataOrBuilder
        getMetadataOrBuilder() {
      return metadata_ == null
          ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData.getDefaultInstance()
          : metadata_;
    }

    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 (hasPayload()) {
        if (!getPayload().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      if (hasMetadata()) {
        if (!getMetadata().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(
            output, 1, persistenceId_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt64(2, sequenceNr_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getPayload());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeInt64(4, timestamp_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        output.writeMessage(5, getMetadata());
      }
      getUnknownFields().writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(
                1, persistenceId_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeInt64Size(2, sequenceNr_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                3, getPayload());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeInt64Size(4, timestamp_);
      }
      if (((bitField0_ & 0x00000010) != 0)) {
        size +=
            org.apache.pekko.protobufv3.internal.CodedOutputStream.computeMessageSize(
                5, getMetadata());
      }
      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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .PublishedEvent)) {
        return super.equals(obj);
      }
      org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
          other =
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .PublishedEvent)
                  obj;

      if (hasPersistenceId() != other.hasPersistenceId()) return false;
      if (hasPersistenceId()) {
        if (!getPersistenceId().equals(other.getPersistenceId())) return false;
      }
      if (hasSequenceNr() != other.hasSequenceNr()) return false;
      if (hasSequenceNr()) {
        if (getSequenceNr() != other.getSequenceNr()) return false;
      }
      if (hasPayload() != other.hasPayload()) return false;
      if (hasPayload()) {
        if (!getPayload().equals(other.getPayload())) return false;
      }
      if (hasTimestamp() != other.hasTimestamp()) return false;
      if (hasTimestamp()) {
        if (getTimestamp() != other.getTimestamp()) return false;
      }
      if (hasMetadata() != other.hasMetadata()) return false;
      if (hasMetadata()) {
        if (!getMetadata().equals(other.getMetadata())) 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 (hasPersistenceId()) {
        hash = (37 * hash) + PERSISTENCEID_FIELD_NUMBER;
        hash = (53 * hash) + getPersistenceId().hashCode();
      }
      if (hasSequenceNr()) {
        hash = (37 * hash) + SEQUENCENR_FIELD_NUMBER;
        hash =
            (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(getSequenceNr());
      }
      if (hasPayload()) {
        hash = (37 * hash) + PAYLOAD_FIELD_NUMBER;
        hash = (53 * hash) + getPayload().hashCode();
      }
      if (hasTimestamp()) {
        hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
        hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(getTimestamp());
      }
      if (hasMetadata()) {
        hash = (37 * hash) + METADATA_FIELD_NUMBER;
        hash = (53 * hash) + getMetadata().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(java.nio.ByteBuffer data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(
            java.nio.ByteBuffer data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(
            org.apache.pekko.protobufv3.internal.ByteString data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(byte[] data)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(
            byte[] data,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseDelimitedFrom(
            java.io.InputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseDelimitedWithIOException(
          PARSER, input, extensionRegistry);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.parseWithIOException(
          PARSER, input);
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        parseFrom(
            org.apache.pekko.protobufv3.internal.CodedInputStream input,
            org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage.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.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
            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(
        org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /** Protobuf type {@code PublishedEvent} */
    public static final class Builder
        extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder>
        implements
        // @@protoc_insertion_point(builder_implements:PublishedEvent)
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEventOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_PublishedEvent_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_PublishedEvent_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .PublishedEvent.class,
                org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .PublishedEvent.Builder.class);
      }

      // Construct using
      // org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(org.apache.pekko.protobufv3.internal.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }

      private void maybeForceBuilderInitialization() {
        if (org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders) {
          internalGetPayloadFieldBuilder();
          internalGetMetadataFieldBuilder();
        }
      }

      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        persistenceId_ = "";
        sequenceNr_ = 0L;
        payload_ = null;
        if (payloadBuilder_ != null) {
          payloadBuilder_.dispose();
          payloadBuilder_ = null;
        }
        timestamp_ = 0L;
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .internal_static_PublishedEvent_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
          getDefaultInstanceForType() {
        return org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
          build() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
            result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
          buildPartial() {
        org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
            result =
                new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                    .PublishedEvent(this);
        if (bitField0_ != 0) {
          buildPartial0(result);
        }
        onBuilt();
        return result;
      }

      private void buildPartial0(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
              result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.persistenceId_ = persistenceId_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.sequenceNr_ = sequenceNr_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.payload_ = payloadBuilder_ == null ? payload_ : payloadBuilder_.build();
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.timestamp_ = timestamp_;
          to_bitField0_ |= 0x00000008;
        }
        if (((from_bitField0_ & 0x00000010) != 0)) {
          result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
          to_bitField0_ |= 0x00000010;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other
            instanceof
            org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .PublishedEvent) {
          return mergeFrom(
              (org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .PublishedEvent)
                  other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
              other) {
        if (other
            == org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                .PublishedEvent.getDefaultInstance()) return this;
        if (other.hasPersistenceId()) {
          persistenceId_ = other.persistenceId_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasSequenceNr()) {
          setSequenceNr(other.getSequenceNr());
        }
        if (other.hasPayload()) {
          mergePayload(other.getPayload());
        }
        if (other.hasTimestamp()) {
          setTimestamp(other.getTimestamp());
        }
        if (other.hasMetadata()) {
          mergeMetadata(other.getMetadata());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (hasPayload()) {
          if (!getPayload().isInitialized()) {
            return false;
          }
        }
        if (hasMetadata()) {
          if (!getMetadata().isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.pekko.protobufv3.internal.CodedInputStream input,
          org.apache.pekko.protobufv3.internal.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:
                {
                  persistenceId_ = input.readBytes();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 10
              case 16:
                {
                  sequenceNr_ = input.readInt64();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 16
              case 26:
                {
                  input.readMessage(
                      internalGetPayloadFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000004;
                  break;
                } // case 26
              case 32:
                {
                  timestamp_ = input.readInt64();
                  bitField0_ |= 0x00000008;
                  break;
                } // case 32
              case 42:
                {
                  input.readMessage(
                      internalGetMetadataFieldBuilder().getBuilder(), extensionRegistry);
                  bitField0_ |= 0x00000010;
                  break;
                } // case 42
              default:
                {
                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                    done = true; // was an endgroup tag
                  }
                  break;
                } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }

      private int bitField0_;

      private java.lang.Object persistenceId_ = "";
      /**
       * <code>optional string persistenceId = 1;</code>
       *
       * @return Whether the persistenceId field is set.
       */
      public boolean hasPersistenceId() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>optional string persistenceId = 1;</code>
       *
       * @return The persistenceId.
       */
      public java.lang.String getPersistenceId() {
        java.lang.Object ref = persistenceId_;
        if (!(ref instanceof java.lang.String)) {
          org.apache.pekko.protobufv3.internal.ByteString bs =
              (org.apache.pekko.protobufv3.internal.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            persistenceId_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string persistenceId = 1;</code>
       *
       * @return The bytes for persistenceId.
       */
      public org.apache.pekko.protobufv3.internal.ByteString getPersistenceIdBytes() {
        java.lang.Object ref = persistenceId_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b =
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8((java.lang.String) ref);
          persistenceId_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>optional string persistenceId = 1;</code>
       *
       * @param value The persistenceId to set.
       * @return This builder for chaining.
       */
      public Builder setPersistenceId(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        persistenceId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>optional string persistenceId = 1;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearPersistenceId() {
        persistenceId_ = getDefaultInstance().getPersistenceId();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>optional string persistenceId = 1;</code>
       *
       * @param value The bytes for persistenceId to set.
       * @return This builder for chaining.
       */
      public Builder setPersistenceIdBytes(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) {
          throw new NullPointerException();
        }
        persistenceId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private long sequenceNr_;
      /**
       * <code>optional int64 sequenceNr = 2;</code>
       *
       * @return Whether the sequenceNr field is set.
       */
      @java.lang.Override
      public boolean hasSequenceNr() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>optional int64 sequenceNr = 2;</code>
       *
       * @return The sequenceNr.
       */
      @java.lang.Override
      public long getSequenceNr() {
        return sequenceNr_;
      }
      /**
       * <code>optional int64 sequenceNr = 2;</code>
       *
       * @param value The sequenceNr to set.
       * @return This builder for chaining.
       */
      public Builder setSequenceNr(long value) {

        sequenceNr_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>optional int64 sequenceNr = 2;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearSequenceNr() {
        bitField0_ = (bitField0_ & ~0x00000002);
        sequenceNr_ = 0L;
        onChanged();
        return this;
      }

      private org.apache.pekko.remote.ContainerFormats.Payload payload_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.remote.ContainerFormats.Payload,
              org.apache.pekko.remote.ContainerFormats.Payload.Builder,
              org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
          payloadBuilder_;
      /**
       * <code>optional .Payload payload = 3;</code>
       *
       * @return Whether the payload field is set.
       */
      public boolean hasPayload() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>optional .Payload payload = 3;</code>
       *
       * @return The payload.
       */
      public org.apache.pekko.remote.ContainerFormats.Payload getPayload() {
        if (payloadBuilder_ == null) {
          return payload_ == null
              ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()
              : payload_;
        } else {
          return payloadBuilder_.getMessage();
        }
      }
      /** <code>optional .Payload payload = 3;</code> */
      public Builder setPayload(org.apache.pekko.remote.ContainerFormats.Payload value) {
        if (payloadBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          payload_ = value;
        } else {
          payloadBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /** <code>optional .Payload payload = 3;</code> */
      public Builder setPayload(
          org.apache.pekko.remote.ContainerFormats.Payload.Builder builderForValue) {
        if (payloadBuilder_ == null) {
          payload_ = builderForValue.build();
        } else {
          payloadBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /** <code>optional .Payload payload = 3;</code> */
      public Builder mergePayload(org.apache.pekko.remote.ContainerFormats.Payload value) {
        if (payloadBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)
              && payload_ != null
              && payload_
                  != org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()) {
            getPayloadBuilder().mergeFrom(value);
          } else {
            payload_ = value;
          }
        } else {
          payloadBuilder_.mergeFrom(value);
        }
        if (payload_ != null) {
          bitField0_ |= 0x00000004;
          onChanged();
        }
        return this;
      }
      /** <code>optional .Payload payload = 3;</code> */
      public Builder clearPayload() {
        bitField0_ = (bitField0_ & ~0x00000004);
        payload_ = null;
        if (payloadBuilder_ != null) {
          payloadBuilder_.dispose();
          payloadBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /** <code>optional .Payload payload = 3;</code> */
      public org.apache.pekko.remote.ContainerFormats.Payload.Builder getPayloadBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return internalGetPayloadFieldBuilder().getBuilder();
      }
      /** <code>optional .Payload payload = 3;</code> */
      public org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder getPayloadOrBuilder() {
        if (payloadBuilder_ != null) {
          return payloadBuilder_.getMessageOrBuilder();
        } else {
          return payload_ == null
              ? org.apache.pekko.remote.ContainerFormats.Payload.getDefaultInstance()
              : payload_;
        }
      }
      /** <code>optional .Payload payload = 3;</code> */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.remote.ContainerFormats.Payload,
              org.apache.pekko.remote.ContainerFormats.Payload.Builder,
              org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>
          internalGetPayloadFieldBuilder() {
        if (payloadBuilder_ == null) {
          payloadBuilder_ =
              new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                  org.apache.pekko.remote.ContainerFormats.Payload,
                  org.apache.pekko.remote.ContainerFormats.Payload.Builder,
                  org.apache.pekko.remote.ContainerFormats.PayloadOrBuilder>(
                  getPayload(), getParentForChildren(), isClean());
          payload_ = null;
        }
        return payloadBuilder_;
      }

      private long timestamp_;
      /**
       * <code>optional int64 timestamp = 4;</code>
       *
       * @return Whether the timestamp field is set.
       */
      @java.lang.Override
      public boolean hasTimestamp() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>optional int64 timestamp = 4;</code>
       *
       * @return The timestamp.
       */
      @java.lang.Override
      public long getTimestamp() {
        return timestamp_;
      }
      /**
       * <code>optional int64 timestamp = 4;</code>
       *
       * @param value The timestamp to set.
       * @return This builder for chaining.
       */
      public Builder setTimestamp(long value) {

        timestamp_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>optional int64 timestamp = 4;</code>
       *
       * @return This builder for chaining.
       */
      public Builder clearTimestamp() {
        bitField0_ = (bitField0_ & ~0x00000008);
        timestamp_ = 0L;
        onChanged();
        return this;
      }

      private org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData
          metadata_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaDataOrBuilder>
          metadataBuilder_;
      /**
       * <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code>
       *
       * @return Whether the metadata field is set.
       */
      public boolean hasMetadata() {
        return ((bitField0_ & 0x00000010) != 0);
      }
      /**
       * <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code>
       *
       * @return The metadata.
       */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData
          getMetadata() {
        if (metadataBuilder_ == null) {
          return metadata_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData.getDefaultInstance()
              : metadata_;
        } else {
          return metadataBuilder_.getMessage();
        }
      }
      /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
      public Builder setMetadata(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData
              value) {
        if (metadataBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metadata_ = value;
        } else {
          metadataBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
      public Builder setMetadata(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData.Builder
              builderForValue) {
        if (metadataBuilder_ == null) {
          metadata_ = builderForValue.build();
        } else {
          metadataBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000010;
        onChanged();
        return this;
      }
      /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
      public Builder mergeMetadata(
          org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData
              value) {
        if (metadataBuilder_ == null) {
          if (((bitField0_ & 0x00000010) != 0)
              && metadata_ != null
              && metadata_
                  != org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedPublishedEventMetaData.getDefaultInstance()) {
            getMetadataBuilder().mergeFrom(value);
          } else {
            metadata_ = value;
          }
        } else {
          metadataBuilder_.mergeFrom(value);
        }
        if (metadata_ != null) {
          bitField0_ |= 0x00000010;
          onChanged();
        }
        return this;
      }
      /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
      public Builder clearMetadata() {
        bitField0_ = (bitField0_ & ~0x00000010);
        metadata_ = null;
        if (metadataBuilder_ != null) {
          metadataBuilder_.dispose();
          metadataBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaData.Builder
          getMetadataBuilder() {
        bitField0_ |= 0x00000010;
        onChanged();
        return internalGetMetadataFieldBuilder().getBuilder();
      }
      /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
      public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .ReplicatedPublishedEventMetaDataOrBuilder
          getMetadataOrBuilder() {
        if (metadataBuilder_ != null) {
          return metadataBuilder_.getMessageOrBuilder();
        } else {
          return metadata_ == null
              ? org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData.getDefaultInstance()
              : metadata_;
        }
      }
      /** <code>optional .ReplicatedPublishedEventMetaData metadata = 5;</code> */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaData.Builder,
              org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                  .ReplicatedPublishedEventMetaDataOrBuilder>
          internalGetMetadataFieldBuilder() {
        if (metadataBuilder_ == null) {
          metadataBuilder_ =
              new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedPublishedEventMetaData,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedPublishedEventMetaData.Builder,
                  org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
                      .ReplicatedPublishedEventMetaDataOrBuilder>(
                  getMetadata(), getParentForChildren(), isClean());
          metadata_ = null;
        }
        return metadataBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:PublishedEvent)
    }

    // @@protoc_insertion_point(class_scope:PublishedEvent)
    private static final org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        DEFAULT_INSTANCE;

    static {
      DEFAULT_INSTANCE =
          new org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
              .PublishedEvent();
    }

    public static org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing
            .PublishedEvent
        getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<PublishedEvent> PARSER =
        new org.apache.pekko.protobufv3.internal.AbstractParser<PublishedEvent>() {
          @java.lang.Override
          public PublishedEvent parsePartialFrom(
              org.apache.pekko.protobufv3.internal.CodedInputStream input,
              org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
              throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
            Builder builder = newBuilder();
            try {
              builder.mergeFrom(input, extensionRegistry);
            } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
              throw e.setUnfinishedMessage(builder.buildPartial());
            } catch (org.apache.pekko.protobufv3.internal.UninitializedMessageException e) {
              throw e.asInvalidProtocolBufferException()
                  .setUnfinishedMessage(builder.buildPartial());
            } catch (java.io.IOException e) {
              throw new org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException(e)
                  .setUnfinishedMessage(builder.buildPartial());
            }
            return builder.buildPartial();
          }
        };

    public static org.apache.pekko.protobufv3.internal.Parser<PublishedEvent> parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.Parser<PublishedEvent> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.pekko.persistence.typed.serialization.ReplicatedEventSourcing.PublishedEvent
        getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }

  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_Counter_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_Counter_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_CounterUpdate_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_CounterUpdate_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_ORSet_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_ORSet_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_ORSetDeltaGroup_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_ORSetDeltaGroup_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_ORSetDeltaGroup_Entry_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_ORSetDeltaGroup_Entry_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_VersionVector_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_VersionVector_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_VersionVector_Entry_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_VersionVector_Entry_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_ReplicatedEventMetadata_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_ReplicatedEventMetadata_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_ReplicatedSnapshotMetadata_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_ReplicatedSnapshotMetadata_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_ReplicatedSnapshotMetadata_Seen_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_ReplicatedSnapshotMetadata_Seen_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_ReplicatedPublishedEventMetaData_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_ReplicatedPublishedEventMetaData_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
      internal_static_PublishedEvent_descriptor;
  private static final org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_PublishedEvent_fieldAccessorTable;

  public static org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n\035ReplicatedEventSourcing.proto\032\026Contain"
          + "erFormats.proto\"\030\n\007Counter\022\r\n\005value\030\001 \002("
          + "\014\"\036\n\rCounterUpdate\022\r\n\005delta\030\001 \002(\014\"\304\001\n\005OR"
          + "Set\022\020\n\010originDc\030\001 \002(\t\022\037\n\007vvector\030\002 \002(\0132\016"
          + ".VersionVector\022\034\n\004dots\030\003 \003(\0132\016.VersionVe"
          + "ctor\022\026\n\016stringElements\030\004 \003(\t\022\027\n\013intEleme"
          + "nts\030\005 \003(\021B\002\020\001\022\030\n\014longElements\030\006 \003(\022B\002\020\001\022"
          + "\037\n\rotherElements\030\007 \003(\0132\010.Payload\"\201\001\n\017ORS"
          + "etDeltaGroup\022\'\n\007entries\030\001 \003(\0132\026.ORSetDel"
          + "taGroup.Entry\032E\n\005Entry\022 \n\toperation\030\001 \002("
          + "\0162\r.ORSetDeltaOp\022\032\n\nunderlying\030\002 \002(\0132\006.O"
          + "RSet\"]\n\rVersionVector\022%\n\007entries\030\001 \003(\0132\024"
          + ".VersionVector.Entry\032%\n\005Entry\022\013\n\003key\030\001 \002"
          + "(\t\022\017\n\007version\030\002 \002(\003\"\205\001\n\027ReplicatedEventM"
          + "etadata\022\025\n\roriginReplica\030\001 \002(\t\022\030\n\020origin"
          + "SequenceNr\030\002 \002(\003\022%\n\rversionVector\030\003 \002(\0132"
          + "\016.VersionVector\022\022\n\nconcurrent\030\004 \002(\010\"\246\001\n\032"
          + "ReplicatedSnapshotMetadata\022\037\n\007version\030\001 "
          + "\002(\0132\016.VersionVector\0228\n\016seenPerReplica\030\002 "
          + "\003(\0132 .ReplicatedSnapshotMetadata.Seen\032-\n"
          + "\004Seen\022\021\n\treplicaId\030\001 \002(\t\022\022\n\nsequenceNr\030\002"
          + " \002(\003\"\\\n ReplicatedPublishedEventMetaData"
          + "\022\021\n\treplicaId\030\001 \001(\t\022%\n\rversionVector\030\002 \001"
          + "(\0132\016.VersionVector\"\236\001\n\016PublishedEvent\022\025\n"
          + "\rpersistenceId\030\001 \001(\t\022\022\n\nsequenceNr\030\002 \001(\003"
          + "\022\031\n\007payload\030\003 \001(\0132\010.Payload\022\021\n\ttimestamp"
          + "\030\004 \001(\003\0223\n\010metadata\030\005 \001(\0132!.ReplicatedPub"
          + "lishedEventMetaData*-\n\014ORSetDeltaOp\022\007\n\003A"
          + "dd\020\000\022\n\n\006Remove\020\001\022\010\n\004Full\020\002B4\n0org.apache"
          + ".pekko.persistence.typed.serializationH\001"
    };
    descriptor =
        org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor
            .internalBuildGeneratedFileFrom(
                descriptorData,
                new org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor[] {
                  org.apache.pekko.remote.ContainerFormats.getDescriptor(),
                });
    internal_static_Counter_descriptor = getDescriptor().getMessageType(0);
    internal_static_Counter_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_Counter_descriptor,
            new java.lang.String[] {
              "Value",
            });
    internal_static_CounterUpdate_descriptor = getDescriptor().getMessageType(1);
    internal_static_CounterUpdate_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_CounterUpdate_descriptor,
            new java.lang.String[] {
              "Delta",
            });
    internal_static_ORSet_descriptor = getDescriptor().getMessageType(2);
    internal_static_ORSet_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_ORSet_descriptor,
            new java.lang.String[] {
              "OriginDc",
              "Vvector",
              "Dots",
              "StringElements",
              "IntElements",
              "LongElements",
              "OtherElements",
            });
    internal_static_ORSetDeltaGroup_descriptor = getDescriptor().getMessageType(3);
    internal_static_ORSetDeltaGroup_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_ORSetDeltaGroup_descriptor,
            new java.lang.String[] {
              "Entries",
            });
    internal_static_ORSetDeltaGroup_Entry_descriptor =
        internal_static_ORSetDeltaGroup_descriptor.getNestedType(0);
    internal_static_ORSetDeltaGroup_Entry_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_ORSetDeltaGroup_Entry_descriptor,
            new java.lang.String[] {
              "Operation", "Underlying",
            });
    internal_static_VersionVector_descriptor = getDescriptor().getMessageType(4);
    internal_static_VersionVector_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_VersionVector_descriptor,
            new java.lang.String[] {
              "Entries",
            });
    internal_static_VersionVector_Entry_descriptor =
        internal_static_VersionVector_descriptor.getNestedType(0);
    internal_static_VersionVector_Entry_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_VersionVector_Entry_descriptor,
            new java.lang.String[] {
              "Key", "Version",
            });
    internal_static_ReplicatedEventMetadata_descriptor = getDescriptor().getMessageType(5);
    internal_static_ReplicatedEventMetadata_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_ReplicatedEventMetadata_descriptor,
            new java.lang.String[] {
              "OriginReplica", "OriginSequenceNr", "VersionVector", "Concurrent",
            });
    internal_static_ReplicatedSnapshotMetadata_descriptor = getDescriptor().getMessageType(6);
    internal_static_ReplicatedSnapshotMetadata_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_ReplicatedSnapshotMetadata_descriptor,
            new java.lang.String[] {
              "Version", "SeenPerReplica",
            });
    internal_static_ReplicatedSnapshotMetadata_Seen_descriptor =
        internal_static_ReplicatedSnapshotMetadata_descriptor.getNestedType(0);
    internal_static_ReplicatedSnapshotMetadata_Seen_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_ReplicatedSnapshotMetadata_Seen_descriptor,
            new java.lang.String[] {
              "ReplicaId", "SequenceNr",
            });
    internal_static_ReplicatedPublishedEventMetaData_descriptor = getDescriptor().getMessageType(7);
    internal_static_ReplicatedPublishedEventMetaData_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_ReplicatedPublishedEventMetaData_descriptor,
            new java.lang.String[] {
              "ReplicaId", "VersionVector",
            });
    internal_static_PublishedEvent_descriptor = getDescriptor().getMessageType(8);
    internal_static_PublishedEvent_fieldAccessorTable =
        new org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
            internal_static_PublishedEvent_descriptor,
            new java.lang.String[] {
              "PersistenceId", "SequenceNr", "Payload", "Timestamp", "Metadata",
            });
    descriptor.resolveAllFeaturesImmutable();
    org.apache.pekko.remote.ContainerFormats.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
