public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
            if (((bitField0_ & 0x00000001) == 0x00000001)) {
                output.writeInt64(1, term_);
            }
            if (((bitField0_ & 0x00000002) == 0x00000002)) {
                output.writeBool(2, success_);
            }
            if (((bitField0_ & 0x00000004) == 0x00000004)) {
                output.writeMessage(99, getErrorResponse());
            }
            unknownFields.writeTo(output);
        }
<code>optional .jraft.ErrorResponse errorResponse = 99;</code>
jraft-core/src/main/java/com/alipay/sofa/jraft/rpc/RpcRequests.java