class InputModifyGroupInfo extends InputGroupBase {
    private String group_id;
    //ModifyGroupInfoType
    private int type;
    private String value;

    public boolean isValide() {
        if (StringUtil.isNullOrEmpty(group_id) || StringUtil.isNullOrEmpty(operator))
            return false;
        return true;
    }
    public String getGroup_id() {
        return group_id;
    }

    public void setGroup_id(String group_id) {
        this.group_id = group_id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public WFCMessage.ModifyGroupInfoRequest toProtoGroupRequest() {<FILL_FUNCTION_BODY>}
}

        if(notify_message != null && notify_message.getType() > 0) {
            return WFCMessage.ModifyGroupInfoRequest.newBuilder()
                .setGroupId(group_id)
                .setType(type)
                .setValue(value == null ? "" : value)
                .addAllToLine(to_lines == null || to_lines.isEmpty() ? Arrays.asList(0) : to_lines)
                .setNotifyContent(notify_message.toProtoMessageContent())
                .build();
        } else {
            return WFCMessage.ModifyGroupInfoRequest.newBuilder()
                .setGroupId(group_id)
                .setType(type)
                .setValue(value == null ? "" : value)
                .addAllToLine(to_lines == null || to_lines.isEmpty() ? Arrays.asList(0) : to_lines)
                .build();
        }
    
<methods>public non-sealed void <init>() ,public cn.wildfirechat.pojos.MessagePayload getNotify_message() ,public java.lang.String getOperator() ,public List<java.lang.Integer> getTo_lines() ,public void setNotify_message(cn.wildfirechat.pojos.MessagePayload) ,public void setOperator(java.lang.String) ,public void setTo_lines(List<java.lang.Integer>) <variables>public cn.wildfirechat.pojos.MessagePayload notify_message,public java.lang.String operator,public List<java.lang.Integer> to_lines