public static enum Phone.PhoneType extends Enum<Phone.PhoneType> implements com.google.protobuf.ProtocolMessageEnum
Enum that represents the type of the telephone.Protobuf enum
google.cloud.talent.v4beta1.Phone.PhoneType| Enum Constant and Description |
|---|
FAX
A fax.
|
LANDLINE
A landline.
|
MOBILE
A mobile.
|
MOBILE_OR_LANDLINE
In some regions (e.g.
|
PAGER
A pager.
|
PHONE_TYPE_UNSPECIFIED
Default value.
|
TTY_OR_TDD
A TTY (test telephone) or TDD (telecommunication device for the deaf).
|
UNRECOGNIZED |
VIRTUAL
A virtual telephone number is a number that can be routed to another
number and managed by the user via Web, SMS, IVR, and so on.
|
VOICEMAIL
A voicemail.
|
VOIP
Voice over IP numbers.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FAX_VALUE
A fax.
|
static int |
LANDLINE_VALUE
A landline.
|
static int |
MOBILE_OR_LANDLINE_VALUE
In some regions (e.g.
|
static int |
MOBILE_VALUE
A mobile.
|
static int |
PAGER_VALUE
A pager.
|
static int |
PHONE_TYPE_UNSPECIFIED_VALUE
Default value.
|
static int |
TTY_OR_TDD_VALUE
A TTY (test telephone) or TDD (telecommunication device for the deaf).
|
static int |
VIRTUAL_VALUE
A virtual telephone number is a number that can be routed to another
number and managed by the user via Web, SMS, IVR, and so on.
|
static int |
VOICEMAIL_VALUE
A voicemail.
|
static int |
VOIP_VALUE
Voice over IP numbers.
|
| Modifier and Type | Method and Description |
|---|---|
static Phone.PhoneType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Phone.PhoneType> |
internalGetValueMap() |
static Phone.PhoneType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Phone.PhoneType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Phone.PhoneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Phone.PhoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phone.PhoneType PHONE_TYPE_UNSPECIFIED
Default value.
PHONE_TYPE_UNSPECIFIED = 0;public static final Phone.PhoneType LANDLINE
A landline.
LANDLINE = 1;public static final Phone.PhoneType MOBILE
A mobile.
MOBILE = 2;public static final Phone.PhoneType FAX
A fax.
FAX = 3;public static final Phone.PhoneType PAGER
A pager.
PAGER = 4;public static final Phone.PhoneType TTY_OR_TDD
A TTY (test telephone) or TDD (telecommunication device for the deaf).
TTY_OR_TDD = 5;public static final Phone.PhoneType VOICEMAIL
A voicemail.
VOICEMAIL = 6;public static final Phone.PhoneType VIRTUAL
A virtual telephone number is a number that can be routed to another number and managed by the user via Web, SMS, IVR, and so on. It is associated with a particular person, and may be routed to either a MOBILE or LANDLINE number. The [phone usage][google.cloud.talent.v4beta1.ContactInfoUsage] should be set to PERSONAL for these phone types. Some more information can be found here: http://en.wikipedia.org/wiki/Personal_Numbers
VIRTUAL = 7;public static final Phone.PhoneType VOIP
Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
VOIP = 8;public static final Phone.PhoneType MOBILE_OR_LANDLINE
In some regions (e.g. the USA), it is impossible to distinguish between fixed-line and mobile numbers by looking at the phone number itself.
MOBILE_OR_LANDLINE = 9;public static final Phone.PhoneType UNRECOGNIZED
public static final int PHONE_TYPE_UNSPECIFIED_VALUE
Default value.
PHONE_TYPE_UNSPECIFIED = 0;public static final int LANDLINE_VALUE
A landline.
LANDLINE = 1;public static final int MOBILE_VALUE
A mobile.
MOBILE = 2;public static final int FAX_VALUE
A fax.
FAX = 3;public static final int PAGER_VALUE
A pager.
PAGER = 4;public static final int TTY_OR_TDD_VALUE
A TTY (test telephone) or TDD (telecommunication device for the deaf).
TTY_OR_TDD = 5;public static final int VOICEMAIL_VALUE
A voicemail.
VOICEMAIL = 6;public static final int VIRTUAL_VALUE
A virtual telephone number is a number that can be routed to another number and managed by the user via Web, SMS, IVR, and so on. It is associated with a particular person, and may be routed to either a MOBILE or LANDLINE number. The [phone usage][google.cloud.talent.v4beta1.ContactInfoUsage] should be set to PERSONAL for these phone types. Some more information can be found here: http://en.wikipedia.org/wiki/Personal_Numbers
VIRTUAL = 7;public static final int VOIP_VALUE
Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
VOIP = 8;public static final int MOBILE_OR_LANDLINE_VALUE
In some regions (e.g. the USA), it is impossible to distinguish between fixed-line and mobile numbers by looking at the phone number itself.
MOBILE_OR_LANDLINE = 9;public static Phone.PhoneType[] values()
for (Phone.PhoneType c : Phone.PhoneType.values()) System.out.println(c);
public static Phone.PhoneType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Phone.PhoneType valueOf(int value)
forNumber(int) instead.public static Phone.PhoneType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Phone.PhoneType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Phone.PhoneType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.