// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: greptime/v1/meta/cluster.proto

package greptime.v1.meta;

public final class ClusterOuterClass {
  private ClusterOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface MetasrvPeersRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.MetasrvPeersRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    boolean hasHeader();
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return The header.
     */
    greptime.v1.meta.Common.RequestHeader getHeader();
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     */
    greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.MetasrvPeersRequest}
   */
  public static final class MetasrvPeersRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.MetasrvPeersRequest)
      MetasrvPeersRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MetasrvPeersRequest.newBuilder() to construct.
    private MetasrvPeersRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MetasrvPeersRequest() {
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private MetasrvPeersRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              greptime.v1.meta.Common.RequestHeader.Builder subBuilder = null;
              if (header_ != null) {
                subBuilder = header_.toBuilder();
              }
              header_ = input.readMessage(greptime.v1.meta.Common.RequestHeader.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(header_);
                header_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest.class, greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest.Builder.class);
    }

    public static final int HEADER_FIELD_NUMBER = 1;
    private greptime.v1.meta.Common.RequestHeader header_;
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    @java.lang.Override
    public boolean hasHeader() {
      return header_ != null;
    }
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     * @return The header.
     */
    @java.lang.Override
    public greptime.v1.meta.Common.RequestHeader getHeader() {
      return header_ == null ? greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_;
    }
    /**
     * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder() {
      return getHeader();
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (header_ != null) {
        output.writeMessage(1, getHeader());
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (header_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getHeader());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest)) {
        return super.equals(obj);
      }
      greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest other = (greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest) obj;

      if (hasHeader() != other.hasHeader()) return false;
      if (hasHeader()) {
        if (!getHeader()
            .equals(other.getHeader())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

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

    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code greptime.v1.meta.MetasrvPeersRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.MetasrvPeersRequest)
        greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest.class, greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest.Builder.class);
      }

      // Construct using greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (headerBuilder_ == null) {
          header_ = null;
        } else {
          header_ = null;
          headerBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersRequest_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest getDefaultInstanceForType() {
        return greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest build() {
        greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest buildPartial() {
        greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest result = new greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest(this);
        if (headerBuilder_ == null) {
          result.header_ = header_;
        } else {
          result.header_ = headerBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest) {
          return mergeFrom((greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest other) {
        if (other == greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest.getDefaultInstance()) return this;
        if (other.hasHeader()) {
          mergeHeader(other.getHeader());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private greptime.v1.meta.Common.RequestHeader header_;
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder> headerBuilder_;
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       * @return Whether the header field is set.
       */
      public boolean hasHeader() {
        return headerBuilder_ != null || header_ != null;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       * @return The header.
       */
      public greptime.v1.meta.Common.RequestHeader getHeader() {
        if (headerBuilder_ == null) {
          return header_ == null ? greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_;
        } else {
          return headerBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder setHeader(greptime.v1.meta.Common.RequestHeader value) {
        if (headerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          header_ = value;
          onChanged();
        } else {
          headerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder setHeader(
          greptime.v1.meta.Common.RequestHeader.Builder builderForValue) {
        if (headerBuilder_ == null) {
          header_ = builderForValue.build();
          onChanged();
        } else {
          headerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder mergeHeader(greptime.v1.meta.Common.RequestHeader value) {
        if (headerBuilder_ == null) {
          if (header_ != null) {
            header_ =
              greptime.v1.meta.Common.RequestHeader.newBuilder(header_).mergeFrom(value).buildPartial();
          } else {
            header_ = value;
          }
          onChanged();
        } else {
          headerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public Builder clearHeader() {
        if (headerBuilder_ == null) {
          header_ = null;
          onChanged();
        } else {
          header_ = null;
          headerBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.RequestHeader.Builder getHeaderBuilder() {
        
        onChanged();
        return getHeaderFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.RequestHeaderOrBuilder getHeaderOrBuilder() {
        if (headerBuilder_ != null) {
          return headerBuilder_.getMessageOrBuilder();
        } else {
          return header_ == null ?
              greptime.v1.meta.Common.RequestHeader.getDefaultInstance() : header_;
        }
      }
      /**
       * <code>.greptime.v1.meta.RequestHeader header = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder> 
          getHeaderFieldBuilder() {
        if (headerBuilder_ == null) {
          headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Common.RequestHeader, greptime.v1.meta.Common.RequestHeader.Builder, greptime.v1.meta.Common.RequestHeaderOrBuilder>(
                  getHeader(),
                  getParentForChildren(),
                  isClean());
          header_ = null;
        }
        return headerBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:greptime.v1.meta.MetasrvPeersRequest)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.MetasrvPeersRequest)
    private static final greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest();
    }

    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.ClusterOuterClass.MetasrvPeersRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface MetasrvPeersResponseOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.MetasrvPeersResponse)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    boolean hasHeader();
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return The header.
     */
    greptime.v1.meta.Common.ResponseHeader getHeader();
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     */
    greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder();

    /**
     * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
     * @return Whether the leader field is set.
     */
    boolean hasLeader();
    /**
     * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
     * @return The leader.
     */
    greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getLeader();
    /**
     * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
     */
    greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder getLeaderOrBuilder();

    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    java.util.List<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo> 
        getFollowersList();
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getFollowers(int index);
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    int getFollowersCount();
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    java.util.List<? extends greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder> 
        getFollowersOrBuilderList();
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder getFollowersOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code greptime.v1.meta.MetasrvPeersResponse}
   */
  public static final class MetasrvPeersResponse extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.MetasrvPeersResponse)
      MetasrvPeersResponseOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MetasrvPeersResponse.newBuilder() to construct.
    private MetasrvPeersResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MetasrvPeersResponse() {
      followers_ = java.util.Collections.emptyList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private MetasrvPeersResponse(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              greptime.v1.meta.Common.ResponseHeader.Builder subBuilder = null;
              if (header_ != null) {
                subBuilder = header_.toBuilder();
              }
              header_ = input.readMessage(greptime.v1.meta.Common.ResponseHeader.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(header_);
                header_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder subBuilder = null;
              if (leader_ != null) {
                subBuilder = leader_.toBuilder();
              }
              leader_ = input.readMessage(greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(leader_);
                leader_ = subBuilder.buildPartial();
              }

              break;
            }
            case 26: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                followers_ = new java.util.ArrayList<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo>();
                mutable_bitField0_ |= 0x00000001;
              }
              followers_.add(
                  input.readMessage(greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          followers_ = java.util.Collections.unmodifiableList(followers_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersResponse_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse.class, greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse.Builder.class);
    }

    public static final int HEADER_FIELD_NUMBER = 1;
    private greptime.v1.meta.Common.ResponseHeader header_;
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return Whether the header field is set.
     */
    @java.lang.Override
    public boolean hasHeader() {
      return header_ != null;
    }
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     * @return The header.
     */
    @java.lang.Override
    public greptime.v1.meta.Common.ResponseHeader getHeader() {
      return header_ == null ? greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_;
    }
    /**
     * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder() {
      return getHeader();
    }

    public static final int LEADER_FIELD_NUMBER = 2;
    private greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo leader_;
    /**
     * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
     * @return Whether the leader field is set.
     */
    @java.lang.Override
    public boolean hasLeader() {
      return leader_ != null;
    }
    /**
     * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
     * @return The leader.
     */
    @java.lang.Override
    public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getLeader() {
      return leader_ == null ? greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.getDefaultInstance() : leader_;
    }
    /**
     * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder getLeaderOrBuilder() {
      return getLeader();
    }

    public static final int FOLLOWERS_FIELD_NUMBER = 3;
    private java.util.List<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo> followers_;
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    @java.lang.Override
    public java.util.List<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo> getFollowersList() {
      return followers_;
    }
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    @java.lang.Override
    public java.util.List<? extends greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder> 
        getFollowersOrBuilderList() {
      return followers_;
    }
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    @java.lang.Override
    public int getFollowersCount() {
      return followers_.size();
    }
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getFollowers(int index) {
      return followers_.get(index);
    }
    /**
     * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder getFollowersOrBuilder(
        int index) {
      return followers_.get(index);
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (header_ != null) {
        output.writeMessage(1, getHeader());
      }
      if (leader_ != null) {
        output.writeMessage(2, getLeader());
      }
      for (int i = 0; i < followers_.size(); i++) {
        output.writeMessage(3, followers_.get(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (header_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getHeader());
      }
      if (leader_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getLeader());
      }
      for (int i = 0; i < followers_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, followers_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse)) {
        return super.equals(obj);
      }
      greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse other = (greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse) obj;

      if (hasHeader() != other.hasHeader()) return false;
      if (hasHeader()) {
        if (!getHeader()
            .equals(other.getHeader())) return false;
      }
      if (hasLeader() != other.hasLeader()) return false;
      if (hasLeader()) {
        if (!getLeader()
            .equals(other.getLeader())) return false;
      }
      if (!getFollowersList()
          .equals(other.getFollowersList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasHeader()) {
        hash = (37 * hash) + HEADER_FIELD_NUMBER;
        hash = (53 * hash) + getHeader().hashCode();
      }
      if (hasLeader()) {
        hash = (37 * hash) + LEADER_FIELD_NUMBER;
        hash = (53 * hash) + getLeader().hashCode();
      }
      if (getFollowersCount() > 0) {
        hash = (37 * hash) + FOLLOWERS_FIELD_NUMBER;
        hash = (53 * hash) + getFollowersList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code greptime.v1.meta.MetasrvPeersResponse}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.MetasrvPeersResponse)
        greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponseOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersResponse_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersResponse_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse.class, greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse.Builder.class);
      }

      // Construct using greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getFollowersFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (headerBuilder_ == null) {
          header_ = null;
        } else {
          header_ = null;
          headerBuilder_ = null;
        }
        if (leaderBuilder_ == null) {
          leader_ = null;
        } else {
          leader_ = null;
          leaderBuilder_ = null;
        }
        if (followersBuilder_ == null) {
          followers_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          followersBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvPeersResponse_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse getDefaultInstanceForType() {
        return greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse build() {
        greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse buildPartial() {
        greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse result = new greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse(this);
        int from_bitField0_ = bitField0_;
        if (headerBuilder_ == null) {
          result.header_ = header_;
        } else {
          result.header_ = headerBuilder_.build();
        }
        if (leaderBuilder_ == null) {
          result.leader_ = leader_;
        } else {
          result.leader_ = leaderBuilder_.build();
        }
        if (followersBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            followers_ = java.util.Collections.unmodifiableList(followers_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.followers_ = followers_;
        } else {
          result.followers_ = followersBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse) {
          return mergeFrom((greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse other) {
        if (other == greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse.getDefaultInstance()) return this;
        if (other.hasHeader()) {
          mergeHeader(other.getHeader());
        }
        if (other.hasLeader()) {
          mergeLeader(other.getLeader());
        }
        if (followersBuilder_ == null) {
          if (!other.followers_.isEmpty()) {
            if (followers_.isEmpty()) {
              followers_ = other.followers_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureFollowersIsMutable();
              followers_.addAll(other.followers_);
            }
            onChanged();
          }
        } else {
          if (!other.followers_.isEmpty()) {
            if (followersBuilder_.isEmpty()) {
              followersBuilder_.dispose();
              followersBuilder_ = null;
              followers_ = other.followers_;
              bitField0_ = (bitField0_ & ~0x00000001);
              followersBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getFollowersFieldBuilder() : null;
            } else {
              followersBuilder_.addAllMessages(other.followers_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

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

      private greptime.v1.meta.Common.ResponseHeader header_;
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder> headerBuilder_;
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       * @return Whether the header field is set.
       */
      public boolean hasHeader() {
        return headerBuilder_ != null || header_ != null;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       * @return The header.
       */
      public greptime.v1.meta.Common.ResponseHeader getHeader() {
        if (headerBuilder_ == null) {
          return header_ == null ? greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_;
        } else {
          return headerBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder setHeader(greptime.v1.meta.Common.ResponseHeader value) {
        if (headerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          header_ = value;
          onChanged();
        } else {
          headerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder setHeader(
          greptime.v1.meta.Common.ResponseHeader.Builder builderForValue) {
        if (headerBuilder_ == null) {
          header_ = builderForValue.build();
          onChanged();
        } else {
          headerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder mergeHeader(greptime.v1.meta.Common.ResponseHeader value) {
        if (headerBuilder_ == null) {
          if (header_ != null) {
            header_ =
              greptime.v1.meta.Common.ResponseHeader.newBuilder(header_).mergeFrom(value).buildPartial();
          } else {
            header_ = value;
          }
          onChanged();
        } else {
          headerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public Builder clearHeader() {
        if (headerBuilder_ == null) {
          header_ = null;
          onChanged();
        } else {
          header_ = null;
          headerBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.ResponseHeader.Builder getHeaderBuilder() {
        
        onChanged();
        return getHeaderFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      public greptime.v1.meta.Common.ResponseHeaderOrBuilder getHeaderOrBuilder() {
        if (headerBuilder_ != null) {
          return headerBuilder_.getMessageOrBuilder();
        } else {
          return header_ == null ?
              greptime.v1.meta.Common.ResponseHeader.getDefaultInstance() : header_;
        }
      }
      /**
       * <code>.greptime.v1.meta.ResponseHeader header = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder> 
          getHeaderFieldBuilder() {
        if (headerBuilder_ == null) {
          headerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Common.ResponseHeader, greptime.v1.meta.Common.ResponseHeader.Builder, greptime.v1.meta.Common.ResponseHeaderOrBuilder>(
                  getHeader(),
                  getParentForChildren(),
                  isClean());
          header_ = null;
        }
        return headerBuilder_;
      }

      private greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo leader_;
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder> leaderBuilder_;
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       * @return Whether the leader field is set.
       */
      public boolean hasLeader() {
        return leaderBuilder_ != null || leader_ != null;
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       * @return The leader.
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getLeader() {
        if (leaderBuilder_ == null) {
          return leader_ == null ? greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.getDefaultInstance() : leader_;
        } else {
          return leaderBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       */
      public Builder setLeader(greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo value) {
        if (leaderBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          leader_ = value;
          onChanged();
        } else {
          leaderBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       */
      public Builder setLeader(
          greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder builderForValue) {
        if (leaderBuilder_ == null) {
          leader_ = builderForValue.build();
          onChanged();
        } else {
          leaderBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       */
      public Builder mergeLeader(greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo value) {
        if (leaderBuilder_ == null) {
          if (leader_ != null) {
            leader_ =
              greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.newBuilder(leader_).mergeFrom(value).buildPartial();
          } else {
            leader_ = value;
          }
          onChanged();
        } else {
          leaderBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       */
      public Builder clearLeader() {
        if (leaderBuilder_ == null) {
          leader_ = null;
          onChanged();
        } else {
          leader_ = null;
          leaderBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder getLeaderBuilder() {
        
        onChanged();
        return getLeaderFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder getLeaderOrBuilder() {
        if (leaderBuilder_ != null) {
          return leaderBuilder_.getMessageOrBuilder();
        } else {
          return leader_ == null ?
              greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.getDefaultInstance() : leader_;
        }
      }
      /**
       * <code>.greptime.v1.meta.MetasrvNodeInfo leader = 2;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder> 
          getLeaderFieldBuilder() {
        if (leaderBuilder_ == null) {
          leaderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder>(
                  getLeader(),
                  getParentForChildren(),
                  isClean());
          leader_ = null;
        }
        return leaderBuilder_;
      }

      private java.util.List<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo> followers_ =
        java.util.Collections.emptyList();
      private void ensureFollowersIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          followers_ = new java.util.ArrayList<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo>(followers_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder> followersBuilder_;

      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public java.util.List<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo> getFollowersList() {
        if (followersBuilder_ == null) {
          return java.util.Collections.unmodifiableList(followers_);
        } else {
          return followersBuilder_.getMessageList();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public int getFollowersCount() {
        if (followersBuilder_ == null) {
          return followers_.size();
        } else {
          return followersBuilder_.getCount();
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getFollowers(int index) {
        if (followersBuilder_ == null) {
          return followers_.get(index);
        } else {
          return followersBuilder_.getMessage(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder setFollowers(
          int index, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo value) {
        if (followersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFollowersIsMutable();
          followers_.set(index, value);
          onChanged();
        } else {
          followersBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder setFollowers(
          int index, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder builderForValue) {
        if (followersBuilder_ == null) {
          ensureFollowersIsMutable();
          followers_.set(index, builderForValue.build());
          onChanged();
        } else {
          followersBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder addFollowers(greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo value) {
        if (followersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFollowersIsMutable();
          followers_.add(value);
          onChanged();
        } else {
          followersBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder addFollowers(
          int index, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo value) {
        if (followersBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureFollowersIsMutable();
          followers_.add(index, value);
          onChanged();
        } else {
          followersBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder addFollowers(
          greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder builderForValue) {
        if (followersBuilder_ == null) {
          ensureFollowersIsMutable();
          followers_.add(builderForValue.build());
          onChanged();
        } else {
          followersBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder addFollowers(
          int index, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder builderForValue) {
        if (followersBuilder_ == null) {
          ensureFollowersIsMutable();
          followers_.add(index, builderForValue.build());
          onChanged();
        } else {
          followersBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder addAllFollowers(
          java.lang.Iterable<? extends greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo> values) {
        if (followersBuilder_ == null) {
          ensureFollowersIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, followers_);
          onChanged();
        } else {
          followersBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder clearFollowers() {
        if (followersBuilder_ == null) {
          followers_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          followersBuilder_.clear();
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public Builder removeFollowers(int index) {
        if (followersBuilder_ == null) {
          ensureFollowersIsMutable();
          followers_.remove(index);
          onChanged();
        } else {
          followersBuilder_.remove(index);
        }
        return this;
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder getFollowersBuilder(
          int index) {
        return getFollowersFieldBuilder().getBuilder(index);
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder getFollowersOrBuilder(
          int index) {
        if (followersBuilder_ == null) {
          return followers_.get(index);  } else {
          return followersBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public java.util.List<? extends greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder> 
           getFollowersOrBuilderList() {
        if (followersBuilder_ != null) {
          return followersBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(followers_);
        }
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder addFollowersBuilder() {
        return getFollowersFieldBuilder().addBuilder(
            greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder addFollowersBuilder(
          int index) {
        return getFollowersFieldBuilder().addBuilder(
            index, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.getDefaultInstance());
      }
      /**
       * <code>repeated .greptime.v1.meta.MetasrvNodeInfo followers = 3;</code>
       */
      public java.util.List<greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder> 
           getFollowersBuilderList() {
        return getFollowersFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder> 
          getFollowersFieldBuilder() {
        if (followersBuilder_ == null) {
          followersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder>(
                  followers_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          followers_ = null;
        }
        return followersBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:greptime.v1.meta.MetasrvPeersResponse)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.MetasrvPeersResponse)
    private static final greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse();
    }

    public static greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.ClusterOuterClass.MetasrvPeersResponse getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface MetasrvNodeInfoOrBuilder extends
      // @@protoc_insertion_point(interface_extends:greptime.v1.meta.MetasrvNodeInfo)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>.greptime.v1.meta.Peer peer = 1;</code>
     * @return Whether the peer field is set.
     */
    boolean hasPeer();
    /**
     * <code>.greptime.v1.meta.Peer peer = 1;</code>
     * @return The peer.
     */
    greptime.v1.meta.Common.Peer getPeer();
    /**
     * <code>.greptime.v1.meta.Peer peer = 1;</code>
     */
    greptime.v1.meta.Common.PeerOrBuilder getPeerOrBuilder();

    /**
     * <code>string version = 2;</code>
     * @return The version.
     */
    java.lang.String getVersion();
    /**
     * <code>string version = 2;</code>
     * @return The bytes for version.
     */
    com.google.protobuf.ByteString
        getVersionBytes();

    /**
     * <code>string git_commit = 3;</code>
     * @return The gitCommit.
     */
    java.lang.String getGitCommit();
    /**
     * <code>string git_commit = 3;</code>
     * @return The bytes for gitCommit.
     */
    com.google.protobuf.ByteString
        getGitCommitBytes();

    /**
     * <pre>
     * The node start timestamp in milliseconds.
     * </pre>
     *
     * <code>uint64 start_time_ms = 4;</code>
     * @return The startTimeMs.
     */
    long getStartTimeMs();
  }
  /**
   * Protobuf type {@code greptime.v1.meta.MetasrvNodeInfo}
   */
  public static final class MetasrvNodeInfo extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:greptime.v1.meta.MetasrvNodeInfo)
      MetasrvNodeInfoOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use MetasrvNodeInfo.newBuilder() to construct.
    private MetasrvNodeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private MetasrvNodeInfo() {
      version_ = "";
      gitCommit_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private MetasrvNodeInfo(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              greptime.v1.meta.Common.Peer.Builder subBuilder = null;
              if (peer_ != null) {
                subBuilder = peer_.toBuilder();
              }
              peer_ = input.readMessage(greptime.v1.meta.Common.Peer.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(peer_);
                peer_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              version_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              gitCommit_ = s;
              break;
            }
            case 32: {

              startTimeMs_ = input.readUInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (com.google.protobuf.UninitializedMessageException e) {
        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvNodeInfo_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvNodeInfo_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.class, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder.class);
    }

    public static final int PEER_FIELD_NUMBER = 1;
    private greptime.v1.meta.Common.Peer peer_;
    /**
     * <code>.greptime.v1.meta.Peer peer = 1;</code>
     * @return Whether the peer field is set.
     */
    @java.lang.Override
    public boolean hasPeer() {
      return peer_ != null;
    }
    /**
     * <code>.greptime.v1.meta.Peer peer = 1;</code>
     * @return The peer.
     */
    @java.lang.Override
    public greptime.v1.meta.Common.Peer getPeer() {
      return peer_ == null ? greptime.v1.meta.Common.Peer.getDefaultInstance() : peer_;
    }
    /**
     * <code>.greptime.v1.meta.Peer peer = 1;</code>
     */
    @java.lang.Override
    public greptime.v1.meta.Common.PeerOrBuilder getPeerOrBuilder() {
      return getPeer();
    }

    public static final int VERSION_FIELD_NUMBER = 2;
    private volatile java.lang.Object version_;
    /**
     * <code>string version = 2;</code>
     * @return The version.
     */
    @java.lang.Override
    public java.lang.String getVersion() {
      java.lang.Object ref = version_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        version_ = s;
        return s;
      }
    }
    /**
     * <code>string version = 2;</code>
     * @return The bytes for version.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getVersionBytes() {
      java.lang.Object ref = version_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        version_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int GIT_COMMIT_FIELD_NUMBER = 3;
    private volatile java.lang.Object gitCommit_;
    /**
     * <code>string git_commit = 3;</code>
     * @return The gitCommit.
     */
    @java.lang.Override
    public java.lang.String getGitCommit() {
      java.lang.Object ref = gitCommit_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        gitCommit_ = s;
        return s;
      }
    }
    /**
     * <code>string git_commit = 3;</code>
     * @return The bytes for gitCommit.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getGitCommitBytes() {
      java.lang.Object ref = gitCommit_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        gitCommit_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int START_TIME_MS_FIELD_NUMBER = 4;
    private long startTimeMs_;
    /**
     * <pre>
     * The node start timestamp in milliseconds.
     * </pre>
     *
     * <code>uint64 start_time_ms = 4;</code>
     * @return The startTimeMs.
     */
    @java.lang.Override
    public long getStartTimeMs() {
      return startTimeMs_;
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (peer_ != null) {
        output.writeMessage(1, getPeer());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gitCommit_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, gitCommit_);
      }
      if (startTimeMs_ != 0L) {
        output.writeUInt64(4, startTimeMs_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (peer_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getPeer());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gitCommit_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, gitCommit_);
      }
      if (startTimeMs_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(4, startTimeMs_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo)) {
        return super.equals(obj);
      }
      greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo other = (greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo) obj;

      if (hasPeer() != other.hasPeer()) return false;
      if (hasPeer()) {
        if (!getPeer()
            .equals(other.getPeer())) return false;
      }
      if (!getVersion()
          .equals(other.getVersion())) return false;
      if (!getGitCommit()
          .equals(other.getGitCommit())) return false;
      if (getStartTimeMs()
          != other.getStartTimeMs()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasPeer()) {
        hash = (37 * hash) + PEER_FIELD_NUMBER;
        hash = (53 * hash) + getPeer().hashCode();
      }
      hash = (37 * hash) + VERSION_FIELD_NUMBER;
      hash = (53 * hash) + getVersion().hashCode();
      hash = (37 * hash) + GIT_COMMIT_FIELD_NUMBER;
      hash = (53 * hash) + getGitCommit().hashCode();
      hash = (37 * hash) + START_TIME_MS_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getStartTimeMs());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code greptime.v1.meta.MetasrvNodeInfo}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:greptime.v1.meta.MetasrvNodeInfo)
        greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfoOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvNodeInfo_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvNodeInfo_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.class, greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.Builder.class);
      }

      // Construct using greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (peerBuilder_ == null) {
          peer_ = null;
        } else {
          peer_ = null;
          peerBuilder_ = null;
        }
        version_ = "";

        gitCommit_ = "";

        startTimeMs_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return greptime.v1.meta.ClusterOuterClass.internal_static_greptime_v1_meta_MetasrvNodeInfo_descriptor;
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getDefaultInstanceForType() {
        return greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.getDefaultInstance();
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo build() {
        greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo buildPartial() {
        greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo result = new greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo(this);
        if (peerBuilder_ == null) {
          result.peer_ = peer_;
        } else {
          result.peer_ = peerBuilder_.build();
        }
        result.version_ = version_;
        result.gitCommit_ = gitCommit_;
        result.startTimeMs_ = startTimeMs_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo) {
          return mergeFrom((greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo other) {
        if (other == greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo.getDefaultInstance()) return this;
        if (other.hasPeer()) {
          mergePeer(other.getPeer());
        }
        if (!other.getVersion().isEmpty()) {
          version_ = other.version_;
          onChanged();
        }
        if (!other.getGitCommit().isEmpty()) {
          gitCommit_ = other.gitCommit_;
          onChanged();
        }
        if (other.getStartTimeMs() != 0L) {
          setStartTimeMs(other.getStartTimeMs());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private greptime.v1.meta.Common.Peer peer_;
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.Peer, greptime.v1.meta.Common.Peer.Builder, greptime.v1.meta.Common.PeerOrBuilder> peerBuilder_;
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       * @return Whether the peer field is set.
       */
      public boolean hasPeer() {
        return peerBuilder_ != null || peer_ != null;
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       * @return The peer.
       */
      public greptime.v1.meta.Common.Peer getPeer() {
        if (peerBuilder_ == null) {
          return peer_ == null ? greptime.v1.meta.Common.Peer.getDefaultInstance() : peer_;
        } else {
          return peerBuilder_.getMessage();
        }
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       */
      public Builder setPeer(greptime.v1.meta.Common.Peer value) {
        if (peerBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          peer_ = value;
          onChanged();
        } else {
          peerBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       */
      public Builder setPeer(
          greptime.v1.meta.Common.Peer.Builder builderForValue) {
        if (peerBuilder_ == null) {
          peer_ = builderForValue.build();
          onChanged();
        } else {
          peerBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       */
      public Builder mergePeer(greptime.v1.meta.Common.Peer value) {
        if (peerBuilder_ == null) {
          if (peer_ != null) {
            peer_ =
              greptime.v1.meta.Common.Peer.newBuilder(peer_).mergeFrom(value).buildPartial();
          } else {
            peer_ = value;
          }
          onChanged();
        } else {
          peerBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       */
      public Builder clearPeer() {
        if (peerBuilder_ == null) {
          peer_ = null;
          onChanged();
        } else {
          peer_ = null;
          peerBuilder_ = null;
        }

        return this;
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       */
      public greptime.v1.meta.Common.Peer.Builder getPeerBuilder() {
        
        onChanged();
        return getPeerFieldBuilder().getBuilder();
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       */
      public greptime.v1.meta.Common.PeerOrBuilder getPeerOrBuilder() {
        if (peerBuilder_ != null) {
          return peerBuilder_.getMessageOrBuilder();
        } else {
          return peer_ == null ?
              greptime.v1.meta.Common.Peer.getDefaultInstance() : peer_;
        }
      }
      /**
       * <code>.greptime.v1.meta.Peer peer = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          greptime.v1.meta.Common.Peer, greptime.v1.meta.Common.Peer.Builder, greptime.v1.meta.Common.PeerOrBuilder> 
          getPeerFieldBuilder() {
        if (peerBuilder_ == null) {
          peerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              greptime.v1.meta.Common.Peer, greptime.v1.meta.Common.Peer.Builder, greptime.v1.meta.Common.PeerOrBuilder>(
                  getPeer(),
                  getParentForChildren(),
                  isClean());
          peer_ = null;
        }
        return peerBuilder_;
      }

      private java.lang.Object version_ = "";
      /**
       * <code>string version = 2;</code>
       * @return The version.
       */
      public java.lang.String getVersion() {
        java.lang.Object ref = version_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          version_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string version = 2;</code>
       * @return The bytes for version.
       */
      public com.google.protobuf.ByteString
          getVersionBytes() {
        java.lang.Object ref = version_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          version_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string version = 2;</code>
       * @param value The version to set.
       * @return This builder for chaining.
       */
      public Builder setVersion(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        version_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string version = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearVersion() {
        
        version_ = getDefaultInstance().getVersion();
        onChanged();
        return this;
      }
      /**
       * <code>string version = 2;</code>
       * @param value The bytes for version to set.
       * @return This builder for chaining.
       */
      public Builder setVersionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        version_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object gitCommit_ = "";
      /**
       * <code>string git_commit = 3;</code>
       * @return The gitCommit.
       */
      public java.lang.String getGitCommit() {
        java.lang.Object ref = gitCommit_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          gitCommit_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string git_commit = 3;</code>
       * @return The bytes for gitCommit.
       */
      public com.google.protobuf.ByteString
          getGitCommitBytes() {
        java.lang.Object ref = gitCommit_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          gitCommit_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string git_commit = 3;</code>
       * @param value The gitCommit to set.
       * @return This builder for chaining.
       */
      public Builder setGitCommit(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        gitCommit_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string git_commit = 3;</code>
       * @return This builder for chaining.
       */
      public Builder clearGitCommit() {
        
        gitCommit_ = getDefaultInstance().getGitCommit();
        onChanged();
        return this;
      }
      /**
       * <code>string git_commit = 3;</code>
       * @param value The bytes for gitCommit to set.
       * @return This builder for chaining.
       */
      public Builder setGitCommitBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        gitCommit_ = value;
        onChanged();
        return this;
      }

      private long startTimeMs_ ;
      /**
       * <pre>
       * The node start timestamp in milliseconds.
       * </pre>
       *
       * <code>uint64 start_time_ms = 4;</code>
       * @return The startTimeMs.
       */
      @java.lang.Override
      public long getStartTimeMs() {
        return startTimeMs_;
      }
      /**
       * <pre>
       * The node start timestamp in milliseconds.
       * </pre>
       *
       * <code>uint64 start_time_ms = 4;</code>
       * @param value The startTimeMs to set.
       * @return This builder for chaining.
       */
      public Builder setStartTimeMs(long value) {
        
        startTimeMs_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The node start timestamp in milliseconds.
       * </pre>
       *
       * <code>uint64 start_time_ms = 4;</code>
       * @return This builder for chaining.
       */
      public Builder clearStartTimeMs() {
        
        startTimeMs_ = 0L;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:greptime.v1.meta.MetasrvNodeInfo)
    }

    // @@protoc_insertion_point(class_scope:greptime.v1.meta.MetasrvNodeInfo)
    private static final greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo();
    }

    public static greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

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

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

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

    @java.lang.Override
    public greptime.v1.meta.ClusterOuterClass.MetasrvNodeInfo getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_MetasrvPeersRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_MetasrvPeersRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_MetasrvPeersResponse_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_MetasrvPeersResponse_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_greptime_v1_meta_MetasrvNodeInfo_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_greptime_v1_meta_MetasrvNodeInfo_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\036greptime/v1/meta/cluster.proto\022\020grepti" +
      "me.v1.meta\032\035greptime/v1/meta/common.prot" +
      "o\032\034greptime/v1/meta/store.proto\"F\n\023Metas" +
      "rvPeersRequest\022/\n\006header\030\001 \001(\0132\037.greptim" +
      "e.v1.meta.RequestHeader\"\261\001\n\024MetasrvPeers" +
      "Response\0220\n\006header\030\001 \001(\0132 .greptime.v1.m" +
      "eta.ResponseHeader\0221\n\006leader\030\002 \001(\0132!.gre" +
      "ptime.v1.meta.MetasrvNodeInfo\0224\n\tfollowe" +
      "rs\030\003 \003(\0132!.greptime.v1.meta.MetasrvNodeI" +
      "nfo\"s\n\017MetasrvNodeInfo\022$\n\004peer\030\001 \001(\0132\026.g" +
      "reptime.v1.meta.Peer\022\017\n\007version\030\002 \001(\t\022\022\n" +
      "\ngit_commit\030\003 \001(\t\022\025\n\rstart_time_ms\030\004 \001(\004" +
      "2\205\002\n\007Cluster\022Q\n\010BatchGet\022!.greptime.v1.m" +
      "eta.BatchGetRequest\032\".greptime.v1.meta.B" +
      "atchGetResponse\022H\n\005Range\022\036.greptime.v1.m" +
      "eta.RangeRequest\032\037.greptime.v1.meta.Rang" +
      "eResponse\022]\n\014MetasrvPeers\022%.greptime.v1." +
      "meta.MetasrvPeersRequest\032&.greptime.v1.m" +
      "eta.MetasrvPeersResponseB<Z:github.com/G" +
      "reptimeTeam/greptime-proto/go/greptime/v" +
      "1/metab\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          greptime.v1.meta.Common.getDescriptor(),
          greptime.v1.meta.StoreOuterClass.getDescriptor(),
        });
    internal_static_greptime_v1_meta_MetasrvPeersRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_greptime_v1_meta_MetasrvPeersRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_MetasrvPeersRequest_descriptor,
        new java.lang.String[] { "Header", });
    internal_static_greptime_v1_meta_MetasrvPeersResponse_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_greptime_v1_meta_MetasrvPeersResponse_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_MetasrvPeersResponse_descriptor,
        new java.lang.String[] { "Header", "Leader", "Followers", });
    internal_static_greptime_v1_meta_MetasrvNodeInfo_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_greptime_v1_meta_MetasrvNodeInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_greptime_v1_meta_MetasrvNodeInfo_descriptor,
        new java.lang.String[] { "Peer", "Version", "GitCommit", "StartTimeMs", });
    greptime.v1.meta.Common.getDescriptor();
    greptime.v1.meta.StoreOuterClass.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
