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 Type
    Method
    Description
     
     
     
    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.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Designation of the person, for example, Data Steward.
    com.google.protobuf.ByteString
    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>`.
    com.google.protobuf.ByteString
    Email of the person in the format of `john.doe@xyz`, `<john.doe@xyz>`, or `John Doe<john.doe@xyz>`.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
    • clear

      public Contacts.Person.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Contacts.Person.Builder>
    • getDefaultInstanceForType

      public Contacts.Person getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Contacts.Person build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Contacts.Person buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Contacts.Person.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Contacts.Person.Builder>
    • mergeFrom

      public Contacts.Person.Builder mergeFrom(Contacts.Person other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Contacts.Person.Builder>
      Throws:
      IOException
    • getDesignation

      public String getDesignation()
       Designation of the person, for example, Data Steward.
       
      string designation = 1;
      Specified by:
      getDesignation in interface Contacts.PersonOrBuilder
      Returns:
      The designation.
    • getDesignationBytes

      public com.google.protobuf.ByteString getDesignationBytes()
       Designation of the person, for example, Data Steward.
       
      string designation = 1;
      Specified by:
      getDesignationBytes in interface Contacts.PersonOrBuilder
      Returns:
      The bytes for designation.
    • setDesignation

      public Contacts.Person.Builder setDesignation(String value)
       Designation of the person, for example, Data Steward.
       
      string designation = 1;
      Parameters:
      value - The designation to set.
      Returns:
      This builder for chaining.
    • clearDesignation

      public Contacts.Person.Builder clearDesignation()
       Designation of the person, for example, Data Steward.
       
      string designation = 1;
      Returns:
      This builder for chaining.
    • setDesignationBytes

      public Contacts.Person.Builder setDesignationBytes(com.google.protobuf.ByteString value)
       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

      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;
      Specified by:
      getEmail in interface Contacts.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:
      getEmailBytes in interface Contacts.PersonOrBuilder
      Returns:
      The bytes for email.
    • setEmail

      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;
      Parameters:
      value - The email to set.
      Returns:
      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:
      This builder for chaining.
    • setEmailBytes

      public Contacts.Person.Builder 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>`.
       
      string email = 2;
      Parameters:
      value - The bytes for email to set.
      Returns:
      This builder for chaining.