@ Deprecated public Map < String , String > toDataMap ( ) { Map < String , String > map = Maps . newHashMap ( ) ; map . put ( PLATFORM_KEY , platform ) ; map . put ( NAME_KEY , getName ( ) ) ; map . putAll ( metadata ) ; return map ; }
Serialize to a string map