Class Contacts.Person.Builder (1.8.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Contacts.Person.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Contacts.Person.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Contacts.Person.Builder clear()
Returns
TypeDescription
Contacts.Person.Builder
Overrides

clearDesignation()

public Contacts.Person.Builder clearDesignation()

Designation of the person, for example, Data Steward.

string designation = 1;

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Contacts.Person.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Contacts.Person.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Contacts.Person.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Contacts.Person.Builder
Overrides

clone()

public Contacts.Person.Builder clone()
Returns
TypeDescription
Contacts.Person.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Contacts.Person other)

public Contacts.Person.Builder mergeFrom(Contacts.Person other)
Parameter
NameDescription
otherContacts.Person
Returns
TypeDescription
Contacts.Person.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Contacts.Person.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Contacts.Person.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Contacts.Person.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Contacts.Person.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Contacts.Person.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The designation to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for designation to set.

Returns
TypeDescription
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
NameDescription
valueString

The email to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for email to set.

Returns
TypeDescription
Contacts.Person.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Contacts.Person.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Contacts.Person.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Contacts.Person.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Contacts.Person.Builder
Overrides