public void setFlagId(int flagId) {
        this.flagId = flagId;
    }
Initial a response wrapper object

@param flagId         the flag id
@param serialNo       the serial no.
@param serviceType    the service type
@param locVersion     the local protocol version
@param errorMsg       the text error message
@param stackTrace     the stack trace information
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corerpc/ResponseWrapper.java