Interface PhoneNumber.ShortCodeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PhoneNumber.ShortCode, PhoneNumber.ShortCode.Builder
Enclosing class:
PhoneNumber

public static interface PhoneNumber.ShortCodeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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;
      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;
      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;
      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;
      Returns:
      The bytes for number.