Class Email.Builder

public static final class Email.Builder extends GeneratedMessageV3.Builder<Email.Builder> implements EmailOrBuilder

Resource that represents a person's email address.

Protobuf type google.cloud.talent.v4beta1.Email

Implements

EmailOrBuilder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Email.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Email.Builder
Overrides

build()

public Email build()
Returns
TypeDescription
Email

buildPartial()

public Email buildPartial()
Returns
TypeDescription
Email

clear()

public Email.Builder clear()
Returns
TypeDescription
Email.Builder
Overrides

clearEmailAddress()

public Email.Builder clearEmailAddress()

Email address. Number of characters allowed is 4,000.

string email_address = 2;

Returns
TypeDescription
Email.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Email.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Email.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Email.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Email.Builder
Overrides

clearUsage()

public Email.Builder clearUsage()

The usage of the email address. For example, SCHOOL, WORK, PERSONAL.

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

Returns
TypeDescription
Email.Builder

This builder for chaining.

clone()

public Email.Builder clone()
Returns
TypeDescription
Email.Builder
Overrides

getDefaultInstanceForType()

public Email getDefaultInstanceForType()
Returns
TypeDescription
Email

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEmailAddress()

public String getEmailAddress()

Email address. Number of characters allowed is 4,000.

string email_address = 2;

Returns
TypeDescription
String

The emailAddress.

getEmailAddressBytes()

public ByteString getEmailAddressBytes()

Email address. Number of characters allowed is 4,000.

string email_address = 2;

Returns
TypeDescription
ByteString

The bytes for emailAddress.

getUsage()

public ContactInfoUsage getUsage()

The usage of the email address. For example, SCHOOL, WORK, PERSONAL.

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

Returns
TypeDescription
ContactInfoUsage

The usage.

getUsageValue()

public int getUsageValue()

The usage of the email address. For example, SCHOOL, WORK, PERSONAL.

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

Returns
TypeDescription
int

The enum numeric value on the wire for usage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Email other)

public Email.Builder mergeFrom(Email other)
Parameter
NameDescription
otherEmail
Returns
TypeDescription
Email.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Email.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Email.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Email.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Email.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Email.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Email.Builder
Overrides

setEmailAddress(String value)

public Email.Builder setEmailAddress(String value)

Email address. Number of characters allowed is 4,000.

string email_address = 2;

Parameter
NameDescription
valueString

The emailAddress to set.

Returns
TypeDescription
Email.Builder

This builder for chaining.

setEmailAddressBytes(ByteString value)

public Email.Builder setEmailAddressBytes(ByteString value)

Email address. Number of characters allowed is 4,000.

string email_address = 2;

Parameter
NameDescription
valueByteString

The bytes for emailAddress to set.

Returns
TypeDescription
Email.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Email.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Email.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Email.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Email.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Email.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Email.Builder
Overrides

setUsage(ContactInfoUsage value)

public Email.Builder setUsage(ContactInfoUsage value)

The usage of the email address. For example, SCHOOL, WORK, PERSONAL.

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

Parameter
NameDescription
valueContactInfoUsage

The usage to set.

Returns
TypeDescription
Email.Builder

This builder for chaining.

setUsageValue(int value)

public Email.Builder setUsageValue(int value)

The usage of the email address. For example, SCHOOL, WORK, PERSONAL.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for usage to set.

Returns
TypeDescription
Email.Builder

This builder for chaining.