Class ConfigureContactSettingsRequest.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<ConfigureContactSettingsRequest.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<ConfigureContactSettingsRequest.Builder>
      • getDefaultInstanceForType

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

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

        public ConfigureContactSettingsRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public String getRegistration()
         Required. The name of the `Registration` whose contact settings are being updated,
         in the format `projects/*/locations/*/registrations/*`.
         
        string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getRegistration in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        The registration.
      • getRegistrationBytes

        public com.google.protobuf.ByteString getRegistrationBytes()
         Required. The name of the `Registration` whose contact settings are being updated,
         in the format `projects/*/locations/*/registrations/*`.
         
        string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getRegistrationBytes in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        The bytes for registration.
      • setRegistration

        public ConfigureContactSettingsRequest.Builder setRegistration​(String value)
         Required. The name of the `Registration` whose contact settings are being updated,
         in the format `projects/*/locations/*/registrations/*`.
         
        string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The registration to set.
        Returns:
        This builder for chaining.
      • clearRegistration

        public ConfigureContactSettingsRequest.Builder clearRegistration()
         Required. The name of the `Registration` whose contact settings are being updated,
         in the format `projects/*/locations/*/registrations/*`.
         
        string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setRegistrationBytes

        public ConfigureContactSettingsRequest.Builder setRegistrationBytes​(com.google.protobuf.ByteString value)
         Required. The name of the `Registration` whose contact settings are being updated,
         in the format `projects/*/locations/*/registrations/*`.
         
        string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for registration to set.
        Returns:
        This builder for chaining.
      • hasContactSettings

        public boolean hasContactSettings()
         Fields of the `ContactSettings` to update.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 2;
        Specified by:
        hasContactSettings in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        Whether the contactSettings field is set.
      • clearContactSettings

        public ConfigureContactSettingsRequest.Builder clearContactSettings()
         Fields of the `ContactSettings` to update.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 2;
      • getContactSettingsBuilder

        public ContactSettings.Builder getContactSettingsBuilder()
         Fields of the `ContactSettings` to update.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 2;
      • hasUpdateMask

        public boolean hasUpdateMask()
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdateMask in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMask in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public ConfigureContactSettingsRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • setUpdateMask

        public ConfigureContactSettingsRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdateMask

        public ConfigureContactSettingsRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdateMask

        public ConfigureContactSettingsRequest.Builder clearUpdateMask()
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateMaskOrBuilder

        public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
         Required. The field mask describing which fields to update as a comma-separated list.
         For example, if only the registrant contact is being updated, the
         `update_mask` is `"registrant_contact"`.
         
        .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdateMaskOrBuilder in interface ConfigureContactSettingsRequestOrBuilder
      • getContactNoticesList

        public List<ContactNotice> getContactNoticesList()
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesList in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        A list containing the contactNotices.
      • getContactNoticesCount

        public int getContactNoticesCount()
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesCount in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        The count of contactNotices.
      • getContactNotices

        public ContactNotice getContactNotices​(int index)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNotices in interface ConfigureContactSettingsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The contactNotices at the given index.
      • setContactNotices

        public ConfigureContactSettingsRequest.Builder setContactNotices​(int index,
                                                                         ContactNotice value)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Parameters:
        index - The index to set the value at.
        value - The contactNotices to set.
        Returns:
        This builder for chaining.
      • addContactNotices

        public ConfigureContactSettingsRequest.Builder addContactNotices​(ContactNotice value)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Parameters:
        value - The contactNotices to add.
        Returns:
        This builder for chaining.
      • addAllContactNotices

        public ConfigureContactSettingsRequest.Builder addAllContactNotices​(Iterable<? extends ContactNotice> values)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Parameters:
        values - The contactNotices to add.
        Returns:
        This builder for chaining.
      • clearContactNotices

        public ConfigureContactSettingsRequest.Builder clearContactNotices()
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Returns:
        This builder for chaining.
      • getContactNoticesValueList

        public List<Integer> getContactNoticesValueList()
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesValueList in interface ConfigureContactSettingsRequestOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for contactNotices.
      • getContactNoticesValue

        public int getContactNoticesValue​(int index)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesValue in interface ConfigureContactSettingsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of contactNotices at the given index.
      • setContactNoticesValue

        public ConfigureContactSettingsRequest.Builder setContactNoticesValue​(int index,
                                                                              int value)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for contactNotices to set.
        Returns:
        This builder for chaining.
      • addContactNoticesValue

        public ConfigureContactSettingsRequest.Builder addContactNoticesValue​(int value)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Parameters:
        value - The enum numeric value on the wire for contactNotices to add.
        Returns:
        This builder for chaining.
      • addAllContactNoticesValue

        public ConfigureContactSettingsRequest.Builder addAllContactNoticesValue​(Iterable<Integer> values)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in `contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Parameters:
        values - The enum numeric values on the wire for contactNotices to add.
        Returns:
        This builder for chaining.
      • setValidateOnly

        public ConfigureContactSettingsRequest.Builder setValidateOnly​(boolean value)
         Validate the request without actually updating the contact settings.
         
        bool validate_only = 5;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public ConfigureContactSettingsRequest.Builder clearValidateOnly()
         Validate the request without actually updating the contact settings.
         
        bool validate_only = 5;
        Returns:
        This builder for chaining.