Interface PhoneNumber.ShortCodeOrBuilder (2.9.1)

public static interface PhoneNumber.ShortCodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNumber()

public abstract String getNumber()

Required. The short code digits, without a leading plus ('+') or country calling code, e.g. "611".

string number = 2;

Returns
TypeDescription
String

The number.

getNumberBytes()

public abstract ByteString getNumberBytes()

Required. The short code digits, without a leading plus ('+') or country calling code, e.g. "611".

string number = 2;

Returns
TypeDescription
ByteString

The bytes for number.

getRegionCode()

public abstract String getRegionCode()

Required. The BCP-47 region code of the location where calls to this short code can be made, such as "US" and "BB". Reference(s):

string region_code = 1;

Returns
TypeDescription
String

The regionCode.

getRegionCodeBytes()

public abstract ByteString getRegionCodeBytes()

Required. The BCP-47 region code of the location where calls to this short code can be made, such as "US" and "BB". Reference(s):

string region_code = 1;

Returns
TypeDescription
ByteString

The bytes for regionCode.