code: static public MobileAddress.Type parseType(String type) {
          if (type.equalsIgnoreCase("network")) {
              return MobileAddress.Type.NETWORK;
          } else if (type.equalsIgnoreCase("national")) {
              return MobileAddress.Type.NATIONAL;
          } else if (type.equalsIgnoreCase("alphanumeric")) {
              return MobileAddress.Type.ALPHANUMERIC;
          } else if (type.equalsIgnoreCase("international")) {
              return MobileAddress.Type.INTERNATIONAL;
          } else if (type.equalsIgnoreCase("push_destination")) {
              return MobileAddress.Type.PUSH_DESTINATION;
          } else {
              return null;
          }
      }
docs: Parses string into a MobileAddress type.  Case insensitive.  Returns null
  if no match was found.