public String getValueForMask(Phonenumber.PhoneNumber phoneNumber) {
   if (maskBuilder != null) {
     return maskBuilder.getValueForMask(phoneNumber, country, phoneNumberFormat);
   } else {
     return formatPhoneNumber(phoneNumber);
   }
 }
 private String getMaskFromCountry(Country country) {
   if (maskBuilder == null) {
     return null;
   } else {
     return maskBuilder.getMask(country, phoneNumberFormat);
   }
 }