public PhoneNumber setCountryCodeSource(CountryCodeSource value) { //if (value == null) { // throw new NullPointerException(); //} _hasCountryCodeSource = true; countryCodeSource_ = value; return(this); }
public PhoneNumber setCountryCodeSource(CountryCodeSource?value) { if (value == null) { throw new NullReferenceException(); } hasCountryCodeSource = true; countryCodeSource_ = value.Value; return(this); }
public PhoneNumber() { countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; }
public PhoneNumber setCountryCodeSource(CountryCodeSource value) { //if (value == null) { // throw new NullPointerException(); //} _hasCountryCodeSource = true; countryCodeSource_ = value; return this; }
public PhoneNumber clearCountryCodeSource() { _hasCountryCodeSource = false; countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; return this; }
public PhoneNumber clearCountryCodeSource() { hasCountryCodeSource = false; countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN; return(this); }