@Override
  public Message messageFromObject() {
    Namespaces.Builder builder = Namespaces.newBuilder();
    builder.addAllNamespace(namespaces);
    return builder.build();
  }
@param namespaces the namespace name array
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/NamespacesModel.java