Class Contacts.Person (1.45.0)

public static final class Contacts.Person extends GeneratedMessageV3 implements Contacts.PersonOrBuilder

A contact person for the entry.

Protobuf type google.cloud.datacatalog.v1.Contacts.Person

Static Fields

DESIGNATION_FIELD_NUMBER

public static final int DESIGNATION_FIELD_NUMBER
Field Value
TypeDescription
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Contacts.Person getDefaultInstance()
Returns
TypeDescription
Contacts.Person

getDescriptor()

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

newBuilder()

public static Contacts.Person.Builder newBuilder()
Returns
TypeDescription
Contacts.Person.Builder

newBuilder(Contacts.Person prototype)

public static Contacts.Person.Builder newBuilder(Contacts.Person prototype)
Parameter
NameDescription
prototypeContacts.Person
Returns
TypeDescription
Contacts.Person.Builder

parseDelimitedFrom(InputStream input)

public static Contacts.Person parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Contacts.Person
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Contacts.Person parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Contacts.Person
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Contacts.Person parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Contacts.Person
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Contacts.Person parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Contacts.Person
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Contacts.Person parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Contacts.Person
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Contacts.Person> parser()
Returns
TypeDescription
Parser<Person>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Contacts.Person getDefaultInstanceForType()
Returns
TypeDescription
Contacts.Person

getDesignation()

public String getDesignation()

Designation of the person, for example, Data Steward.

string designation = 1;

Returns
TypeDescription
String

The designation.

getDesignationBytes()

public ByteString getDesignationBytes()

Designation of the person, for example, Data Steward.

string designation = 1;

Returns
TypeDescription
ByteString

The bytes for designation.

getEmail()

public String getEmail()

Email of the person in the format of john.doe@xyz, <john.doe@xyz>, or John Doe<john.doe@xyz>.

string email = 2;

Returns
TypeDescription
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Email of the person in the format of john.doe@xyz, <john.doe@xyz>, or John Doe<john.doe@xyz>.

string email = 2;

Returns
TypeDescription
ByteString

The bytes for email.

getParserForType()

public Parser<Contacts.Person> getParserForType()
Returns
TypeDescription
Parser<Person>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 Contacts.Person.Builder newBuilderForType()
Returns
TypeDescription
Contacts.Person.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Contacts.Person.Builder toBuilder()
Returns
TypeDescription
Contacts.Person.Builder

writeTo(CodedOutputStream output)

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