Class Contacts.Person.Builder (1.89.0)

public static final class Contacts.Person.Builder extends GeneratedMessage.Builder<Contacts.Person.Builder> implements Contacts.PersonOrBuilder

A contact person for the entry.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Contacts.Person build()
Returns
Type Description
Contacts.Person

buildPartial()

public Contacts.Person buildPartial()
Returns
Type Description
Contacts.Person

clear()

public Contacts.Person.Builder clear()
Returns
Type Description
Contacts.Person.Builder
Overrides

clearDesignation()

public Contacts.Person.Builder clearDesignation()

Designation of the person, for example, Data Steward.

string designation = 1;

Returns
Type Description
Contacts.Person.Builder

This builder for chaining.

clearEmail()

public Contacts.Person.Builder clearEmail()

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

string email = 2;

Returns
Type Description
Contacts.Person.Builder

This builder for chaining.

getDefaultInstanceForType()

public Contacts.Person getDefaultInstanceForType()
Returns
Type Description
Contacts.Person

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDesignation()

public String getDesignation()

Designation of the person, for example, Data Steward.

string designation = 1;

Returns
Type Description
String

The designation.

getDesignationBytes()

public ByteString getDesignationBytes()

Designation of the person, for example, Data Steward.

string designation = 1;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for email.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Contacts.Person other)

public Contacts.Person.Builder mergeFrom(Contacts.Person other)
Parameter
Name Description
other Contacts.Person
Returns
Type Description
Contacts.Person.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Contacts.Person.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Contacts.Person.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Contacts.Person.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Contacts.Person.Builder
Overrides

setDesignation(String value)

public Contacts.Person.Builder setDesignation(String value)

Designation of the person, for example, Data Steward.

string designation = 1;

Parameter
Name Description
value String

The designation to set.

Returns
Type Description
Contacts.Person.Builder

This builder for chaining.

setDesignationBytes(ByteString value)

public Contacts.Person.Builder setDesignationBytes(ByteString value)

Designation of the person, for example, Data Steward.

string designation = 1;

Parameter
Name Description
value ByteString

The bytes for designation to set.

Returns
Type Description
Contacts.Person.Builder

This builder for chaining.

setEmail(String value)

public Contacts.Person.Builder setEmail(String value)

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

string email = 2;

Parameter
Name Description
value String

The email to set.

Returns
Type Description
Contacts.Person.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public Contacts.Person.Builder setEmailBytes(ByteString value)

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

string email = 2;

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
Contacts.Person.Builder

This builder for chaining.