@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.LearnersOpResponse)) {
                return super.equals(obj);
            }
            com.alipay.sofa.jraft.rpc.CliRequests.LearnersOpResponse other = (com.alipay.sofa.jraft.rpc.CliRequests.LearnersOpResponse) obj;

            boolean result = true;
            result = result && getOldLearnersList().equals(other.getOldLearnersList());
            result = result && getNewLearnersList().equals(other.getNewLearnersList());
            result = result && (hasErrorResponse() == other.hasErrorResponse());
            if (hasErrorResponse()) {
                result = result && getErrorResponse().equals(other.getErrorResponse());
            }
            result = result && unknownFields.equals(other.unknownFields);
            return result;
        }
<code>optional .jraft.ErrorResponse errorResponse = 99;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/CliRequests.java