-
- All Implemented Interfaces:
-
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,livekit.LivekitPhoneNumber.PhoneNumberOrBuilder
public final class LivekitPhoneNumber.PhoneNumber extends GeneratedMessageLite<LivekitPhoneNumber.PhoneNumber, LivekitPhoneNumber.PhoneNumber.Builder> implements LivekitPhoneNumber.PhoneNumberOrBuilder
Protobuf typePhoneNumber - Unified phone number type for inventory and purchased numbers{@code livekit.PhoneNumber}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLivekitPhoneNumber.PhoneNumber.Builder
Protobuf typePhoneNumber - Unified phone number type for inventory and purchased numbers{@code livekit.PhoneNumber}
-
Field Summary
Fields Modifier and Type Field Description public final static intID_FIELD_NUMBERpublic final static intE164_FORMAT_FIELD_NUMBERpublic final static intCOUNTRY_CODE_FIELD_NUMBERpublic final static intAREA_CODE_FIELD_NUMBERpublic final static intNUMBER_TYPE_FIELD_NUMBERpublic final static intLOCALITY_FIELD_NUMBERpublic final static intREGION_FIELD_NUMBERpublic final static intSPAM_SCORE_FIELD_NUMBERpublic final static intCREATED_AT_FIELD_NUMBERpublic final static intUPDATED_AT_FIELD_NUMBERpublic final static intCAPABILITIES_FIELD_NUMBERpublic final static intSTATUS_FIELD_NUMBERpublic final static intASSIGNED_AT_FIELD_NUMBERpublic final static intRELEASED_AT_FIELD_NUMBERpublic final static intSIP_DISPATCH_RULE_ID_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description StringgetId()Unique identifierstring id = 1;ByteStringgetIdBytes()Unique identifierstring id = 1;StringgetE164Format()Phone number in E.164 format (e.g., "+14155552671")string e164_format = 2;ByteStringgetE164FormatBytes()Phone number in E.164 format (e.g., "+14155552671")string e164_format = 2;StringgetCountryCode()Country code (e.g., "US")string country_code = 3;ByteStringgetCountryCodeBytes()Country code (e.g., "US")string country_code = 3;StringgetAreaCode()Area code (e.g., "415")string area_code = 4;ByteStringgetAreaCodeBytes()Area code (e.g., "415")string area_code = 4;intgetNumberTypeValue()Number type (mobile, local, toll-free, unknown).livekit.PhoneNumberType number_type = 5;LivekitPhoneNumber.PhoneNumberTypegetNumberType()Number type (mobile, local, toll-free, unknown).livekit.PhoneNumberType number_type = 5;StringgetLocality()City/locality (e.g., "San Francisco")string locality = 6;ByteStringgetLocalityBytes()City/locality (e.g., "San Francisco")string locality = 6;StringgetRegion()State/region (e.g., "CA")string region = 7;ByteStringgetRegionBytes()State/region (e.g., "CA")string region = 7;doublegetSpamScore()Spam score for fraud detectiondouble spam_score = 8;booleanhasCreatedAt()Creation timestamp.google.protobuf.Timestamp created_at = 9;TimestampgetCreatedAt()Creation timestamp.google.protobuf.Timestamp created_at = 9;booleanhasUpdatedAt()Last update timestamp.google.protobuf.Timestamp updated_at = 10;TimestampgetUpdatedAt()Last update timestamp.google.protobuf.Timestamp updated_at = 10;List<String>getCapabilitiesList()Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;intgetCapabilitiesCount()Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;StringgetCapabilities(int index)Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;ByteStringgetCapabilitiesBytes(int index)Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;intgetStatusValue()Current status.livekit.PhoneNumberStatus status = 12;LivekitPhoneNumber.PhoneNumberStatusgetStatus()Current status.livekit.PhoneNumberStatus status = 12;booleanhasAssignedAt()Assignment timestamp.google.protobuf.Timestamp assigned_at = 13;TimestampgetAssignedAt()Assignment timestamp.google.protobuf.Timestamp assigned_at = 13;booleanhasReleasedAt()Release timestamp (if applicable).google.protobuf.Timestamp released_at = 14;TimestampgetReleasedAt()Release timestamp (if applicable).google.protobuf.Timestamp released_at = 14;StringgetSipDispatchRuleId()Associated SIP dispatch rule IDstring sip_dispatch_rule_id = 15;ByteStringgetSipDispatchRuleIdBytes()Associated SIP dispatch rule IDstring sip_dispatch_rule_id = 15;static LivekitPhoneNumber.PhoneNumberparseFrom(ByteBuffer data)static LivekitPhoneNumber.PhoneNumberparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static LivekitPhoneNumber.PhoneNumberparseFrom(ByteString data)static LivekitPhoneNumber.PhoneNumberparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static LivekitPhoneNumber.PhoneNumberparseFrom(Array<byte> data)static LivekitPhoneNumber.PhoneNumberparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static LivekitPhoneNumber.PhoneNumberparseFrom(InputStream input)static LivekitPhoneNumber.PhoneNumberparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitPhoneNumber.PhoneNumberparseDelimitedFrom(InputStream input)static LivekitPhoneNumber.PhoneNumberparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static LivekitPhoneNumber.PhoneNumberparseFrom(CodedInputStream input)static LivekitPhoneNumber.PhoneNumberparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static LivekitPhoneNumber.PhoneNumber.BuildernewBuilder()static LivekitPhoneNumber.PhoneNumber.BuildernewBuilder(LivekitPhoneNumber.PhoneNumber prototype)static LivekitPhoneNumber.PhoneNumbergetDefaultInstance()static Parser<LivekitPhoneNumber.PhoneNumber>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIdBytes
ByteString getIdBytes()
Unique identifierstring id = 1;
-
getE164Format
String getE164Format()
Phone number in E.164 format (e.g., "+14155552671")string e164_format = 2;
-
getE164FormatBytes
ByteString getE164FormatBytes()
Phone number in E.164 format (e.g., "+14155552671")string e164_format = 2;
-
getCountryCode
String getCountryCode()
Country code (e.g., "US")string country_code = 3;
-
getCountryCodeBytes
ByteString getCountryCodeBytes()
Country code (e.g., "US")string country_code = 3;
-
getAreaCode
String getAreaCode()
Area code (e.g., "415")string area_code = 4;
-
getAreaCodeBytes
ByteString getAreaCodeBytes()
Area code (e.g., "415")string area_code = 4;
-
getNumberTypeValue
int getNumberTypeValue()
Number type (mobile, local, toll-free, unknown).livekit.PhoneNumberType number_type = 5;
-
getNumberType
LivekitPhoneNumber.PhoneNumberType getNumberType()
Number type (mobile, local, toll-free, unknown).livekit.PhoneNumberType number_type = 5;
-
getLocality
String getLocality()
City/locality (e.g., "San Francisco")string locality = 6;
-
getLocalityBytes
ByteString getLocalityBytes()
City/locality (e.g., "San Francisco")string locality = 6;
-
getRegionBytes
ByteString getRegionBytes()
State/region (e.g., "CA")string region = 7;
-
getSpamScore
double getSpamScore()
Spam score for fraud detectiondouble spam_score = 8;
-
hasCreatedAt
boolean hasCreatedAt()
Creation timestamp.google.protobuf.Timestamp created_at = 9;
-
getCreatedAt
Timestamp getCreatedAt()
Creation timestamp.google.protobuf.Timestamp created_at = 9;
-
hasUpdatedAt
boolean hasUpdatedAt()
Last update timestamp.google.protobuf.Timestamp updated_at = 10;
-
getUpdatedAt
Timestamp getUpdatedAt()
Last update timestamp.google.protobuf.Timestamp updated_at = 10;
-
getCapabilitiesList
List<String> getCapabilitiesList()
Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;
-
getCapabilitiesCount
int getCapabilitiesCount()
Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;
-
getCapabilities
String getCapabilities(int index)
Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;- Parameters:
index- The index of the element to return.
-
getCapabilitiesBytes
ByteString getCapabilitiesBytes(int index)
Available capabilities (e.g., "voice", "sms")repeated string capabilities = 11;- Parameters:
index- The index of the value to return.
-
getStatusValue
int getStatusValue()
Current status.livekit.PhoneNumberStatus status = 12;
-
getStatus
LivekitPhoneNumber.PhoneNumberStatus getStatus()
Current status.livekit.PhoneNumberStatus status = 12;
-
hasAssignedAt
boolean hasAssignedAt()
Assignment timestamp.google.protobuf.Timestamp assigned_at = 13;
-
getAssignedAt
Timestamp getAssignedAt()
Assignment timestamp.google.protobuf.Timestamp assigned_at = 13;
-
hasReleasedAt
boolean hasReleasedAt()
Release timestamp (if applicable).google.protobuf.Timestamp released_at = 14;
-
getReleasedAt
Timestamp getReleasedAt()
Release timestamp (if applicable).google.protobuf.Timestamp released_at = 14;
-
getSipDispatchRuleId
String getSipDispatchRuleId()
Associated SIP dispatch rule IDstring sip_dispatch_rule_id = 15;
-
getSipDispatchRuleIdBytes
ByteString getSipDispatchRuleIdBytes()
Associated SIP dispatch rule IDstring sip_dispatch_rule_id = 15;
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(ByteBuffer data)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(ByteString data)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(Array<byte> data)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(InputStream input)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static LivekitPhoneNumber.PhoneNumber parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static LivekitPhoneNumber.PhoneNumber parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(CodedInputStream input)
-
parseFrom
static LivekitPhoneNumber.PhoneNumber parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static LivekitPhoneNumber.PhoneNumber.Builder newBuilder()
-
newBuilder
static LivekitPhoneNumber.PhoneNumber.Builder newBuilder(LivekitPhoneNumber.PhoneNumber prototype)
-
getDefaultInstance
static LivekitPhoneNumber.PhoneNumber getDefaultInstance()
-
parser
static Parser<LivekitPhoneNumber.PhoneNumber> parser()
-
-
-
-