Package com.google.type
Interface PhoneNumber.ShortCodeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
PhoneNumber.ShortCode
,PhoneNumber.ShortCode.Builder
- Enclosing class:
- PhoneNumber
public static interface PhoneNumber.ShortCodeOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteString
Required.Required.com.google.protobuf.ByteString
Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getRegionCode
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): - http://www.unicode.org/reports/tr35/#unicode_region_subtag
string region_code = 1 [json_name = "regionCode"];
- Returns:
- The regionCode.
-
getRegionCodeBytes
com.google.protobuf.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): - http://www.unicode.org/reports/tr35/#unicode_region_subtag
string region_code = 1 [json_name = "regionCode"];
- Returns:
- The bytes for regionCode.
-
getNumber
String getNumber()Required. The short code digits, without a leading plus ('+') or country calling code, e.g. "611".
string number = 2 [json_name = "number"];
- Returns:
- The number.
-
getNumberBytes
com.google.protobuf.ByteString getNumberBytes()Required. The short code digits, without a leading plus ('+') or country calling code, e.g. "611".
string number = 2 [json_name = "number"];
- Returns:
- The bytes for number.
-