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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Contacts.Person.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Contacts.Person build()
Returns
public Contacts.Person buildPartial()
Returns
public Contacts.Person.Builder clear()
Returns
Overrides
public Contacts.Person.Builder clearDesignation()
Designation of the person, for example, Data Steward.
string designation = 1;
Returns
public Contacts.Person.Builder clearEmail()
Email of the person in the format of john.doe@example.com
,
<john.doe@example.com>
, or John Doe<john.doe@example.com>
.
string email = 2;
Returns
public Contacts.Person.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Contacts.Person.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Contacts.Person.Builder clone()
Returns
Overrides
public Contacts.Person getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getDesignation()
Designation of the person, for example, Data Steward.
string designation = 1;
Returns
Type | Description |
String | The designation.
|
public ByteString getDesignationBytes()
Designation of the person, for example, Data Steward.
string designation = 1;
Returns
Type | Description |
ByteString | The bytes for designation.
|
Email of the person in the format of john.doe@example.com
,
<john.doe@example.com>
, or John Doe<john.doe@example.com>
.
string email = 2;
Returns
Type | Description |
String | The email.
|
public ByteString getEmailBytes()
Email of the person in the format of john.doe@example.com
,
<john.doe@example.com>
, or John Doe<john.doe@example.com>
.
string email = 2;
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Contacts.Person.Builder mergeFrom(Contacts.Person other)
Parameter
Returns
public Contacts.Person.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Contacts.Person.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Contacts.Person.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
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
public Contacts.Person.Builder setEmail(String value)
Email of the person in the format of john.doe@example.com
,
<john.doe@example.com>
, or John Doe<john.doe@example.com>
.
string email = 2;
Parameter
Name | Description |
value | String
The email to set.
|
Returns
public Contacts.Person.Builder setEmailBytes(ByteString value)
Email of the person in the format of john.doe@example.com
,
<john.doe@example.com>
, or John Doe<john.doe@example.com>
.
string email = 2;
Parameter
Name | Description |
value | ByteString
The bytes for email to set.
|
Returns
public Contacts.Person.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Contacts.Person.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Contacts.Person.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides