Class Contacts.Person.Builder (1.50.0)

public static final class Contacts.Person.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Contacts.Person.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Contacts.Person.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Contacts.Person.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Contacts.Person.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Contacts.Person.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Contacts.Person.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Contacts.Person.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Contacts.Person.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Contacts.Person.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Contacts.Person.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Contacts.Person.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Contacts.Person.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Contacts.Person.Builder
Overrides