- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.2.9
public static final class Phone.Builder extends GeneratedMessageV3.Builder<Phone.Builder> implements PhoneOrBuilder
Resource that represents a person's telephone number.
Protobuf type google.cloud.talent.v4beta1.Phone
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Phone.BuilderImplements
PhoneOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Phone.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Phone.Builder |
build()
public Phone build()
Type | Description |
Phone |
buildPartial()
public Phone buildPartial()
Type | Description |
Phone |
clear()
public Phone.Builder clear()
Type | Description |
Phone.Builder |
clearField(Descriptors.FieldDescriptor field)
public Phone.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Phone.Builder |
clearNumber()
public Phone.Builder clearNumber()
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;
Type | Description |
Phone.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Phone.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Phone.Builder |
clearType()
public Phone.Builder clearType()
The phone type. For example, LANDLINE, MOBILE, FAX.
.google.cloud.talent.v4beta1.Phone.PhoneType type = 2;
Type | Description |
Phone.Builder | This builder for chaining. |
clearUsage()
public Phone.Builder clearUsage()
The usage of the phone. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Type | Description |
Phone.Builder | This builder for chaining. |
clearWhenAvailable()
public Phone.Builder clearWhenAvailable()
When this number is available. Any descriptive string is expected. Number of characters allowed is 100.
string when_available = 4;
Type | Description |
Phone.Builder | This builder for chaining. |
clone()
public Phone.Builder clone()
Type | Description |
Phone.Builder |
getDefaultInstanceForType()
public Phone getDefaultInstanceForType()
Type | Description |
Phone |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNumber()
public 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;
Type | Description |
String | The number. |
getNumberBytes()
public 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;
Type | Description |
ByteString | The bytes for number. |
getType()
public Phone.PhoneType getType()
The phone type. For example, LANDLINE, MOBILE, FAX.
.google.cloud.talent.v4beta1.Phone.PhoneType type = 2;
Type | Description |
Phone.PhoneType | The type. |
getTypeValue()
public int getTypeValue()
The phone type. For example, LANDLINE, MOBILE, FAX.
.google.cloud.talent.v4beta1.Phone.PhoneType type = 2;
Type | Description |
int | The enum numeric value on the wire for type. |
getUsage()
public ContactInfoUsage getUsage()
The usage of the phone. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Type | Description |
ContactInfoUsage | The usage. |
getUsageValue()
public int getUsageValue()
The usage of the phone. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Type | Description |
int | The enum numeric value on the wire for usage. |
getWhenAvailable()
public String getWhenAvailable()
When this number is available. Any descriptive string is expected. Number of characters allowed is 100.
string when_available = 4;
Type | Description |
String | The whenAvailable. |
getWhenAvailableBytes()
public ByteString getWhenAvailableBytes()
When this number is available. Any descriptive string is expected. Number of characters allowed is 100.
string when_available = 4;
Type | Description |
ByteString | The bytes for whenAvailable. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Phone other)
public Phone.Builder mergeFrom(Phone other)
Name | Description |
other | Phone |
Type | Description |
Phone.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Phone.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Phone.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Phone.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Phone.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Phone.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Phone.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Phone.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Phone.Builder |
setNumber(String value)
public Phone.Builder setNumber(String value)
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;
Name | Description |
value | String The number to set. |
Type | Description |
Phone.Builder | This builder for chaining. |
setNumberBytes(ByteString value)
public Phone.Builder setNumberBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for number to set. |
Type | Description |
Phone.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Phone.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Phone.Builder |
setType(Phone.PhoneType value)
public Phone.Builder setType(Phone.PhoneType value)
The phone type. For example, LANDLINE, MOBILE, FAX.
.google.cloud.talent.v4beta1.Phone.PhoneType type = 2;
Name | Description |
value | Phone.PhoneType The type to set. |
Type | Description |
Phone.Builder | This builder for chaining. |
setTypeValue(int value)
public Phone.Builder setTypeValue(int value)
The phone type. For example, LANDLINE, MOBILE, FAX.
.google.cloud.talent.v4beta1.Phone.PhoneType type = 2;
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
Phone.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Phone.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Phone.Builder |
setUsage(ContactInfoUsage value)
public Phone.Builder setUsage(ContactInfoUsage value)
The usage of the phone. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Name | Description |
value | ContactInfoUsage The usage to set. |
Type | Description |
Phone.Builder | This builder for chaining. |
setUsageValue(int value)
public Phone.Builder setUsageValue(int value)
The usage of the phone. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Name | Description |
value | int The enum numeric value on the wire for usage to set. |
Type | Description |
Phone.Builder | This builder for chaining. |
setWhenAvailable(String value)
public Phone.Builder setWhenAvailable(String value)
When this number is available. Any descriptive string is expected. Number of characters allowed is 100.
string when_available = 4;
Name | Description |
value | String The whenAvailable to set. |
Type | Description |
Phone.Builder | This builder for chaining. |
setWhenAvailableBytes(ByteString value)
public Phone.Builder setWhenAvailableBytes(ByteString value)
When this number is available. Any descriptive string is expected. Number of characters allowed is 100.
string when_available = 4;
Name | Description |
value | ByteString The bytes for whenAvailable to set. |
Type | Description |
Phone.Builder | This builder for chaining. |