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

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ClusterMetricsMessages.proto

package akka.cluster.metrics.protobuf.msg;

public final class ClusterMetricsMessages {
  private ClusterMetricsMessages() {}
  public static void registerAllExtensions(
      akka.protobuf.ExtensionRegistry registry) {
  }
  public interface MetricsGossipEnvelopeOrBuilder
      extends akka.protobuf.MessageOrBuilder {

    // required .Address from = 1;
    /**
     * <code>required .Address from = 1;</code>
     */
    boolean hasFrom();
    /**
     * <code>required .Address from = 1;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getFrom();
    /**
     * <code>required .Address from = 1;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getFromOrBuilder();

    // required .MetricsGossip gossip = 2;
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    boolean hasGossip();
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getGossip();
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder getGossipOrBuilder();

    // required bool reply = 3;
    /**
     * <code>required bool reply = 3;</code>
     */
    boolean hasReply();
    /**
     * <code>required bool reply = 3;</code>
     */
    boolean getReply();
  }
  /**
   * Protobuf type {@code MetricsGossipEnvelope}
   *
   * <pre>
   **
   * Metrics Gossip Envelope
   * </pre>
   */
  public static final class MetricsGossipEnvelope extends
      akka.protobuf.GeneratedMessage
      implements MetricsGossipEnvelopeOrBuilder {
    // Use MetricsGossipEnvelope.newBuilder() to construct.
    private MetricsGossipEnvelope(akka.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private MetricsGossipEnvelope(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final MetricsGossipEnvelope defaultInstance;
    public static MetricsGossipEnvelope getDefaultInstance() {
      return defaultInstance;
    }

    public MetricsGossipEnvelope getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final akka.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final akka.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private MetricsGossipEnvelope(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      akka.protobuf.UnknownFieldSet.Builder unknownFields =
          akka.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) == 0x00000001)) {
                subBuilder = from_.toBuilder();
              }
              from_ = input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(from_);
                from_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 18: {
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) == 0x00000002)) {
                subBuilder = gossip_.toBuilder();
              }
              gossip_ = input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(gossip_);
                gossip_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              reply_ = input.readBool();
              break;
            }
          }
        }
      } catch (akka.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new akka.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final akka.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_descriptor;
    }

    protected akka.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.Builder.class);
    }

    public static akka.protobuf.Parser<MetricsGossipEnvelope> PARSER =
        new akka.protobuf.AbstractParser<MetricsGossipEnvelope>() {
      public MetricsGossipEnvelope parsePartialFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return new MetricsGossipEnvelope(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public akka.protobuf.Parser<MetricsGossipEnvelope> getParserForType() {
      return PARSER;
    }

    private int bitField0_;
    // required .Address from = 1;
    public static final int FROM_FIELD_NUMBER = 1;
    private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address from_;
    /**
     * <code>required .Address from = 1;</code>
     */
    public boolean hasFrom() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>required .Address from = 1;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getFrom() {
      return from_;
    }
    /**
     * <code>required .Address from = 1;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getFromOrBuilder() {
      return from_;
    }

    // required .MetricsGossip gossip = 2;
    public static final int GOSSIP_FIELD_NUMBER = 2;
    private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip gossip_;
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    public boolean hasGossip() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getGossip() {
      return gossip_;
    }
    /**
     * <code>required .MetricsGossip gossip = 2;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder getGossipOrBuilder() {
      return gossip_;
    }

    // required bool reply = 3;
    public static final int REPLY_FIELD_NUMBER = 3;
    private boolean reply_;
    /**
     * <code>required bool reply = 3;</code>
     */
    public boolean hasReply() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>required bool reply = 3;</code>
     */
    public boolean getReply() {
      return reply_;
    }

    private void initFields() {
      from_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance();
      gossip_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance();
      reply_ = false;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      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;
    }

    public void writeTo(akka.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeMessage(1, from_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeMessage(2, gossip_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeBool(3, reply_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += akka.protobuf.CodedOutputStream
          .computeMessageSize(1, from_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += akka.protobuf.CodedOutputStream
          .computeMessageSize(2, gossip_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += akka.protobuf.CodedOutputStream
          .computeBoolSize(3, reply_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        akka.protobuf.ByteString data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        akka.protobuf.ByteString data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(byte[] data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        byte[] data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseDelimitedFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        akka.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parseFrom(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        akka.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code MetricsGossipEnvelope}
     *
     * <pre>
     **
     * Metrics Gossip Envelope
     * </pre>
     */
    public static final class Builder extends
        akka.protobuf.GeneratedMessage.Builder<Builder>
       implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelopeOrBuilder {
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.Builder.class);
      }

      // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getFromFieldBuilder();
          getGossipFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (fromBuilder_ == null) {
          from_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance();
        } else {
          fromBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        if (gossipBuilder_ == null) {
          gossip_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance();
        } else {
          gossipBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        reply_ = false;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public akka.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossipEnvelope_descriptor;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope getDefaultInstanceForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope.getDefaultInstance();
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope build() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope buildPartial() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        if (fromBuilder_ == null) {
          result.from_ = from_;
        } else {
          result.from_ = fromBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        if (gossipBuilder_ == null) {
          result.gossip_ = gossip_;
        } else {
          result.gossip_ = gossipBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.reply_ = reply_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(akka.protobuf.Message other) {
        if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope) {
          return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope other) {
        if (other == akka.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());
        return this;
      }

      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;
      }

      public Builder mergeFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipEnvelope) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required .Address from = 1;
      private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address from_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance();
      private akka.protobuf.SingleFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> fromBuilder_;
      /**
       * <code>required .Address from = 1;</code>
       */
      public boolean hasFrom() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getFrom() {
        if (fromBuilder_ == null) {
          return from_;
        } else {
          return fromBuilder_.getMessage();
        }
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder setFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
        if (fromBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          from_ = value;
          onChanged();
        } else {
          fromBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder setFrom(
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder builderForValue) {
        if (fromBuilder_ == null) {
          from_ = builderForValue.build();
          onChanged();
        } else {
          fromBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address value) {
        if (fromBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001) &&
              from_ != akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance()) {
            from_ =
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.newBuilder(from_).mergeFrom(value).buildPartial();
          } else {
            from_ = value;
          }
          onChanged();
        } else {
          fromBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public Builder clearFrom() {
        if (fromBuilder_ == null) {
          from_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance();
          onChanged();
        } else {
          fromBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder getFromBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getFromFieldBuilder().getBuilder();
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getFromOrBuilder() {
        if (fromBuilder_ != null) {
          return fromBuilder_.getMessageOrBuilder();
        } else {
          return from_;
        }
      }
      /**
       * <code>required .Address from = 1;</code>
       */
      private akka.protobuf.SingleFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
          getFromFieldBuilder() {
        if (fromBuilder_ == null) {
          fromBuilder_ = new akka.protobuf.SingleFieldBuilder<
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder>(
                  from_,
                  getParentForChildren(),
                  isClean());
          from_ = null;
        }
        return fromBuilder_;
      }

      // required .MetricsGossip gossip = 2;
      private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip gossip_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance();
      private akka.protobuf.SingleFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder> gossipBuilder_;
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public boolean hasGossip() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getGossip() {
        if (gossipBuilder_ == null) {
          return gossip_;
        } else {
          return gossipBuilder_.getMessage();
        }
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder setGossip(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip value) {
        if (gossipBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          gossip_ = value;
          onChanged();
        } else {
          gossipBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder setGossip(
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder builderForValue) {
        if (gossipBuilder_ == null) {
          gossip_ = builderForValue.build();
          onChanged();
        } else {
          gossipBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder mergeGossip(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip value) {
        if (gossipBuilder_ == null) {
          if (((bitField0_ & 0x00000002) == 0x00000002) &&
              gossip_ != akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance()) {
            gossip_ =
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.newBuilder(gossip_).mergeFrom(value).buildPartial();
          } else {
            gossip_ = value;
          }
          onChanged();
        } else {
          gossipBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public Builder clearGossip() {
        if (gossipBuilder_ == null) {
          gossip_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance();
          onChanged();
        } else {
          gossipBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder getGossipBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getGossipFieldBuilder().getBuilder();
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder getGossipOrBuilder() {
        if (gossipBuilder_ != null) {
          return gossipBuilder_.getMessageOrBuilder();
        } else {
          return gossip_;
        }
      }
      /**
       * <code>required .MetricsGossip gossip = 2;</code>
       */
      private akka.protobuf.SingleFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder> 
          getGossipFieldBuilder() {
        if (gossipBuilder_ == null) {
          gossipBuilder_ = new akka.protobuf.SingleFieldBuilder<
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder>(
                  gossip_,
                  getParentForChildren(),
                  isClean());
          gossip_ = null;
        }
        return gossipBuilder_;
      }

      // required bool reply = 3;
      private boolean reply_ ;
      /**
       * <code>required bool reply = 3;</code>
       */
      public boolean hasReply() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>required bool reply = 3;</code>
       */
      public boolean getReply() {
        return reply_;
      }
      /**
       * <code>required bool reply = 3;</code>
       */
      public Builder setReply(boolean value) {
        bitField0_ |= 0x00000004;
        reply_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bool reply = 3;</code>
       */
      public Builder clearReply() {
        bitField0_ = (bitField0_ & ~0x00000004);
        reply_ = false;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:MetricsGossipEnvelope)
    }

    static {
      defaultInstance = new MetricsGossipEnvelope(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:MetricsGossipEnvelope)
  }

  public interface MetricsGossipOrBuilder
      extends akka.protobuf.MessageOrBuilder {

    // repeated .Address allAddresses = 1;
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> 
        getAllAddressesList();
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
        getAllAddressesOrBuilderList();
    /**
     * <code>repeated .Address allAddresses = 1;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder getAllAddressesOrBuilder(
        int index);

    // repeated string allMetricNames = 2;
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    java.util.List<java.lang.String>
    getAllMetricNamesList();
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    int getAllMetricNamesCount();
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    java.lang.String getAllMetricNames(int index);
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    akka.protobuf.ByteString
        getAllMetricNamesBytes(int index);

    // repeated .NodeMetrics nodeMetrics = 3;
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> 
        getNodeMetricsList();
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> 
        getNodeMetricsOrBuilderList();
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder getNodeMetricsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code MetricsGossip}
   *
   * <pre>
   **
   * Metrics Gossip
   * </pre>
   */
  public static final class MetricsGossip extends
      akka.protobuf.GeneratedMessage
      implements MetricsGossipOrBuilder {
    // Use MetricsGossip.newBuilder() to construct.
    private MetricsGossip(akka.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private MetricsGossip(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final MetricsGossip defaultInstance;
    public static MetricsGossip getDefaultInstance() {
      return defaultInstance;
    }

    public MetricsGossip getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final akka.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final akka.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private MetricsGossip(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      akka.protobuf.UnknownFieldSet.Builder unknownFields =
          akka.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                allAddresses_ = new java.util.ArrayList<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address>();
                mutable_bitField0_ |= 0x00000001;
              }
              allAddresses_.add(input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.PARSER, extensionRegistry));
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
                allMetricNames_ = new akka.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              allMetricNames_.add(input.readBytes());
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                nodeMetrics_ = new java.util.ArrayList<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics>();
                mutable_bitField0_ |= 0x00000004;
              }
              nodeMetrics_.add(input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (akka.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new akka.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          allAddresses_ = java.util.Collections.unmodifiableList(allAddresses_);
        }
        if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
          allMetricNames_ = new akka.protobuf.UnmodifiableLazyStringList(allMetricNames_);
        }
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          nodeMetrics_ = java.util.Collections.unmodifiableList(nodeMetrics_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final akka.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_descriptor;
    }

    protected akka.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder.class);
    }

    public static akka.protobuf.Parser<MetricsGossip> PARSER =
        new akka.protobuf.AbstractParser<MetricsGossip>() {
      public MetricsGossip parsePartialFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return new MetricsGossip(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public akka.protobuf.Parser<MetricsGossip> getParserForType() {
      return PARSER;
    }

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

    // repeated string allMetricNames = 2;
    public static final int ALLMETRICNAMES_FIELD_NUMBER = 2;
    private akka.protobuf.LazyStringList allMetricNames_;
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    public java.util.List<java.lang.String>
        getAllMetricNamesList() {
      return allMetricNames_;
    }
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    public int getAllMetricNamesCount() {
      return allMetricNames_.size();
    }
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    public java.lang.String getAllMetricNames(int index) {
      return allMetricNames_.get(index);
    }
    /**
     * <code>repeated string allMetricNames = 2;</code>
     */
    public akka.protobuf.ByteString
        getAllMetricNamesBytes(int index) {
      return allMetricNames_.getByteString(index);
    }

    // repeated .NodeMetrics nodeMetrics = 3;
    public static final int NODEMETRICS_FIELD_NUMBER = 3;
    private java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> nodeMetrics_;
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    public java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> getNodeMetricsList() {
      return nodeMetrics_;
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    public java.util.List<? extends akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> 
        getNodeMetricsOrBuilderList() {
      return nodeMetrics_;
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    public int getNodeMetricsCount() {
      return nodeMetrics_.size();
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getNodeMetrics(int index) {
      return nodeMetrics_.get(index);
    }
    /**
     * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder getNodeMetricsOrBuilder(
        int index) {
      return nodeMetrics_.get(index);
    }

    private void initFields() {
      allAddresses_ = java.util.Collections.emptyList();
      allMetricNames_ = akka.protobuf.LazyStringArrayList.EMPTY;
      nodeMetrics_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      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;
    }

    public void writeTo(akka.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < allAddresses_.size(); i++) {
        output.writeMessage(1, allAddresses_.get(i));
      }
      for (int i = 0; i < allMetricNames_.size(); i++) {
        output.writeBytes(2, allMetricNames_.getByteString(i));
      }
      for (int i = 0; i < nodeMetrics_.size(); i++) {
        output.writeMessage(3, nodeMetrics_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < allAddresses_.size(); i++) {
        size += akka.protobuf.CodedOutputStream
          .computeMessageSize(1, allAddresses_.get(i));
      }
      {
        int dataSize = 0;
        for (int i = 0; i < allMetricNames_.size(); i++) {
          dataSize += akka.protobuf.CodedOutputStream
            .computeBytesSizeNoTag(allMetricNames_.getByteString(i));
        }
        size += dataSize;
        size += 1 * getAllMetricNamesList().size();
      }
      for (int i = 0; i < nodeMetrics_.size(); i++) {
        size += akka.protobuf.CodedOutputStream
          .computeMessageSize(3, nodeMetrics_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        akka.protobuf.ByteString data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        akka.protobuf.ByteString data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(byte[] data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        byte[] data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseDelimitedFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        akka.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parseFrom(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        akka.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code MetricsGossip}
     *
     * <pre>
     **
     * Metrics Gossip
     * </pre>
     */
    public static final class Builder extends
        akka.protobuf.GeneratedMessage.Builder<Builder>
       implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossipOrBuilder {
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.Builder.class);
      }

      // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getAllAddressesFieldBuilder();
          getNodeMetricsFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (allAddressesBuilder_ == null) {
          allAddresses_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          allAddressesBuilder_.clear();
        }
        allMetricNames_ = akka.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        if (nodeMetricsBuilder_ == null) {
          nodeMetrics_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          nodeMetricsBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public akka.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsGossip_descriptor;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip getDefaultInstanceForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip.getDefaultInstance();
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip build() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip buildPartial() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip(this);
        int from_bitField0_ = bitField0_;
        if (allAddressesBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            allAddresses_ = java.util.Collections.unmodifiableList(allAddresses_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.allAddresses_ = allAddresses_;
        } else {
          result.allAddresses_ = allAddressesBuilder_.build();
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          allMetricNames_ = new akka.protobuf.UnmodifiableLazyStringList(
              allMetricNames_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.allMetricNames_ = allMetricNames_;
        if (nodeMetricsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            nodeMetrics_ = java.util.Collections.unmodifiableList(nodeMetrics_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.nodeMetrics_ = nodeMetrics_;
        } else {
          result.nodeMetrics_ = nodeMetricsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(akka.protobuf.Message other) {
        if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip) {
          return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip other) {
        if (other == akka.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_ = 
                akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getAllAddressesFieldBuilder() : null;
            } else {
              allAddressesBuilder_.addAllMessages(other.allAddresses_);
            }
          }
        }
        if (!other.allMetricNames_.isEmpty()) {
          if (allMetricNames_.isEmpty()) {
            allMetricNames_ = other.allMetricNames_;
            bitField0_ = (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_ = 
                akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getNodeMetricsFieldBuilder() : null;
            } else {
              nodeMetricsBuilder_.addAllMessages(other.nodeMetrics_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      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;
      }

      public Builder mergeFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsGossip) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // repeated .Address allAddresses = 1;
      private java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> allAddresses_ =
        java.util.Collections.emptyList();
      private void ensureAllAddressesIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          allAddresses_ = new java.util.ArrayList<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address>(allAddresses_);
          bitField0_ |= 0x00000001;
         }
      }

      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> allAddressesBuilder_;

      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public java.util.List<akka.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 akka.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, akka.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, akka.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(akka.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, akka.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(
          akka.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, akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address> values) {
        if (allAddressesBuilder_ == null) {
          ensureAllAddressesIsMutable();
          super.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder getAllAddressesBuilder(
          int index) {
        return getAllAddressesFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public akka.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 akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder addAllAddressesBuilder() {
        return getAllAddressesFieldBuilder().addBuilder(
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance());
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder addAllAddressesBuilder(
          int index) {
        return getAllAddressesFieldBuilder().addBuilder(
            index, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance());
      }
      /**
       * <code>repeated .Address allAddresses = 1;</code>
       */
      public java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder> 
           getAllAddressesBuilderList() {
        return getAllAddressesFieldBuilder().getBuilderList();
      }
      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder> 
          getAllAddressesFieldBuilder() {
        if (allAddressesBuilder_ == null) {
          allAddressesBuilder_ = new akka.protobuf.RepeatedFieldBuilder<
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder>(
                  allAddresses_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          allAddresses_ = null;
        }
        return allAddressesBuilder_;
      }

      // repeated string allMetricNames = 2;
      private akka.protobuf.LazyStringList allMetricNames_ = akka.protobuf.LazyStringArrayList.EMPTY;
      private void ensureAllMetricNamesIsMutable() {
        if (!((bitField0_ & 0x00000002) == 0x00000002)) {
          allMetricNames_ = new akka.protobuf.LazyStringArrayList(allMetricNames_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public java.util.List<java.lang.String>
          getAllMetricNamesList() {
        return java.util.Collections.unmodifiableList(allMetricNames_);
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public int getAllMetricNamesCount() {
        return allMetricNames_.size();
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public java.lang.String getAllMetricNames(int index) {
        return allMetricNames_.get(index);
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public akka.protobuf.ByteString
          getAllMetricNamesBytes(int index) {
        return allMetricNames_.getByteString(index);
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public Builder setAllMetricNames(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureAllMetricNamesIsMutable();
        allMetricNames_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public Builder addAllMetricNames(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureAllMetricNamesIsMutable();
        allMetricNames_.add(value);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public Builder addAllAllMetricNames(
          java.lang.Iterable<java.lang.String> values) {
        ensureAllMetricNamesIsMutable();
        super.addAll(values, allMetricNames_);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public Builder clearAllMetricNames() {
        allMetricNames_ = akka.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * <code>repeated string allMetricNames = 2;</code>
       */
      public Builder addAllMetricNamesBytes(
          akka.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureAllMetricNamesIsMutable();
        allMetricNames_.add(value);
        onChanged();
        return this;
      }

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

      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> nodeMetricsBuilder_;

      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public java.util.List<akka.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 akka.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, akka.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, akka.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(akka.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, akka.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(
          akka.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, akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics> values) {
        if (nodeMetricsBuilder_ == null) {
          ensureNodeMetricsIsMutable();
          super.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder getNodeMetricsBuilder(
          int index) {
        return getNodeMetricsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public akka.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 akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder addNodeMetricsBuilder() {
        return getNodeMetricsFieldBuilder().addBuilder(
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder addNodeMetricsBuilder(
          int index) {
        return getNodeMetricsFieldBuilder().addBuilder(
            index, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics nodeMetrics = 3;</code>
       */
      public java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder> 
           getNodeMetricsBuilderList() {
        return getNodeMetricsFieldBuilder().getBuilderList();
      }
      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder> 
          getNodeMetricsFieldBuilder() {
        if (nodeMetricsBuilder_ == null) {
          nodeMetricsBuilder_ = new akka.protobuf.RepeatedFieldBuilder<
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder>(
                  nodeMetrics_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          nodeMetrics_ = null;
        }
        return nodeMetricsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:MetricsGossip)
    }

    static {
      defaultInstance = new MetricsGossip(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:MetricsGossip)
  }

  public interface NodeMetricsOrBuilder
      extends akka.protobuf.MessageOrBuilder {

    // required int32 addressIndex = 1;
    /**
     * <code>required int32 addressIndex = 1;</code>
     */
    boolean hasAddressIndex();
    /**
     * <code>required int32 addressIndex = 1;</code>
     */
    int getAddressIndex();

    // required int64 timestamp = 2;
    /**
     * <code>required int64 timestamp = 2;</code>
     */
    boolean hasTimestamp();
    /**
     * <code>required int64 timestamp = 2;</code>
     */
    long getTimestamp();

    // repeated .NodeMetrics.Metric metrics = 3;
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> 
        getMetricsList();
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> 
        getMetricsOrBuilderList();
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code NodeMetrics}
   *
   * <pre>
   **
   * Node Metrics
   * </pre>
   */
  public static final class NodeMetrics extends
      akka.protobuf.GeneratedMessage
      implements NodeMetricsOrBuilder {
    // Use NodeMetrics.newBuilder() to construct.
    private NodeMetrics(akka.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private NodeMetrics(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final NodeMetrics defaultInstance;
    public static NodeMetrics getDefaultInstance() {
      return defaultInstance;
    }

    public NodeMetrics getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final akka.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final akka.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private NodeMetrics(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      akka.protobuf.UnknownFieldSet.Builder unknownFields =
          akka.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              addressIndex_ = input.readInt32();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              timestamp_ = input.readInt64();
              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
                metrics_ = new java.util.ArrayList<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric>();
                mutable_bitField0_ |= 0x00000004;
              }
              metrics_.add(input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (akka.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new akka.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
          metrics_ = java.util.Collections.unmodifiableList(metrics_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final akka.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_descriptor;
    }

    protected akka.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder.class);
    }

    public static akka.protobuf.Parser<NodeMetrics> PARSER =
        new akka.protobuf.AbstractParser<NodeMetrics>() {
      public NodeMetrics parsePartialFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return new NodeMetrics(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public akka.protobuf.Parser<NodeMetrics> getParserForType() {
      return PARSER;
    }

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

      /**
       * <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; }

      public static NumberType valueOf(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 akka.protobuf.Internal.EnumLiteMap<NumberType>
          internalGetValueMap() {
        return internalValueMap;
      }
      private static akka.protobuf.Internal.EnumLiteMap<NumberType>
          internalValueMap =
            new akka.protobuf.Internal.EnumLiteMap<NumberType>() {
              public NumberType findValueByNumber(int number) {
                return NumberType.valueOf(number);
              }
            };

      public final akka.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(index);
      }
      public final akka.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final akka.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDescriptor().getEnumTypes().get(0);
      }

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

      public static NumberType valueOf(
          akka.protobuf.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 index;
      private final int value;

      private NumberType(int index, int value) {
        this.index = index;
        this.value = value;
      }

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

    public interface NumberOrBuilder
        extends akka.protobuf.MessageOrBuilder {

      // required .NodeMetrics.NumberType type = 1;
      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       */
      boolean hasType();
      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       */
      akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType getType();

      // optional uint32 value32 = 2;
      /**
       * <code>optional uint32 value32 = 2;</code>
       */
      boolean hasValue32();
      /**
       * <code>optional uint32 value32 = 2;</code>
       */
      int getValue32();

      // optional uint64 value64 = 3;
      /**
       * <code>optional uint64 value64 = 3;</code>
       */
      boolean hasValue64();
      /**
       * <code>optional uint64 value64 = 3;</code>
       */
      long getValue64();

      // optional bytes serialized = 4;
      /**
       * <code>optional bytes serialized = 4;</code>
       */
      boolean hasSerialized();
      /**
       * <code>optional bytes serialized = 4;</code>
       */
      akka.protobuf.ByteString getSerialized();
    }
    /**
     * Protobuf type {@code NodeMetrics.Number}
     */
    public static final class Number extends
        akka.protobuf.GeneratedMessage
        implements NumberOrBuilder {
      // Use Number.newBuilder() to construct.
      private Number(akka.protobuf.GeneratedMessage.Builder<?> builder) {
        super(builder);
        this.unknownFields = builder.getUnknownFields();
      }
      private Number(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

      private static final Number defaultInstance;
      public static Number getDefaultInstance() {
        return defaultInstance;
      }

      public Number getDefaultInstanceForType() {
        return defaultInstance;
      }

      private final akka.protobuf.UnknownFieldSet unknownFields;
      @java.lang.Override
      public final akka.protobuf.UnknownFieldSet
          getUnknownFields() {
        return this.unknownFields;
      }
      private Number(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        initFields();
        int mutable_bitField0_ = 0;
        akka.protobuf.UnknownFieldSet.Builder unknownFields =
            akka.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownField(input, unknownFields,
                                       extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 8: {
                int rawValue = input.readEnum();
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType value = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.valueOf(rawValue);
                if (value == null) {
                  unknownFields.mergeVarintField(1, rawValue);
                } else {
                  bitField0_ |= 0x00000001;
                  type_ = value;
                }
                break;
              }
              case 16: {
                bitField0_ |= 0x00000002;
                value32_ = input.readUInt32();
                break;
              }
              case 24: {
                bitField0_ |= 0x00000004;
                value64_ = input.readUInt64();
                break;
              }
              case 34: {
                bitField0_ |= 0x00000008;
                serialized_ = input.readBytes();
                break;
              }
            }
          }
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new akka.protobuf.InvalidProtocolBufferException(
              e.getMessage()).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder.class);
      }

      public static akka.protobuf.Parser<Number> PARSER =
          new akka.protobuf.AbstractParser<Number>() {
        public Number parsePartialFrom(
            akka.protobuf.CodedInputStream input,
            akka.protobuf.ExtensionRegistryLite extensionRegistry)
            throws akka.protobuf.InvalidProtocolBufferException {
          return new Number(input, extensionRegistry);
        }
      };

      @java.lang.Override
      public akka.protobuf.Parser<Number> getParserForType() {
        return PARSER;
      }

      private int bitField0_;
      // required .NodeMetrics.NumberType type = 1;
      public static final int TYPE_FIELD_NUMBER = 1;
      private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType type_;
      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       */
      public boolean hasType() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required .NodeMetrics.NumberType type = 1;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType getType() {
        return type_;
      }

      // optional uint32 value32 = 2;
      public static final int VALUE32_FIELD_NUMBER = 2;
      private int value32_;
      /**
       * <code>optional uint32 value32 = 2;</code>
       */
      public boolean hasValue32() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>optional uint32 value32 = 2;</code>
       */
      public int getValue32() {
        return value32_;
      }

      // optional uint64 value64 = 3;
      public static final int VALUE64_FIELD_NUMBER = 3;
      private long value64_;
      /**
       * <code>optional uint64 value64 = 3;</code>
       */
      public boolean hasValue64() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>optional uint64 value64 = 3;</code>
       */
      public long getValue64() {
        return value64_;
      }

      // optional bytes serialized = 4;
      public static final int SERIALIZED_FIELD_NUMBER = 4;
      private akka.protobuf.ByteString serialized_;
      /**
       * <code>optional bytes serialized = 4;</code>
       */
      public boolean hasSerialized() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * <code>optional bytes serialized = 4;</code>
       */
      public akka.protobuf.ByteString getSerialized() {
        return serialized_;
      }

      private void initFields() {
        type_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.Serialized;
        value32_ = 0;
        value64_ = 0L;
        serialized_ = akka.protobuf.ByteString.EMPTY;
      }
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized != -1) return isInitialized == 1;

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

      public void writeTo(akka.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        getSerializedSize();
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          output.writeEnum(1, type_.getNumber());
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          output.writeUInt32(2, value32_);
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          output.writeUInt64(3, value64_);
        }
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          output.writeBytes(4, serialized_);
        }
        getUnknownFields().writeTo(output);
      }

      private int memoizedSerializedSize = -1;
      public int getSerializedSize() {
        int size = memoizedSerializedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          size += akka.protobuf.CodedOutputStream
            .computeEnumSize(1, type_.getNumber());
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          size += akka.protobuf.CodedOutputStream
            .computeUInt32Size(2, value32_);
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          size += akka.protobuf.CodedOutputStream
            .computeUInt64Size(3, value64_);
        }
        if (((bitField0_ & 0x00000008) == 0x00000008)) {
          size += akka.protobuf.CodedOutputStream
            .computeBytesSize(4, serialized_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSerializedSize = size;
        return size;
      }

      private static final long serialVersionUID = 0L;
      @java.lang.Override
      protected java.lang.Object writeReplace()
          throws java.io.ObjectStreamException {
        return super.writeReplace();
      }

      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          akka.protobuf.ByteString data)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          akka.protobuf.ByteString data,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(byte[] data)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          byte[] data,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          java.io.InputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseDelimitedFrom(
          java.io.InputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          akka.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parseFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }

      public static Builder newBuilder() { return Builder.create(); }
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number prototype) {
        return newBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() { return newBuilder(this); }

      @java.lang.Override
      protected Builder newBuilderForType(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code NodeMetrics.Number}
       */
      public static final class Builder extends
          akka.protobuf.GeneratedMessage.Builder<Builder>
         implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder {
        public static final akka.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_descriptor;
        }

        protected akka.protobuf.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder.class);
        }

        // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            akka.protobuf.GeneratedMessage.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          }
        }
        private static Builder create() {
          return new Builder();
        }

        public Builder clear() {
          super.clear();
          type_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.Serialized;
          bitField0_ = (bitField0_ & ~0x00000001);
          value32_ = 0;
          bitField0_ = (bitField0_ & ~0x00000002);
          value64_ = 0L;
          bitField0_ = (bitField0_ & ~0x00000004);
          serialized_ = akka.protobuf.ByteString.EMPTY;
          bitField0_ = (bitField0_ & ~0x00000008);
          return this;
        }

        public Builder clone() {
          return create().mergeFrom(buildPartial());
        }

        public akka.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Number_descriptor;
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getDefaultInstanceForType() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance();
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number build() {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number buildPartial() {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
            to_bitField0_ |= 0x00000001;
          }
          result.type_ = type_;
          if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
            to_bitField0_ |= 0x00000002;
          }
          result.value32_ = value32_;
          if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
            to_bitField0_ |= 0x00000004;
          }
          result.value64_ = value64_;
          if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
            to_bitField0_ |= 0x00000008;
          }
          result.serialized_ = serialized_;
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

        public Builder mergeFrom(akka.protobuf.Message other) {
          if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number) {
            return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number other) {
          if (other == akka.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());
          return this;
        }

        public final boolean isInitialized() {
          if (!hasType()) {
            
            return false;
          }
          return true;
        }

        public Builder mergeFrom(
            akka.protobuf.CodedInputStream input,
            akka.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (akka.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number) e.getUnfinishedMessage();
            throw e;
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        // required .NodeMetrics.NumberType type = 1;
        private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType type_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.Serialized;
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         */
        public boolean hasType() {
          return ((bitField0_ & 0x00000001) == 0x00000001);
        }
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         */
        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType getType() {
          return type_;
        }
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         */
        public Builder setType(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType value) {
          if (value == null) {
            throw new NullPointerException();
          }
          bitField0_ |= 0x00000001;
          type_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>required .NodeMetrics.NumberType type = 1;</code>
         */
        public Builder clearType() {
          bitField0_ = (bitField0_ & ~0x00000001);
          type_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberType.Serialized;
          onChanged();
          return this;
        }

        // optional uint32 value32 = 2;
        private int value32_ ;
        /**
         * <code>optional uint32 value32 = 2;</code>
         */
        public boolean hasValue32() {
          return ((bitField0_ & 0x00000002) == 0x00000002);
        }
        /**
         * <code>optional uint32 value32 = 2;</code>
         */
        public int getValue32() {
          return value32_;
        }
        /**
         * <code>optional uint32 value32 = 2;</code>
         */
        public Builder setValue32(int value) {
          bitField0_ |= 0x00000002;
          value32_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>optional uint32 value32 = 2;</code>
         */
        public Builder clearValue32() {
          bitField0_ = (bitField0_ & ~0x00000002);
          value32_ = 0;
          onChanged();
          return this;
        }

        // optional uint64 value64 = 3;
        private long value64_ ;
        /**
         * <code>optional uint64 value64 = 3;</code>
         */
        public boolean hasValue64() {
          return ((bitField0_ & 0x00000004) == 0x00000004);
        }
        /**
         * <code>optional uint64 value64 = 3;</code>
         */
        public long getValue64() {
          return value64_;
        }
        /**
         * <code>optional uint64 value64 = 3;</code>
         */
        public Builder setValue64(long value) {
          bitField0_ |= 0x00000004;
          value64_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>optional uint64 value64 = 3;</code>
         */
        public Builder clearValue64() {
          bitField0_ = (bitField0_ & ~0x00000004);
          value64_ = 0L;
          onChanged();
          return this;
        }

        // optional bytes serialized = 4;
        private akka.protobuf.ByteString serialized_ = akka.protobuf.ByteString.EMPTY;
        /**
         * <code>optional bytes serialized = 4;</code>
         */
        public boolean hasSerialized() {
          return ((bitField0_ & 0x00000008) == 0x00000008);
        }
        /**
         * <code>optional bytes serialized = 4;</code>
         */
        public akka.protobuf.ByteString getSerialized() {
          return serialized_;
        }
        /**
         * <code>optional bytes serialized = 4;</code>
         */
        public Builder setSerialized(akka.protobuf.ByteString value) {
          if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
          serialized_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>optional bytes serialized = 4;</code>
         */
        public Builder clearSerialized() {
          bitField0_ = (bitField0_ & ~0x00000008);
          serialized_ = getDefaultInstance().getSerialized();
          onChanged();
          return this;
        }

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

      static {
        defaultInstance = new Number(true);
        defaultInstance.initFields();
      }

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

    public interface EWMAOrBuilder
        extends akka.protobuf.MessageOrBuilder {

      // required double value = 1;
      /**
       * <code>required double value = 1;</code>
       */
      boolean hasValue();
      /**
       * <code>required double value = 1;</code>
       */
      double getValue();

      // required double alpha = 2;
      /**
       * <code>required double alpha = 2;</code>
       */
      boolean hasAlpha();
      /**
       * <code>required double alpha = 2;</code>
       */
      double getAlpha();
    }
    /**
     * Protobuf type {@code NodeMetrics.EWMA}
     */
    public static final class EWMA extends
        akka.protobuf.GeneratedMessage
        implements EWMAOrBuilder {
      // Use EWMA.newBuilder() to construct.
      private EWMA(akka.protobuf.GeneratedMessage.Builder<?> builder) {
        super(builder);
        this.unknownFields = builder.getUnknownFields();
      }
      private EWMA(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

      private static final EWMA defaultInstance;
      public static EWMA getDefaultInstance() {
        return defaultInstance;
      }

      public EWMA getDefaultInstanceForType() {
        return defaultInstance;
      }

      private final akka.protobuf.UnknownFieldSet unknownFields;
      @java.lang.Override
      public final akka.protobuf.UnknownFieldSet
          getUnknownFields() {
        return this.unknownFields;
      }
      private EWMA(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        initFields();
        int mutable_bitField0_ = 0;
        akka.protobuf.UnknownFieldSet.Builder unknownFields =
            akka.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownField(input, unknownFields,
                                       extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 9: {
                bitField0_ |= 0x00000001;
                value_ = input.readDouble();
                break;
              }
              case 17: {
                bitField0_ |= 0x00000002;
                alpha_ = input.readDouble();
                break;
              }
            }
          }
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new akka.protobuf.InvalidProtocolBufferException(
              e.getMessage()).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder.class);
      }

      public static akka.protobuf.Parser<EWMA> PARSER =
          new akka.protobuf.AbstractParser<EWMA>() {
        public EWMA parsePartialFrom(
            akka.protobuf.CodedInputStream input,
            akka.protobuf.ExtensionRegistryLite extensionRegistry)
            throws akka.protobuf.InvalidProtocolBufferException {
          return new EWMA(input, extensionRegistry);
        }
      };

      @java.lang.Override
      public akka.protobuf.Parser<EWMA> getParserForType() {
        return PARSER;
      }

      private int bitField0_;
      // required double value = 1;
      public static final int VALUE_FIELD_NUMBER = 1;
      private double value_;
      /**
       * <code>required double value = 1;</code>
       */
      public boolean hasValue() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required double value = 1;</code>
       */
      public double getValue() {
        return value_;
      }

      // required double alpha = 2;
      public static final int ALPHA_FIELD_NUMBER = 2;
      private double alpha_;
      /**
       * <code>required double alpha = 2;</code>
       */
      public boolean hasAlpha() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required double alpha = 2;</code>
       */
      public double getAlpha() {
        return alpha_;
      }

      private void initFields() {
        value_ = 0D;
        alpha_ = 0D;
      }
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized != -1) return isInitialized == 1;

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

      public void writeTo(akka.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        getSerializedSize();
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          output.writeDouble(1, value_);
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          output.writeDouble(2, alpha_);
        }
        getUnknownFields().writeTo(output);
      }

      private int memoizedSerializedSize = -1;
      public int getSerializedSize() {
        int size = memoizedSerializedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          size += akka.protobuf.CodedOutputStream
            .computeDoubleSize(1, value_);
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          size += akka.protobuf.CodedOutputStream
            .computeDoubleSize(2, alpha_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSerializedSize = size;
        return size;
      }

      private static final long serialVersionUID = 0L;
      @java.lang.Override
      protected java.lang.Object writeReplace()
          throws java.io.ObjectStreamException {
        return super.writeReplace();
      }

      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          akka.protobuf.ByteString data)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          akka.protobuf.ByteString data,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(byte[] data)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          byte[] data,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          java.io.InputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseDelimitedFrom(
          java.io.InputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          akka.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parseFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }

      public static Builder newBuilder() { return Builder.create(); }
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA prototype) {
        return newBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() { return newBuilder(this); }

      @java.lang.Override
      protected Builder newBuilderForType(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code NodeMetrics.EWMA}
       */
      public static final class Builder extends
          akka.protobuf.GeneratedMessage.Builder<Builder>
         implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder {
        public static final akka.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_descriptor;
        }

        protected akka.protobuf.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder.class);
        }

        // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            akka.protobuf.GeneratedMessage.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          }
        }
        private static Builder create() {
          return new Builder();
        }

        public Builder clear() {
          super.clear();
          value_ = 0D;
          bitField0_ = (bitField0_ & ~0x00000001);
          alpha_ = 0D;
          bitField0_ = (bitField0_ & ~0x00000002);
          return this;
        }

        public Builder clone() {
          return create().mergeFrom(buildPartial());
        }

        public akka.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_EWMA_descriptor;
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getDefaultInstanceForType() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance();
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA build() {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA buildPartial() {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
            to_bitField0_ |= 0x00000001;
          }
          result.value_ = value_;
          if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
            to_bitField0_ |= 0x00000002;
          }
          result.alpha_ = alpha_;
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

        public Builder mergeFrom(akka.protobuf.Message other) {
          if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA) {
            return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA other) {
          if (other == akka.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());
          return this;
        }

        public final boolean isInitialized() {
          if (!hasValue()) {
            
            return false;
          }
          if (!hasAlpha()) {
            
            return false;
          }
          return true;
        }

        public Builder mergeFrom(
            akka.protobuf.CodedInputStream input,
            akka.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (akka.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA) e.getUnfinishedMessage();
            throw e;
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        // required double value = 1;
        private double value_ ;
        /**
         * <code>required double value = 1;</code>
         */
        public boolean hasValue() {
          return ((bitField0_ & 0x00000001) == 0x00000001);
        }
        /**
         * <code>required double value = 1;</code>
         */
        public double getValue() {
          return value_;
        }
        /**
         * <code>required double value = 1;</code>
         */
        public Builder setValue(double value) {
          bitField0_ |= 0x00000001;
          value_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>required double value = 1;</code>
         */
        public Builder clearValue() {
          bitField0_ = (bitField0_ & ~0x00000001);
          value_ = 0D;
          onChanged();
          return this;
        }

        // required double alpha = 2;
        private double alpha_ ;
        /**
         * <code>required double alpha = 2;</code>
         */
        public boolean hasAlpha() {
          return ((bitField0_ & 0x00000002) == 0x00000002);
        }
        /**
         * <code>required double alpha = 2;</code>
         */
        public double getAlpha() {
          return alpha_;
        }
        /**
         * <code>required double alpha = 2;</code>
         */
        public Builder setAlpha(double value) {
          bitField0_ |= 0x00000002;
          alpha_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>required double alpha = 2;</code>
         */
        public Builder clearAlpha() {
          bitField0_ = (bitField0_ & ~0x00000002);
          alpha_ = 0D;
          onChanged();
          return this;
        }

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

      static {
        defaultInstance = new EWMA(true);
        defaultInstance.initFields();
      }

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

    public interface MetricOrBuilder
        extends akka.protobuf.MessageOrBuilder {

      // required int32 nameIndex = 1;
      /**
       * <code>required int32 nameIndex = 1;</code>
       */
      boolean hasNameIndex();
      /**
       * <code>required int32 nameIndex = 1;</code>
       */
      int getNameIndex();

      // required .NodeMetrics.Number number = 2;
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      boolean hasNumber();
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getNumber();
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder getNumberOrBuilder();

      // optional .NodeMetrics.EWMA ewma = 3;
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      boolean hasEwma();
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getEwma();
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder getEwmaOrBuilder();
    }
    /**
     * Protobuf type {@code NodeMetrics.Metric}
     */
    public static final class Metric extends
        akka.protobuf.GeneratedMessage
        implements MetricOrBuilder {
      // Use Metric.newBuilder() to construct.
      private Metric(akka.protobuf.GeneratedMessage.Builder<?> builder) {
        super(builder);
        this.unknownFields = builder.getUnknownFields();
      }
      private Metric(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

      private static final Metric defaultInstance;
      public static Metric getDefaultInstance() {
        return defaultInstance;
      }

      public Metric getDefaultInstanceForType() {
        return defaultInstance;
      }

      private final akka.protobuf.UnknownFieldSet unknownFields;
      @java.lang.Override
      public final akka.protobuf.UnknownFieldSet
          getUnknownFields() {
        return this.unknownFields;
      }
      private Metric(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        initFields();
        int mutable_bitField0_ = 0;
        akka.protobuf.UnknownFieldSet.Builder unknownFields =
            akka.protobuf.UnknownFieldSet.newBuilder();
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              default: {
                if (!parseUnknownField(input, unknownFields,
                                       extensionRegistry, tag)) {
                  done = true;
                }
                break;
              }
              case 8: {
                bitField0_ |= 0x00000001;
                nameIndex_ = input.readInt32();
                break;
              }
              case 18: {
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder subBuilder = null;
                if (((bitField0_ & 0x00000002) == 0x00000002)) {
                  subBuilder = number_.toBuilder();
                }
                number_ = input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.PARSER, extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(number_);
                  number_ = subBuilder.buildPartial();
                }
                bitField0_ |= 0x00000002;
                break;
              }
              case 26: {
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder subBuilder = null;
                if (((bitField0_ & 0x00000004) == 0x00000004)) {
                  subBuilder = ewma_.toBuilder();
                }
                ewma_ = input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.PARSER, extensionRegistry);
                if (subBuilder != null) {
                  subBuilder.mergeFrom(ewma_);
                  ewma_ = subBuilder.buildPartial();
                }
                bitField0_ |= 0x00000004;
                break;
              }
            }
          }
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(this);
        } catch (java.io.IOException e) {
          throw new akka.protobuf.InvalidProtocolBufferException(
              e.getMessage()).setUnfinishedMessage(this);
        } finally {
          this.unknownFields = unknownFields.build();
          makeExtensionsImmutable();
        }
      }
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder.class);
      }

      public static akka.protobuf.Parser<Metric> PARSER =
          new akka.protobuf.AbstractParser<Metric>() {
        public Metric parsePartialFrom(
            akka.protobuf.CodedInputStream input,
            akka.protobuf.ExtensionRegistryLite extensionRegistry)
            throws akka.protobuf.InvalidProtocolBufferException {
          return new Metric(input, extensionRegistry);
        }
      };

      @java.lang.Override
      public akka.protobuf.Parser<Metric> getParserForType() {
        return PARSER;
      }

      private int bitField0_;
      // required int32 nameIndex = 1;
      public static final int NAMEINDEX_FIELD_NUMBER = 1;
      private int nameIndex_;
      /**
       * <code>required int32 nameIndex = 1;</code>
       */
      public boolean hasNameIndex() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required int32 nameIndex = 1;</code>
       */
      public int getNameIndex() {
        return nameIndex_;
      }

      // required .NodeMetrics.Number number = 2;
      public static final int NUMBER_FIELD_NUMBER = 2;
      private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number number_;
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      public boolean hasNumber() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getNumber() {
        return number_;
      }
      /**
       * <code>required .NodeMetrics.Number number = 2;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder getNumberOrBuilder() {
        return number_;
      }

      // optional .NodeMetrics.EWMA ewma = 3;
      public static final int EWMA_FIELD_NUMBER = 3;
      private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA ewma_;
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      public boolean hasEwma() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getEwma() {
        return ewma_;
      }
      /**
       * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder getEwmaOrBuilder() {
        return ewma_;
      }

      private void initFields() {
        nameIndex_ = 0;
        number_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance();
        ewma_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance();
      }
      private byte memoizedIsInitialized = -1;
      public final boolean isInitialized() {
        byte isInitialized = memoizedIsInitialized;
        if (isInitialized != -1) return isInitialized == 1;

        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;
      }

      public void writeTo(akka.protobuf.CodedOutputStream output)
                          throws java.io.IOException {
        getSerializedSize();
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          output.writeInt32(1, nameIndex_);
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          output.writeMessage(2, number_);
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          output.writeMessage(3, ewma_);
        }
        getUnknownFields().writeTo(output);
      }

      private int memoizedSerializedSize = -1;
      public int getSerializedSize() {
        int size = memoizedSerializedSize;
        if (size != -1) return size;

        size = 0;
        if (((bitField0_ & 0x00000001) == 0x00000001)) {
          size += akka.protobuf.CodedOutputStream
            .computeInt32Size(1, nameIndex_);
        }
        if (((bitField0_ & 0x00000002) == 0x00000002)) {
          size += akka.protobuf.CodedOutputStream
            .computeMessageSize(2, number_);
        }
        if (((bitField0_ & 0x00000004) == 0x00000004)) {
          size += akka.protobuf.CodedOutputStream
            .computeMessageSize(3, ewma_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSerializedSize = size;
        return size;
      }

      private static final long serialVersionUID = 0L;
      @java.lang.Override
      protected java.lang.Object writeReplace()
          throws java.io.ObjectStreamException {
        return super.writeReplace();
      }

      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          akka.protobuf.ByteString data)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          akka.protobuf.ByteString data,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(byte[] data)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          byte[] data,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return PARSER.parseFrom(data, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          java.io.InputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseDelimitedFrom(java.io.InputStream input)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseDelimitedFrom(
          java.io.InputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseDelimitedFrom(input, extensionRegistry);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          akka.protobuf.CodedInputStream input)
          throws java.io.IOException {
        return PARSER.parseFrom(input);
      }
      public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parseFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        return PARSER.parseFrom(input, extensionRegistry);
      }

      public static Builder newBuilder() { return Builder.create(); }
      public Builder newBuilderForType() { return newBuilder(); }
      public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric prototype) {
        return newBuilder().mergeFrom(prototype);
      }
      public Builder toBuilder() { return newBuilder(this); }

      @java.lang.Override
      protected Builder newBuilderForType(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        Builder builder = new Builder(parent);
        return builder;
      }
      /**
       * Protobuf type {@code NodeMetrics.Metric}
       */
      public static final class Builder extends
          akka.protobuf.GeneratedMessage.Builder<Builder>
         implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder {
        public static final akka.protobuf.Descriptors.Descriptor
            getDescriptor() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_descriptor;
        }

        protected akka.protobuf.GeneratedMessage.FieldAccessorTable
            internalGetFieldAccessorTable() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_fieldAccessorTable
              .ensureFieldAccessorsInitialized(
                  akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder.class);
        }

        // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.newBuilder()
        private Builder() {
          maybeForceBuilderInitialization();
        }

        private Builder(
            akka.protobuf.GeneratedMessage.BuilderParent parent) {
          super(parent);
          maybeForceBuilderInitialization();
        }
        private void maybeForceBuilderInitialization() {
          if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
            getNumberFieldBuilder();
            getEwmaFieldBuilder();
          }
        }
        private static Builder create() {
          return new Builder();
        }

        public Builder clear() {
          super.clear();
          nameIndex_ = 0;
          bitField0_ = (bitField0_ & ~0x00000001);
          if (numberBuilder_ == null) {
            number_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance();
          } else {
            numberBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000002);
          if (ewmaBuilder_ == null) {
            ewma_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance();
          } else {
            ewmaBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000004);
          return this;
        }

        public Builder clone() {
          return create().mergeFrom(buildPartial());
        }

        public akka.protobuf.Descriptors.Descriptor
            getDescriptorForType() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_Metric_descriptor;
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getDefaultInstanceForType() {
          return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.getDefaultInstance();
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric build() {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric result = buildPartial();
          if (!result.isInitialized()) {
            throw newUninitializedMessageException(result);
          }
          return result;
        }

        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric buildPartial() {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric(this);
          int from_bitField0_ = bitField0_;
          int to_bitField0_ = 0;
          if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
            to_bitField0_ |= 0x00000001;
          }
          result.nameIndex_ = nameIndex_;
          if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
            to_bitField0_ |= 0x00000002;
          }
          if (numberBuilder_ == null) {
            result.number_ = number_;
          } else {
            result.number_ = numberBuilder_.build();
          }
          if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
            to_bitField0_ |= 0x00000004;
          }
          if (ewmaBuilder_ == null) {
            result.ewma_ = ewma_;
          } else {
            result.ewma_ = ewmaBuilder_.build();
          }
          result.bitField0_ = to_bitField0_;
          onBuilt();
          return result;
        }

        public Builder mergeFrom(akka.protobuf.Message other) {
          if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric) {
            return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric)other);
          } else {
            super.mergeFrom(other);
            return this;
          }
        }

        public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric other) {
          if (other == akka.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());
          return this;
        }

        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;
        }

        public Builder mergeFrom(
            akka.protobuf.CodedInputStream input,
            akka.protobuf.ExtensionRegistryLite extensionRegistry)
            throws java.io.IOException {
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric parsedMessage = null;
          try {
            parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
          } catch (akka.protobuf.InvalidProtocolBufferException e) {
            parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric) e.getUnfinishedMessage();
            throw e;
          } finally {
            if (parsedMessage != null) {
              mergeFrom(parsedMessage);
            }
          }
          return this;
        }
        private int bitField0_;

        // required int32 nameIndex = 1;
        private int nameIndex_ ;
        /**
         * <code>required int32 nameIndex = 1;</code>
         */
        public boolean hasNameIndex() {
          return ((bitField0_ & 0x00000001) == 0x00000001);
        }
        /**
         * <code>required int32 nameIndex = 1;</code>
         */
        public int getNameIndex() {
          return nameIndex_;
        }
        /**
         * <code>required int32 nameIndex = 1;</code>
         */
        public Builder setNameIndex(int value) {
          bitField0_ |= 0x00000001;
          nameIndex_ = value;
          onChanged();
          return this;
        }
        /**
         * <code>required int32 nameIndex = 1;</code>
         */
        public Builder clearNameIndex() {
          bitField0_ = (bitField0_ & ~0x00000001);
          nameIndex_ = 0;
          onChanged();
          return this;
        }

        // required .NodeMetrics.Number number = 2;
        private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number number_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance();
        private akka.protobuf.SingleFieldBuilder<
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder> numberBuilder_;
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public boolean hasNumber() {
          return ((bitField0_ & 0x00000002) == 0x00000002);
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number getNumber() {
          if (numberBuilder_ == null) {
            return number_;
          } else {
            return numberBuilder_.getMessage();
          }
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder setNumber(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number value) {
          if (numberBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            number_ = value;
            onChanged();
          } else {
            numberBuilder_.setMessage(value);
          }
          bitField0_ |= 0x00000002;
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder setNumber(
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder builderForValue) {
          if (numberBuilder_ == null) {
            number_ = builderForValue.build();
            onChanged();
          } else {
            numberBuilder_.setMessage(builderForValue.build());
          }
          bitField0_ |= 0x00000002;
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder mergeNumber(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number value) {
          if (numberBuilder_ == null) {
            if (((bitField0_ & 0x00000002) == 0x00000002) &&
                number_ != akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance()) {
              number_ =
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.newBuilder(number_).mergeFrom(value).buildPartial();
            } else {
              number_ = value;
            }
            onChanged();
          } else {
            numberBuilder_.mergeFrom(value);
          }
          bitField0_ |= 0x00000002;
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public Builder clearNumber() {
          if (numberBuilder_ == null) {
            number_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.getDefaultInstance();
            onChanged();
          } else {
            numberBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000002);
          return this;
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder getNumberBuilder() {
          bitField0_ |= 0x00000002;
          onChanged();
          return getNumberFieldBuilder().getBuilder();
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder getNumberOrBuilder() {
          if (numberBuilder_ != null) {
            return numberBuilder_.getMessageOrBuilder();
          } else {
            return number_;
          }
        }
        /**
         * <code>required .NodeMetrics.Number number = 2;</code>
         */
        private akka.protobuf.SingleFieldBuilder<
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder> 
            getNumberFieldBuilder() {
          if (numberBuilder_ == null) {
            numberBuilder_ = new akka.protobuf.SingleFieldBuilder<
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Number.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.NumberOrBuilder>(
                    number_,
                    getParentForChildren(),
                    isClean());
            number_ = null;
          }
          return numberBuilder_;
        }

        // optional .NodeMetrics.EWMA ewma = 3;
        private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA ewma_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance();
        private akka.protobuf.SingleFieldBuilder<
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder> ewmaBuilder_;
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public boolean hasEwma() {
          return ((bitField0_ & 0x00000004) == 0x00000004);
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA getEwma() {
          if (ewmaBuilder_ == null) {
            return ewma_;
          } else {
            return ewmaBuilder_.getMessage();
          }
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder setEwma(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA value) {
          if (ewmaBuilder_ == null) {
            if (value == null) {
              throw new NullPointerException();
            }
            ewma_ = value;
            onChanged();
          } else {
            ewmaBuilder_.setMessage(value);
          }
          bitField0_ |= 0x00000004;
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder setEwma(
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder builderForValue) {
          if (ewmaBuilder_ == null) {
            ewma_ = builderForValue.build();
            onChanged();
          } else {
            ewmaBuilder_.setMessage(builderForValue.build());
          }
          bitField0_ |= 0x00000004;
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder mergeEwma(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA value) {
          if (ewmaBuilder_ == null) {
            if (((bitField0_ & 0x00000004) == 0x00000004) &&
                ewma_ != akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance()) {
              ewma_ =
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.newBuilder(ewma_).mergeFrom(value).buildPartial();
            } else {
              ewma_ = value;
            }
            onChanged();
          } else {
            ewmaBuilder_.mergeFrom(value);
          }
          bitField0_ |= 0x00000004;
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public Builder clearEwma() {
          if (ewmaBuilder_ == null) {
            ewma_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.getDefaultInstance();
            onChanged();
          } else {
            ewmaBuilder_.clear();
          }
          bitField0_ = (bitField0_ & ~0x00000004);
          return this;
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder getEwmaBuilder() {
          bitField0_ |= 0x00000004;
          onChanged();
          return getEwmaFieldBuilder().getBuilder();
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder getEwmaOrBuilder() {
          if (ewmaBuilder_ != null) {
            return ewmaBuilder_.getMessageOrBuilder();
          } else {
            return ewma_;
          }
        }
        /**
         * <code>optional .NodeMetrics.EWMA ewma = 3;</code>
         */
        private akka.protobuf.SingleFieldBuilder<
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder> 
            getEwmaFieldBuilder() {
          if (ewmaBuilder_ == null) {
            ewmaBuilder_ = new akka.protobuf.SingleFieldBuilder<
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMA.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.EWMAOrBuilder>(
                    ewma_,
                    getParentForChildren(),
                    isClean());
            ewma_ = null;
          }
          return ewmaBuilder_;
        }

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

      static {
        defaultInstance = new Metric(true);
        defaultInstance.initFields();
      }

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

    private int bitField0_;
    // required int32 addressIndex = 1;
    public static final int ADDRESSINDEX_FIELD_NUMBER = 1;
    private int addressIndex_;
    /**
     * <code>required int32 addressIndex = 1;</code>
     */
    public boolean hasAddressIndex() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>required int32 addressIndex = 1;</code>
     */
    public int getAddressIndex() {
      return addressIndex_;
    }

    // required int64 timestamp = 2;
    public static final int TIMESTAMP_FIELD_NUMBER = 2;
    private long timestamp_;
    /**
     * <code>required int64 timestamp = 2;</code>
     */
    public boolean hasTimestamp() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>required int64 timestamp = 2;</code>
     */
    public long getTimestamp() {
      return timestamp_;
    }

    // repeated .NodeMetrics.Metric metrics = 3;
    public static final int METRICS_FIELD_NUMBER = 3;
    private java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> metrics_;
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    public java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> getMetricsList() {
      return metrics_;
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    public java.util.List<? extends akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> 
        getMetricsOrBuilderList() {
      return metrics_;
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    public int getMetricsCount() {
      return metrics_.size();
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric getMetrics(int index) {
      return metrics_.get(index);
    }
    /**
     * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder getMetricsOrBuilder(
        int index) {
      return metrics_.get(index);
    }

    private void initFields() {
      addressIndex_ = 0;
      timestamp_ = 0L;
      metrics_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      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;
    }

    public void writeTo(akka.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeInt32(1, addressIndex_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeInt64(2, timestamp_);
      }
      for (int i = 0; i < metrics_.size(); i++) {
        output.writeMessage(3, metrics_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += akka.protobuf.CodedOutputStream
          .computeInt32Size(1, addressIndex_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += akka.protobuf.CodedOutputStream
          .computeInt64Size(2, timestamp_);
      }
      for (int i = 0; i < metrics_.size(); i++) {
        size += akka.protobuf.CodedOutputStream
          .computeMessageSize(3, metrics_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        akka.protobuf.ByteString data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        akka.protobuf.ByteString data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(byte[] data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        byte[] data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseDelimitedFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        akka.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parseFrom(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        akka.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code NodeMetrics}
     *
     * <pre>
     **
     * Node Metrics
     * </pre>
     */
    public static final class Builder extends
        akka.protobuf.GeneratedMessage.Builder<Builder>
       implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetricsOrBuilder {
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Builder.class);
      }

      // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getMetricsFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        addressIndex_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        timestamp_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000002);
        if (metricsBuilder_ == null) {
          metrics_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000004);
        } else {
          metricsBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public akka.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_NodeMetrics_descriptor;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics getDefaultInstanceForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.getDefaultInstance();
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics build() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics buildPartial() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.addressIndex_ = addressIndex_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.timestamp_ = timestamp_;
        if (metricsBuilder_ == null) {
          if (((bitField0_ & 0x00000004) == 0x00000004)) {
            metrics_ = java.util.Collections.unmodifiableList(metrics_);
            bitField0_ = (bitField0_ & ~0x00000004);
          }
          result.metrics_ = metrics_;
        } else {
          result.metrics_ = metricsBuilder_.build();
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(akka.protobuf.Message other) {
        if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics) {
          return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics other) {
        if (other == akka.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_ = 
                akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getMetricsFieldBuilder() : null;
            } else {
              metricsBuilder_.addAllMessages(other.metrics_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      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;
      }

      public Builder mergeFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required int32 addressIndex = 1;
      private int addressIndex_ ;
      /**
       * <code>required int32 addressIndex = 1;</code>
       */
      public boolean hasAddressIndex() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required int32 addressIndex = 1;</code>
       */
      public int getAddressIndex() {
        return addressIndex_;
      }
      /**
       * <code>required int32 addressIndex = 1;</code>
       */
      public Builder setAddressIndex(int value) {
        bitField0_ |= 0x00000001;
        addressIndex_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required int32 addressIndex = 1;</code>
       */
      public Builder clearAddressIndex() {
        bitField0_ = (bitField0_ & ~0x00000001);
        addressIndex_ = 0;
        onChanged();
        return this;
      }

      // required int64 timestamp = 2;
      private long timestamp_ ;
      /**
       * <code>required int64 timestamp = 2;</code>
       */
      public boolean hasTimestamp() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required int64 timestamp = 2;</code>
       */
      public long getTimestamp() {
        return timestamp_;
      }
      /**
       * <code>required int64 timestamp = 2;</code>
       */
      public Builder setTimestamp(long value) {
        bitField0_ |= 0x00000002;
        timestamp_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required int64 timestamp = 2;</code>
       */
      public Builder clearTimestamp() {
        bitField0_ = (bitField0_ & ~0x00000002);
        timestamp_ = 0L;
        onChanged();
        return this;
      }

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

      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> metricsBuilder_;

      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public java.util.List<akka.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 akka.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, akka.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, akka.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(akka.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, akka.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(
          akka.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, akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric> values) {
        if (metricsBuilder_ == null) {
          ensureMetricsIsMutable();
          super.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder getMetricsBuilder(
          int index) {
        return getMetricsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public akka.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 akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder addMetricsBuilder() {
        return getMetricsFieldBuilder().addBuilder(
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder addMetricsBuilder(
          int index) {
        return getMetricsFieldBuilder().addBuilder(
            index, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.getDefaultInstance());
      }
      /**
       * <code>repeated .NodeMetrics.Metric metrics = 3;</code>
       */
      public java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder> 
           getMetricsBuilderList() {
        return getMetricsFieldBuilder().getBuilderList();
      }
      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder> 
          getMetricsFieldBuilder() {
        if (metricsBuilder_ == null) {
          metricsBuilder_ = new akka.protobuf.RepeatedFieldBuilder<
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.Metric.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.NodeMetrics.MetricOrBuilder>(
                  metrics_,
                  ((bitField0_ & 0x00000004) == 0x00000004),
                  getParentForChildren(),
                  isClean());
          metrics_ = null;
        }
        return metricsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:NodeMetrics)
    }

    static {
      defaultInstance = new NodeMetrics(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:NodeMetrics)
  }

  public interface AddressOrBuilder
      extends akka.protobuf.MessageOrBuilder {

    // required string system = 1;
    /**
     * <code>required string system = 1;</code>
     */
    boolean hasSystem();
    /**
     * <code>required string system = 1;</code>
     */
    java.lang.String getSystem();
    /**
     * <code>required string system = 1;</code>
     */
    akka.protobuf.ByteString
        getSystemBytes();

    // required string hostname = 2;
    /**
     * <code>required string hostname = 2;</code>
     */
    boolean hasHostname();
    /**
     * <code>required string hostname = 2;</code>
     */
    java.lang.String getHostname();
    /**
     * <code>required string hostname = 2;</code>
     */
    akka.protobuf.ByteString
        getHostnameBytes();

    // required uint32 port = 3;
    /**
     * <code>required uint32 port = 3;</code>
     */
    boolean hasPort();
    /**
     * <code>required uint32 port = 3;</code>
     */
    int getPort();

    // optional string protocol = 4;
    /**
     * <code>optional string protocol = 4;</code>
     */
    boolean hasProtocol();
    /**
     * <code>optional string protocol = 4;</code>
     */
    java.lang.String getProtocol();
    /**
     * <code>optional string protocol = 4;</code>
     */
    akka.protobuf.ByteString
        getProtocolBytes();
  }
  /**
   * Protobuf type {@code Address}
   *
   * <pre>
   **
   * Defines a remote address.
   * </pre>
   */
  public static final class Address extends
      akka.protobuf.GeneratedMessage
      implements AddressOrBuilder {
    // Use Address.newBuilder() to construct.
    private Address(akka.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private Address(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final Address defaultInstance;
    public static Address getDefaultInstance() {
      return defaultInstance;
    }

    public Address getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final akka.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final akka.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private Address(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      akka.protobuf.UnknownFieldSet.Builder unknownFields =
          akka.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              bitField0_ |= 0x00000001;
              system_ = input.readBytes();
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              hostname_ = input.readBytes();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              port_ = input.readUInt32();
              break;
            }
            case 34: {
              bitField0_ |= 0x00000008;
              protocol_ = input.readBytes();
              break;
            }
          }
        }
      } catch (akka.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new akka.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final akka.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_descriptor;
    }

    protected akka.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder.class);
    }

    public static akka.protobuf.Parser<Address> PARSER =
        new akka.protobuf.AbstractParser<Address>() {
      public Address parsePartialFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return new Address(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public akka.protobuf.Parser<Address> getParserForType() {
      return PARSER;
    }

    private int bitField0_;
    // required string system = 1;
    public static final int SYSTEM_FIELD_NUMBER = 1;
    private java.lang.Object system_;
    /**
     * <code>required string system = 1;</code>
     */
    public boolean hasSystem() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>required string system = 1;</code>
     */
    public java.lang.String getSystem() {
      java.lang.Object ref = system_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        akka.protobuf.ByteString bs = 
            (akka.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          system_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string system = 1;</code>
     */
    public akka.protobuf.ByteString
        getSystemBytes() {
      java.lang.Object ref = system_;
      if (ref instanceof java.lang.String) {
        akka.protobuf.ByteString b = 
            akka.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        system_ = b;
        return b;
      } else {
        return (akka.protobuf.ByteString) ref;
      }
    }

    // required string hostname = 2;
    public static final int HOSTNAME_FIELD_NUMBER = 2;
    private java.lang.Object hostname_;
    /**
     * <code>required string hostname = 2;</code>
     */
    public boolean hasHostname() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>required string hostname = 2;</code>
     */
    public java.lang.String getHostname() {
      java.lang.Object ref = hostname_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        akka.protobuf.ByteString bs = 
            (akka.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          hostname_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string hostname = 2;</code>
     */
    public akka.protobuf.ByteString
        getHostnameBytes() {
      java.lang.Object ref = hostname_;
      if (ref instanceof java.lang.String) {
        akka.protobuf.ByteString b = 
            akka.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hostname_ = b;
        return b;
      } else {
        return (akka.protobuf.ByteString) ref;
      }
    }

    // required uint32 port = 3;
    public static final int PORT_FIELD_NUMBER = 3;
    private int port_;
    /**
     * <code>required uint32 port = 3;</code>
     */
    public boolean hasPort() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>required uint32 port = 3;</code>
     */
    public int getPort() {
      return port_;
    }

    // optional string protocol = 4;
    public static final int PROTOCOL_FIELD_NUMBER = 4;
    private java.lang.Object protocol_;
    /**
     * <code>optional string protocol = 4;</code>
     */
    public boolean hasProtocol() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * <code>optional string protocol = 4;</code>
     */
    public java.lang.String getProtocol() {
      java.lang.Object ref = protocol_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        akka.protobuf.ByteString bs = 
            (akka.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          protocol_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string protocol = 4;</code>
     */
    public akka.protobuf.ByteString
        getProtocolBytes() {
      java.lang.Object ref = protocol_;
      if (ref instanceof java.lang.String) {
        akka.protobuf.ByteString b = 
            akka.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        protocol_ = b;
        return b;
      } else {
        return (akka.protobuf.ByteString) ref;
      }
    }

    private void initFields() {
      system_ = "";
      hostname_ = "";
      port_ = 0;
      protocol_ = "";
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasSystem()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasHostname()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasPort()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(akka.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeBytes(1, getSystemBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBytes(2, getHostnameBytes());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeUInt32(3, port_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeBytes(4, getProtocolBytes());
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += akka.protobuf.CodedOutputStream
          .computeBytesSize(1, getSystemBytes());
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += akka.protobuf.CodedOutputStream
          .computeBytesSize(2, getHostnameBytes());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += akka.protobuf.CodedOutputStream
          .computeUInt32Size(3, port_);
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += akka.protobuf.CodedOutputStream
          .computeBytesSize(4, getProtocolBytes());
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        akka.protobuf.ByteString data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        akka.protobuf.ByteString data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(byte[] data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        byte[] data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseDelimitedFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        akka.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parseFrom(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        akka.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code Address}
     *
     * <pre>
     **
     * Defines a remote address.
     * </pre>
     */
    public static final class Builder extends
        akka.protobuf.GeneratedMessage.Builder<Builder>
       implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AddressOrBuilder {
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.Builder.class);
      }

      // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        system_ = "";
        bitField0_ = (bitField0_ & ~0x00000001);
        hostname_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        port_ = 0;
        bitField0_ = (bitField0_ & ~0x00000004);
        protocol_ = "";
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public akka.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_Address_descriptor;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address getDefaultInstanceForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address.getDefaultInstance();
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address build() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address buildPartial() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.system_ = system_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.hostname_ = hostname_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.port_ = port_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.protocol_ = protocol_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(akka.protobuf.Message other) {
        if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address) {
          return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

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

      public final boolean isInitialized() {
        if (!hasSystem()) {
          
          return false;
        }
        if (!hasHostname()) {
          
          return false;
        }
        if (!hasPort()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.Address) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required string system = 1;
      private java.lang.Object system_ = "";
      /**
       * <code>required string system = 1;</code>
       */
      public boolean hasSystem() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required string system = 1;</code>
       */
      public java.lang.String getSystem() {
        java.lang.Object ref = system_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((akka.protobuf.ByteString) ref)
              .toStringUtf8();
          system_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string system = 1;</code>
       */
      public akka.protobuf.ByteString
          getSystemBytes() {
        java.lang.Object ref = system_;
        if (ref instanceof String) {
          akka.protobuf.ByteString b = 
              akka.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          system_ = b;
          return b;
        } else {
          return (akka.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>required string system = 1;</code>
       */
      public Builder setSystem(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        system_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required string system = 1;</code>
       */
      public Builder clearSystem() {
        bitField0_ = (bitField0_ & ~0x00000001);
        system_ = getDefaultInstance().getSystem();
        onChanged();
        return this;
      }
      /**
       * <code>required string system = 1;</code>
       */
      public Builder setSystemBytes(
          akka.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        system_ = value;
        onChanged();
        return this;
      }

      // required string hostname = 2;
      private java.lang.Object hostname_ = "";
      /**
       * <code>required string hostname = 2;</code>
       */
      public boolean hasHostname() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required string hostname = 2;</code>
       */
      public java.lang.String getHostname() {
        java.lang.Object ref = hostname_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((akka.protobuf.ByteString) ref)
              .toStringUtf8();
          hostname_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string hostname = 2;</code>
       */
      public akka.protobuf.ByteString
          getHostnameBytes() {
        java.lang.Object ref = hostname_;
        if (ref instanceof String) {
          akka.protobuf.ByteString b = 
              akka.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          hostname_ = b;
          return b;
        } else {
          return (akka.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>required string hostname = 2;</code>
       */
      public Builder setHostname(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        hostname_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required string hostname = 2;</code>
       */
      public Builder clearHostname() {
        bitField0_ = (bitField0_ & ~0x00000002);
        hostname_ = getDefaultInstance().getHostname();
        onChanged();
        return this;
      }
      /**
       * <code>required string hostname = 2;</code>
       */
      public Builder setHostnameBytes(
          akka.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        hostname_ = value;
        onChanged();
        return this;
      }

      // required uint32 port = 3;
      private int port_ ;
      /**
       * <code>required uint32 port = 3;</code>
       */
      public boolean hasPort() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>required uint32 port = 3;</code>
       */
      public int getPort() {
        return port_;
      }
      /**
       * <code>required uint32 port = 3;</code>
       */
      public Builder setPort(int value) {
        bitField0_ |= 0x00000004;
        port_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required uint32 port = 3;</code>
       */
      public Builder clearPort() {
        bitField0_ = (bitField0_ & ~0x00000004);
        port_ = 0;
        onChanged();
        return this;
      }

      // optional string protocol = 4;
      private java.lang.Object protocol_ = "";
      /**
       * <code>optional string protocol = 4;</code>
       */
      public boolean hasProtocol() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * <code>optional string protocol = 4;</code>
       */
      public java.lang.String getProtocol() {
        java.lang.Object ref = protocol_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((akka.protobuf.ByteString) ref)
              .toStringUtf8();
          protocol_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string protocol = 4;</code>
       */
      public akka.protobuf.ByteString
          getProtocolBytes() {
        java.lang.Object ref = protocol_;
        if (ref instanceof String) {
          akka.protobuf.ByteString b = 
              akka.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          protocol_ = b;
          return b;
        } else {
          return (akka.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string protocol = 4;</code>
       */
      public Builder setProtocol(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        protocol_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string protocol = 4;</code>
       */
      public Builder clearProtocol() {
        bitField0_ = (bitField0_ & ~0x00000008);
        protocol_ = getDefaultInstance().getProtocol();
        onChanged();
        return this;
      }
      /**
       * <code>optional string protocol = 4;</code>
       */
      public Builder setProtocolBytes(
          akka.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000008;
        protocol_ = value;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:Address)
    }

    static {
      defaultInstance = new Address(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:Address)
  }

  public interface AdaptiveLoadBalancingPoolOrBuilder
      extends akka.protobuf.MessageOrBuilder {

    // optional .MetricsSelector metricsSelector = 1;
    /**
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    boolean hasMetricsSelector();
    /**
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getMetricsSelector();
    /**
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getMetricsSelectorOrBuilder();

    // required uint32 nrOfInstances = 2;
    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     */
    boolean hasNrOfInstances();
    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     */
    int getNrOfInstances();

    // optional string routerDispatcher = 3;
    /**
     * <code>optional string routerDispatcher = 3;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    boolean hasRouterDispatcher();
    /**
     * <code>optional string routerDispatcher = 3;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    java.lang.String getRouterDispatcher();
    /**
     * <code>optional string routerDispatcher = 3;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    akka.protobuf.ByteString
        getRouterDispatcherBytes();

    // required bool usePoolDispatcher = 4;
    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     */
    boolean hasUsePoolDispatcher();
    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     */
    boolean getUsePoolDispatcher();
  }
  /**
   * Protobuf type {@code AdaptiveLoadBalancingPool}
   */
  public static final class AdaptiveLoadBalancingPool extends
      akka.protobuf.GeneratedMessage
      implements AdaptiveLoadBalancingPoolOrBuilder {
    // Use AdaptiveLoadBalancingPool.newBuilder() to construct.
    private AdaptiveLoadBalancingPool(akka.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private AdaptiveLoadBalancingPool(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final AdaptiveLoadBalancingPool defaultInstance;
    public static AdaptiveLoadBalancingPool getDefaultInstance() {
      return defaultInstance;
    }

    public AdaptiveLoadBalancingPool getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final akka.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final akka.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private AdaptiveLoadBalancingPool(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      akka.protobuf.UnknownFieldSet.Builder unknownFields =
          akka.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) == 0x00000001)) {
                subBuilder = metricsSelector_.toBuilder();
              }
              metricsSelector_ = input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(metricsSelector_);
                metricsSelector_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              nrOfInstances_ = input.readUInt32();
              break;
            }
            case 26: {
              bitField0_ |= 0x00000004;
              routerDispatcher_ = input.readBytes();
              break;
            }
            case 32: {
              bitField0_ |= 0x00000008;
              usePoolDispatcher_ = input.readBool();
              break;
            }
          }
        }
      } catch (akka.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new akka.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final akka.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_descriptor;
    }

    protected akka.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder.class);
    }

    public static akka.protobuf.Parser<AdaptiveLoadBalancingPool> PARSER =
        new akka.protobuf.AbstractParser<AdaptiveLoadBalancingPool>() {
      public AdaptiveLoadBalancingPool parsePartialFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return new AdaptiveLoadBalancingPool(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public akka.protobuf.Parser<AdaptiveLoadBalancingPool> getParserForType() {
      return PARSER;
    }

    private int bitField0_;
    // optional .MetricsSelector metricsSelector = 1;
    public static final int METRICSSELECTOR_FIELD_NUMBER = 1;
    private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector metricsSelector_;
    /**
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    public boolean hasMetricsSelector() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getMetricsSelector() {
      return metricsSelector_;
    }
    /**
     * <code>optional .MetricsSelector metricsSelector = 1;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getMetricsSelectorOrBuilder() {
      return metricsSelector_;
    }

    // required uint32 nrOfInstances = 2;
    public static final int NROFINSTANCES_FIELD_NUMBER = 2;
    private int nrOfInstances_;
    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     */
    public boolean hasNrOfInstances() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>required uint32 nrOfInstances = 2;</code>
     */
    public int getNrOfInstances() {
      return nrOfInstances_;
    }

    // optional string routerDispatcher = 3;
    public static final int ROUTERDISPATCHER_FIELD_NUMBER = 3;
    private java.lang.Object routerDispatcher_;
    /**
     * <code>optional string routerDispatcher = 3;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    public boolean hasRouterDispatcher() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>optional string routerDispatcher = 3;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    public java.lang.String getRouterDispatcher() {
      java.lang.Object ref = routerDispatcher_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        akka.protobuf.ByteString bs = 
            (akka.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          routerDispatcher_ = s;
        }
        return s;
      }
    }
    /**
     * <code>optional string routerDispatcher = 3;</code>
     *
     * <pre>
     * omitted if default
     * </pre>
     */
    public akka.protobuf.ByteString
        getRouterDispatcherBytes() {
      java.lang.Object ref = routerDispatcher_;
      if (ref instanceof java.lang.String) {
        akka.protobuf.ByteString b = 
            akka.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        routerDispatcher_ = b;
        return b;
      } else {
        return (akka.protobuf.ByteString) ref;
      }
    }

    // required bool usePoolDispatcher = 4;
    public static final int USEPOOLDISPATCHER_FIELD_NUMBER = 4;
    private boolean usePoolDispatcher_;
    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     */
    public boolean hasUsePoolDispatcher() {
      return ((bitField0_ & 0x00000008) == 0x00000008);
    }
    /**
     * <code>required bool usePoolDispatcher = 4;</code>
     */
    public boolean getUsePoolDispatcher() {
      return usePoolDispatcher_;
    }

    private void initFields() {
      metricsSelector_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance();
      nrOfInstances_ = 0;
      routerDispatcher_ = "";
      usePoolDispatcher_ = false;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      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;
    }

    public void writeTo(akka.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeMessage(1, metricsSelector_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeUInt32(2, nrOfInstances_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeBytes(3, getRouterDispatcherBytes());
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        output.writeBool(4, usePoolDispatcher_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += akka.protobuf.CodedOutputStream
          .computeMessageSize(1, metricsSelector_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += akka.protobuf.CodedOutputStream
          .computeUInt32Size(2, nrOfInstances_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += akka.protobuf.CodedOutputStream
          .computeBytesSize(3, getRouterDispatcherBytes());
      }
      if (((bitField0_ & 0x00000008) == 0x00000008)) {
        size += akka.protobuf.CodedOutputStream
          .computeBoolSize(4, usePoolDispatcher_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        akka.protobuf.ByteString data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        akka.protobuf.ByteString data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(byte[] data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        byte[] data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseDelimitedFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        akka.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parseFrom(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        akka.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code AdaptiveLoadBalancingPool}
     */
    public static final class Builder extends
        akka.protobuf.GeneratedMessage.Builder<Builder>
       implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPoolOrBuilder {
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.Builder.class);
      }

      // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getMetricsSelectorFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (metricsSelectorBuilder_ == null) {
          metricsSelector_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance();
        } else {
          metricsSelectorBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        nrOfInstances_ = 0;
        bitField0_ = (bitField0_ & ~0x00000002);
        routerDispatcher_ = "";
        bitField0_ = (bitField0_ & ~0x00000004);
        usePoolDispatcher_ = false;
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public akka.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_AdaptiveLoadBalancingPool_descriptor;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool getDefaultInstanceForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool.getDefaultInstance();
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool build() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool buildPartial() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        if (metricsSelectorBuilder_ == null) {
          result.metricsSelector_ = metricsSelector_;
        } else {
          result.metricsSelector_ = metricsSelectorBuilder_.build();
        }
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.nrOfInstances_ = nrOfInstances_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.routerDispatcher_ = routerDispatcher_;
        if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
          to_bitField0_ |= 0x00000008;
        }
        result.usePoolDispatcher_ = usePoolDispatcher_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(akka.protobuf.Message other) {
        if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool) {
          return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

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

      public final boolean isInitialized() {
        if (!hasNrOfInstances()) {
          
          return false;
        }
        if (!hasUsePoolDispatcher()) {
          
          return false;
        }
        if (hasMetricsSelector()) {
          if (!getMetricsSelector().isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.AdaptiveLoadBalancingPool) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // optional .MetricsSelector metricsSelector = 1;
      private akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector metricsSelector_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance();
      private akka.protobuf.SingleFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> metricsSelectorBuilder_;
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public boolean hasMetricsSelector() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getMetricsSelector() {
        if (metricsSelectorBuilder_ == null) {
          return metricsSelector_;
        } else {
          return metricsSelectorBuilder_.getMessage();
        }
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public Builder setMetricsSelector(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
        if (metricsSelectorBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          metricsSelector_ = value;
          onChanged();
        } else {
          metricsSelectorBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public Builder setMetricsSelector(
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder builderForValue) {
        if (metricsSelectorBuilder_ == null) {
          metricsSelector_ = builderForValue.build();
          onChanged();
        } else {
          metricsSelectorBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public Builder mergeMetricsSelector(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector value) {
        if (metricsSelectorBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001) &&
              metricsSelector_ != akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance()) {
            metricsSelector_ =
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.newBuilder(metricsSelector_).mergeFrom(value).buildPartial();
          } else {
            metricsSelector_ = value;
          }
          onChanged();
        } else {
          metricsSelectorBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public Builder clearMetricsSelector() {
        if (metricsSelectorBuilder_ == null) {
          metricsSelector_ = akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance();
          onChanged();
        } else {
          metricsSelectorBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder getMetricsSelectorBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getMetricsSelectorFieldBuilder().getBuilder();
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getMetricsSelectorOrBuilder() {
        if (metricsSelectorBuilder_ != null) {
          return metricsSelectorBuilder_.getMessageOrBuilder();
        } else {
          return metricsSelector_;
        }
      }
      /**
       * <code>optional .MetricsSelector metricsSelector = 1;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      private akka.protobuf.SingleFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
          getMetricsSelectorFieldBuilder() {
        if (metricsSelectorBuilder_ == null) {
          metricsSelectorBuilder_ = new akka.protobuf.SingleFieldBuilder<
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder>(
                  metricsSelector_,
                  getParentForChildren(),
                  isClean());
          metricsSelector_ = null;
        }
        return metricsSelectorBuilder_;
      }

      // required uint32 nrOfInstances = 2;
      private int nrOfInstances_ ;
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       */
      public boolean hasNrOfInstances() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       */
      public int getNrOfInstances() {
        return nrOfInstances_;
      }
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       */
      public Builder setNrOfInstances(int value) {
        bitField0_ |= 0x00000002;
        nrOfInstances_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required uint32 nrOfInstances = 2;</code>
       */
      public Builder clearNrOfInstances() {
        bitField0_ = (bitField0_ & ~0x00000002);
        nrOfInstances_ = 0;
        onChanged();
        return this;
      }

      // optional string routerDispatcher = 3;
      private java.lang.Object routerDispatcher_ = "";
      /**
       * <code>optional string routerDispatcher = 3;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public boolean hasRouterDispatcher() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>optional string routerDispatcher = 3;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public java.lang.String getRouterDispatcher() {
        java.lang.Object ref = routerDispatcher_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((akka.protobuf.ByteString) ref)
              .toStringUtf8();
          routerDispatcher_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>optional string routerDispatcher = 3;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public akka.protobuf.ByteString
          getRouterDispatcherBytes() {
        java.lang.Object ref = routerDispatcher_;
        if (ref instanceof String) {
          akka.protobuf.ByteString b = 
              akka.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          routerDispatcher_ = b;
          return b;
        } else {
          return (akka.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>optional string routerDispatcher = 3;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public Builder setRouterDispatcher(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        routerDispatcher_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>optional string routerDispatcher = 3;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public Builder clearRouterDispatcher() {
        bitField0_ = (bitField0_ & ~0x00000004);
        routerDispatcher_ = getDefaultInstance().getRouterDispatcher();
        onChanged();
        return this;
      }
      /**
       * <code>optional string routerDispatcher = 3;</code>
       *
       * <pre>
       * omitted if default
       * </pre>
       */
      public Builder setRouterDispatcherBytes(
          akka.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        routerDispatcher_ = value;
        onChanged();
        return this;
      }

      // required bool usePoolDispatcher = 4;
      private boolean usePoolDispatcher_ ;
      /**
       * <code>required bool usePoolDispatcher = 4;</code>
       */
      public boolean hasUsePoolDispatcher() {
        return ((bitField0_ & 0x00000008) == 0x00000008);
      }
      /**
       * <code>required bool usePoolDispatcher = 4;</code>
       */
      public boolean getUsePoolDispatcher() {
        return usePoolDispatcher_;
      }
      /**
       * <code>required bool usePoolDispatcher = 4;</code>
       */
      public Builder setUsePoolDispatcher(boolean value) {
        bitField0_ |= 0x00000008;
        usePoolDispatcher_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bool usePoolDispatcher = 4;</code>
       */
      public Builder clearUsePoolDispatcher() {
        bitField0_ = (bitField0_ & ~0x00000008);
        usePoolDispatcher_ = false;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:AdaptiveLoadBalancingPool)
    }

    static {
      defaultInstance = new AdaptiveLoadBalancingPool(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:AdaptiveLoadBalancingPool)
  }

  public interface MetricsSelectorOrBuilder
      extends akka.protobuf.MessageOrBuilder {

    // required uint32 serializerId = 1;
    /**
     * <code>required uint32 serializerId = 1;</code>
     */
    boolean hasSerializerId();
    /**
     * <code>required uint32 serializerId = 1;</code>
     */
    int getSerializerId();

    // required string manifest = 2;
    /**
     * <code>required string manifest = 2;</code>
     */
    boolean hasManifest();
    /**
     * <code>required string manifest = 2;</code>
     */
    java.lang.String getManifest();
    /**
     * <code>required string manifest = 2;</code>
     */
    akka.protobuf.ByteString
        getManifestBytes();

    // required bytes data = 3;
    /**
     * <code>required bytes data = 3;</code>
     */
    boolean hasData();
    /**
     * <code>required bytes data = 3;</code>
     */
    akka.protobuf.ByteString getData();
  }
  /**
   * Protobuf type {@code MetricsSelector}
   *
   * <pre>
   * couldn't figure out how to import Payload
   * </pre>
   */
  public static final class MetricsSelector extends
      akka.protobuf.GeneratedMessage
      implements MetricsSelectorOrBuilder {
    // Use MetricsSelector.newBuilder() to construct.
    private MetricsSelector(akka.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private MetricsSelector(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final MetricsSelector defaultInstance;
    public static MetricsSelector getDefaultInstance() {
      return defaultInstance;
    }

    public MetricsSelector getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final akka.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final akka.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private MetricsSelector(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      akka.protobuf.UnknownFieldSet.Builder unknownFields =
          akka.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              serializerId_ = input.readUInt32();
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              manifest_ = input.readBytes();
              break;
            }
            case 26: {
              bitField0_ |= 0x00000004;
              data_ = input.readBytes();
              break;
            }
          }
        }
      } catch (akka.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new akka.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final akka.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_descriptor;
    }

    protected akka.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder.class);
    }

    public static akka.protobuf.Parser<MetricsSelector> PARSER =
        new akka.protobuf.AbstractParser<MetricsSelector>() {
      public MetricsSelector parsePartialFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return new MetricsSelector(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public akka.protobuf.Parser<MetricsSelector> getParserForType() {
      return PARSER;
    }

    private int bitField0_;
    // required uint32 serializerId = 1;
    public static final int SERIALIZERID_FIELD_NUMBER = 1;
    private int serializerId_;
    /**
     * <code>required uint32 serializerId = 1;</code>
     */
    public boolean hasSerializerId() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * <code>required uint32 serializerId = 1;</code>
     */
    public int getSerializerId() {
      return serializerId_;
    }

    // required string manifest = 2;
    public static final int MANIFEST_FIELD_NUMBER = 2;
    private java.lang.Object manifest_;
    /**
     * <code>required string manifest = 2;</code>
     */
    public boolean hasManifest() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * <code>required string manifest = 2;</code>
     */
    public java.lang.String getManifest() {
      java.lang.Object ref = manifest_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        akka.protobuf.ByteString bs = 
            (akka.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          manifest_ = s;
        }
        return s;
      }
    }
    /**
     * <code>required string manifest = 2;</code>
     */
    public akka.protobuf.ByteString
        getManifestBytes() {
      java.lang.Object ref = manifest_;
      if (ref instanceof java.lang.String) {
        akka.protobuf.ByteString b = 
            akka.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        manifest_ = b;
        return b;
      } else {
        return (akka.protobuf.ByteString) ref;
      }
    }

    // required bytes data = 3;
    public static final int DATA_FIELD_NUMBER = 3;
    private akka.protobuf.ByteString data_;
    /**
     * <code>required bytes data = 3;</code>
     */
    public boolean hasData() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * <code>required bytes data = 3;</code>
     */
    public akka.protobuf.ByteString getData() {
      return data_;
    }

    private void initFields() {
      serializerId_ = 0;
      manifest_ = "";
      data_ = akka.protobuf.ByteString.EMPTY;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      if (!hasSerializerId()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasManifest()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasData()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(akka.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeUInt32(1, serializerId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeBytes(2, getManifestBytes());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeBytes(3, data_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += akka.protobuf.CodedOutputStream
          .computeUInt32Size(1, serializerId_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += akka.protobuf.CodedOutputStream
          .computeBytesSize(2, getManifestBytes());
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += akka.protobuf.CodedOutputStream
          .computeBytesSize(3, data_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        akka.protobuf.ByteString data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        akka.protobuf.ByteString data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(byte[] data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        byte[] data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseDelimitedFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        akka.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parseFrom(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        akka.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code MetricsSelector}
     *
     * <pre>
     * couldn't figure out how to import Payload
     * </pre>
     */
    public static final class Builder extends
        akka.protobuf.GeneratedMessage.Builder<Builder>
       implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder {
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder.class);
      }

      // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        serializerId_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        manifest_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        data_ = akka.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public akka.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MetricsSelector_descriptor;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getDefaultInstanceForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance();
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector build() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector buildPartial() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.serializerId_ = serializerId_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.manifest_ = manifest_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.data_ = data_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(akka.protobuf.Message other) {
        if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector) {
          return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

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

      public final boolean isInitialized() {
        if (!hasSerializerId()) {
          
          return false;
        }
        if (!hasManifest()) {
          
          return false;
        }
        if (!hasData()) {
          
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // required uint32 serializerId = 1;
      private int serializerId_ ;
      /**
       * <code>required uint32 serializerId = 1;</code>
       */
      public boolean hasSerializerId() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * <code>required uint32 serializerId = 1;</code>
       */
      public int getSerializerId() {
        return serializerId_;
      }
      /**
       * <code>required uint32 serializerId = 1;</code>
       */
      public Builder setSerializerId(int value) {
        bitField0_ |= 0x00000001;
        serializerId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required uint32 serializerId = 1;</code>
       */
      public Builder clearSerializerId() {
        bitField0_ = (bitField0_ & ~0x00000001);
        serializerId_ = 0;
        onChanged();
        return this;
      }

      // required string manifest = 2;
      private java.lang.Object manifest_ = "";
      /**
       * <code>required string manifest = 2;</code>
       */
      public boolean hasManifest() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * <code>required string manifest = 2;</code>
       */
      public java.lang.String getManifest() {
        java.lang.Object ref = manifest_;
        if (!(ref instanceof java.lang.String)) {
          java.lang.String s = ((akka.protobuf.ByteString) ref)
              .toStringUtf8();
          manifest_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>required string manifest = 2;</code>
       */
      public akka.protobuf.ByteString
          getManifestBytes() {
        java.lang.Object ref = manifest_;
        if (ref instanceof String) {
          akka.protobuf.ByteString b = 
              akka.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          manifest_ = b;
          return b;
        } else {
          return (akka.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>required string manifest = 2;</code>
       */
      public Builder setManifest(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        manifest_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required string manifest = 2;</code>
       */
      public Builder clearManifest() {
        bitField0_ = (bitField0_ & ~0x00000002);
        manifest_ = getDefaultInstance().getManifest();
        onChanged();
        return this;
      }
      /**
       * <code>required string manifest = 2;</code>
       */
      public Builder setManifestBytes(
          akka.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        manifest_ = value;
        onChanged();
        return this;
      }

      // required bytes data = 3;
      private akka.protobuf.ByteString data_ = akka.protobuf.ByteString.EMPTY;
      /**
       * <code>required bytes data = 3;</code>
       */
      public boolean hasData() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * <code>required bytes data = 3;</code>
       */
      public akka.protobuf.ByteString getData() {
        return data_;
      }
      /**
       * <code>required bytes data = 3;</code>
       */
      public Builder setData(akka.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        data_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>required bytes data = 3;</code>
       */
      public Builder clearData() {
        bitField0_ = (bitField0_ & ~0x00000004);
        data_ = getDefaultInstance().getData();
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:MetricsSelector)
    }

    static {
      defaultInstance = new MetricsSelector(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:MetricsSelector)
  }

  public interface MixMetricsSelectorOrBuilder
      extends akka.protobuf.MessageOrBuilder {

    // repeated .MetricsSelector selectors = 1;
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> 
        getSelectorsList();
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
        getSelectorsOrBuilderList();
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getSelectorsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code MixMetricsSelector}
   */
  public static final class MixMetricsSelector extends
      akka.protobuf.GeneratedMessage
      implements MixMetricsSelectorOrBuilder {
    // Use MixMetricsSelector.newBuilder() to construct.
    private MixMetricsSelector(akka.protobuf.GeneratedMessage.Builder<?> builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private MixMetricsSelector(boolean noInit) { this.unknownFields = akka.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final MixMetricsSelector defaultInstance;
    public static MixMetricsSelector getDefaultInstance() {
      return defaultInstance;
    }

    public MixMetricsSelector getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final akka.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final akka.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private MixMetricsSelector(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      akka.protobuf.UnknownFieldSet.Builder unknownFields =
          akka.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
                selectors_ = new java.util.ArrayList<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector>();
                mutable_bitField0_ |= 0x00000001;
              }
              selectors_.add(input.readMessage(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.PARSER, extensionRegistry));
              break;
            }
          }
        }
      } catch (akka.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new akka.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
          selectors_ = java.util.Collections.unmodifiableList(selectors_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final akka.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_descriptor;
    }

    protected akka.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.Builder.class);
    }

    public static akka.protobuf.Parser<MixMetricsSelector> PARSER =
        new akka.protobuf.AbstractParser<MixMetricsSelector>() {
      public MixMetricsSelector parsePartialFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws akka.protobuf.InvalidProtocolBufferException {
        return new MixMetricsSelector(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public akka.protobuf.Parser<MixMetricsSelector> getParserForType() {
      return PARSER;
    }

    // repeated .MetricsSelector selectors = 1;
    public static final int SELECTORS_FIELD_NUMBER = 1;
    private java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> selectors_;
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    public java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> getSelectorsList() {
      return selectors_;
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    public java.util.List<? extends akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
        getSelectorsOrBuilderList() {
      return selectors_;
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    public int getSelectorsCount() {
      return selectors_.size();
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector getSelectors(int index) {
      return selectors_.get(index);
    }
    /**
     * <code>repeated .MetricsSelector selectors = 1;</code>
     */
    public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder getSelectorsOrBuilder(
        int index) {
      return selectors_.get(index);
    }

    private void initFields() {
      selectors_ = java.util.Collections.emptyList();
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

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

    public void writeTo(akka.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      for (int i = 0; i < selectors_.size(); i++) {
        output.writeMessage(1, selectors_.get(i));
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      for (int i = 0; i < selectors_.size(); i++) {
        size += akka.protobuf.CodedOutputStream
          .computeMessageSize(1, selectors_.get(i));
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        akka.protobuf.ByteString data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        akka.protobuf.ByteString data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(byte[] data)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        byte[] data,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws akka.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseDelimitedFrom(
        java.io.InputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        akka.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parseFrom(
        akka.protobuf.CodedInputStream input,
        akka.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        akka.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code MixMetricsSelector}
     */
    public static final class Builder extends
        akka.protobuf.GeneratedMessage.Builder<Builder>
       implements akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelectorOrBuilder {
      public static final akka.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_descriptor;
      }

      protected akka.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.class, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.Builder.class);
      }

      // Construct using akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          akka.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
          getSelectorsFieldBuilder();
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        if (selectorsBuilder_ == null) {
          selectors_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          selectorsBuilder_.clear();
        }
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public akka.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.internal_static_MixMetricsSelector_descriptor;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector getDefaultInstanceForType() {
        return akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector.getDefaultInstance();
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector build() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector buildPartial() {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector result = new akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector(this);
        int from_bitField0_ = bitField0_;
        if (selectorsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) == 0x00000001)) {
            selectors_ = java.util.Collections.unmodifiableList(selectors_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.selectors_ = selectors_;
        } else {
          result.selectors_ = selectorsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      public Builder mergeFrom(akka.protobuf.Message other) {
        if (other instanceof akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector) {
          return mergeFrom((akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector other) {
        if (other == akka.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_ = 
                akka.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
                   getSelectorsFieldBuilder() : null;
            } else {
              selectorsBuilder_.addAllMessages(other.selectors_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        for (int i = 0; i < getSelectorsCount(); i++) {
          if (!getSelectors(i).isInitialized()) {
            
            return false;
          }
        }
        return true;
      }

      public Builder mergeFrom(
          akka.protobuf.CodedInputStream input,
          akka.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (akka.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MixMetricsSelector) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // repeated .MetricsSelector selectors = 1;
      private java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> selectors_ =
        java.util.Collections.emptyList();
      private void ensureSelectorsIsMutable() {
        if (!((bitField0_ & 0x00000001) == 0x00000001)) {
          selectors_ = new java.util.ArrayList<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector>(selectors_);
          bitField0_ |= 0x00000001;
         }
      }

      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> selectorsBuilder_;

      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public java.util.List<akka.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 akka.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, akka.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, akka.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(akka.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, akka.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(
          akka.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, akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector> values) {
        if (selectorsBuilder_ == null) {
          ensureSelectorsIsMutable();
          super.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder getSelectorsBuilder(
          int index) {
        return getSelectorsFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public akka.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 akka.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 akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder addSelectorsBuilder() {
        return getSelectorsFieldBuilder().addBuilder(
            akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance());
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder addSelectorsBuilder(
          int index) {
        return getSelectorsFieldBuilder().addBuilder(
            index, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.getDefaultInstance());
      }
      /**
       * <code>repeated .MetricsSelector selectors = 1;</code>
       */
      public java.util.List<akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder> 
           getSelectorsBuilderList() {
        return getSelectorsFieldBuilder().getBuilderList();
      }
      private akka.protobuf.RepeatedFieldBuilder<
          akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder> 
          getSelectorsFieldBuilder() {
        if (selectorsBuilder_ == null) {
          selectorsBuilder_ = new akka.protobuf.RepeatedFieldBuilder<
              akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelector.Builder, akka.cluster.metrics.protobuf.msg.ClusterMetricsMessages.MetricsSelectorOrBuilder>(
                  selectors_,
                  ((bitField0_ & 0x00000001) == 0x00000001),
                  getParentForChildren(),
                  isClean());
          selectors_ = null;
        }
        return selectorsBuilder_;
      }

      // @@protoc_insertion_point(builder_scope:MixMetricsSelector)
    }

    static {
      defaultInstance = new MixMetricsSelector(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:MixMetricsSelector)
  }

  private static akka.protobuf.Descriptors.Descriptor
    internal_static_MetricsGossipEnvelope_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_MetricsGossipEnvelope_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_MetricsGossip_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_MetricsGossip_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_NodeMetrics_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_NodeMetrics_Number_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_Number_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_NodeMetrics_EWMA_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_EWMA_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_NodeMetrics_Metric_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_NodeMetrics_Metric_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_Address_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_Address_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_AdaptiveLoadBalancingPool_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_MetricsSelector_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_MetricsSelector_fieldAccessorTable;
  private static akka.protobuf.Descriptors.Descriptor
    internal_static_MixMetricsSelector_descriptor;
  private static
    akka.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_MixMetricsSelector_fieldAccessorTable;

  public static akka.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static akka.protobuf.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" +
      "torB%\n!akka.cluster.metrics.protobuf.msg" +
      "H\001"
    };
    akka.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
      new akka.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
        public akka.protobuf.ExtensionRegistry assignDescriptors(
            akka.protobuf.Descriptors.FileDescriptor root) {
          descriptor = root;
          internal_static_MetricsGossipEnvelope_descriptor =
            getDescriptor().getMessageTypes().get(0);
          internal_static_MetricsGossipEnvelope_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_MetricsGossipEnvelope_descriptor,
              new java.lang.String[] { "From", "Gossip", "Reply", });
          internal_static_MetricsGossip_descriptor =
            getDescriptor().getMessageTypes().get(1);
          internal_static_MetricsGossip_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_MetricsGossip_descriptor,
              new java.lang.String[] { "AllAddresses", "AllMetricNames", "NodeMetrics", });
          internal_static_NodeMetrics_descriptor =
            getDescriptor().getMessageTypes().get(2);
          internal_static_NodeMetrics_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_NodeMetrics_descriptor,
              new java.lang.String[] { "AddressIndex", "Timestamp", "Metrics", });
          internal_static_NodeMetrics_Number_descriptor =
            internal_static_NodeMetrics_descriptor.getNestedTypes().get(0);
          internal_static_NodeMetrics_Number_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_NodeMetrics_Number_descriptor,
              new java.lang.String[] { "Type", "Value32", "Value64", "Serialized", });
          internal_static_NodeMetrics_EWMA_descriptor =
            internal_static_NodeMetrics_descriptor.getNestedTypes().get(1);
          internal_static_NodeMetrics_EWMA_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_NodeMetrics_EWMA_descriptor,
              new java.lang.String[] { "Value", "Alpha", });
          internal_static_NodeMetrics_Metric_descriptor =
            internal_static_NodeMetrics_descriptor.getNestedTypes().get(2);
          internal_static_NodeMetrics_Metric_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_NodeMetrics_Metric_descriptor,
              new java.lang.String[] { "NameIndex", "Number", "Ewma", });
          internal_static_Address_descriptor =
            getDescriptor().getMessageTypes().get(3);
          internal_static_Address_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_Address_descriptor,
              new java.lang.String[] { "System", "Hostname", "Port", "Protocol", });
          internal_static_AdaptiveLoadBalancingPool_descriptor =
            getDescriptor().getMessageTypes().get(4);
          internal_static_AdaptiveLoadBalancingPool_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_AdaptiveLoadBalancingPool_descriptor,
              new java.lang.String[] { "MetricsSelector", "NrOfInstances", "RouterDispatcher", "UsePoolDispatcher", });
          internal_static_MetricsSelector_descriptor =
            getDescriptor().getMessageTypes().get(5);
          internal_static_MetricsSelector_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_MetricsSelector_descriptor,
              new java.lang.String[] { "SerializerId", "Manifest", "Data", });
          internal_static_MixMetricsSelector_descriptor =
            getDescriptor().getMessageTypes().get(6);
          internal_static_MixMetricsSelector_fieldAccessorTable = new
            akka.protobuf.GeneratedMessage.FieldAccessorTable(
              internal_static_MixMetricsSelector_descriptor,
              new java.lang.String[] { "Selectors", });
          return null;
        }
      };
    akka.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new akka.protobuf.Descriptors.FileDescriptor[] {
        }, assigner);
  }

  // @@protoc_insertion_point(outer_class_scope)
}
