java.io.Externalizable
, java.io.Serializable
Phonemetadata.PhoneMetadata.Builder
public static class Phonemetadata.PhoneMetadata
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Class | Description |
---|---|---|
static class |
Phonemetadata.PhoneMetadata.Builder |
Provides a dummy builder.
|
Constructor | Description |
---|---|
PhoneMetadata() |
public static Phonemetadata.PhoneMetadata.Builder newBuilder()
public boolean hasGeneralDesc()
public Phonemetadata.PhoneNumberDesc getGeneralDesc()
public Phonemetadata.PhoneMetadata setGeneralDesc(Phonemetadata.PhoneNumberDesc value)
public boolean hasFixedLine()
public Phonemetadata.PhoneNumberDesc getFixedLine()
public Phonemetadata.PhoneMetadata setFixedLine(Phonemetadata.PhoneNumberDesc value)
public boolean hasMobile()
public Phonemetadata.PhoneNumberDesc getMobile()
public Phonemetadata.PhoneMetadata setMobile(Phonemetadata.PhoneNumberDesc value)
public boolean hasTollFree()
public Phonemetadata.PhoneNumberDesc getTollFree()
public Phonemetadata.PhoneMetadata setTollFree(Phonemetadata.PhoneNumberDesc value)
public boolean hasPremiumRate()
public Phonemetadata.PhoneNumberDesc getPremiumRate()
public Phonemetadata.PhoneMetadata setPremiumRate(Phonemetadata.PhoneNumberDesc value)
public boolean hasSharedCost()
public Phonemetadata.PhoneNumberDesc getSharedCost()
public Phonemetadata.PhoneMetadata setSharedCost(Phonemetadata.PhoneNumberDesc value)
public boolean hasPersonalNumber()
public Phonemetadata.PhoneNumberDesc getPersonalNumber()
public Phonemetadata.PhoneMetadata setPersonalNumber(Phonemetadata.PhoneNumberDesc value)
public boolean hasVoip()
public Phonemetadata.PhoneNumberDesc getVoip()
public Phonemetadata.PhoneMetadata setVoip(Phonemetadata.PhoneNumberDesc value)
public boolean hasPager()
public Phonemetadata.PhoneNumberDesc getPager()
public Phonemetadata.PhoneMetadata setPager(Phonemetadata.PhoneNumberDesc value)
public boolean hasUan()
public Phonemetadata.PhoneNumberDesc getUan()
public Phonemetadata.PhoneMetadata setUan(Phonemetadata.PhoneNumberDesc value)
public boolean hasEmergency()
public Phonemetadata.PhoneNumberDesc getEmergency()
public Phonemetadata.PhoneMetadata setEmergency(Phonemetadata.PhoneNumberDesc value)
public boolean hasVoicemail()
public Phonemetadata.PhoneNumberDesc getVoicemail()
public Phonemetadata.PhoneMetadata setVoicemail(Phonemetadata.PhoneNumberDesc value)
public boolean hasShortCode()
public Phonemetadata.PhoneNumberDesc getShortCode()
public Phonemetadata.PhoneMetadata setShortCode(Phonemetadata.PhoneNumberDesc value)
public boolean hasStandardRate()
public Phonemetadata.PhoneNumberDesc getStandardRate()
public Phonemetadata.PhoneMetadata setStandardRate(Phonemetadata.PhoneNumberDesc value)
public boolean hasCarrierSpecific()
public Phonemetadata.PhoneNumberDesc getCarrierSpecific()
public Phonemetadata.PhoneMetadata setCarrierSpecific(Phonemetadata.PhoneNumberDesc value)
public boolean hasSmsServices()
public Phonemetadata.PhoneNumberDesc getSmsServices()
public Phonemetadata.PhoneMetadata setSmsServices(Phonemetadata.PhoneNumberDesc value)
public boolean hasNoInternationalDialling()
public Phonemetadata.PhoneNumberDesc getNoInternationalDialling()
public Phonemetadata.PhoneMetadata setNoInternationalDialling(Phonemetadata.PhoneNumberDesc value)
public boolean hasId()
public java.lang.String getId()
public Phonemetadata.PhoneMetadata setId(java.lang.String value)
public boolean hasCountryCode()
public int getCountryCode()
public Phonemetadata.PhoneMetadata setCountryCode(int value)
public boolean hasInternationalPrefix()
public java.lang.String getInternationalPrefix()
public Phonemetadata.PhoneMetadata setInternationalPrefix(java.lang.String value)
public boolean hasPreferredInternationalPrefix()
public java.lang.String getPreferredInternationalPrefix()
public Phonemetadata.PhoneMetadata setPreferredInternationalPrefix(java.lang.String value)
public Phonemetadata.PhoneMetadata clearPreferredInternationalPrefix()
public boolean hasNationalPrefix()
public java.lang.String getNationalPrefix()
public Phonemetadata.PhoneMetadata setNationalPrefix(java.lang.String value)
public Phonemetadata.PhoneMetadata clearNationalPrefix()
public boolean hasPreferredExtnPrefix()
public java.lang.String getPreferredExtnPrefix()
public Phonemetadata.PhoneMetadata setPreferredExtnPrefix(java.lang.String value)
public Phonemetadata.PhoneMetadata clearPreferredExtnPrefix()
public boolean hasNationalPrefixForParsing()
public java.lang.String getNationalPrefixForParsing()
public Phonemetadata.PhoneMetadata setNationalPrefixForParsing(java.lang.String value)
public boolean hasNationalPrefixTransformRule()
public java.lang.String getNationalPrefixTransformRule()
public Phonemetadata.PhoneMetadata setNationalPrefixTransformRule(java.lang.String value)
public Phonemetadata.PhoneMetadata clearNationalPrefixTransformRule()
public boolean hasSameMobileAndFixedLinePattern()
public boolean getSameMobileAndFixedLinePattern()
public Phonemetadata.PhoneMetadata setSameMobileAndFixedLinePattern(boolean value)
public Phonemetadata.PhoneMetadata clearSameMobileAndFixedLinePattern()
public java.util.List<Phonemetadata.NumberFormat> numberFormats()
public int numberFormatSize()
public Phonemetadata.NumberFormat getNumberFormat(int index)
public Phonemetadata.PhoneMetadata addNumberFormat(Phonemetadata.NumberFormat value)
public java.util.List<Phonemetadata.NumberFormat> intlNumberFormats()
public int intlNumberFormatSize()
public Phonemetadata.NumberFormat getIntlNumberFormat(int index)
public Phonemetadata.PhoneMetadata addIntlNumberFormat(Phonemetadata.NumberFormat value)
public Phonemetadata.PhoneMetadata clearIntlNumberFormat()
public boolean hasMainCountryForCode()
public boolean isMainCountryForCode()
public boolean getMainCountryForCode()
public Phonemetadata.PhoneMetadata setMainCountryForCode(boolean value)
public Phonemetadata.PhoneMetadata clearMainCountryForCode()
public boolean hasLeadingDigits()
public java.lang.String getLeadingDigits()
public Phonemetadata.PhoneMetadata setLeadingDigits(java.lang.String value)
public boolean hasLeadingZeroPossible()
public boolean isLeadingZeroPossible()
public Phonemetadata.PhoneMetadata setLeadingZeroPossible(boolean value)
public Phonemetadata.PhoneMetadata clearLeadingZeroPossible()
public boolean hasMobileNumberPortableRegion()
public boolean isMobileNumberPortableRegion()
public Phonemetadata.PhoneMetadata setMobileNumberPortableRegion(boolean value)
public Phonemetadata.PhoneMetadata clearMobileNumberPortableRegion()
public void writeExternal(java.io.ObjectOutput objectOutput) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput objectInput) throws java.io.IOException
readExternal
in interface java.io.Externalizable
java.io.IOException
Copyright © 2019 Google. All Rights Reserved.