Class AdditionalContactInfo (2.2.9)

public final class AdditionalContactInfo extends GeneratedMessageV3 implements AdditionalContactInfoOrBuilder

Resource that represents contact information other than phone, email, URI and addresses.

Protobuf type google.cloud.talent.v4beta1.AdditionalContactInfo

Static Fields

CONTACT_ID_FIELD_NUMBER

public static final int CONTACT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

USAGE_FIELD_NUMBER

public static final int USAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AdditionalContactInfo getDefaultInstance()
Returns
TypeDescription
AdditionalContactInfo

getDescriptor()

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

newBuilder()

public static AdditionalContactInfo.Builder newBuilder()
Returns
TypeDescription
AdditionalContactInfo.Builder

newBuilder(AdditionalContactInfo prototype)

public static AdditionalContactInfo.Builder newBuilder(AdditionalContactInfo prototype)
Parameter
NameDescription
prototypeAdditionalContactInfo
Returns
TypeDescription
AdditionalContactInfo.Builder

parseDelimitedFrom(InputStream input)

public static AdditionalContactInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdditionalContactInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AdditionalContactInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AdditionalContactInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AdditionalContactInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AdditionalContactInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AdditionalContactInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AdditionalContactInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AdditionalContactInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AdditionalContactInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AdditionalContactInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AdditionalContactInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdditionalContactInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AdditionalContactInfo> parser()
Returns
TypeDescription
Parser<AdditionalContactInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getContactId()

public String getContactId()

The contact id. Number of characters allowed is 100.

string contact_id = 3;

Returns
TypeDescription
String

The contactId.

getContactIdBytes()

public ByteString getContactIdBytes()

The contact id. Number of characters allowed is 100.

string contact_id = 3;

Returns
TypeDescription
ByteString

The bytes for contactId.

getDefaultInstanceForType()

public AdditionalContactInfo getDefaultInstanceForType()
Returns
TypeDescription
AdditionalContactInfo

getName()

public String getName()

The name of the contact method. For example, "hangout", "skype". Number of characters allowed is 100.

string name = 2;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<AdditionalContactInfo> getParserForType()
Returns
TypeDescription
Parser<AdditionalContactInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUsage()

public ContactInfoUsage getUsage()

The usage of this contact method. For example, SCHOOL, WORK, PERSONAL.

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

Returns
TypeDescription
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;

Returns
TypeDescription
int

The enum numeric value on the wire for usage.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AdditionalContactInfo.Builder newBuilderForType()
Returns
TypeDescription
AdditionalContactInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AdditionalContactInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AdditionalContactInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AdditionalContactInfo.Builder toBuilder()
Returns
TypeDescription
AdditionalContactInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException