Send feedback
Class Email.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
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
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Email . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Email buildPartial ()
Returns
clear()
public Email . Builder clear ()
Returns
Overrides
clearEmailAddress()
public Email . Builder clearEmailAddress ()
Email address.
Number of characters allowed is 4,000.
string email_address = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public Email . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Email . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
clone()
public Email . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public Email getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getEmailAddress()
public String getEmailAddress ()
Email address.
Number of characters allowed is 4,000.
string email_address = 2;
Returns
Type Description String The emailAddress.
getEmailAddressBytes()
public ByteString getEmailAddressBytes ()
Email address.
Number of characters allowed is 4,000.
string email_address = 2;
Returns
Type Description 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
getUsageValue()
public int getUsageValue ()
The usage of the email address. For example, SCHOOL, WORK, PERSONAL.
.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;
Returns
Type Description int The enum numeric value on the wire for usage.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(Email other)
public Email . Builder mergeFrom ( Email other )
Parameter
Name Description other Email
Returns
public Email . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Email . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Email . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setEmailAddress(String value)
public Email . Builder setEmailAddress ( String value )
Email address.
Number of characters allowed is 4,000.
string email_address = 2;
Parameter
Name Description value String
The emailAddress to set.
Returns
setEmailAddressBytes(ByteString value)
public Email . Builder setEmailAddressBytes ( ByteString value )
Email address.
Number of characters allowed is 4,000.
string email_address = 2;
Parameter
Name Description value ByteString
The bytes for emailAddress to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Email . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Email . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Email . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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
Returns
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
Name Description value int
The enum numeric value on the wire for usage to set.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]