@java.lang.Override
        public boolean equals(final java.lang.Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof com.alipay.sofa.jraft.rpc.CliRequests.GetPeersRequest)) {
                return super.equals(obj);
            }
            com.alipay.sofa.jraft.rpc.CliRequests.GetPeersRequest other = (com.alipay.sofa.jraft.rpc.CliRequests.GetPeersRequest) obj;

            boolean result = true;
            result = result && (hasGroupId() == other.hasGroupId());
            if (hasGroupId()) {
                result = result && getGroupId().equals(other.getGroupId());
            }
            result = result && (hasLeaderId() == other.hasLeaderId());
            if (hasLeaderId()) {
                result = result && getLeaderId().equals(other.getLeaderId());
            }
            result = result && (hasOnlyAlive() == other.hasOnlyAlive());
            if (hasOnlyAlive()) {
                result = result && (getOnlyAlive() == other.getOnlyAlive());
            }
            result = result && unknownFields.equals(other.unknownFields);
            return result;
        }
<code>optional bool only_alive = 3 [default = false];</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/CliRequests.java