Class ContactSettings.Contact.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • clear

        public ContactSettings.Contact.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.GeneratedMessageV3.Builder<ContactSettings.Contact.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.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • getDefaultInstanceForType

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

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

        public ContactSettings.Contact buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ContactSettings.Contact.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • clearField

        public ContactSettings.Contact.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • clearOneof

        public ContactSettings.Contact.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • setRepeatedField

        public ContactSettings.Contact.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • addRepeatedField

        public ContactSettings.Contact.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • mergeFrom

        public ContactSettings.Contact.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<ContactSettings.Contact.Builder>
        Throws:
        IOException
      • hasPostalAddress

        public boolean hasPostalAddress()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasPostalAddress in interface ContactSettings.ContactOrBuilder
        Returns:
        Whether the postalAddress field is set.
      • getPostalAddress

        public com.google.type.PostalAddress getPostalAddress()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPostalAddress in interface ContactSettings.ContactOrBuilder
        Returns:
        The postalAddress.
      • setPostalAddress

        public ContactSettings.Contact.Builder setPostalAddress​(com.google.type.PostalAddress value)
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
      • setPostalAddress

        public ContactSettings.Contact.Builder setPostalAddress​(com.google.type.PostalAddress.Builder builderForValue)
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergePostalAddress

        public ContactSettings.Contact.Builder mergePostalAddress​(com.google.type.PostalAddress value)
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearPostalAddress

        public ContactSettings.Contact.Builder clearPostalAddress()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
      • getPostalAddressBuilder

        public com.google.type.PostalAddress.Builder getPostalAddressBuilder()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
      • getPostalAddressOrBuilder

        public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder()
         Required. Postal address of the contact.
         
        .google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPostalAddressOrBuilder in interface ContactSettings.ContactOrBuilder
      • getEmailBytes

        public com.google.protobuf.ByteString getEmailBytes()
         Required. Email address of the contact.
         
        string email = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEmailBytes in interface ContactSettings.ContactOrBuilder
        Returns:
        The bytes for email.
      • setEmail

        public ContactSettings.Contact.Builder setEmail​(String value)
         Required. Email address of the contact.
         
        string email = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The email to set.
        Returns:
        This builder for chaining.
      • clearEmail

        public ContactSettings.Contact.Builder clearEmail()
         Required. Email address of the contact.
         
        string email = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setEmailBytes

        public ContactSettings.Contact.Builder setEmailBytes​(com.google.protobuf.ByteString value)
         Required. Email address of the contact.
         
        string email = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for email to set.
        Returns:
        This builder for chaining.
      • getPhoneNumber

        public String getPhoneNumber()
         Required. Phone number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPhoneNumber in interface ContactSettings.ContactOrBuilder
        Returns:
        The phoneNumber.
      • getPhoneNumberBytes

        public com.google.protobuf.ByteString getPhoneNumberBytes()
         Required. Phone number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPhoneNumberBytes in interface ContactSettings.ContactOrBuilder
        Returns:
        The bytes for phoneNumber.
      • setPhoneNumber

        public ContactSettings.Contact.Builder setPhoneNumber​(String value)
         Required. Phone number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The phoneNumber to set.
        Returns:
        This builder for chaining.
      • clearPhoneNumber

        public ContactSettings.Contact.Builder clearPhoneNumber()
         Required. Phone number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setPhoneNumberBytes

        public ContactSettings.Contact.Builder setPhoneNumberBytes​(com.google.protobuf.ByteString value)
         Required. Phone number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for phoneNumber to set.
        Returns:
        This builder for chaining.
      • getFaxNumber

        public String getFaxNumber()
         Fax number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string fax_number = 4;
        Specified by:
        getFaxNumber in interface ContactSettings.ContactOrBuilder
        Returns:
        The faxNumber.
      • getFaxNumberBytes

        public com.google.protobuf.ByteString getFaxNumberBytes()
         Fax number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string fax_number = 4;
        Specified by:
        getFaxNumberBytes in interface ContactSettings.ContactOrBuilder
        Returns:
        The bytes for faxNumber.
      • setFaxNumber

        public ContactSettings.Contact.Builder setFaxNumber​(String value)
         Fax number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string fax_number = 4;
        Parameters:
        value - The faxNumber to set.
        Returns:
        This builder for chaining.
      • clearFaxNumber

        public ContactSettings.Contact.Builder clearFaxNumber()
         Fax number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string fax_number = 4;
        Returns:
        This builder for chaining.
      • setFaxNumberBytes

        public ContactSettings.Contact.Builder setFaxNumberBytes​(com.google.protobuf.ByteString value)
         Fax number of the contact in international format. For example,
         `"+1-800-555-0123"`.
         
        string fax_number = 4;
        Parameters:
        value - The bytes for faxNumber to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ContactSettings.Contact.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>
      • mergeUnknownFields

        public final ContactSettings.Contact.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContactSettings.Contact.Builder>