public final class Email extends GeneratedMessageV3 implements EmailOrBuilder
Resource that represents a person's email address.
Protobuf type google.cloud.talent.v4beta1.Email
Static Fields
EMAIL_ADDRESS_FIELD_NUMBER
public static final int EMAIL_ADDRESS_FIELD_NUMBER
Field Value
USAGE_FIELD_NUMBER
public static final int USAGE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Email getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Email.Builder newBuilder()
Returns
newBuilder(Email prototype)
public static Email.Builder newBuilder(Email prototype)
Parameter
Name | Description |
prototype | Email
|
Returns
public static Email parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Email parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Email parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Email parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Email parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Email parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Email parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Email parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Email parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Email parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Email parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Email parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Email> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Email getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<Email> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Email.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Email.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Email.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions