Cómo evitar sobrescribir datos en firebase

Este es mi código para agregar registros en Firebase. hay una variable externa llamada restauCount valorada (int) como 1

public void sendMessage(){

    int restauCount = 1;
    String identifier ="Restaurant" + restauCount;
    Firebase userRef = firebaseRef.child("Caloocan");
    EditText nameInput = (EditText) findViewById(R.id.nameTxt);
    String name = nameInput.getText().toString();

    EditText locInput = (EditText) findViewById(R.id.locationTxt);
    String location = locInput.getText().toString();

    EditText typeInput = (EditText) findViewById(R.id.typeTxt);
    String foodtype = typeInput.getText().toString();
    if (!name.equals("")){
        Map<String, String> caloocan = new HashMap<String, String>();
        caloocan.put("resname", name);
        caloocan.put("resloc", location);
        caloocan.put("foodtype", foodtype);

        Map<String, Map<String, String>> users = new HashMap<String, Map<String, String>>();
        users.put(identifier,caloocan);

        userRef.setValue(users);
        restauCount++;
    }
}

Cuando ejecuto el sendessage () de nuevo. escribiré en los campos y cuando haga clic en AGREGAR, que es sendMessage, se agregará en FireBase, sin embargo, cuando agregue nuevos datos. ¿SOBRESCRIBE LOS ANTIGUOS DATOS INGRESADOS? ¿CÓMO PUEDO AGREGAR DATOS MÚLTIPLES EN LA BOMBA DE FUEGO SIN SOBRESCRIBIR LOS DATOS? restauCount fue creado para incrementar la cantidad de Restaurante que ingresé,

Respuestas a la pregunta(4)

Su respuesta a la pregunta