Interface PhoneNumber.ShortCodeOrBuilder (2.38.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for regionCode.