Interface PhoneOrBuilder (2.2.9)

public interface PhoneOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNumber()

public abstract String getNumber()

Phone number. Any phone formats are supported and only exact matches are performed on searches. For example, if a phone number in profile is provided in the format of "(xxx)xxx-xxxx", in profile searches the same phone format has to be provided. Number of characters allowed is 20.

string number = 3;

Returns
TypeDescription
String

The number.

getNumberBytes()

public abstract ByteString getNumberBytes()

Phone number. Any phone formats are supported and only exact matches are performed on searches. For example, if a phone number in profile is provided in the format of "(xxx)xxx-xxxx", in profile searches the same phone format has to be provided. Number of characters allowed is 20.

string number = 3;

Returns
TypeDescription
ByteString

The bytes for number.

getType()

public abstract Phone.PhoneType getType()

The phone type. For example, LANDLINE, MOBILE, FAX.

.google.cloud.talent.v4beta1.Phone.PhoneType type = 2;

Returns
TypeDescription
Phone.PhoneType

The type.

getTypeValue()

public abstract int getTypeValue()

The phone type. For example, LANDLINE, MOBILE, FAX.

.google.cloud.talent.v4beta1.Phone.PhoneType type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUsage()

public abstract ContactInfoUsage getUsage()

The usage of the phone. For example, SCHOOL, WORK, PERSONAL.

.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;

Returns
TypeDescription
ContactInfoUsage

The usage.

getUsageValue()

public abstract int getUsageValue()

The usage of the phone. For example, SCHOOL, WORK, PERSONAL.

.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for usage.

getWhenAvailable()

public abstract String getWhenAvailable()

When this number is available. Any descriptive string is expected. Number of characters allowed is 100.

string when_available = 4;

Returns
TypeDescription
String

The whenAvailable.

getWhenAvailableBytes()

public abstract ByteString getWhenAvailableBytes()

When this number is available. Any descriptive string is expected. Number of characters allowed is 100.

string when_available = 4;

Returns
TypeDescription
ByteString

The bytes for whenAvailable.