Package com.google.cloud.datacatalog.v1
Class Contacts.Person.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
com.google.cloud.datacatalog.v1.Contacts.Person.Builder
- All Implemented Interfaces:
Contacts.PersonOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Contacts.Person
public static final class Contacts.Person.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
implements Contacts.PersonOrBuilder
A contact person for the entry.Protobuf type
google.cloud.datacatalog.v1.Contacts.Person-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Designation of the person, for example, Data Steward.Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDesignation of the person, for example, Data Steward.com.google.protobuf.ByteStringDesignation of the person, for example, Data Steward.getEmail()Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.com.google.protobuf.ByteStringEmail of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Contacts.Person other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDesignation(String value) Designation of the person, for example, Data Steward.setDesignationBytes(com.google.protobuf.ByteString value) Designation of the person, for example, Data Steward.Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.setEmailBytes(com.google.protobuf.ByteString value) Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Contacts.Person.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
-
mergeFrom
public Contacts.Person.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Contacts.Person.Builder>- Throws:
IOException
-
getDesignation
Designation of the person, for example, Data Steward.
string designation = 1;- Specified by:
getDesignationin interfaceContacts.PersonOrBuilder- Returns:
- The designation.
-
getDesignationBytes
public com.google.protobuf.ByteString getDesignationBytes()Designation of the person, for example, Data Steward.
string designation = 1;- Specified by:
getDesignationBytesin interfaceContacts.PersonOrBuilder- Returns:
- The bytes for designation.
-
setDesignation
Designation of the person, for example, Data Steward.
string designation = 1;- Parameters:
value- The designation to set.- Returns:
- This builder for chaining.
-
clearDesignation
Designation of the person, for example, Data Steward.
string designation = 1;- Returns:
- This builder for chaining.
-
setDesignationBytes
Designation of the person, for example, Data Steward.
string designation = 1;- Parameters:
value- The bytes for designation to set.- Returns:
- This builder for chaining.
-
getEmail
Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
string email = 2;- Specified by:
getEmailin interfaceContacts.PersonOrBuilder- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.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;- Specified by:
getEmailBytesin interfaceContacts.PersonOrBuilder- Returns:
- The bytes for email.
-
setEmail
Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
string email = 2;- Parameters:
value- The email to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setEmailBytes
Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
string email = 2;- Parameters:
value- The bytes for email to set.- Returns:
- This builder for chaining.
-