public static final class AdditionalContactInfo.Builder extends GeneratedMessageV3.Builder<AdditionalContactInfo.Builder> implements AdditionalContactInfoOrBuilder
Resource that represents contact information other than phone, email, URI and addresses.
Protobuf type google.cloud.talent.v4beta1.AdditionalContactInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AdditionalContactInfo.BuilderImplements
AdditionalContactInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AdditionalContactInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AdditionalContactInfo.Builder |
build()
public AdditionalContactInfo build()
Type | Description |
AdditionalContactInfo |
buildPartial()
public AdditionalContactInfo buildPartial()
Type | Description |
AdditionalContactInfo |
clear()
public AdditionalContactInfo.Builder clear()
Type | Description |
AdditionalContactInfo.Builder |
clearContactId()
public AdditionalContactInfo.Builder clearContactId()
The contact id. Number of characters allowed is 100.
string contact_id = 3;
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AdditionalContactInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AdditionalContactInfo.Builder |
clearName()
public AdditionalContactInfo.Builder clearName()
The name of the contact method. For example, "hangout", "skype". Number of characters allowed is 100.
string name = 2;
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AdditionalContactInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AdditionalContactInfo.Builder |
clearUsage()
public AdditionalContactInfo.Builder clearUsage()
The usage of this contact method. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
clone()
public AdditionalContactInfo.Builder clone()
Type | Description |
AdditionalContactInfo.Builder |
getContactId()
public String getContactId()
The contact id. Number of characters allowed is 100.
string contact_id = 3;
Type | Description |
String | The contactId. |
getContactIdBytes()
public ByteString getContactIdBytes()
The contact id. Number of characters allowed is 100.
string contact_id = 3;
Type | Description |
ByteString | The bytes for contactId. |
getDefaultInstanceForType()
public AdditionalContactInfo getDefaultInstanceForType()
Type | Description |
AdditionalContactInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The name of the contact method. For example, "hangout", "skype". Number of characters allowed is 100.
string name = 2;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the contact method. For example, "hangout", "skype". Number of characters allowed is 100.
string name = 2;
Type | Description |
ByteString | The bytes for name. |
getUsage()
public ContactInfoUsage getUsage()
The usage of this contact method. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Type | Description |
ContactInfoUsage | The usage. |
getUsageValue()
public int getUsageValue()
The usage of this contact method. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Type | Description |
int | The enum numeric value on the wire for usage. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AdditionalContactInfo other)
public AdditionalContactInfo.Builder mergeFrom(AdditionalContactInfo other)
Name | Description |
other | AdditionalContactInfo |
Type | Description |
AdditionalContactInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AdditionalContactInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AdditionalContactInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AdditionalContactInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AdditionalContactInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AdditionalContactInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AdditionalContactInfo.Builder |
setContactId(String value)
public AdditionalContactInfo.Builder setContactId(String value)
The contact id. Number of characters allowed is 100.
string contact_id = 3;
Name | Description |
value | String The contactId to set. |
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
setContactIdBytes(ByteString value)
public AdditionalContactInfo.Builder setContactIdBytes(ByteString value)
The contact id. Number of characters allowed is 100.
string contact_id = 3;
Name | Description |
value | ByteString The bytes for contactId to set. |
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AdditionalContactInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AdditionalContactInfo.Builder |
setName(String value)
public AdditionalContactInfo.Builder setName(String value)
The name of the contact method. For example, "hangout", "skype". Number of characters allowed is 100.
string name = 2;
Name | Description |
value | String The name to set. |
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AdditionalContactInfo.Builder setNameBytes(ByteString value)
The name of the contact method. For example, "hangout", "skype". Number of characters allowed is 100.
string name = 2;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AdditionalContactInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AdditionalContactInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AdditionalContactInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AdditionalContactInfo.Builder |
setUsage(ContactInfoUsage value)
public AdditionalContactInfo.Builder setUsage(ContactInfoUsage value)
The usage of this contact method. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Name | Description |
value | ContactInfoUsage The usage to set. |
Type | Description |
AdditionalContactInfo.Builder | This builder for chaining. |
setUsageValue(int value)
public AdditionalContactInfo.Builder setUsageValue(int value)
The usage of this contact method. 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 |
AdditionalContactInfo.Builder | This builder for chaining. |