Class RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • clear

        public RegisterDomainRequest.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<RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • clearField

        public RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • clearOneof

        public RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • setRepeatedField

        public RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • addRepeatedField

        public RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • isInitialized

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

        public RegisterDomainRequest.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<RegisterDomainRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The parent resource of the `Registration`. Must be in the
         format `projects/*/locations/*`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface RegisterDomainRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent resource of the `Registration`. Must be in the
         format `projects/*/locations/*`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface RegisterDomainRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public RegisterDomainRequest.Builder setParent​(String value)
         Required. The parent resource of the `Registration`. Must be in the
         format `projects/*/locations/*`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public RegisterDomainRequest.Builder clearParent()
         Required. The parent resource of the `Registration`. Must be in the
         format `projects/*/locations/*`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public RegisterDomainRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent resource of the `Registration`. Must be in the
         format `projects/*/locations/*`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • hasRegistration

        public boolean hasRegistration()
         Required. The complete `Registration` resource to be created.
         
        .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasRegistration in interface RegisterDomainRequestOrBuilder
        Returns:
        Whether the registration field is set.
      • getRegistration

        public Registration getRegistration()
         Required. The complete `Registration` resource to be created.
         
        .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRegistration in interface RegisterDomainRequestOrBuilder
        Returns:
        The registration.
      • setRegistration

        public RegisterDomainRequest.Builder setRegistration​(Registration value)
         Required. The complete `Registration` resource to be created.
         
        .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
      • setRegistration

        public RegisterDomainRequest.Builder setRegistration​(Registration.Builder builderForValue)
         Required. The complete `Registration` resource to be created.
         
        .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeRegistration

        public RegisterDomainRequest.Builder mergeRegistration​(Registration value)
         Required. The complete `Registration` resource to be created.
         
        .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearRegistration

        public RegisterDomainRequest.Builder clearRegistration()
         Required. The complete `Registration` resource to be created.
         
        .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
      • getRegistrationBuilder

        public Registration.Builder getRegistrationBuilder()
         Required. The complete `Registration` resource to be created.
         
        .google.cloud.domains.v1.Registration registration = 2 [(.google.api.field_behavior) = REQUIRED];
      • getDomainNoticesList

        public List<DomainNotice> getDomainNoticesList()
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Specified by:
        getDomainNoticesList in interface RegisterDomainRequestOrBuilder
        Returns:
        A list containing the domainNotices.
      • getDomainNoticesCount

        public int getDomainNoticesCount()
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Specified by:
        getDomainNoticesCount in interface RegisterDomainRequestOrBuilder
        Returns:
        The count of domainNotices.
      • getDomainNotices

        public DomainNotice getDomainNotices​(int index)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Specified by:
        getDomainNotices in interface RegisterDomainRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The domainNotices at the given index.
      • setDomainNotices

        public RegisterDomainRequest.Builder setDomainNotices​(int index,
                                                              DomainNotice value)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Parameters:
        index - The index to set the value at.
        value - The domainNotices to set.
        Returns:
        This builder for chaining.
      • addDomainNotices

        public RegisterDomainRequest.Builder addDomainNotices​(DomainNotice value)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Parameters:
        value - The domainNotices to add.
        Returns:
        This builder for chaining.
      • addAllDomainNotices

        public RegisterDomainRequest.Builder addAllDomainNotices​(Iterable<? extends DomainNotice> values)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Parameters:
        values - The domainNotices to add.
        Returns:
        This builder for chaining.
      • clearDomainNotices

        public RegisterDomainRequest.Builder clearDomainNotices()
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Returns:
        This builder for chaining.
      • getDomainNoticesValueList

        public List<Integer> getDomainNoticesValueList()
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Specified by:
        getDomainNoticesValueList in interface RegisterDomainRequestOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for domainNotices.
      • getDomainNoticesValue

        public int getDomainNoticesValue​(int index)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Specified by:
        getDomainNoticesValue in interface RegisterDomainRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of domainNotices at the given index.
      • setDomainNoticesValue

        public RegisterDomainRequest.Builder setDomainNoticesValue​(int index,
                                                                   int value)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for domainNotices to set.
        Returns:
        This builder for chaining.
      • addDomainNoticesValue

        public RegisterDomainRequest.Builder addDomainNoticesValue​(int value)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Parameters:
        value - The enum numeric value on the wire for domainNotices to add.
        Returns:
        This builder for chaining.
      • addAllDomainNoticesValue

        public RegisterDomainRequest.Builder addAllDomainNoticesValue​(Iterable<Integer> values)
         The list of domain notices that you acknowledge. Call
         `RetrieveRegisterParameters` to see the notices that need acknowledgement.
         
        repeated .google.cloud.domains.v1.DomainNotice domain_notices = 3;
        Parameters:
        values - The enum numeric values on the wire for domainNotices to add.
        Returns:
        This builder for chaining.
      • getContactNoticesList

        public List<ContactNotice> getContactNoticesList()
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in
         `registration.contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesList in interface RegisterDomainRequestOrBuilder
        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
         `registration.contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesCount in interface RegisterDomainRequestOrBuilder
        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
         `registration.contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNotices in interface RegisterDomainRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The contactNotices at the given index.
      • setContactNotices

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

        public RegisterDomainRequest.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
         `registration.contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Parameters:
        values - The contactNotices to add.
        Returns:
        This builder for chaining.
      • clearContactNotices

        public RegisterDomainRequest.Builder clearContactNotices()
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in
         `registration.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
         `registration.contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesValueList in interface RegisterDomainRequestOrBuilder
        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
         `registration.contact_settings`.
         
        repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;
        Specified by:
        getContactNoticesValue in interface RegisterDomainRequestOrBuilder
        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 RegisterDomainRequest.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
         `registration.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 RegisterDomainRequest.Builder addContactNoticesValue​(int value)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in
         `registration.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 RegisterDomainRequest.Builder addAllContactNoticesValue​(Iterable<Integer> values)
         The list of contact notices that the caller acknowledges. The notices
         needed here depend on the values specified in
         `registration.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.
      • hasYearlyPrice

        public boolean hasYearlyPrice()
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasYearlyPrice in interface RegisterDomainRequestOrBuilder
        Returns:
        Whether the yearlyPrice field is set.
      • getYearlyPrice

        public com.google.type.Money getYearlyPrice()
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getYearlyPrice in interface RegisterDomainRequestOrBuilder
        Returns:
        The yearlyPrice.
      • setYearlyPrice

        public RegisterDomainRequest.Builder setYearlyPrice​(com.google.type.Money value)
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      • setYearlyPrice

        public RegisterDomainRequest.Builder setYearlyPrice​(com.google.type.Money.Builder builderForValue)
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      • mergeYearlyPrice

        public RegisterDomainRequest.Builder mergeYearlyPrice​(com.google.type.Money value)
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      • clearYearlyPrice

        public RegisterDomainRequest.Builder clearYearlyPrice()
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      • getYearlyPriceBuilder

        public com.google.type.Money.Builder getYearlyPriceBuilder()
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
      • getYearlyPriceOrBuilder

        public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder()
         Required. Yearly price to register or renew the domain.
         The value that should be put here can be obtained from
         RetrieveRegisterParameters or SearchDomains calls.
         
        .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getYearlyPriceOrBuilder in interface RegisterDomainRequestOrBuilder
      • getValidateOnly

        public boolean getValidateOnly()
         When true, only validation is performed, without actually registering
         the domain. Follows:
         https://cloud.google.com/apis/design/design_patterns#request_validation
         
        bool validate_only = 6;
        Specified by:
        getValidateOnly in interface RegisterDomainRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public RegisterDomainRequest.Builder setValidateOnly​(boolean value)
         When true, only validation is performed, without actually registering
         the domain. Follows:
         https://cloud.google.com/apis/design/design_patterns#request_validation
         
        bool validate_only = 6;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public RegisterDomainRequest.Builder clearValidateOnly()
         When true, only validation is performed, without actually registering
         the domain. Follows:
         https://cloud.google.com/apis/design/design_patterns#request_validation
         
        bool validate_only = 6;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RegisterDomainRequest.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<RegisterDomainRequest.Builder>
      • mergeUnknownFields

        public final RegisterDomainRequest.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<RegisterDomainRequest.Builder>