/*
 * 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: ClusterMetricsMessages.proto
// Protobuf Java Version: 4.33.0

package org.apache.pekko.cluster.metrics.protobuf.msg;

@org.apache.pekko.protobufv3.internal.Generated
public final class ClusterMetricsMessages extends org.apache.pekko.protobufv3.internal.GeneratedFile {
  private ClusterMetricsMessages() {}
  static {
    org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
      org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 33,
      /* patch= */ 0,
      /* suffix= */ "",
      "ClusterMetricsMessages");
  }
  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);
  }
  public interface MetricsGossipEnvelopeOrBuilder extends
      // @@protoc_insertion_point(interface_extends:MetricsGossipEnvelope)
      org.apache.pekko.protobufv3.internal.MessageOrBuilder {

    /**
     * <code>required .Address from = 1;</code>
     * @return Whether the from field is set.
     */
    boolean hasFrom();
    /**
     * <code>required .Address from = 1;</code>
     * @return The from.
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getFrom();
    /**
     * <code>required .Address from = 1;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getFromOrBuilder();

    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     * @return Whether the gossip field is set.
     */
    boolean hasGossip();
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     * @return The gossip.
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getGossip();
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder getGossipOrBuilder();

    /**
     * <code>required bool reply = 3;</code>
     * @return Whether the reply field is set.
     */
    boolean hasReply();
    /**
     * <code>required bool reply = 3;</code>
     * @return The reply.
     */
    boolean getReply();
  }
  /**
   * <pre>
   * *
   * Metrics Gossip Envelope
   * </pre>
   *
   * Protobuf type {@code MetricsGossipEnvelope}
   */
  public static final class MetricsGossipEnvelope extends
      org.apache.pekko.protobufv3.internal.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:MetricsGossipEnvelope)
      MetricsGossipEnvelopeOrBuilder {
  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= */ "",
        "MetricsGossipEnvelope");
    }
    // Use MetricsGossipEnvelope.newBuilder() to construct.
    private MetricsGossipEnvelope(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private MetricsGossipEnvelope() {
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.Builder.class);
    }

    private int bitField0_;
    public static final int FROM_FIELD_NUMBER = 1;
    private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address from_;
    /**
     * <code>required .Address from = 1;</code>
     * @return Whether the from field is set.
     */
    @java.lang.Override
    public boolean hasFrom() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required .Address from = 1;</code>
     * @return The from.
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getFrom() {
      return from_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance() : from_;
    }
    /**
     * <code>required .Address from = 1;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getFromOrBuilder() {
      return from_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance() : from_;
    }

    public static final int GOSSIP_FIELD_NUMBER = 2;
    private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip gossip_;
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     * @return Whether the gossip field is set.
     */
    @java.lang.Override
    public boolean hasGossip() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     * @return The gossip.
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getGossip() {
      return gossip_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance() : gossip_;
    }
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder getGossipOrBuilder() {
      return gossip_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance() : gossip_;
    }

    public static final int REPLY_FIELD_NUMBER = 3;
    private boolean reply_ = false;
    /**
     * <code>required bool reply = 3;</code>
     * @return Whether the reply field is set.
     */
    @java.lang.Override
    public boolean hasReply() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>required bool reply = 3;</code>
     * @return The reply.
     */
    @java.lang.Override
    public boolean getReply() {
      return reply_;
    }

    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 (!hasFrom()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasGossip()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasReply()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getFrom().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getGossip().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, getFrom());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getGossip());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeBool(3, reply_);
      }
      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, getFrom());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeMessageSize(2, getGossip());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeBoolSize(3, reply_);
      }
      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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope)) {
        return super.equals(obj);
      }
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope) obj;

      if (hasFrom() != other.hasFrom()) return false;
      if (hasFrom()) {
        if (!getFrom()
            .equals(other.getFrom())) return false;
      }
      if (hasGossip() != other.hasGossip()) return false;
      if (hasGossip()) {
        if (!getGossip()
            .equals(other.getGossip())) return false;
      }
      if (hasReply() != other.hasReply()) return false;
      if (hasReply()) {
        if (getReply()
            != other.getReply()) 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 (hasFrom()) {
        hash = (37 * hash) + FROM_FIELD_NUMBER;
        hash = (53 * hash) + getFrom().hashCode();
      }
      if (hasGossip()) {
        hash = (37 * hash) + GOSSIP_FIELD_NUMBER;
        hash = (53 * hash) + getGossip().hashCode();
      }
      if (hasReply()) {
        hash = (37 * hash) + REPLY_FIELD_NUMBER;
        hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashBoolean(
            getReply());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        org.apache.pekko.protobufv3.internal.ByteString data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(byte[] data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope 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;
    }
    /**
     * <pre>
     * *
     * Metrics Gossip Envelope
     * </pre>
     *
     * Protobuf type {@code MetricsGossipEnvelope}
     */
    public static final class Builder extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:MetricsGossipEnvelope)
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelopeOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.Builder.class);
      }

      // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.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) {
          internalGetFromFieldBuilder();
          internalGetGossipFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        from_ = null;
        if (fromBuilder_ != null) {
          fromBuilder_.dispose();
          fromBuilder_ = null;
        }
        gossip_ = null;
        if (gossipBuilder_ != null) {
          gossipBuilder_.dispose();
          gossipBuilder_ = null;
        }
        reply_ = false;
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope getDefaultInstanceForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope build() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope buildPartial() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.from_ = fromBuilder_ == null
              ? from_
              : fromBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.gossip_ = gossipBuilder_ == null
              ? gossip_
              : gossipBuilder_.build();
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.reply_ = reply_;
          to_bitField0_ |= 0x00000004;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other instanceof org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope) {
          return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope other) {
        if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.getDefaultInstance()) return this;
        if (other.hasFrom()) {
          mergeFrom(other.getFrom());
        }
        if (other.hasGossip()) {
          mergeGossip(other.getGossip());
        }
        if (other.hasReply()) {
          setReply(other.getReply());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasFrom()) {
          return false;
        }
        if (!hasGossip()) {
          return false;
        }
        if (!hasReply()) {
          return false;
        }
        if (!getFrom().isInitialized()) {
          return false;
        }
        if (!getGossip().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(
                    internalGetFromFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                input.readMessage(
                    internalGetGossipFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 24: {
                reply_ = input.readBool();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address from_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> fromBuilder_;
      /**
       * <code>required .Address from = 1;</code>
       * @return Whether the from field is set.
       */
      public boolean hasFrom() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .Address from = 1;</code>
       * @return The from.
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getFrom() {
        if (fromBuilder_ == null) {
          return from_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance() : from_;
        } else {
          return fromBuilder_.getMessage();
        }
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder setFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
        if (fromBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          from_ = value;
        } else {
          fromBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder setFrom(
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder builderForValue) {
        if (fromBuilder_ == null) {
          from_ = builderForValue.build();
        } else {
          fromBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
        if (fromBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            from_ != null &&
            from_ != org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance()) {
            getFromBuilder().mergeFrom(value);
          } else {
            from_ = value;
          }
        } else {
          fromBuilder_.mergeFrom(value);
        }
        if (from_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder clearFrom() {
        bitField0_ = (bitField0_ & ~0x00000001);
        from_ = null;
        if (fromBuilder_ != null) {
          fromBuilder_.dispose();
          fromBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder getFromBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return internalGetFromFieldBuilder().getBuilder();
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getFromOrBuilder() {
        if (fromBuilder_ != null) {
          return fromBuilder_.getMessageOrBuilder();
        } else {
          return from_ == null ?
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance() : from_;
        }
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
          internalGetFromFieldBuilder() {
        if (fromBuilder_ == null) {
          fromBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder>(
                  getFrom(),
                  getParentForChildren(),
                  isClean());
          from_ = null;
        }
        return fromBuilder_;
      }

      private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip gossip_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder> gossipBuilder_;
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       * @return Whether the gossip field is set.
       */
      public boolean hasGossip() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       * @return The gossip.
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getGossip() {
        if (gossipBuilder_ == null) {
          return gossip_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance() : gossip_;
        } else {
          return gossipBuilder_.getMessage();
        }
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder setGossip(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip value) {
        if (gossipBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          gossip_ = value;
        } else {
          gossipBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder setGossip(
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder builderForValue) {
        if (gossipBuilder_ == null) {
          gossip_ = builderForValue.build();
        } else {
          gossipBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder mergeGossip(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip value) {
        if (gossipBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
            gossip_ != null &&
            gossip_ != org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance()) {
            getGossipBuilder().mergeFrom(value);
          } else {
            gossip_ = value;
          }
        } else {
          gossipBuilder_.mergeFrom(value);
        }
        if (gossip_ != null) {
          bitField0_ |= 0x00000002;
          onChanged();
        }
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder clearGossip() {
        bitField0_ = (bitField0_ & ~0x00000002);
        gossip_ = null;
        if (gossipBuilder_ != null) {
          gossipBuilder_.dispose();
          gossipBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder getGossipBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return internalGetGossipFieldBuilder().getBuilder();
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder getGossipOrBuilder() {
        if (gossipBuilder_ != null) {
          return gossipBuilder_.getMessageOrBuilder();
        } else {
          return gossip_ == null ?
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance() : gossip_;
        }
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder> 
          internalGetGossipFieldBuilder() {
        if (gossipBuilder_ == null) {
          gossipBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder>(
                  getGossip(),
                  getParentForChildren(),
                  isClean());
          gossip_ = null;
        }
        return gossipBuilder_;
      }

      private boolean reply_ ;
      /**
       * <code>required bool reply = 3;</code>
       * @return Whether the reply field is set.
       */
      @java.lang.Override
      public boolean hasReply() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>required bool reply = 3;</code>
       * @return The reply.
       */
      @java.lang.Override
      public boolean getReply() {
        return reply_;
      }
      /**
       * <code>required bool reply = 3;</code>
       * @param value The reply to set.
       * @return This builder for chaining.
       */
      public Builder setReply(boolean value) {

        reply_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>required bool reply = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearReply() {
        bitField0_ = (bitField0_ & ~0x00000004);
        reply_ = false;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:MetricsGossipEnvelope)
    }

    // @@protoc_insertion_point(class_scope:MetricsGossipEnvelope)
    private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope();
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<MetricsGossipEnvelope>
        PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<MetricsGossipEnvelope>() {
      @java.lang.Override
      public MetricsGossipEnvelope 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<MetricsGossipEnvelope> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> 
        getAllAddressesList();
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getAllAddresses(int index);
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    int getAllAddressesCount();
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
        getAllAddressesOrBuilderList();
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getAllAddressesOrBuilder(
        int index);

    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @return A list containing the allMetricNames.
     */
    java.util.List<java.lang.String>
        getAllMetricNamesList();
    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @return The count of allMetricNames.
     */
    int getAllMetricNamesCount();
    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @param index The index of the element to return.
     * @return The allMetricNames at the given index.
     */
    java.lang.String getAllMetricNames(int index);
    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @param index The index of the value to return.
     * @return The bytes of the allMetricNames at the given index.
     */
    org.apache.pekko.protobufv3.internal.ByteString
        getAllMetricNamesBytes(int index);

    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> 
        getNodeMetricsList();
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getNodeMetrics(int index);
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    int getNodeMetricsCount();
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> 
        getNodeMetricsOrBuilderList();
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder getNodeMetricsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * *
   * Metrics Gossip
   * </pre>
   *
   * Protobuf type {@code MetricsGossip}
   */
  public static final class MetricsGossip extends
      org.apache.pekko.protobufv3.internal.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:MetricsGossip)
      MetricsGossipOrBuilder {
  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= */ "",
        "MetricsGossip");
    }
    // Use MetricsGossip.newBuilder() to construct.
    private MetricsGossip(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private MetricsGossip() {
      allAddresses_ = java.util.Collections.emptyList();
      allMetricNames_ =
          org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
      nodeMetrics_ = java.util.Collections.emptyList();
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder.class);
    }

    public static final int ALLADDRESSES_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> allAddresses_;
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    @java.lang.Override
    public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> getAllAddressesList() {
      return allAddresses_;
    }
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
        getAllAddressesOrBuilderList() {
      return allAddresses_;
    }
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    @java.lang.Override
    public int getAllAddressesCount() {
      return allAddresses_.size();
    }
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getAllAddresses(int index) {
      return allAddresses_.get(index);
    }
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getAllAddressesOrBuilder(
        int index) {
      return allAddresses_.get(index);
    }

    public static final int ALLMETRICNAMES_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private org.apache.pekko.protobufv3.internal.LazyStringArrayList allMetricNames_ =
        org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @return A list containing the allMetricNames.
     */
    public org.apache.pekko.protobufv3.internal.ProtocolStringList
        getAllMetricNamesList() {
      return allMetricNames_;
    }
    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @return The count of allMetricNames.
     */
    public int getAllMetricNamesCount() {
      return allMetricNames_.size();
    }
    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @param index The index of the element to return.
     * @return The allMetricNames at the given index.
     */
    public java.lang.String getAllMetricNames(int index) {
      return allMetricNames_.get(index);
    }
    /**
     * <code>repeated string allMetricNames = 2;</code>
     * @param index The index of the value to return.
     * @return The bytes of the allMetricNames at the given index.
     */
    public org.apache.pekko.protobufv3.internal.ByteString
        getAllMetricNamesBytes(int index) {
      return allMetricNames_.getByteString(index);
    }

    public static final int NODEMETRICS_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> nodeMetrics_;
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    @java.lang.Override
    public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> getNodeMetricsList() {
      return nodeMetrics_;
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> 
        getNodeMetricsOrBuilderList() {
      return nodeMetrics_;
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    @java.lang.Override
    public int getNodeMetricsCount() {
      return nodeMetrics_.size();
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getNodeMetrics(int index) {
      return nodeMetrics_.get(index);
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder getNodeMetricsOrBuilder(
        int index) {
      return nodeMetrics_.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 < getAllAddressesCount(); i++) {
        if (!getAllAddresses(i).isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      for (int i = 0; i < getNodeMetricsCount(); i++) {
        if (!getNodeMetrics(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 < allAddresses_.size(); i++) {
        output.writeMessage(1, allAddresses_.get(i));
      }
      for (int i = 0; i < allMetricNames_.size(); i++) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 2, allMetricNames_.getRaw(i));
      }
      for (int i = 0; i < nodeMetrics_.size(); i++) {
        output.writeMessage(3, nodeMetrics_.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 < allAddresses_.size(); i++) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeMessageSize(1, allAddresses_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < allMetricNames_.size(); i++) {
          dataSize += computeStringSizeNoTag(allMetricNames_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getAllMetricNamesList().size();
      }
      for (int i = 0; i < nodeMetrics_.size(); i++) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeMessageSize(3, nodeMetrics_.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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip)) {
        return super.equals(obj);
      }
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip) obj;

      if (!getAllAddressesList()
          .equals(other.getAllAddressesList())) return false;
      if (!getAllMetricNamesList()
          .equals(other.getAllMetricNamesList())) return false;
      if (!getNodeMetricsList()
          .equals(other.getNodeMetricsList())) 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 (getAllAddressesCount() > 0) {
        hash = (37 * hash) + ALLADDRESSES_FIELD_NUMBER;
        hash = (53 * hash) + getAllAddressesList().hashCode();
      }
      if (getAllMetricNamesCount() > 0) {
        hash = (37 * hash) + ALLMETRICNAMES_FIELD_NUMBER;
        hash = (53 * hash) + getAllMetricNamesList().hashCode();
      }
      if (getNodeMetricsCount() > 0) {
        hash = (37 * hash) + NODEMETRICS_FIELD_NUMBER;
        hash = (53 * hash) + getNodeMetricsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        org.apache.pekko.protobufv3.internal.ByteString data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(byte[] data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip 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;
    }
    /**
     * <pre>
     * *
     * Metrics Gossip
     * </pre>
     *
     * Protobuf type {@code MetricsGossip}
     */
    public static final class Builder extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:MetricsGossip)
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder.class);
      }

      // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.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 (allAddressesBuilder_ == null) {
          allAddresses_ = java.util.Collections.emptyList();
        } else {
          allAddresses_ = null;
          allAddressesBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        allMetricNames_ =
            org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
        if (nodeMetricsBuilder_ == null) {
          nodeMetrics_ = java.util.Collections.emptyList();
        } else {
          nodeMetrics_ = null;
          nodeMetricsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getDefaultInstanceForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip build() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip buildPartial() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip result) {
        if (allAddressesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            allAddresses_ = java.util.Collections.unmodifiableList(allAddresses_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.allAddresses_ = allAddresses_;
        } else {
          result.allAddresses_ = allAddressesBuilder_.build();
        }
        if (nodeMetricsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            nodeMetrics_ = java.util.Collections.unmodifiableList(nodeMetrics_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.nodeMetrics_ = nodeMetrics_;
        } else {
          result.nodeMetrics_ = nodeMetricsBuilder_.build();
        }
      }

      private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip result) {
        int from_bitField0_ = bitField0_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          allMetricNames_.makeImmutable();
          result.allMetricNames_ = allMetricNames_;
        }
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other instanceof org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip) {
          return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip other) {
        if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance()) return this;
        if (allAddressesBuilder_ == null) {
          if (!other.allAddresses_.isEmpty()) {
            if (allAddresses_.isEmpty()) {
              allAddresses_ = other.allAddresses_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureAllAddressesIsMutable();
              allAddresses_.addAll(other.allAddresses_);
            }
            onChanged();
          }
        } else {
          if (!other.allAddresses_.isEmpty()) {
            if (allAddressesBuilder_.isEmpty()) {
              allAddressesBuilder_.dispose();
              allAddressesBuilder_ = null;
              allAddresses_ = other.allAddresses_;
              bitField0_ = (bitField0_ & ~0x00000001);
              allAddressesBuilder_ = 
                org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders ?
                   internalGetAllAddressesFieldBuilder() : null;
            } else {
              allAddressesBuilder_.addAllMessages(other.allAddresses_);
            }
          }
        }
        if (!other.allMetricNames_.isEmpty()) {
          if (allMetricNames_.isEmpty()) {
            allMetricNames_ = other.allMetricNames_;
            bitField0_ |= 0x00000002;
          } else {
            ensureAllMetricNamesIsMutable();
            allMetricNames_.addAll(other.allMetricNames_);
          }
          onChanged();
        }
        if (nodeMetricsBuilder_ == null) {
          if (!other.nodeMetrics_.isEmpty()) {
            if (nodeMetrics_.isEmpty()) {
              nodeMetrics_ = other.nodeMetrics_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureNodeMetricsIsMutable();
              nodeMetrics_.addAll(other.nodeMetrics_);
            }
            onChanged();
          }
        } else {
          if (!other.nodeMetrics_.isEmpty()) {
            if (nodeMetricsBuilder_.isEmpty()) {
              nodeMetricsBuilder_.dispose();
              nodeMetricsBuilder_ = null;
              nodeMetrics_ = other.nodeMetrics_;
              bitField0_ = (bitField0_ & ~0x00000004);
              nodeMetricsBuilder_ = 
                org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders ?
                   internalGetNodeMetricsFieldBuilder() : null;
            } else {
              nodeMetricsBuilder_.addAllMessages(other.nodeMetrics_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        for (int i = 0; i < getAllAddressesCount(); i++) {
          if (!getAllAddresses(i).isInitialized()) {
            return false;
          }
        }
        for (int i = 0; i < getNodeMetricsCount(); i++) {
          if (!getNodeMetrics(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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address m =
                    input.readMessage(
                        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.parser(),
                        extensionRegistry);
                if (allAddressesBuilder_ == null) {
                  ensureAllAddressesIsMutable();
                  allAddresses_.add(m);
                } else {
                  allAddressesBuilder_.addMessage(m);
                }
                break;
              } // case 10
              case 18: {
                org.apache.pekko.protobufv3.internal.ByteString bs = input.readBytes();
                ensureAllMetricNamesIsMutable();
                allMetricNames_.add(bs);
                break;
              } // case 18
              case 26: {
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics m =
                    input.readMessage(
                        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.parser(),
                        extensionRegistry);
                if (nodeMetricsBuilder_ == null) {
                  ensureNodeMetricsIsMutable();
                  nodeMetrics_.add(m);
                } else {
                  nodeMetricsBuilder_.addMessage(m);
                }
                break;
              } // case 26
              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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> allAddresses_ =
        java.util.Collections.emptyList();
      private void ensureAllAddressesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          allAddresses_ = new java.util.ArrayList<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address>(allAddresses_);
          bitField0_ |= 0x00000001;
         }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> allAddressesBuilder_;

      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> getAllAddressesList() {
        if (allAddressesBuilder_ == null) {
          return java.util.Collections.unmodifiableList(allAddresses_);
        } else {
          return allAddressesBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public int getAllAddressesCount() {
        if (allAddressesBuilder_ == null) {
          return allAddresses_.size();
        } else {
          return allAddressesBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getAllAddresses(int index) {
        if (allAddressesBuilder_ == null) {
          return allAddresses_.get(index);
        } else {
          return allAddressesBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder setAllAddresses(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
        if (allAddressesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAllAddressesIsMutable();
          allAddresses_.set(index, value);
          onChanged();
        } else {
          allAddressesBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder setAllAddresses(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder builderForValue) {
        if (allAddressesBuilder_ == null) {
          ensureAllAddressesIsMutable();
          allAddresses_.set(index, builderForValue.build());
          onChanged();
        } else {
          allAddressesBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder addAllAddresses(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
        if (allAddressesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAllAddressesIsMutable();
          allAddresses_.add(value);
          onChanged();
        } else {
          allAddressesBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder addAllAddresses(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
        if (allAddressesBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureAllAddressesIsMutable();
          allAddresses_.add(index, value);
          onChanged();
        } else {
          allAddressesBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder addAllAddresses(
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder builderForValue) {
        if (allAddressesBuilder_ == null) {
          ensureAllAddressesIsMutable();
          allAddresses_.add(builderForValue.build());
          onChanged();
        } else {
          allAddressesBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder addAllAddresses(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder builderForValue) {
        if (allAddressesBuilder_ == null) {
          ensureAllAddressesIsMutable();
          allAddresses_.add(index, builderForValue.build());
          onChanged();
        } else {
          allAddressesBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder addAllAllAddresses(
          java.lang.Iterable<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> values) {
        if (allAddressesBuilder_ == null) {
          ensureAllAddressesIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
              values, allAddresses_);
          onChanged();
        } else {
          allAddressesBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder clearAllAddresses() {
        if (allAddressesBuilder_ == null) {
          allAddresses_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          allAddressesBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public Builder removeAllAddresses(int index) {
        if (allAddressesBuilder_ == null) {
          ensureAllAddressesIsMutable();
          allAddresses_.remove(index);
          onChanged();
        } else {
          allAddressesBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder getAllAddressesBuilder(
          int index) {
        return internalGetAllAddressesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getAllAddressesOrBuilder(
          int index) {
        if (allAddressesBuilder_ == null) {
          return allAddresses_.get(index);  } else {
          return allAddressesBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
           getAllAddressesOrBuilderList() {
        if (allAddressesBuilder_ != null) {
          return allAddressesBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(allAddresses_);
        }
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder addAllAddressesBuilder() {
        return internalGetAllAddressesFieldBuilder().addBuilder(
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance());
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder addAllAddressesBuilder(
          int index) {
        return internalGetAllAddressesFieldBuilder().addBuilder(
            index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance());
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder> 
           getAllAddressesBuilderList() {
        return internalGetAllAddressesFieldBuilder().getBuilderList();
      }
      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
          internalGetAllAddressesFieldBuilder() {
        if (allAddressesBuilder_ == null) {
          allAddressesBuilder_ = new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder>(
                  allAddresses_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          allAddresses_ = null;
        }
        return allAddressesBuilder_;
      }

      private org.apache.pekko.protobufv3.internal.LazyStringArrayList allMetricNames_ =
          org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
      private void ensureAllMetricNamesIsMutable() {
        if (!allMetricNames_.isModifiable()) {
          allMetricNames_ = new org.apache.pekko.protobufv3.internal.LazyStringArrayList(allMetricNames_);
        }
        bitField0_ |= 0x00000002;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @return A list containing the allMetricNames.
       */
      public org.apache.pekko.protobufv3.internal.ProtocolStringList
          getAllMetricNamesList() {
        allMetricNames_.makeImmutable();
        return allMetricNames_;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @return The count of allMetricNames.
       */
      public int getAllMetricNamesCount() {
        return allMetricNames_.size();
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @param index The index of the element to return.
       * @return The allMetricNames at the given index.
       */
      public java.lang.String getAllMetricNames(int index) {
        return allMetricNames_.get(index);
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @param index The index of the value to return.
       * @return The bytes of the allMetricNames at the given index.
       */
      public org.apache.pekko.protobufv3.internal.ByteString
          getAllMetricNamesBytes(int index) {
        return allMetricNames_.getByteString(index);
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @param index The index to set the value at.
       * @param value The allMetricNames to set.
       * @return This builder for chaining.
       */
      public Builder setAllMetricNames(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureAllMetricNamesIsMutable();
        allMetricNames_.set(index, value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @param value The allMetricNames to add.
       * @return This builder for chaining.
       */
      public Builder addAllMetricNames(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureAllMetricNamesIsMutable();
        allMetricNames_.add(value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @param values The allMetricNames to add.
       * @return This builder for chaining.
       */
      public Builder addAllAllMetricNames(
          java.lang.Iterable<java.lang.String> values) {
        ensureAllMetricNamesIsMutable();
        org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
            values, allMetricNames_);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearAllMetricNames() {
        allMetricNames_ =
          org.apache.pekko.protobufv3.internal.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);;
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       * @param value The bytes of the allMetricNames to add.
       * @return This builder for chaining.
       */
      public Builder addAllMetricNamesBytes(
          org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        ensureAllMetricNamesIsMutable();
        allMetricNames_.add(value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> nodeMetrics_ =
        java.util.Collections.emptyList();
      private void ensureNodeMetricsIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          nodeMetrics_ = new java.util.ArrayList<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics>(nodeMetrics_);
          bitField0_ |= 0x00000004;
         }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> nodeMetricsBuilder_;

      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> getNodeMetricsList() {
        if (nodeMetricsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(nodeMetrics_);
        } else {
          return nodeMetricsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public int getNodeMetricsCount() {
        if (nodeMetricsBuilder_ == null) {
          return nodeMetrics_.size();
        } else {
          return nodeMetricsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getNodeMetrics(int index) {
        if (nodeMetricsBuilder_ == null) {
          return nodeMetrics_.get(index);
        } else {
          return nodeMetricsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder setNodeMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics value) {
        if (nodeMetricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNodeMetricsIsMutable();
          nodeMetrics_.set(index, value);
          onChanged();
        } else {
          nodeMetricsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder setNodeMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder builderForValue) {
        if (nodeMetricsBuilder_ == null) {
          ensureNodeMetricsIsMutable();
          nodeMetrics_.set(index, builderForValue.build());
          onChanged();
        } else {
          nodeMetricsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder addNodeMetrics(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics value) {
        if (nodeMetricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNodeMetricsIsMutable();
          nodeMetrics_.add(value);
          onChanged();
        } else {
          nodeMetricsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder addNodeMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics value) {
        if (nodeMetricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureNodeMetricsIsMutable();
          nodeMetrics_.add(index, value);
          onChanged();
        } else {
          nodeMetricsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder addNodeMetrics(
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder builderForValue) {
        if (nodeMetricsBuilder_ == null) {
          ensureNodeMetricsIsMutable();
          nodeMetrics_.add(builderForValue.build());
          onChanged();
        } else {
          nodeMetricsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder addNodeMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder builderForValue) {
        if (nodeMetricsBuilder_ == null) {
          ensureNodeMetricsIsMutable();
          nodeMetrics_.add(index, builderForValue.build());
          onChanged();
        } else {
          nodeMetricsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder addAllNodeMetrics(
          java.lang.Iterable<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> values) {
        if (nodeMetricsBuilder_ == null) {
          ensureNodeMetricsIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
              values, nodeMetrics_);
          onChanged();
        } else {
          nodeMetricsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder clearNodeMetrics() {
        if (nodeMetricsBuilder_ == null) {
          nodeMetrics_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          nodeMetricsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public Builder removeNodeMetrics(int index) {
        if (nodeMetricsBuilder_ == null) {
          ensureNodeMetricsIsMutable();
          nodeMetrics_.remove(index);
          onChanged();
        } else {
          nodeMetricsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder getNodeMetricsBuilder(
          int index) {
        return internalGetNodeMetricsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder getNodeMetricsOrBuilder(
          int index) {
        if (nodeMetricsBuilder_ == null) {
          return nodeMetrics_.get(index);  } else {
          return nodeMetricsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> 
           getNodeMetricsOrBuilderList() {
        if (nodeMetricsBuilder_ != null) {
          return nodeMetricsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(nodeMetrics_);
        }
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder addNodeMetricsBuilder() {
        return internalGetNodeMetricsFieldBuilder().addBuilder(
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder addNodeMetricsBuilder(
          int index) {
        return internalGetNodeMetricsFieldBuilder().addBuilder(
            index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder> 
           getNodeMetricsBuilderList() {
        return internalGetNodeMetricsFieldBuilder().getBuilderList();
      }
      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> 
          internalGetNodeMetricsFieldBuilder() {
        if (nodeMetricsBuilder_ == null) {
          nodeMetricsBuilder_ = new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder>(
                  nodeMetrics_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          nodeMetrics_ = null;
        }
        return nodeMetricsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:MetricsGossip)
    }

    // @@protoc_insertion_point(class_scope:MetricsGossip)
    private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip();
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<MetricsGossip>
        PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<MetricsGossip>() {
      @java.lang.Override
      public MetricsGossip 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<MetricsGossip> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <code>required int32 addressIndex = 1;</code>
     * @return Whether the addressIndex field is set.
     */
    boolean hasAddressIndex();
    /**
     * <code>required int32 addressIndex = 1;</code>
     * @return The addressIndex.
     */
    int getAddressIndex();

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

    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> 
        getMetricsList();
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getMetrics(int index);
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    int getMetricsCount();
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> 
        getMetricsOrBuilderList();
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(
        int index);
  }
  /**
   * <pre>
   * *
   * Node Metrics
   * </pre>
   *
   * Protobuf type {@code NodeMetrics}
   */
  public static final class NodeMetrics extends
      org.apache.pekko.protobufv3.internal.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:NodeMetrics)
      NodeMetricsOrBuilder {
  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= */ "",
        "NodeMetrics");
    }
    // Use NodeMetrics.newBuilder() to construct.
    private NodeMetrics(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private NodeMetrics() {
      metrics_ = java.util.Collections.emptyList();
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder.class);
    }

    /**
     * Protobuf enum {@code NodeMetrics.NumberType}
     */
    public enum NumberType
        implements org.apache.pekko.protobufv3.internal.ProtocolMessageEnum {
      /**
       * <code>Serialized = 0;</code>
       */
      Serialized(0),
      /**
       * <code>Double = 1;</code>
       */
      Double(1),
      /**
       * <code>Float = 2;</code>
       */
      Float(2),
      /**
       * <code>Integer = 3;</code>
       */
      Integer(3),
      /**
       * <code>Long = 4;</code>
       */
      Long(4),
      ;

      static {
        org.apache.pekko.protobufv3.internal.RuntimeVersion.validateProtobufGencodeVersion(
          org.apache.pekko.protobufv3.internal.RuntimeVersion.RuntimeDomain.PUBLIC,
          /* major= */ 4,
          /* minor= */ 33,
          /* patch= */ 0,
          /* suffix= */ "",
          "NumberType");
      }
      /**
       * <code>Serialized = 0;</code>
       */
      public static final int Serialized_VALUE = 0;
      /**
       * <code>Double = 1;</code>
       */
      public static final int Double_VALUE = 1;
      /**
       * <code>Float = 2;</code>
       */
      public static final int Float_VALUE = 2;
      /**
       * <code>Integer = 3;</code>
       */
      public static final int Integer_VALUE = 3;
      /**
       * <code>Long = 4;</code>
       */
      public static final int Long_VALUE = 4;


      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 NumberType 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 NumberType forNumber(int value) {
        switch (value) {
          case 0: return Serialized;
          case 1: return Double;
          case 2: return Float;
          case 3: return Integer;
          case 4: return Long;
          default: return null;
        }
      }

      public static org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<NumberType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<
          NumberType> internalValueMap =
            new org.apache.pekko.protobufv3.internal.Internal.EnumLiteMap<NumberType>() {
              public NumberType findValueByNumber(int number) {
                return NumberType.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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDescriptor().getEnumTypes().get(0);
      }

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

      public static NumberType 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 NumberType(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:NodeMetrics.NumberType)
    }

    public interface NumberOrBuilder extends
        // @@protoc_insertion_point(interface_extends:NodeMetrics.Number)
        org.apache.pekko.protobufv3.internal.MessageOrBuilder {

      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       * @return Whether the type field is set.
       */
      boolean hasType();
      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       * @return The type.
       */
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType getType();

      /**
       * <code>optional uint32 value32 = 2;</code>
       * @return Whether the value32 field is set.
       */
      boolean hasValue32();
      /**
       * <code>optional uint32 value32 = 2;</code>
       * @return The value32.
       */
      int getValue32();

      /**
       * <code>optional uint64 value64 = 3;</code>
       * @return Whether the value64 field is set.
       */
      boolean hasValue64();
      /**
       * <code>optional uint64 value64 = 3;</code>
       * @return The value64.
       */
      long getValue64();

      /**
       * <code>optional bytes serialized = 4;</code>
       * @return Whether the serialized field is set.
       */
      boolean hasSerialized();
      /**
       * <code>optional bytes serialized = 4;</code>
       * @return The serialized.
       */
      org.apache.pekko.protobufv3.internal.ByteString getSerialized();
    }
    /**
     * Protobuf type {@code NodeMetrics.Number}
     */
    public static final class Number extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage implements
        // @@protoc_insertion_point(message_implements:NodeMetrics.Number)
        NumberOrBuilder {
    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= */ "",
          "Number");
      }
      // Use Number.newBuilder() to construct.
      private Number(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
        super(builder);
      }
      private Number() {
        type_ = 0;
        serialized_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
      }

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder.class);
      }

      private int bitField0_;
      public static final int TYPE_FIELD_NUMBER = 1;
      private int type_ = 0;
      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       * @return Whether the type field is set.
       */
      @java.lang.Override public boolean hasType() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       * @return The type.
       */
      @java.lang.Override public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType getType() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType result = org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.forNumber(type_);
        return result == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.Serialized : result;
      }

      public static final int VALUE32_FIELD_NUMBER = 2;
      private int value32_ = 0;
      /**
       * <code>optional uint32 value32 = 2;</code>
       * @return Whether the value32 field is set.
       */
      @java.lang.Override
      public boolean hasValue32() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>optional uint32 value32 = 2;</code>
       * @return The value32.
       */
      @java.lang.Override
      public int getValue32() {
        return value32_;
      }

      public static final int VALUE64_FIELD_NUMBER = 3;
      private long value64_ = 0L;
      /**
       * <code>optional uint64 value64 = 3;</code>
       * @return Whether the value64 field is set.
       */
      @java.lang.Override
      public boolean hasValue64() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>optional uint64 value64 = 3;</code>
       * @return The value64.
       */
      @java.lang.Override
      public long getValue64() {
        return value64_;
      }

      public static final int SERIALIZED_FIELD_NUMBER = 4;
      private org.apache.pekko.protobufv3.internal.ByteString serialized_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
      /**
       * <code>optional bytes serialized = 4;</code>
       * @return Whether the serialized field is set.
       */
      @java.lang.Override
      public boolean hasSerialized() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>optional bytes serialized = 4;</code>
       * @return The serialized.
       */
      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.ByteString getSerialized() {
        return serialized_;
      }

      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 (!hasType()) {
          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, type_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          output.writeUInt32(2, value32_);
        }
        if (((bitField0_ & 0x00000004) != 0)) {
          output.writeUInt64(3, value64_);
        }
        if (((bitField0_ & 0x00000008) != 0)) {
          output.writeBytes(4, serialized_);
        }
        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, type_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size += org.apache.pekko.protobufv3.internal.CodedOutputStream
            .computeUInt32Size(2, value32_);
        }
        if (((bitField0_ & 0x00000004) != 0)) {
          size += org.apache.pekko.protobufv3.internal.CodedOutputStream
            .computeUInt64Size(3, value64_);
        }
        if (((bitField0_ & 0x00000008) != 0)) {
          size += org.apache.pekko.protobufv3.internal.CodedOutputStream
            .computeBytesSize(4, serialized_);
        }
        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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number)) {
          return super.equals(obj);
        }
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number) obj;

        if (hasType() != other.hasType()) return false;
        if (hasType()) {
          if (type_ != other.type_) return false;
        }
        if (hasValue32() != other.hasValue32()) return false;
        if (hasValue32()) {
          if (getValue32()
              != other.getValue32()) return false;
        }
        if (hasValue64() != other.hasValue64()) return false;
        if (hasValue64()) {
          if (getValue64()
              != other.getValue64()) return false;
        }
        if (hasSerialized() != other.hasSerialized()) return false;
        if (hasSerialized()) {
          if (!getSerialized()
              .equals(other.getSerialized())) 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 (hasType()) {
          hash = (37 * hash) + TYPE_FIELD_NUMBER;
          hash = (53 * hash) + type_;
        }
        if (hasValue32()) {
          hash = (37 * hash) + VALUE32_FIELD_NUMBER;
          hash = (53 * hash) + getValue32();
        }
        if (hasValue64()) {
          hash = (37 * hash) + VALUE64_FIELD_NUMBER;
          hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(
              getValue64());
        }
        if (hasSerialized()) {
          hash = (37 * hash) + SERIALIZED_FIELD_NUMBER;
          hash = (53 * hash) + getSerialized().hashCode();
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          java.nio.ByteBuffer data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          org.apache.pekko.protobufv3.internal.ByteString data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(byte[] data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage
            .parseWithIOException(PARSER, input);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage
            .parseDelimitedWithIOException(PARSER, input);
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number 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 NodeMetrics.Number}
       */
      public static final class Builder extends
          org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:NodeMetrics.Number)
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder {
        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptor() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_descriptor;
        }

        @java.lang.Override
        protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder.class);
        }

        // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.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;
          type_ = 0;
          value32_ = 0;
          value64_ = 0L;
          serialized_ = 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_descriptor;
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getDefaultInstanceForType() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance();
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number build() {
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number buildPartial() {
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number(this);
          if (bitField0_ != 0) { buildPartial0(result); }
          onBuilt();
          return result;
        }

        private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number result) {
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.type_ = type_;
            to_bitField0_ |= 0x00000001;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.value32_ = value32_;
            to_bitField0_ |= 0x00000002;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.value64_ = value64_;
            to_bitField0_ |= 0x00000004;
          }
          if (((from_bitField0_ & 0x00000008) != 0)) {
            result.serialized_ = serialized_;
            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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number) {
            return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number other) {
          if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance()) return this;
          if (other.hasType()) {
            setType(other.getType());
          }
          if (other.hasValue32()) {
            setValue32(other.getValue32());
          }
          if (other.hasValue64()) {
            setValue64(other.getValue64());
          }
          if (other.hasSerialized()) {
            setSerialized(other.getSerialized());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

        @java.lang.Override
        public final boolean isInitialized() {
          if (!hasType()) {
            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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType tmpValue =
                      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.forNumber(tmpRaw);
                  if (tmpValue == null) {
                    mergeUnknownVarintField(1, tmpRaw);
                  } else {
                    type_ = tmpRaw;
                    bitField0_ |= 0x00000001;
                  }
                  break;
                } // case 8
                case 16: {
                  value32_ = input.readUInt32();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 16
                case 24: {
                  value64_ = input.readUInt64();
                  bitField0_ |= 0x00000004;
                  break;
                } // case 24
                case 34: {
                  serialized_ = input.readBytes();
                  bitField0_ |= 0x00000008;
                  break;
                } // case 34
                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 type_ = 0;
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         * @return Whether the type field is set.
         */
        @java.lang.Override public boolean hasType() {
          return ((bitField0_ & 0x00000001) != 0);
        }
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         * @return The type.
         */
        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType getType() {
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType result = org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.forNumber(type_);
          return result == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.Serialized : result;
        }
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         * @param value The type to set.
         * @return This builder for chaining.
         */
        public Builder setType(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType value) {
          if (value == null) { throw new NullPointerException(); }
          bitField0_ |= 0x00000001;
          type_ = value.getNumber();
          onChanged();
          return this;
        }
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearType() {
          bitField0_ = (bitField0_ & ~0x00000001);
          type_ = 0;
          onChanged();
          return this;
        }

        private int value32_ ;
        /**
         * <code>optional uint32 value32 = 2;</code>
         * @return Whether the value32 field is set.
         */
        @java.lang.Override
        public boolean hasValue32() {
          return ((bitField0_ & 0x00000002) != 0);
        }
        /**
         * <code>optional uint32 value32 = 2;</code>
         * @return The value32.
         */
        @java.lang.Override
        public int getValue32() {
          return value32_;
        }
        /**
         * <code>optional uint32 value32 = 2;</code>
         * @param value The value32 to set.
         * @return This builder for chaining.
         */
        public Builder setValue32(int value) {

          value32_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         * <code>optional uint32 value32 = 2;</code>
         * @return This builder for chaining.
         */
        public Builder clearValue32() {
          bitField0_ = (bitField0_ & ~0x00000002);
          value32_ = 0;
          onChanged();
          return this;
        }

        private long value64_ ;
        /**
         * <code>optional uint64 value64 = 3;</code>
         * @return Whether the value64 field is set.
         */
        @java.lang.Override
        public boolean hasValue64() {
          return ((bitField0_ & 0x00000004) != 0);
        }
        /**
         * <code>optional uint64 value64 = 3;</code>
         * @return The value64.
         */
        @java.lang.Override
        public long getValue64() {
          return value64_;
        }
        /**
         * <code>optional uint64 value64 = 3;</code>
         * @param value The value64 to set.
         * @return This builder for chaining.
         */
        public Builder setValue64(long value) {

          value64_ = value;
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         * <code>optional uint64 value64 = 3;</code>
         * @return This builder for chaining.
         */
        public Builder clearValue64() {
          bitField0_ = (bitField0_ & ~0x00000004);
          value64_ = 0L;
          onChanged();
          return this;
        }

        private org.apache.pekko.protobufv3.internal.ByteString serialized_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
        /**
         * <code>optional bytes serialized = 4;</code>
         * @return Whether the serialized field is set.
         */
        @java.lang.Override
        public boolean hasSerialized() {
          return ((bitField0_ & 0x00000008) != 0);
        }
        /**
         * <code>optional bytes serialized = 4;</code>
         * @return The serialized.
         */
        @java.lang.Override
        public org.apache.pekko.protobufv3.internal.ByteString getSerialized() {
          return serialized_;
        }
        /**
         * <code>optional bytes serialized = 4;</code>
         * @param value The serialized to set.
         * @return This builder for chaining.
         */
        public Builder setSerialized(org.apache.pekko.protobufv3.internal.ByteString value) {
          if (value == null) { throw new NullPointerException(); }
          serialized_ = value;
          bitField0_ |= 0x00000008;
          onChanged();
          return this;
        }
        /**
         * <code>optional bytes serialized = 4;</code>
         * @return This builder for chaining.
         */
        public Builder clearSerialized() {
          bitField0_ = (bitField0_ & ~0x00000008);
          serialized_ = getDefaultInstance().getSerialized();
          onChanged();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:NodeMetrics.Number)
      }

      // @@protoc_insertion_point(class_scope:NodeMetrics.Number)
      private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number();
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final org.apache.pekko.protobufv3.internal.Parser<Number>
          PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<Number>() {
        @java.lang.Override
        public Number 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<Number> parser() {
        return PARSER;
      }

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

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public interface EWMAOrBuilder extends
        // @@protoc_insertion_point(interface_extends:NodeMetrics.EWMA)
        org.apache.pekko.protobufv3.internal.MessageOrBuilder {

      /**
       * <code>required double value = 1;</code>
       * @return Whether the value field is set.
       */
      boolean hasValue();
      /**
       * <code>required double value = 1;</code>
       * @return The value.
       */
      double getValue();

      /**
       * <code>required double alpha = 2;</code>
       * @return Whether the alpha field is set.
       */
      boolean hasAlpha();
      /**
       * <code>required double alpha = 2;</code>
       * @return The alpha.
       */
      double getAlpha();
    }
    /**
     * Protobuf type {@code NodeMetrics.EWMA}
     */
    public static final class EWMA extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage implements
        // @@protoc_insertion_point(message_implements:NodeMetrics.EWMA)
        EWMAOrBuilder {
    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= */ "",
          "EWMA");
      }
      // Use EWMA.newBuilder() to construct.
      private EWMA(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
        super(builder);
      }
      private EWMA() {
      }

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder.class);
      }

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

      public static final int ALPHA_FIELD_NUMBER = 2;
      private double alpha_ = 0D;
      /**
       * <code>required double alpha = 2;</code>
       * @return Whether the alpha field is set.
       */
      @java.lang.Override
      public boolean hasAlpha() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required double alpha = 2;</code>
       * @return The alpha.
       */
      @java.lang.Override
      public double getAlpha() {
        return alpha_;
      }

      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;
        }
        if (!hasAlpha()) {
          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.writeDouble(1, value_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          output.writeDouble(2, alpha_);
        }
        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
            .computeDoubleSize(1, value_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size += org.apache.pekko.protobufv3.internal.CodedOutputStream
            .computeDoubleSize(2, alpha_);
        }
        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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA)) {
          return super.equals(obj);
        }
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA) obj;

        if (hasValue() != other.hasValue()) return false;
        if (hasValue()) {
          if (java.lang.Double.doubleToLongBits(getValue())
              != java.lang.Double.doubleToLongBits(
                  other.getValue())) return false;
        }
        if (hasAlpha() != other.hasAlpha()) return false;
        if (hasAlpha()) {
          if (java.lang.Double.doubleToLongBits(getAlpha())
              != java.lang.Double.doubleToLongBits(
                  other.getAlpha())) 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) + org.apache.pekko.protobufv3.internal.Internal.hashLong(
              java.lang.Double.doubleToLongBits(getValue()));
        }
        if (hasAlpha()) {
          hash = (37 * hash) + ALPHA_FIELD_NUMBER;
          hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(
              java.lang.Double.doubleToLongBits(getAlpha()));
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          java.nio.ByteBuffer data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          org.apache.pekko.protobufv3.internal.ByteString data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(byte[] data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage
            .parseWithIOException(PARSER, input);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage
            .parseDelimitedWithIOException(PARSER, input);
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA 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 NodeMetrics.EWMA}
       */
      public static final class Builder extends
          org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:NodeMetrics.EWMA)
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder {
        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptor() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_descriptor;
        }

        @java.lang.Override
        protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder.class);
        }

        // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.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_ = 0D;
          alpha_ = 0D;
          return this;
        }

        @java.lang.Override
        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptorForType() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_descriptor;
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getDefaultInstanceForType() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance();
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA build() {
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA buildPartial() {
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA(this);
          if (bitField0_ != 0) { buildPartial0(result); }
          onBuilt();
          return result;
        }

        private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA result) {
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.value_ = value_;
            to_bitField0_ |= 0x00000001;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.alpha_ = alpha_;
            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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA) {
            return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA other) {
          if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance()) return this;
          if (other.hasValue()) {
            setValue(other.getValue());
          }
          if (other.hasAlpha()) {
            setAlpha(other.getAlpha());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

        @java.lang.Override
        public final boolean isInitialized() {
          if (!hasValue()) {
            return false;
          }
          if (!hasAlpha()) {
            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 9: {
                  value_ = input.readDouble();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 9
                case 17: {
                  alpha_ = input.readDouble();
                  bitField0_ |= 0x00000002;
                  break;
                } // case 17
                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 double value_ ;
        /**
         * <code>required double value = 1;</code>
         * @return Whether the value field is set.
         */
        @java.lang.Override
        public boolean hasValue() {
          return ((bitField0_ & 0x00000001) != 0);
        }
        /**
         * <code>required double value = 1;</code>
         * @return The value.
         */
        @java.lang.Override
        public double getValue() {
          return value_;
        }
        /**
         * <code>required double value = 1;</code>
         * @param value The value to set.
         * @return This builder for chaining.
         */
        public Builder setValue(double value) {

          value_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         * <code>required double value = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearValue() {
          bitField0_ = (bitField0_ & ~0x00000001);
          value_ = 0D;
          onChanged();
          return this;
        }

        private double alpha_ ;
        /**
         * <code>required double alpha = 2;</code>
         * @return Whether the alpha field is set.
         */
        @java.lang.Override
        public boolean hasAlpha() {
          return ((bitField0_ & 0x00000002) != 0);
        }
        /**
         * <code>required double alpha = 2;</code>
         * @return The alpha.
         */
        @java.lang.Override
        public double getAlpha() {
          return alpha_;
        }
        /**
         * <code>required double alpha = 2;</code>
         * @param value The alpha to set.
         * @return This builder for chaining.
         */
        public Builder setAlpha(double value) {

          alpha_ = value;
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         * <code>required double alpha = 2;</code>
         * @return This builder for chaining.
         */
        public Builder clearAlpha() {
          bitField0_ = (bitField0_ & ~0x00000002);
          alpha_ = 0D;
          onChanged();
          return this;
        }

        // @@protoc_insertion_point(builder_scope:NodeMetrics.EWMA)
      }

      // @@protoc_insertion_point(class_scope:NodeMetrics.EWMA)
      private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA();
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final org.apache.pekko.protobufv3.internal.Parser<EWMA>
          PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<EWMA>() {
        @java.lang.Override
        public EWMA 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<EWMA> parser() {
        return PARSER;
      }

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

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    public interface MetricOrBuilder extends
        // @@protoc_insertion_point(interface_extends:NodeMetrics.Metric)
        org.apache.pekko.protobufv3.internal.MessageOrBuilder {

      /**
       * <code>required int32 nameIndex = 1;</code>
       * @return Whether the nameIndex field is set.
       */
      boolean hasNameIndex();
      /**
       * <code>required int32 nameIndex = 1;</code>
       * @return The nameIndex.
       */
      int getNameIndex();

      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       * @return Whether the number field is set.
       */
      boolean hasNumber();
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       * @return The number.
       */
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getNumber();
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder getNumberOrBuilder();

      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       * @return Whether the ewma field is set.
       */
      boolean hasEwma();
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       * @return The ewma.
       */
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getEwma();
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder getEwmaOrBuilder();
    }
    /**
     * Protobuf type {@code NodeMetrics.Metric}
     */
    public static final class Metric extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage implements
        // @@protoc_insertion_point(message_implements:NodeMetrics.Metric)
        MetricOrBuilder {
    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= */ "",
          "Metric");
      }
      // Use Metric.newBuilder() to construct.
      private Metric(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
        super(builder);
      }
      private Metric() {
      }

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder.class);
      }

      private int bitField0_;
      public static final int NAMEINDEX_FIELD_NUMBER = 1;
      private int nameIndex_ = 0;
      /**
       * <code>required int32 nameIndex = 1;</code>
       * @return Whether the nameIndex field is set.
       */
      @java.lang.Override
      public boolean hasNameIndex() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required int32 nameIndex = 1;</code>
       * @return The nameIndex.
       */
      @java.lang.Override
      public int getNameIndex() {
        return nameIndex_;
      }

      public static final int NUMBER_FIELD_NUMBER = 2;
      private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number number_;
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       * @return Whether the number field is set.
       */
      @java.lang.Override
      public boolean hasNumber() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       * @return The number.
       */
      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getNumber() {
        return number_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance() : number_;
      }
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder getNumberOrBuilder() {
        return number_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance() : number_;
      }

      public static final int EWMA_FIELD_NUMBER = 3;
      private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA ewma_;
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       * @return Whether the ewma field is set.
       */
      @java.lang.Override
      public boolean hasEwma() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       * @return The ewma.
       */
      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getEwma() {
        return ewma_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance() : ewma_;
      }
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder getEwmaOrBuilder() {
        return ewma_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance() : ewma_;
      }

      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 (!hasNameIndex()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (!hasNumber()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (!getNumber().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
        if (hasEwma()) {
          if (!getEwma().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.writeInt32(1, nameIndex_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          output.writeMessage(2, getNumber());
        }
        if (((bitField0_ & 0x00000004) != 0)) {
          output.writeMessage(3, getEwma());
        }
        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
            .computeInt32Size(1, nameIndex_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size += org.apache.pekko.protobufv3.internal.CodedOutputStream
            .computeMessageSize(2, getNumber());
        }
        if (((bitField0_ & 0x00000004) != 0)) {
          size += org.apache.pekko.protobufv3.internal.CodedOutputStream
            .computeMessageSize(3, getEwma());
        }
        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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric)) {
          return super.equals(obj);
        }
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric) obj;

        if (hasNameIndex() != other.hasNameIndex()) return false;
        if (hasNameIndex()) {
          if (getNameIndex()
              != other.getNameIndex()) return false;
        }
        if (hasNumber() != other.hasNumber()) return false;
        if (hasNumber()) {
          if (!getNumber()
              .equals(other.getNumber())) return false;
        }
        if (hasEwma() != other.hasEwma()) return false;
        if (hasEwma()) {
          if (!getEwma()
              .equals(other.getEwma())) 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 (hasNameIndex()) {
          hash = (37 * hash) + NAMEINDEX_FIELD_NUMBER;
          hash = (53 * hash) + getNameIndex();
        }
        if (hasNumber()) {
          hash = (37 * hash) + NUMBER_FIELD_NUMBER;
          hash = (53 * hash) + getNumber().hashCode();
        }
        if (hasEwma()) {
          hash = (37 * hash) + EWMA_FIELD_NUMBER;
          hash = (53 * hash) + getEwma().hashCode();
        }
        hash = (29 * hash) + getUnknownFields().hashCode();
        memoizedHashCode = hash;
        return hash;
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          java.nio.ByteBuffer data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          org.apache.pekko.protobufv3.internal.ByteString data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(byte[] data)
          throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage
            .parseWithIOException(PARSER, input);
      }
      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return org.apache.pekko.protobufv3.internal.GeneratedMessage
            .parseDelimitedWithIOException(PARSER, input);
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric 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 NodeMetrics.Metric}
       */
      public static final class Builder extends
          org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
          // @@protoc_insertion_point(builder_implements:NodeMetrics.Metric)
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder {
        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptor() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_descriptor;
        }

        @java.lang.Override
        protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder.class);
        }

        // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.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) {
            internalGetNumberFieldBuilder();
            internalGetEwmaFieldBuilder();
          }
        }
        @java.lang.Override
        public Builder clear() {
          super.clear();
          bitField0_ = 0;
          nameIndex_ = 0;
          number_ = null;
          if (numberBuilder_ != null) {
            numberBuilder_.dispose();
            numberBuilder_ = null;
          }
          ewma_ = null;
          if (ewmaBuilder_ != null) {
            ewmaBuilder_.dispose();
            ewmaBuilder_ = null;
          }
          return this;
        }

        @java.lang.Override
        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
            getDescriptorForType() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_descriptor;
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getDefaultInstanceForType() {
          return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.getDefaultInstance();
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric build() {
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        @java.lang.Override
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric buildPartial() {
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric(this);
          if (bitField0_ != 0) { buildPartial0(result); }
          onBuilt();
          return result;
        }

        private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric result) {
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) != 0)) {
            result.nameIndex_ = nameIndex_;
            to_bitField0_ |= 0x00000001;
          }
          if (((from_bitField0_ & 0x00000002) != 0)) {
            result.number_ = numberBuilder_ == null
                ? number_
                : numberBuilder_.build();
            to_bitField0_ |= 0x00000002;
          }
          if (((from_bitField0_ & 0x00000004) != 0)) {
            result.ewma_ = ewmaBuilder_ == null
                ? ewma_
                : ewmaBuilder_.build();
            to_bitField0_ |= 0x00000004;
          }
          result.bitField0_ |= to_bitField0_;
        }

        @java.lang.Override
        public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
          if (other instanceof org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric) {
            return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric other) {
          if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.getDefaultInstance()) return this;
          if (other.hasNameIndex()) {
            setNameIndex(other.getNameIndex());
          }
          if (other.hasNumber()) {
            mergeNumber(other.getNumber());
          }
          if (other.hasEwma()) {
            mergeEwma(other.getEwma());
          }
          this.mergeUnknownFields(other.getUnknownFields());
          onChanged();
          return this;
        }

        @java.lang.Override
        public final boolean isInitialized() {
          if (!hasNameIndex()) {
            return false;
          }
          if (!hasNumber()) {
            return false;
          }
          if (!getNumber().isInitialized()) {
            return false;
          }
          if (hasEwma()) {
            if (!getEwma().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: {
                  nameIndex_ = input.readInt32();
                  bitField0_ |= 0x00000001;
                  break;
                } // case 8
                case 18: {
                  input.readMessage(
                      internalGetNumberFieldBuilder().getBuilder(),
                      extensionRegistry);
                  bitField0_ |= 0x00000002;
                  break;
                } // case 18
                case 26: {
                  input.readMessage(
                      internalGetEwmaFieldBuilder().getBuilder(),
                      extensionRegistry);
                  bitField0_ |= 0x00000004;
                  break;
                } // case 26
                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 nameIndex_ ;
        /**
         * <code>required int32 nameIndex = 1;</code>
         * @return Whether the nameIndex field is set.
         */
        @java.lang.Override
        public boolean hasNameIndex() {
          return ((bitField0_ & 0x00000001) != 0);
        }
        /**
         * <code>required int32 nameIndex = 1;</code>
         * @return The nameIndex.
         */
        @java.lang.Override
        public int getNameIndex() {
          return nameIndex_;
        }
        /**
         * <code>required int32 nameIndex = 1;</code>
         * @param value The nameIndex to set.
         * @return This builder for chaining.
         */
        public Builder setNameIndex(int value) {

          nameIndex_ = value;
          bitField0_ |= 0x00000001;
          onChanged();
          return this;
        }
        /**
         * <code>required int32 nameIndex = 1;</code>
         * @return This builder for chaining.
         */
        public Builder clearNameIndex() {
          bitField0_ = (bitField0_ & ~0x00000001);
          nameIndex_ = 0;
          onChanged();
          return this;
        }

        private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number number_;
        private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder> numberBuilder_;
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         * @return Whether the number field is set.
         */
        public boolean hasNumber() {
          return ((bitField0_ & 0x00000002) != 0);
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         * @return The number.
         */
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getNumber() {
          if (numberBuilder_ == null) {
            return number_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance() : number_;
          } else {
            return numberBuilder_.getMessage();
          }
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder setNumber(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number value) {
          if (numberBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            number_ = value;
          } else {
            numberBuilder_.setMessage(value);
          }
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder setNumber(
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder builderForValue) {
          if (numberBuilder_ == null) {
            number_ = builderForValue.build();
          } else {
            numberBuilder_.setMessage(builderForValue.build());
          }
          bitField0_ |= 0x00000002;
          onChanged();
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder mergeNumber(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number value) {
          if (numberBuilder_ == null) {
            if (((bitField0_ & 0x00000002) != 0) &&
              number_ != null &&
              number_ != org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance()) {
              getNumberBuilder().mergeFrom(value);
            } else {
              number_ = value;
            }
          } else {
            numberBuilder_.mergeFrom(value);
          }
          if (number_ != null) {
            bitField0_ |= 0x00000002;
            onChanged();
          }
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder clearNumber() {
          bitField0_ = (bitField0_ & ~0x00000002);
          number_ = null;
          if (numberBuilder_ != null) {
            numberBuilder_.dispose();
            numberBuilder_ = null;
          }
          onChanged();
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder getNumberBuilder() {
          bitField0_ |= 0x00000002;
          onChanged();
          return internalGetNumberFieldBuilder().getBuilder();
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder getNumberOrBuilder() {
          if (numberBuilder_ != null) {
            return numberBuilder_.getMessageOrBuilder();
          } else {
            return number_ == null ?
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance() : number_;
          }
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder> 
            internalGetNumberFieldBuilder() {
          if (numberBuilder_ == null) {
            numberBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder>(
                    getNumber(),
                    getParentForChildren(),
                    isClean());
            number_ = null;
          }
          return numberBuilder_;
        }

        private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA ewma_;
        private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder> ewmaBuilder_;
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         * @return Whether the ewma field is set.
         */
        public boolean hasEwma() {
          return ((bitField0_ & 0x00000004) != 0);
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         * @return The ewma.
         */
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getEwma() {
          if (ewmaBuilder_ == null) {
            return ewma_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance() : ewma_;
          } else {
            return ewmaBuilder_.getMessage();
          }
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder setEwma(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA value) {
          if (ewmaBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ewma_ = value;
          } else {
            ewmaBuilder_.setMessage(value);
          }
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder setEwma(
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder builderForValue) {
          if (ewmaBuilder_ == null) {
            ewma_ = builderForValue.build();
          } else {
            ewmaBuilder_.setMessage(builderForValue.build());
          }
          bitField0_ |= 0x00000004;
          onChanged();
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder mergeEwma(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA value) {
          if (ewmaBuilder_ == null) {
            if (((bitField0_ & 0x00000004) != 0) &&
              ewma_ != null &&
              ewma_ != org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance()) {
              getEwmaBuilder().mergeFrom(value);
            } else {
              ewma_ = value;
            }
          } else {
            ewmaBuilder_.mergeFrom(value);
          }
          if (ewma_ != null) {
            bitField0_ |= 0x00000004;
            onChanged();
          }
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder clearEwma() {
          bitField0_ = (bitField0_ & ~0x00000004);
          ewma_ = null;
          if (ewmaBuilder_ != null) {
            ewmaBuilder_.dispose();
            ewmaBuilder_ = null;
          }
          onChanged();
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder getEwmaBuilder() {
          bitField0_ |= 0x00000004;
          onChanged();
          return internalGetEwmaFieldBuilder().getBuilder();
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder getEwmaOrBuilder() {
          if (ewmaBuilder_ != null) {
            return ewmaBuilder_.getMessageOrBuilder();
          } else {
            return ewma_ == null ?
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance() : ewma_;
          }
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder> 
            internalGetEwmaFieldBuilder() {
          if (ewmaBuilder_ == null) {
            ewmaBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder>(
                    getEwma(),
                    getParentForChildren(),
                    isClean());
            ewma_ = null;
          }
          return ewmaBuilder_;
        }

        // @@protoc_insertion_point(builder_scope:NodeMetrics.Metric)
      }

      // @@protoc_insertion_point(class_scope:NodeMetrics.Metric)
      private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric DEFAULT_INSTANCE;
      static {
        DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric();
      }

      public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getDefaultInstance() {
        return DEFAULT_INSTANCE;
      }

      private static final org.apache.pekko.protobufv3.internal.Parser<Metric>
          PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<Metric>() {
        @java.lang.Override
        public Metric 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<Metric> parser() {
        return PARSER;
      }

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

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getDefaultInstanceForType() {
        return DEFAULT_INSTANCE;
      }

    }

    private int bitField0_;
    public static final int ADDRESSINDEX_FIELD_NUMBER = 1;
    private int addressIndex_ = 0;
    /**
     * <code>required int32 addressIndex = 1;</code>
     * @return Whether the addressIndex field is set.
     */
    @java.lang.Override
    public boolean hasAddressIndex() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required int32 addressIndex = 1;</code>
     * @return The addressIndex.
     */
    @java.lang.Override
    public int getAddressIndex() {
      return addressIndex_;
    }

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

    public static final int METRICS_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> metrics_;
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    @java.lang.Override
    public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> getMetricsList() {
      return metrics_;
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> 
        getMetricsOrBuilderList() {
      return metrics_;
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    @java.lang.Override
    public int getMetricsCount() {
      return metrics_.size();
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getMetrics(int index) {
      return metrics_.get(index);
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(
        int index) {
      return metrics_.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 (!hasAddressIndex()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasTimestamp()) {
        memoizedIsInitialized = 0;
        return false;
      }
      for (int i = 0; i < getMetricsCount(); i++) {
        if (!getMetrics(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.writeInt32(1, addressIndex_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeInt64(2, timestamp_);
      }
      for (int i = 0; i < metrics_.size(); i++) {
        output.writeMessage(3, metrics_.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
          .computeInt32Size(1, addressIndex_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeInt64Size(2, timestamp_);
      }
      for (int i = 0; i < metrics_.size(); i++) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeMessageSize(3, metrics_.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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics)) {
        return super.equals(obj);
      }
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics) obj;

      if (hasAddressIndex() != other.hasAddressIndex()) return false;
      if (hasAddressIndex()) {
        if (getAddressIndex()
            != other.getAddressIndex()) return false;
      }
      if (hasTimestamp() != other.hasTimestamp()) return false;
      if (hasTimestamp()) {
        if (getTimestamp()
            != other.getTimestamp()) return false;
      }
      if (!getMetricsList()
          .equals(other.getMetricsList())) 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 (hasAddressIndex()) {
        hash = (37 * hash) + ADDRESSINDEX_FIELD_NUMBER;
        hash = (53 * hash) + getAddressIndex();
      }
      if (hasTimestamp()) {
        hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
        hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashLong(
            getTimestamp());
      }
      if (getMetricsCount() > 0) {
        hash = (37 * hash) + METRICS_FIELD_NUMBER;
        hash = (53 * hash) + getMetricsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        org.apache.pekko.protobufv3.internal.ByteString data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(byte[] data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics 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;
    }
    /**
     * <pre>
     * *
     * Node Metrics
     * </pre>
     *
     * Protobuf type {@code NodeMetrics}
     */
    public static final class Builder extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:NodeMetrics)
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder.class);
      }

      // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.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;
        addressIndex_ = 0;
        timestamp_ = 0L;
        if (metricsBuilder_ == null) {
          metrics_ = java.util.Collections.emptyList();
        } else {
          metrics_ = null;
          metricsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getDefaultInstanceForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics build() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics buildPartial() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics result) {
        if (metricsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0)) {
            metrics_ = java.util.Collections.unmodifiableList(metrics_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.metrics_ = metrics_;
        } else {
          result.metrics_ = metricsBuilder_.build();
        }
      }

      private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.addressIndex_ = addressIndex_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.timestamp_ = timestamp_;
          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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics) {
          return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics other) {
        if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDefaultInstance()) return this;
        if (other.hasAddressIndex()) {
          setAddressIndex(other.getAddressIndex());
        }
        if (other.hasTimestamp()) {
          setTimestamp(other.getTimestamp());
        }
        if (metricsBuilder_ == null) {
          if (!other.metrics_.isEmpty()) {
            if (metrics_.isEmpty()) {
              metrics_ = other.metrics_;
              bitField0_ = (bitField0_ & ~0x00000004);
            } else {
              ensureMetricsIsMutable();
              metrics_.addAll(other.metrics_);
            }
            onChanged();
          }
        } else {
          if (!other.metrics_.isEmpty()) {
            if (metricsBuilder_.isEmpty()) {
              metricsBuilder_.dispose();
              metricsBuilder_ = null;
              metrics_ = other.metrics_;
              bitField0_ = (bitField0_ & ~0x00000004);
              metricsBuilder_ = 
                org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders ?
                   internalGetMetricsFieldBuilder() : null;
            } else {
              metricsBuilder_.addAllMessages(other.metrics_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasAddressIndex()) {
          return false;
        }
        if (!hasTimestamp()) {
          return false;
        }
        for (int i = 0; i < getMetricsCount(); i++) {
          if (!getMetrics(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 8: {
                addressIndex_ = input.readInt32();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
              case 16: {
                timestamp_ = input.readInt64();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 26: {
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric m =
                    input.readMessage(
                        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.parser(),
                        extensionRegistry);
                if (metricsBuilder_ == null) {
                  ensureMetricsIsMutable();
                  metrics_.add(m);
                } else {
                  metricsBuilder_.addMessage(m);
                }
                break;
              } // case 26
              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 addressIndex_ ;
      /**
       * <code>required int32 addressIndex = 1;</code>
       * @return Whether the addressIndex field is set.
       */
      @java.lang.Override
      public boolean hasAddressIndex() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required int32 addressIndex = 1;</code>
       * @return The addressIndex.
       */
      @java.lang.Override
      public int getAddressIndex() {
        return addressIndex_;
      }
      /**
       * <code>required int32 addressIndex = 1;</code>
       * @param value The addressIndex to set.
       * @return This builder for chaining.
       */
      public Builder setAddressIndex(int value) {

        addressIndex_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required int32 addressIndex = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearAddressIndex() {
        bitField0_ = (bitField0_ & ~0x00000001);
        addressIndex_ = 0;
        onChanged();
        return this;
      }

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

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

      private java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> metrics_ =
        java.util.Collections.emptyList();
      private void ensureMetricsIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          metrics_ = new java.util.ArrayList<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric>(metrics_);
          bitField0_ |= 0x00000004;
         }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> metricsBuilder_;

      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> getMetricsList() {
        if (metricsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(metrics_);
        } else {
          return metricsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public int getMetricsCount() {
        if (metricsBuilder_ == null) {
          return metrics_.size();
        } else {
          return metricsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getMetrics(int index) {
        if (metricsBuilder_ == null) {
          return metrics_.get(index);
        } else {
          return metricsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder setMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric value) {
        if (metricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMetricsIsMutable();
          metrics_.set(index, value);
          onChanged();
        } else {
          metricsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder setMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder builderForValue) {
        if (metricsBuilder_ == null) {
          ensureMetricsIsMutable();
          metrics_.set(index, builderForValue.build());
          onChanged();
        } else {
          metricsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder addMetrics(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric value) {
        if (metricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMetricsIsMutable();
          metrics_.add(value);
          onChanged();
        } else {
          metricsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder addMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric value) {
        if (metricsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMetricsIsMutable();
          metrics_.add(index, value);
          onChanged();
        } else {
          metricsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder addMetrics(
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder builderForValue) {
        if (metricsBuilder_ == null) {
          ensureMetricsIsMutable();
          metrics_.add(builderForValue.build());
          onChanged();
        } else {
          metricsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder addMetrics(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder builderForValue) {
        if (metricsBuilder_ == null) {
          ensureMetricsIsMutable();
          metrics_.add(index, builderForValue.build());
          onChanged();
        } else {
          metricsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder addAllMetrics(
          java.lang.Iterable<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> values) {
        if (metricsBuilder_ == null) {
          ensureMetricsIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
              values, metrics_);
          onChanged();
        } else {
          metricsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder clearMetrics() {
        if (metricsBuilder_ == null) {
          metrics_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
          onChanged();
        } else {
          metricsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public Builder removeMetrics(int index) {
        if (metricsBuilder_ == null) {
          ensureMetricsIsMutable();
          metrics_.remove(index);
          onChanged();
        } else {
          metricsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder getMetricsBuilder(
          int index) {
        return internalGetMetricsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(
          int index) {
        if (metricsBuilder_ == null) {
          return metrics_.get(index);  } else {
          return metricsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> 
           getMetricsOrBuilderList() {
        if (metricsBuilder_ != null) {
          return metricsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(metrics_);
        }
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder addMetricsBuilder() {
        return internalGetMetricsFieldBuilder().addBuilder(
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder addMetricsBuilder(
          int index) {
        return internalGetMetricsFieldBuilder().addBuilder(
            index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder> 
           getMetricsBuilderList() {
        return internalGetMetricsFieldBuilder().getBuilderList();
      }
      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> 
          internalGetMetricsFieldBuilder() {
        if (metricsBuilder_ == null) {
          metricsBuilder_ = new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder>(
                  metrics_,
                  ((bitField0_ & 0x00000004) != 0),
                  getParentForChildren(),
                  isClean());
          metrics_ = null;
        }
        return metricsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:NodeMetrics)
    }

    // @@protoc_insertion_point(class_scope:NodeMetrics)
    private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics();
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<NodeMetrics>
        PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<NodeMetrics>() {
      @java.lang.Override
      public NodeMetrics 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<NodeMetrics> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

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

    /**
     * <code>required string hostname = 2;</code>
     * @return Whether the hostname field is set.
     */
    boolean hasHostname();
    /**
     * <code>required string hostname = 2;</code>
     * @return The hostname.
     */
    java.lang.String getHostname();
    /**
     * <code>required string hostname = 2;</code>
     * @return The bytes for hostname.
     */
    org.apache.pekko.protobufv3.internal.ByteString
        getHostnameBytes();

    /**
     * <code>required uint32 port = 3;</code>
     * @return Whether the port field is set.
     */
    boolean hasPort();
    /**
     * <code>required uint32 port = 3;</code>
     * @return The port.
     */
    int getPort();

    /**
     * <code>optional string protocol = 4;</code>
     * @return Whether the protocol field is set.
     */
    boolean hasProtocol();
    /**
     * <code>optional string protocol = 4;</code>
     * @return The protocol.
     */
    java.lang.String getProtocol();
    /**
     * <code>optional string protocol = 4;</code>
     * @return The bytes for protocol.
     */
    org.apache.pekko.protobufv3.internal.ByteString
        getProtocolBytes();
  }
  /**
   * <pre>
   * *
   * Defines a remote address.
   * </pre>
   *
   * Protobuf type {@code Address}
   */
  public static final class Address extends
      org.apache.pekko.protobufv3.internal.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:Address)
      AddressOrBuilder {
  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= */ "",
        "Address");
    }
    // Use Address.newBuilder() to construct.
    private Address(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private Address() {
      system_ = "";
      hostname_ = "";
      protocol_ = "";
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder.class);
    }

    private int bitField0_;
    public static final int SYSTEM_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private volatile java.lang.Object system_ = "";
    /**
     * <code>required string system = 1;</code>
     * @return Whether the system field is set.
     */
    @java.lang.Override
    public boolean hasSystem() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required string system = 1;</code>
     * @return The system.
     */
    @java.lang.Override
    public java.lang.String getSystem() {
      java.lang.Object ref = system_;
      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()) {
          system_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string system = 1;</code>
     * @return The bytes for system.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString
        getSystemBytes() {
      java.lang.Object ref = system_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b = 
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        system_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int HOSTNAME_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private volatile java.lang.Object hostname_ = "";
    /**
     * <code>required string hostname = 2;</code>
     * @return Whether the hostname field is set.
     */
    @java.lang.Override
    public boolean hasHostname() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required string hostname = 2;</code>
     * @return The hostname.
     */
    @java.lang.Override
    public java.lang.String getHostname() {
      java.lang.Object ref = hostname_;
      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()) {
          hostname_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string hostname = 2;</code>
     * @return The bytes for hostname.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString
        getHostnameBytes() {
      java.lang.Object ref = hostname_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b = 
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hostname_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int PORT_FIELD_NUMBER = 3;
    private int port_ = 0;
    /**
     * <code>required uint32 port = 3;</code>
     * @return Whether the port field is set.
     */
    @java.lang.Override
    public boolean hasPort() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>required uint32 port = 3;</code>
     * @return The port.
     */
    @java.lang.Override
    public int getPort() {
      return port_;
    }

    public static final int PROTOCOL_FIELD_NUMBER = 4;
    @SuppressWarnings("serial")
    private volatile java.lang.Object protocol_ = "";
    /**
     * <code>optional string protocol = 4;</code>
     * @return Whether the protocol field is set.
     */
    @java.lang.Override
    public boolean hasProtocol() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>optional string protocol = 4;</code>
     * @return The protocol.
     */
    @java.lang.Override
    public java.lang.String getProtocol() {
      java.lang.Object ref = protocol_;
      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()) {
          protocol_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string protocol = 4;</code>
     * @return The bytes for protocol.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString
        getProtocolBytes() {
      java.lang.Object ref = protocol_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b = 
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        protocol_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    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 (!hasSystem()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasHostname()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasPort()) {
        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, system_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 2, hostname_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeUInt32(3, port_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 4, protocol_);
      }
      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, system_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(2, hostname_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeUInt32Size(3, port_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(4, protocol_);
      }
      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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address)) {
        return super.equals(obj);
      }
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address) obj;

      if (hasSystem() != other.hasSystem()) return false;
      if (hasSystem()) {
        if (!getSystem()
            .equals(other.getSystem())) return false;
      }
      if (hasHostname() != other.hasHostname()) return false;
      if (hasHostname()) {
        if (!getHostname()
            .equals(other.getHostname())) return false;
      }
      if (hasPort() != other.hasPort()) return false;
      if (hasPort()) {
        if (getPort()
            != other.getPort()) return false;
      }
      if (hasProtocol() != other.hasProtocol()) return false;
      if (hasProtocol()) {
        if (!getProtocol()
            .equals(other.getProtocol())) 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 (hasSystem()) {
        hash = (37 * hash) + SYSTEM_FIELD_NUMBER;
        hash = (53 * hash) + getSystem().hashCode();
      }
      if (hasHostname()) {
        hash = (37 * hash) + HOSTNAME_FIELD_NUMBER;
        hash = (53 * hash) + getHostname().hashCode();
      }
      if (hasPort()) {
        hash = (37 * hash) + PORT_FIELD_NUMBER;
        hash = (53 * hash) + getPort();
      }
      if (hasProtocol()) {
        hash = (37 * hash) + PROTOCOL_FIELD_NUMBER;
        hash = (53 * hash) + getProtocol().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        org.apache.pekko.protobufv3.internal.ByteString data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(byte[] data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address 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;
    }
    /**
     * <pre>
     * *
     * Defines a remote address.
     * </pre>
     *
     * Protobuf type {@code Address}
     */
    public static final class Builder extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:Address)
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder.class);
      }

      // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.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;
        system_ = "";
        hostname_ = "";
        port_ = 0;
        protocol_ = "";
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getDefaultInstanceForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address build() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address buildPartial() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.system_ = system_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.hostname_ = hostname_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.port_ = port_;
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.protocol_ = protocol_;
          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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address) {
          return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address other) {
        if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance()) return this;
        if (other.hasSystem()) {
          system_ = other.system_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (other.hasHostname()) {
          hostname_ = other.hostname_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (other.hasPort()) {
          setPort(other.getPort());
        }
        if (other.hasProtocol()) {
          protocol_ = other.protocol_;
          bitField0_ |= 0x00000008;
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasSystem()) {
          return false;
        }
        if (!hasHostname()) {
          return false;
        }
        if (!hasPort()) {
          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: {
                system_ = input.readBytes();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                hostname_ = input.readBytes();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 24: {
                port_ = input.readUInt32();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
              case 34: {
                protocol_ = input.readBytes();
                bitField0_ |= 0x00000008;
                break;
              } // case 34
              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 system_ = "";
      /**
       * <code>required string system = 1;</code>
       * @return Whether the system field is set.
       */
      public boolean hasSystem() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required string system = 1;</code>
       * @return The system.
       */
      public java.lang.String getSystem() {
        java.lang.Object ref = system_;
        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()) {
            system_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string system = 1;</code>
       * @return The bytes for system.
       */
      public org.apache.pekko.protobufv3.internal.ByteString
          getSystemBytes() {
        java.lang.Object ref = system_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b = 
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          system_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>required string system = 1;</code>
       * @param value The system to set.
       * @return This builder for chaining.
       */
      public Builder setSystem(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        system_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required string system = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearSystem() {
        system_ = getDefaultInstance().getSystem();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * <code>required string system = 1;</code>
       * @param value The bytes for system to set.
       * @return This builder for chaining.
       */
      public Builder setSystemBytes(
          org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        system_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }

      private java.lang.Object hostname_ = "";
      /**
       * <code>required string hostname = 2;</code>
       * @return Whether the hostname field is set.
       */
      public boolean hasHostname() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required string hostname = 2;</code>
       * @return The hostname.
       */
      public java.lang.String getHostname() {
        java.lang.Object ref = hostname_;
        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()) {
            hostname_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string hostname = 2;</code>
       * @return The bytes for hostname.
       */
      public org.apache.pekko.protobufv3.internal.ByteString
          getHostnameBytes() {
        java.lang.Object ref = hostname_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b = 
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          hostname_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>required string hostname = 2;</code>
       * @param value The hostname to set.
       * @return This builder for chaining.
       */
      public Builder setHostname(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        hostname_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>required string hostname = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearHostname() {
        hostname_ = getDefaultInstance().getHostname();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>required string hostname = 2;</code>
       * @param value The bytes for hostname to set.
       * @return This builder for chaining.
       */
      public Builder setHostnameBytes(
          org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        hostname_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private int port_ ;
      /**
       * <code>required uint32 port = 3;</code>
       * @return Whether the port field is set.
       */
      @java.lang.Override
      public boolean hasPort() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>required uint32 port = 3;</code>
       * @return The port.
       */
      @java.lang.Override
      public int getPort() {
        return port_;
      }
      /**
       * <code>required uint32 port = 3;</code>
       * @param value The port to set.
       * @return This builder for chaining.
       */
      public Builder setPort(int value) {

        port_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>required uint32 port = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearPort() {
        bitField0_ = (bitField0_ & ~0x00000004);
        port_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object protocol_ = "";
      /**
       * <code>optional string protocol = 4;</code>
       * @return Whether the protocol field is set.
       */
      public boolean hasProtocol() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * <code>optional string protocol = 4;</code>
       * @return The protocol.
       */
      public java.lang.String getProtocol() {
        java.lang.Object ref = protocol_;
        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()) {
            protocol_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string protocol = 4;</code>
       * @return The bytes for protocol.
       */
      public org.apache.pekko.protobufv3.internal.ByteString
          getProtocolBytes() {
        java.lang.Object ref = protocol_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b = 
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          protocol_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>optional string protocol = 4;</code>
       * @param value The protocol to set.
       * @return This builder for chaining.
       */
      public Builder setProtocol(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        protocol_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }
      /**
       * <code>optional string protocol = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearProtocol() {
        protocol_ = getDefaultInstance().getProtocol();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       * <code>optional string protocol = 4;</code>
       * @param value The bytes for protocol to set.
       * @return This builder for chaining.
       */
      public Builder setProtocolBytes(
          org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        protocol_ = value;
        bitField0_ |= 0x00000008;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:Address)
    }

    // @@protoc_insertion_point(class_scope:Address)
    private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address();
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<Address>
        PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<Address>() {
      @java.lang.Override
      public Address 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<Address> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     * @return Whether the metricsSelector field is set.
     */
    boolean hasMetricsSelector();
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     * @return The metricsSelector.
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getMetricsSelector();
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getMetricsSelectorOrBuilder();

    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     * @return Whether the nrOfInstances field is set.
     */
    boolean hasNrOfInstances();
    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     * @return The nrOfInstances.
     */
    int getNrOfInstances();

    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional string routerDispatcher = 3;</code>
     * @return Whether the routerDispatcher field is set.
     */
    boolean hasRouterDispatcher();
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional string routerDispatcher = 3;</code>
     * @return The routerDispatcher.
     */
    java.lang.String getRouterDispatcher();
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional string routerDispatcher = 3;</code>
     * @return The bytes for routerDispatcher.
     */
    org.apache.pekko.protobufv3.internal.ByteString
        getRouterDispatcherBytes();

    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     * @return Whether the usePoolDispatcher field is set.
     */
    boolean hasUsePoolDispatcher();
    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     * @return The usePoolDispatcher.
     */
    boolean getUsePoolDispatcher();
  }
  /**
   * Protobuf type {@code AdaptiveLoadBalancingPool}
   */
  public static final class AdaptiveLoadBalancingPool extends
      org.apache.pekko.protobufv3.internal.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:AdaptiveLoadBalancingPool)
      AdaptiveLoadBalancingPoolOrBuilder {
  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= */ "",
        "AdaptiveLoadBalancingPool");
    }
    // Use AdaptiveLoadBalancingPool.newBuilder() to construct.
    private AdaptiveLoadBalancingPool(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private AdaptiveLoadBalancingPool() {
      routerDispatcher_ = "";
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder.class);
    }

    private int bitField0_;
    public static final int METRICSSELECTOR_FIELD_NUMBER = 1;
    private org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector metricsSelector_;
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     * @return Whether the metricsSelector field is set.
     */
    @java.lang.Override
    public boolean hasMetricsSelector() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     * @return The metricsSelector.
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getMetricsSelector() {
      return metricsSelector_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance() : metricsSelector_;
    }
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getMetricsSelectorOrBuilder() {
      return metricsSelector_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance() : metricsSelector_;
    }

    public static final int NROFINSTANCES_FIELD_NUMBER = 2;
    private int nrOfInstances_ = 0;
    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     * @return Whether the nrOfInstances field is set.
     */
    @java.lang.Override
    public boolean hasNrOfInstances() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     * @return The nrOfInstances.
     */
    @java.lang.Override
    public int getNrOfInstances() {
      return nrOfInstances_;
    }

    public static final int ROUTERDISPATCHER_FIELD_NUMBER = 3;
    @SuppressWarnings("serial")
    private volatile java.lang.Object routerDispatcher_ = "";
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional string routerDispatcher = 3;</code>
     * @return Whether the routerDispatcher field is set.
     */
    @java.lang.Override
    public boolean hasRouterDispatcher() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional string routerDispatcher = 3;</code>
     * @return The routerDispatcher.
     */
    @java.lang.Override
    public java.lang.String getRouterDispatcher() {
      java.lang.Object ref = routerDispatcher_;
      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()) {
          routerDispatcher_ = s;
        }
        return s;
      }
    }
    /**
     * <pre>
     * omitted if default
     * </pre>
     *
     * <code>optional string routerDispatcher = 3;</code>
     * @return The bytes for routerDispatcher.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString
        getRouterDispatcherBytes() {
      java.lang.Object ref = routerDispatcher_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b = 
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        routerDispatcher_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int USEPOOLDISPATCHER_FIELD_NUMBER = 4;
    private boolean usePoolDispatcher_ = false;
    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     * @return Whether the usePoolDispatcher field is set.
     */
    @java.lang.Override
    public boolean hasUsePoolDispatcher() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     * @return The usePoolDispatcher.
     */
    @java.lang.Override
    public boolean getUsePoolDispatcher() {
      return usePoolDispatcher_;
    }

    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 (!hasNrOfInstances()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasUsePoolDispatcher()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (hasMetricsSelector()) {
        if (!getMetricsSelector().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, getMetricsSelector());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeUInt32(2, nrOfInstances_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 3, routerDispatcher_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeBool(4, usePoolDispatcher_);
      }
      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, getMetricsSelector());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeUInt32Size(2, nrOfInstances_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(3, routerDispatcher_);
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeBoolSize(4, usePoolDispatcher_);
      }
      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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool)) {
        return super.equals(obj);
      }
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool) obj;

      if (hasMetricsSelector() != other.hasMetricsSelector()) return false;
      if (hasMetricsSelector()) {
        if (!getMetricsSelector()
            .equals(other.getMetricsSelector())) return false;
      }
      if (hasNrOfInstances() != other.hasNrOfInstances()) return false;
      if (hasNrOfInstances()) {
        if (getNrOfInstances()
            != other.getNrOfInstances()) return false;
      }
      if (hasRouterDispatcher() != other.hasRouterDispatcher()) return false;
      if (hasRouterDispatcher()) {
        if (!getRouterDispatcher()
            .equals(other.getRouterDispatcher())) return false;
      }
      if (hasUsePoolDispatcher() != other.hasUsePoolDispatcher()) return false;
      if (hasUsePoolDispatcher()) {
        if (getUsePoolDispatcher()
            != other.getUsePoolDispatcher()) 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 (hasMetricsSelector()) {
        hash = (37 * hash) + METRICSSELECTOR_FIELD_NUMBER;
        hash = (53 * hash) + getMetricsSelector().hashCode();
      }
      if (hasNrOfInstances()) {
        hash = (37 * hash) + NROFINSTANCES_FIELD_NUMBER;
        hash = (53 * hash) + getNrOfInstances();
      }
      if (hasRouterDispatcher()) {
        hash = (37 * hash) + ROUTERDISPATCHER_FIELD_NUMBER;
        hash = (53 * hash) + getRouterDispatcher().hashCode();
      }
      if (hasUsePoolDispatcher()) {
        hash = (37 * hash) + USEPOOLDISPATCHER_FIELD_NUMBER;
        hash = (53 * hash) + org.apache.pekko.protobufv3.internal.Internal.hashBoolean(
            getUsePoolDispatcher());
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        org.apache.pekko.protobufv3.internal.ByteString data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(byte[] data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool 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 AdaptiveLoadBalancingPool}
     */
    public static final class Builder extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:AdaptiveLoadBalancingPool)
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder.class);
      }

      // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.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) {
          internalGetMetricsSelectorFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        metricsSelector_ = null;
        if (metricsSelectorBuilder_ != null) {
          metricsSelectorBuilder_.dispose();
          metricsSelectorBuilder_ = null;
        }
        nrOfInstances_ = 0;
        routerDispatcher_ = "";
        usePoolDispatcher_ = false;
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool getDefaultInstanceForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool build() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool buildPartial() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.metricsSelector_ = metricsSelectorBuilder_ == null
              ? metricsSelector_
              : metricsSelectorBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.nrOfInstances_ = nrOfInstances_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.routerDispatcher_ = routerDispatcher_;
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.usePoolDispatcher_ = usePoolDispatcher_;
          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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool) {
          return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool other) {
        if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.getDefaultInstance()) return this;
        if (other.hasMetricsSelector()) {
          mergeMetricsSelector(other.getMetricsSelector());
        }
        if (other.hasNrOfInstances()) {
          setNrOfInstances(other.getNrOfInstances());
        }
        if (other.hasRouterDispatcher()) {
          routerDispatcher_ = other.routerDispatcher_;
          bitField0_ |= 0x00000004;
          onChanged();
        }
        if (other.hasUsePoolDispatcher()) {
          setUsePoolDispatcher(other.getUsePoolDispatcher());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasNrOfInstances()) {
          return false;
        }
        if (!hasUsePoolDispatcher()) {
          return false;
        }
        if (hasMetricsSelector()) {
          if (!getMetricsSelector().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(
                    internalGetMetricsSelectorFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 16: {
                nrOfInstances_ = input.readUInt32();
                bitField0_ |= 0x00000002;
                break;
              } // case 16
              case 26: {
                routerDispatcher_ = input.readBytes();
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              case 32: {
                usePoolDispatcher_ = 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 org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector metricsSelector_;
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> metricsSelectorBuilder_;
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       * @return Whether the metricsSelector field is set.
       */
      public boolean hasMetricsSelector() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       * @return The metricsSelector.
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getMetricsSelector() {
        if (metricsSelectorBuilder_ == null) {
          return metricsSelector_ == null ? org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance() : metricsSelector_;
        } else {
          return metricsSelectorBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       */
      public Builder setMetricsSelector(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
        if (metricsSelectorBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metricsSelector_ = value;
        } else {
          metricsSelectorBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       */
      public Builder setMetricsSelector(
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder builderForValue) {
        if (metricsSelectorBuilder_ == null) {
          metricsSelector_ = builderForValue.build();
        } else {
          metricsSelectorBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       */
      public Builder mergeMetricsSelector(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
        if (metricsSelectorBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            metricsSelector_ != null &&
            metricsSelector_ != org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance()) {
            getMetricsSelectorBuilder().mergeFrom(value);
          } else {
            metricsSelector_ = value;
          }
        } else {
          metricsSelectorBuilder_.mergeFrom(value);
        }
        if (metricsSelector_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       */
      public Builder clearMetricsSelector() {
        bitField0_ = (bitField0_ & ~0x00000001);
        metricsSelector_ = null;
        if (metricsSelectorBuilder_ != null) {
          metricsSelectorBuilder_.dispose();
          metricsSelectorBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder getMetricsSelectorBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return internalGetMetricsSelectorFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getMetricsSelectorOrBuilder() {
        if (metricsSelectorBuilder_ != null) {
          return metricsSelectorBuilder_.getMessageOrBuilder();
        } else {
          return metricsSelector_ == null ?
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance() : metricsSelector_;
        }
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       */
      private org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
          internalGetMetricsSelectorFieldBuilder() {
        if (metricsSelectorBuilder_ == null) {
          metricsSelectorBuilder_ = new org.apache.pekko.protobufv3.internal.SingleFieldBuilder<
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder>(
                  getMetricsSelector(),
                  getParentForChildren(),
                  isClean());
          metricsSelector_ = null;
        }
        return metricsSelectorBuilder_;
      }

      private int nrOfInstances_ ;
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       * @return Whether the nrOfInstances field is set.
       */
      @java.lang.Override
      public boolean hasNrOfInstances() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       * @return The nrOfInstances.
       */
      @java.lang.Override
      public int getNrOfInstances() {
        return nrOfInstances_;
      }
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       * @param value The nrOfInstances to set.
       * @return This builder for chaining.
       */
      public Builder setNrOfInstances(int value) {

        nrOfInstances_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearNrOfInstances() {
        bitField0_ = (bitField0_ & ~0x00000002);
        nrOfInstances_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object routerDispatcher_ = "";
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional string routerDispatcher = 3;</code>
       * @return Whether the routerDispatcher field is set.
       */
      public boolean hasRouterDispatcher() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional string routerDispatcher = 3;</code>
       * @return The routerDispatcher.
       */
      public java.lang.String getRouterDispatcher() {
        java.lang.Object ref = routerDispatcher_;
        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()) {
            routerDispatcher_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional string routerDispatcher = 3;</code>
       * @return The bytes for routerDispatcher.
       */
      public org.apache.pekko.protobufv3.internal.ByteString
          getRouterDispatcherBytes() {
        java.lang.Object ref = routerDispatcher_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b = 
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          routerDispatcher_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional string routerDispatcher = 3;</code>
       * @param value The routerDispatcher to set.
       * @return This builder for chaining.
       */
      public Builder setRouterDispatcher(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        routerDispatcher_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional string routerDispatcher = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearRouterDispatcher() {
        routerDispatcher_ = getDefaultInstance().getRouterDispatcher();
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * <pre>
       * omitted if default
       * </pre>
       *
       * <code>optional string routerDispatcher = 3;</code>
       * @param value The bytes for routerDispatcher to set.
       * @return This builder for chaining.
       */
      public Builder setRouterDispatcherBytes(
          org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        routerDispatcher_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }

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

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

      // @@protoc_insertion_point(builder_scope:AdaptiveLoadBalancingPool)
    }

    // @@protoc_insertion_point(class_scope:AdaptiveLoadBalancingPool)
    private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool();
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<AdaptiveLoadBalancingPool>
        PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<AdaptiveLoadBalancingPool>() {
      @java.lang.Override
      public AdaptiveLoadBalancingPool 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<AdaptiveLoadBalancingPool> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <code>required uint32 serializerId = 1;</code>
     * @return Whether the serializerId field is set.
     */
    boolean hasSerializerId();
    /**
     * <code>required uint32 serializerId = 1;</code>
     * @return The serializerId.
     */
    int getSerializerId();

    /**
     * <code>required string manifest = 2;</code>
     * @return Whether the manifest field is set.
     */
    boolean hasManifest();
    /**
     * <code>required string manifest = 2;</code>
     * @return The manifest.
     */
    java.lang.String getManifest();
    /**
     * <code>required string manifest = 2;</code>
     * @return The bytes for manifest.
     */
    org.apache.pekko.protobufv3.internal.ByteString
        getManifestBytes();

    /**
     * <code>required bytes data = 3;</code>
     * @return Whether the data field is set.
     */
    boolean hasData();
    /**
     * <code>required bytes data = 3;</code>
     * @return The data.
     */
    org.apache.pekko.protobufv3.internal.ByteString getData();
  }
  /**
   * <pre>
   * couldn't figure out how to import Payload
   * </pre>
   *
   * Protobuf type {@code MetricsSelector}
   */
  public static final class MetricsSelector extends
      org.apache.pekko.protobufv3.internal.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:MetricsSelector)
      MetricsSelectorOrBuilder {
  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= */ "",
        "MetricsSelector");
    }
    // Use MetricsSelector.newBuilder() to construct.
    private MetricsSelector(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private MetricsSelector() {
      manifest_ = "";
      data_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder.class);
    }

    private int bitField0_;
    public static final int SERIALIZERID_FIELD_NUMBER = 1;
    private int serializerId_ = 0;
    /**
     * <code>required uint32 serializerId = 1;</code>
     * @return Whether the serializerId field is set.
     */
    @java.lang.Override
    public boolean hasSerializerId() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * <code>required uint32 serializerId = 1;</code>
     * @return The serializerId.
     */
    @java.lang.Override
    public int getSerializerId() {
      return serializerId_;
    }

    public static final int MANIFEST_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private volatile java.lang.Object manifest_ = "";
    /**
     * <code>required string manifest = 2;</code>
     * @return Whether the manifest field is set.
     */
    @java.lang.Override
    public boolean hasManifest() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * <code>required string manifest = 2;</code>
     * @return The manifest.
     */
    @java.lang.Override
    public java.lang.String getManifest() {
      java.lang.Object ref = manifest_;
      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()) {
          manifest_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string manifest = 2;</code>
     * @return The bytes for manifest.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString
        getManifestBytes() {
      java.lang.Object ref = manifest_;
      if (ref instanceof java.lang.String) {
        org.apache.pekko.protobufv3.internal.ByteString b = 
            org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        manifest_ = b;
        return b;
      } else {
        return (org.apache.pekko.protobufv3.internal.ByteString) ref;
      }
    }

    public static final int DATA_FIELD_NUMBER = 3;
    private org.apache.pekko.protobufv3.internal.ByteString data_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
    /**
     * <code>required bytes data = 3;</code>
     * @return Whether the data field is set.
     */
    @java.lang.Override
    public boolean hasData() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * <code>required bytes data = 3;</code>
     * @return The data.
     */
    @java.lang.Override
    public org.apache.pekko.protobufv3.internal.ByteString getData() {
      return data_;
    }

    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 (!hasSerializerId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasManifest()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasData()) {
        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.writeUInt32(1, serializerId_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        org.apache.pekko.protobufv3.internal.GeneratedMessage.writeString(output, 2, manifest_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeBytes(3, data_);
      }
      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
          .computeUInt32Size(1, serializerId_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.pekko.protobufv3.internal.GeneratedMessage.computeStringSize(2, manifest_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeBytesSize(3, data_);
      }
      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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector)) {
        return super.equals(obj);
      }
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector) obj;

      if (hasSerializerId() != other.hasSerializerId()) return false;
      if (hasSerializerId()) {
        if (getSerializerId()
            != other.getSerializerId()) return false;
      }
      if (hasManifest() != other.hasManifest()) return false;
      if (hasManifest()) {
        if (!getManifest()
            .equals(other.getManifest())) return false;
      }
      if (hasData() != other.hasData()) return false;
      if (hasData()) {
        if (!getData()
            .equals(other.getData())) 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 (hasSerializerId()) {
        hash = (37 * hash) + SERIALIZERID_FIELD_NUMBER;
        hash = (53 * hash) + getSerializerId();
      }
      if (hasManifest()) {
        hash = (37 * hash) + MANIFEST_FIELD_NUMBER;
        hash = (53 * hash) + getManifest().hashCode();
      }
      if (hasData()) {
        hash = (37 * hash) + DATA_FIELD_NUMBER;
        hash = (53 * hash) + getData().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        org.apache.pekko.protobufv3.internal.ByteString data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(byte[] data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector 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;
    }
    /**
     * <pre>
     * couldn't figure out how to import Payload
     * </pre>
     *
     * Protobuf type {@code MetricsSelector}
     */
    public static final class Builder extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:MetricsSelector)
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder.class);
      }

      // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.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;
        serializerId_ = 0;
        manifest_ = "";
        data_ = 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getDefaultInstanceForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector build() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector buildPartial() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.serializerId_ = serializerId_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.manifest_ = manifest_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.data_ = data_;
          to_bitField0_ |= 0x00000004;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other instanceof org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector) {
          return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector other) {
        if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance()) return this;
        if (other.hasSerializerId()) {
          setSerializerId(other.getSerializerId());
        }
        if (other.hasManifest()) {
          manifest_ = other.manifest_;
          bitField0_ |= 0x00000002;
          onChanged();
        }
        if (other.hasData()) {
          setData(other.getData());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasSerializerId()) {
          return false;
        }
        if (!hasManifest()) {
          return false;
        }
        if (!hasData()) {
          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: {
                serializerId_ = input.readUInt32();
                bitField0_ |= 0x00000001;
                break;
              } // case 8
              case 18: {
                manifest_ = input.readBytes();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
              case 26: {
                data_ = input.readBytes();
                bitField0_ |= 0x00000004;
                break;
              } // case 26
              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 serializerId_ ;
      /**
       * <code>required uint32 serializerId = 1;</code>
       * @return Whether the serializerId field is set.
       */
      @java.lang.Override
      public boolean hasSerializerId() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * <code>required uint32 serializerId = 1;</code>
       * @return The serializerId.
       */
      @java.lang.Override
      public int getSerializerId() {
        return serializerId_;
      }
      /**
       * <code>required uint32 serializerId = 1;</code>
       * @param value The serializerId to set.
       * @return This builder for chaining.
       */
      public Builder setSerializerId(int value) {

        serializerId_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * <code>required uint32 serializerId = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearSerializerId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        serializerId_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object manifest_ = "";
      /**
       * <code>required string manifest = 2;</code>
       * @return Whether the manifest field is set.
       */
      public boolean hasManifest() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * <code>required string manifest = 2;</code>
       * @return The manifest.
       */
      public java.lang.String getManifest() {
        java.lang.Object ref = manifest_;
        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()) {
            manifest_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string manifest = 2;</code>
       * @return The bytes for manifest.
       */
      public org.apache.pekko.protobufv3.internal.ByteString
          getManifestBytes() {
        java.lang.Object ref = manifest_;
        if (ref instanceof String) {
          org.apache.pekko.protobufv3.internal.ByteString b = 
              org.apache.pekko.protobufv3.internal.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          manifest_ = b;
          return b;
        } else {
          return (org.apache.pekko.protobufv3.internal.ByteString) ref;
        }
      }
      /**
       * <code>required string manifest = 2;</code>
       * @param value The manifest to set.
       * @return This builder for chaining.
       */
      public Builder setManifest(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        manifest_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * <code>required string manifest = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearManifest() {
        manifest_ = getDefaultInstance().getManifest();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>required string manifest = 2;</code>
       * @param value The bytes for manifest to set.
       * @return This builder for chaining.
       */
      public Builder setManifestBytes(
          org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        manifest_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }

      private org.apache.pekko.protobufv3.internal.ByteString data_ = org.apache.pekko.protobufv3.internal.ByteString.EMPTY;
      /**
       * <code>required bytes data = 3;</code>
       * @return Whether the data field is set.
       */
      @java.lang.Override
      public boolean hasData() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * <code>required bytes data = 3;</code>
       * @return The data.
       */
      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.ByteString getData() {
        return data_;
      }
      /**
       * <code>required bytes data = 3;</code>
       * @param value The data to set.
       * @return This builder for chaining.
       */
      public Builder setData(org.apache.pekko.protobufv3.internal.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        data_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes data = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearData() {
        bitField0_ = (bitField0_ & ~0x00000004);
        data_ = getDefaultInstance().getData();
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:MetricsSelector)
    }

    // @@protoc_insertion_point(class_scope:MetricsSelector)
    private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector();
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<MetricsSelector>
        PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<MetricsSelector>() {
      @java.lang.Override
      public MetricsSelector 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<MetricsSelector> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

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

    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> 
        getSelectorsList();
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getSelectors(int index);
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    int getSelectorsCount();
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
        getSelectorsOrBuilderList();
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getSelectorsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code MixMetricsSelector}
   */
  public static final class MixMetricsSelector extends
      org.apache.pekko.protobufv3.internal.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:MixMetricsSelector)
      MixMetricsSelectorOrBuilder {
  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= */ "",
        "MixMetricsSelector");
    }
    // Use MixMetricsSelector.newBuilder() to construct.
    private MixMetricsSelector(org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<?> builder) {
      super(builder);
    }
    private MixMetricsSelector() {
      selectors_ = java.util.Collections.emptyList();
    }

    public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_descriptor;
    }

    @java.lang.Override
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.Builder.class);
    }

    public static final int SELECTORS_FIELD_NUMBER = 1;
    @SuppressWarnings("serial")
    private java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> selectors_;
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    @java.lang.Override
    public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> getSelectorsList() {
      return selectors_;
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    @java.lang.Override
    public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
        getSelectorsOrBuilderList() {
      return selectors_;
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    @java.lang.Override
    public int getSelectorsCount() {
      return selectors_.size();
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getSelectors(int index) {
      return selectors_.get(index);
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getSelectorsOrBuilder(
        int index) {
      return selectors_.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 < getSelectorsCount(); i++) {
        if (!getSelectors(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 < selectors_.size(); i++) {
        output.writeMessage(1, selectors_.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 < selectors_.size(); i++) {
        size += org.apache.pekko.protobufv3.internal.CodedOutputStream
          .computeMessageSize(1, selectors_.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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector)) {
        return super.equals(obj);
      }
      org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector other = (org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector) obj;

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

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        org.apache.pekko.protobufv3.internal.ByteString data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(byte[] data)
        throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.pekko.protobufv3.internal.GeneratedMessage
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector 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 MixMetricsSelector}
     */
    public static final class Builder extends
        org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:MixMetricsSelector)
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelectorOrBuilder {
      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_descriptor;
      }

      @java.lang.Override
      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.class, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.Builder.class);
      }

      // Construct using org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.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 (selectorsBuilder_ == null) {
          selectors_ = java.util.Collections.emptyList();
        } else {
          selectors_ = null;
          selectorsBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_descriptor;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector getDefaultInstanceForType() {
        return org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector build() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector buildPartial() {
        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector result = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector(this);
        buildPartialRepeatedFields(result);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartialRepeatedFields(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector result) {
        if (selectorsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            selectors_ = java.util.Collections.unmodifiableList(selectors_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.selectors_ = selectors_;
        } else {
          result.selectors_ = selectorsBuilder_.build();
        }
      }

      private void buildPartial0(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector result) {
        int from_bitField0_ = bitField0_;
      }

      @java.lang.Override
      public Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other) {
        if (other instanceof org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector) {
          return mergeFrom((org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector other) {
        if (other == org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.getDefaultInstance()) return this;
        if (selectorsBuilder_ == null) {
          if (!other.selectors_.isEmpty()) {
            if (selectors_.isEmpty()) {
              selectors_ = other.selectors_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureSelectorsIsMutable();
              selectors_.addAll(other.selectors_);
            }
            onChanged();
          }
        } else {
          if (!other.selectors_.isEmpty()) {
            if (selectorsBuilder_.isEmpty()) {
              selectorsBuilder_.dispose();
              selectorsBuilder_ = null;
              selectors_ = other.selectors_;
              bitField0_ = (bitField0_ & ~0x00000001);
              selectorsBuilder_ = 
                org.apache.pekko.protobufv3.internal.GeneratedMessage.alwaysUseFieldBuilders ?
                   internalGetSelectorsFieldBuilder() : null;
            } else {
              selectorsBuilder_.addAllMessages(other.selectors_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        for (int i = 0; i < getSelectorsCount(); i++) {
          if (!getSelectors(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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector m =
                    input.readMessage(
                        org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.parser(),
                        extensionRegistry);
                if (selectorsBuilder_ == null) {
                  ensureSelectorsIsMutable();
                  selectors_.add(m);
                } else {
                  selectorsBuilder_.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.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> selectors_ =
        java.util.Collections.emptyList();
      private void ensureSelectorsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          selectors_ = new java.util.ArrayList<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector>(selectors_);
          bitField0_ |= 0x00000001;
         }
      }

      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> selectorsBuilder_;

      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> getSelectorsList() {
        if (selectorsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(selectors_);
        } else {
          return selectorsBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public int getSelectorsCount() {
        if (selectorsBuilder_ == null) {
          return selectors_.size();
        } else {
          return selectorsBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getSelectors(int index) {
        if (selectorsBuilder_ == null) {
          return selectors_.get(index);
        } else {
          return selectorsBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder setSelectors(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
        if (selectorsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectorsIsMutable();
          selectors_.set(index, value);
          onChanged();
        } else {
          selectorsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder setSelectors(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder builderForValue) {
        if (selectorsBuilder_ == null) {
          ensureSelectorsIsMutable();
          selectors_.set(index, builderForValue.build());
          onChanged();
        } else {
          selectorsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder addSelectors(org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
        if (selectorsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectorsIsMutable();
          selectors_.add(value);
          onChanged();
        } else {
          selectorsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder addSelectors(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
        if (selectorsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureSelectorsIsMutable();
          selectors_.add(index, value);
          onChanged();
        } else {
          selectorsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder addSelectors(
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder builderForValue) {
        if (selectorsBuilder_ == null) {
          ensureSelectorsIsMutable();
          selectors_.add(builderForValue.build());
          onChanged();
        } else {
          selectorsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder addSelectors(
          int index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder builderForValue) {
        if (selectorsBuilder_ == null) {
          ensureSelectorsIsMutable();
          selectors_.add(index, builderForValue.build());
          onChanged();
        } else {
          selectorsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder addAllSelectors(
          java.lang.Iterable<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> values) {
        if (selectorsBuilder_ == null) {
          ensureSelectorsIsMutable();
          org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder.addAll(
              values, selectors_);
          onChanged();
        } else {
          selectorsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder clearSelectors() {
        if (selectorsBuilder_ == null) {
          selectors_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          selectorsBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public Builder removeSelectors(int index) {
        if (selectorsBuilder_ == null) {
          ensureSelectorsIsMutable();
          selectors_.remove(index);
          onChanged();
        } else {
          selectorsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder getSelectorsBuilder(
          int index) {
        return internalGetSelectorsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getSelectorsOrBuilder(
          int index) {
        if (selectorsBuilder_ == null) {
          return selectors_.get(index);  } else {
          return selectorsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public java.util.List<? extends org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
           getSelectorsOrBuilderList() {
        if (selectorsBuilder_ != null) {
          return selectorsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(selectors_);
        }
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder addSelectorsBuilder() {
        return internalGetSelectorsFieldBuilder().addBuilder(
            org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance());
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder addSelectorsBuilder(
          int index) {
        return internalGetSelectorsFieldBuilder().addBuilder(
            index, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance());
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public java.util.List<org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder> 
           getSelectorsBuilderList() {
        return internalGetSelectorsFieldBuilder().getBuilderList();
      }
      private org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
          org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
          internalGetSelectorsFieldBuilder() {
        if (selectorsBuilder_ == null) {
          selectorsBuilder_ = new org.apache.pekko.protobufv3.internal.RepeatedFieldBuilder<
              org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder>(
                  selectors_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          selectors_ = null;
        }
        return selectorsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:MixMetricsSelector)
    }

    // @@protoc_insertion_point(class_scope:MixMetricsSelector)
    private static final org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector();
    }

    public static org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final org.apache.pekko.protobufv3.internal.Parser<MixMetricsSelector>
        PARSER = new org.apache.pekko.protobufv3.internal.AbstractParser<MixMetricsSelector>() {
      @java.lang.Override
      public MixMetricsSelector 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<MixMetricsSelector> parser() {
      return PARSER;
    }

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

    @java.lang.Override
    public org.apache.pekko.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_MetricsGossipEnvelope_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_MetricsGossipEnvelope_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_MetricsGossip_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_MetricsGossip_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_NodeMetrics_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_NodeMetrics_Number_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_Number_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_NodeMetrics_EWMA_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_EWMA_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_NodeMetrics_Metric_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_Metric_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_Address_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_Address_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_AdaptiveLoadBalancingPool_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_MetricsSelector_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_MetricsSelector_fieldAccessorTable;
  private static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
    internal_static_MixMetricsSelector_descriptor;
  private static final 
    org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
      internal_static_MixMetricsSelector_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\034ClusterMetricsMessages.proto\"^\n\025Metric" +
      "sGossipEnvelope\022\026\n\004from\030\001 \002(\0132\010.Address\022" +
      "\036\n\006gossip\030\002 \002(\0132\016.MetricsGossip\022\r\n\005reply" +
      "\030\003 \002(\010\"j\n\rMetricsGossip\022\036\n\014allAddresses\030" +
      "\001 \003(\0132\010.Address\022\026\n\016allMetricNames\030\002 \003(\t\022" +
      "!\n\013nodeMetrics\030\003 \003(\0132\014.NodeMetrics\"\230\003\n\013N" +
      "odeMetrics\022\024\n\014addressIndex\030\001 \002(\005\022\021\n\ttime" +
      "stamp\030\002 \002(\003\022$\n\007metrics\030\003 \003(\0132\023.NodeMetri" +
      "cs.Metric\032e\n\006Number\022%\n\004type\030\001 \002(\0162\027.Node" +
      "Metrics.NumberType\022\017\n\007value32\030\002 \001(\r\022\017\n\007v" +
      "alue64\030\003 \001(\004\022\022\n\nserialized\030\004 \001(\014\032$\n\004EWMA" +
      "\022\r\n\005value\030\001 \002(\001\022\r\n\005alpha\030\002 \002(\001\032a\n\006Metric" +
      "\022\021\n\tnameIndex\030\001 \002(\005\022#\n\006number\030\002 \002(\0132\023.No" +
      "deMetrics.Number\022\037\n\004ewma\030\003 \001(\0132\021.NodeMet" +
      "rics.EWMA\"J\n\nNumberType\022\016\n\nSerialized\020\000\022" +
      "\n\n\006Double\020\001\022\t\n\005Float\020\002\022\013\n\007Integer\020\003\022\010\n\004L" +
      "ong\020\004\"K\n\007Address\022\016\n\006system\030\001 \002(\t\022\020\n\010host" +
      "name\030\002 \002(\t\022\014\n\004port\030\003 \002(\r\022\020\n\010protocol\030\004 \001" +
      "(\t\"\222\001\n\031AdaptiveLoadBalancingPool\022)\n\017metr" +
      "icsSelector\030\001 \001(\0132\020.MetricsSelector\022\025\n\rn" +
      "rOfInstances\030\002 \002(\r\022\030\n\020routerDispatcher\030\003" +
      " \001(\t\022\031\n\021usePoolDispatcher\030\004 \002(\010\"G\n\017Metri" +
      "csSelector\022\024\n\014serializerId\030\001 \002(\r\022\020\n\010mani" +
      "fest\030\002 \002(\t\022\014\n\004data\030\003 \002(\014\"9\n\022MixMetricsSe" +
      "lector\022#\n\tselectors\030\001 \003(\0132\020.MetricsSelec" +
      "torB1\n-org.apache.pekko.cluster.metrics." +
      "protobuf.msgH\001"
    };
    descriptor = org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new org.apache.pekko.protobufv3.internal.Descriptors.FileDescriptor[] {
        });
    internal_static_MetricsGossipEnvelope_descriptor =
      getDescriptor().getMessageType(0);
    internal_static_MetricsGossipEnvelope_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_MetricsGossipEnvelope_descriptor,
        new java.lang.String[] { "From", "Gossip", "Reply", });
    internal_static_MetricsGossip_descriptor =
      getDescriptor().getMessageType(1);
    internal_static_MetricsGossip_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_MetricsGossip_descriptor,
        new java.lang.String[] { "AllAddresses", "AllMetricNames", "NodeMetrics", });
    internal_static_NodeMetrics_descriptor =
      getDescriptor().getMessageType(2);
    internal_static_NodeMetrics_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_NodeMetrics_descriptor,
        new java.lang.String[] { "AddressIndex", "Timestamp", "Metrics", });
    internal_static_NodeMetrics_Number_descriptor =
      internal_static_NodeMetrics_descriptor.getNestedType(0);
    internal_static_NodeMetrics_Number_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_NodeMetrics_Number_descriptor,
        new java.lang.String[] { "Type", "Value32", "Value64", "Serialized", });
    internal_static_NodeMetrics_EWMA_descriptor =
      internal_static_NodeMetrics_descriptor.getNestedType(1);
    internal_static_NodeMetrics_EWMA_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_NodeMetrics_EWMA_descriptor,
        new java.lang.String[] { "Value", "Alpha", });
    internal_static_NodeMetrics_Metric_descriptor =
      internal_static_NodeMetrics_descriptor.getNestedType(2);
    internal_static_NodeMetrics_Metric_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_NodeMetrics_Metric_descriptor,
        new java.lang.String[] { "NameIndex", "Number", "Ewma", });
    internal_static_Address_descriptor =
      getDescriptor().getMessageType(3);
    internal_static_Address_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_Address_descriptor,
        new java.lang.String[] { "System", "Hostname", "Port", "Protocol", });
    internal_static_AdaptiveLoadBalancingPool_descriptor =
      getDescriptor().getMessageType(4);
    internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_AdaptiveLoadBalancingPool_descriptor,
        new java.lang.String[] { "MetricsSelector", "NrOfInstances", "RouterDispatcher", "UsePoolDispatcher", });
    internal_static_MetricsSelector_descriptor =
      getDescriptor().getMessageType(5);
    internal_static_MetricsSelector_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_MetricsSelector_descriptor,
        new java.lang.String[] { "SerializerId", "Manifest", "Data", });
    internal_static_MixMetricsSelector_descriptor =
      getDescriptor().getMessageType(6);
    internal_static_MixMetricsSelector_fieldAccessorTable = new
      org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable(
        internal_static_MixMetricsSelector_descriptor,
        new java.lang.String[] { "Selectors", });
    descriptor.resolveAllFeaturesImmutable();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
