Class Registration.Builder

  • All Implemented Interfaces:
    RegistrationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Registration

    public static final class Registration.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Registration.Builder>
    implements RegistrationOrBuilder
     The `Registration` resource facilitates managing and configuring domain name
     registrations.
    
     There are several ways to create a new `Registration` resource:
    
     To create a new `Registration` resource, find a suitable domain name by
     calling the `SearchDomains` method with a query to see available domain name
     options. After choosing a name, call `RetrieveRegisterParameters` to
     ensure availability and obtain information like pricing, which is needed to
     build a call to `RegisterDomain`.
    
     Another way to create a new `Registration` is to transfer an existing
     domain from another registrar. First, go to the current registrar to unlock
     the domain for transfer and retrieve the domain's transfer authorization
     code. Then call `RetrieveTransferParameters` to confirm that the domain is
     unlocked and to get values needed to build a call to `TransferDomain`.
     
    Protobuf type google.cloud.domains.v1.Registration
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Registration.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Registration.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

        public Registration.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<Registration.Builder>
      • setField

        public Registration.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Registration.Builder>
      • clearField

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

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

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

        public Registration.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<Registration.Builder>
      • mergeFrom

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

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

        public Registration.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<Registration.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. Name of the `Registration` resource, in the format
         `projects/*/locations/*/registrations/<domain_name>`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface RegistrationOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. Name of the `Registration` resource, in the format
         `projects/*/locations/*/registrations/<domain_name>`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface RegistrationOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Registration.Builder setName​(String value)
         Output only. Name of the `Registration` resource, in the format
         `projects/*/locations/*/registrations/<domain_name>`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Registration.Builder clearName()
         Output only. Name of the `Registration` resource, in the format
         `projects/*/locations/*/registrations/<domain_name>`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Registration.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. Name of the `Registration` resource, in the format
         `projects/*/locations/*/registrations/<domain_name>`.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDomainName

        public String getDomainName()
         Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
         
        string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDomainName in interface RegistrationOrBuilder
        Returns:
        The domainName.
      • getDomainNameBytes

        public com.google.protobuf.ByteString getDomainNameBytes()
         Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
         
        string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getDomainNameBytes in interface RegistrationOrBuilder
        Returns:
        The bytes for domainName.
      • setDomainName

        public Registration.Builder setDomainName​(String value)
         Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
         
        string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The domainName to set.
        Returns:
        This builder for chaining.
      • clearDomainName

        public Registration.Builder clearDomainName()
         Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
         
        string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setDomainNameBytes

        public Registration.Builder setDomainNameBytes​(com.google.protobuf.ByteString value)
         Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.
         
        string domain_name = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for domainName to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface RegistrationOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface RegistrationOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Registration.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Registration.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Registration.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Registration.Builder clearCreateTime()
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The creation timestamp of the `Registration` resource.
         
        .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface RegistrationOrBuilder
      • hasExpireTime

        public boolean hasExpireTime()
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasExpireTime in interface RegistrationOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTime in interface RegistrationOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public Registration.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setExpireTime

        public Registration.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeExpireTime

        public Registration.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearExpireTime

        public Registration.Builder clearExpireTime()
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Output only. The expiration timestamp of the `Registration`.
         
        .google.protobuf.Timestamp expire_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTimeOrBuilder in interface RegistrationOrBuilder
      • getStateValue

        public int getStateValue()
         Output only. The state of the `Registration`
         
        .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface RegistrationOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Registration.Builder setStateValue​(int value)
         Output only. The state of the `Registration`
         
        .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public Registration.State getState()
         Output only. The state of the `Registration`
         
        .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface RegistrationOrBuilder
        Returns:
        The state.
      • setState

        public Registration.Builder setState​(Registration.State value)
         Output only. The state of the `Registration`
         
        .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Registration.Builder clearState()
         Output only. The state of the `Registration`
         
        .google.cloud.domains.v1.Registration.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getIssuesList

        public List<Registration.Issue> getIssuesList()
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIssuesList in interface RegistrationOrBuilder
        Returns:
        A list containing the issues.
      • getIssuesCount

        public int getIssuesCount()
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIssuesCount in interface RegistrationOrBuilder
        Returns:
        The count of issues.
      • getIssues

        public Registration.Issue getIssues​(int index)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIssues in interface RegistrationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The issues at the given index.
      • setIssues

        public Registration.Builder setIssues​(int index,
                                              Registration.Issue value)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The issues to set.
        Returns:
        This builder for chaining.
      • addIssues

        public Registration.Builder addIssues​(Registration.Issue value)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The issues to add.
        Returns:
        This builder for chaining.
      • addAllIssues

        public Registration.Builder addAllIssues​(Iterable<? extends Registration.Issue> values)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The issues to add.
        Returns:
        This builder for chaining.
      • clearIssues

        public Registration.Builder clearIssues()
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getIssuesValueList

        public List<Integer> getIssuesValueList()
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIssuesValueList in interface RegistrationOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for issues.
      • getIssuesValue

        public int getIssuesValue​(int index)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIssuesValue in interface RegistrationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of issues at the given index.
      • setIssuesValue

        public Registration.Builder setIssuesValue​(int index,
                                                   int value)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for issues to set.
        Returns:
        This builder for chaining.
      • addIssuesValue

        public Registration.Builder addIssuesValue​(int value)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for issues to add.
        Returns:
        This builder for chaining.
      • addAllIssuesValue

        public Registration.Builder addAllIssuesValue​(Iterable<Integer> values)
         Output only. The set of issues with the `Registration` that require attention.
         
        repeated .google.cloud.domains.v1.Registration.Issue issues = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The enum numeric values on the wire for issues to add.
        Returns:
        This builder for chaining.
      • containsLabels

        public boolean containsLabels​(String key)
         Set of labels associated with the `Registration`.
         
        map<string, string> labels = 9;
        Specified by:
        containsLabels in interface RegistrationOrBuilder
      • removeLabels

        public Registration.Builder removeLabels​(String key)
         Set of labels associated with the `Registration`.
         
        map<string, string> labels = 9;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Registration.Builder putLabels​(String key,
                                              String value)
         Set of labels associated with the `Registration`.
         
        map<string, string> labels = 9;
      • hasManagementSettings

        public boolean hasManagementSettings()
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
        Specified by:
        hasManagementSettings in interface RegistrationOrBuilder
        Returns:
        Whether the managementSettings field is set.
      • getManagementSettings

        public ManagementSettings getManagementSettings()
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
        Specified by:
        getManagementSettings in interface RegistrationOrBuilder
        Returns:
        The managementSettings.
      • setManagementSettings

        public Registration.Builder setManagementSettings​(ManagementSettings value)
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      • setManagementSettings

        public Registration.Builder setManagementSettings​(ManagementSettings.Builder builderForValue)
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      • mergeManagementSettings

        public Registration.Builder mergeManagementSettings​(ManagementSettings value)
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      • clearManagementSettings

        public Registration.Builder clearManagementSettings()
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      • getManagementSettingsBuilder

        public ManagementSettings.Builder getManagementSettingsBuilder()
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
      • getManagementSettingsOrBuilder

        public ManagementSettingsOrBuilder getManagementSettingsOrBuilder()
         Settings for management of the `Registration`, including renewal, billing,
         and transfer. You cannot update these with the `UpdateRegistration`
         method. To update these settings, use the `ConfigureManagementSettings`
         method.
         
        .google.cloud.domains.v1.ManagementSettings management_settings = 10;
        Specified by:
        getManagementSettingsOrBuilder in interface RegistrationOrBuilder
      • hasDnsSettings

        public boolean hasDnsSettings()
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
        Specified by:
        hasDnsSettings in interface RegistrationOrBuilder
        Returns:
        Whether the dnsSettings field is set.
      • getDnsSettings

        public DnsSettings getDnsSettings()
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
        Specified by:
        getDnsSettings in interface RegistrationOrBuilder
        Returns:
        The dnsSettings.
      • setDnsSettings

        public Registration.Builder setDnsSettings​(DnsSettings value)
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      • setDnsSettings

        public Registration.Builder setDnsSettings​(DnsSettings.Builder builderForValue)
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      • mergeDnsSettings

        public Registration.Builder mergeDnsSettings​(DnsSettings value)
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      • clearDnsSettings

        public Registration.Builder clearDnsSettings()
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      • getDnsSettingsBuilder

        public DnsSettings.Builder getDnsSettingsBuilder()
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
      • getDnsSettingsOrBuilder

        public DnsSettingsOrBuilder getDnsSettingsOrBuilder()
         Settings controlling the DNS configuration of the `Registration`. You
         cannot update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureDnsSettings` method.
         
        .google.cloud.domains.v1.DnsSettings dns_settings = 11;
        Specified by:
        getDnsSettingsOrBuilder in interface RegistrationOrBuilder
      • hasContactSettings

        public boolean hasContactSettings()
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasContactSettings in interface RegistrationOrBuilder
        Returns:
        Whether the contactSettings field is set.
      • getContactSettings

        public ContactSettings getContactSettings()
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getContactSettings in interface RegistrationOrBuilder
        Returns:
        The contactSettings.
      • setContactSettings

        public Registration.Builder setContactSettings​(ContactSettings value)
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
      • setContactSettings

        public Registration.Builder setContactSettings​(ContactSettings.Builder builderForValue)
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
      • mergeContactSettings

        public Registration.Builder mergeContactSettings​(ContactSettings value)
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
      • clearContactSettings

        public Registration.Builder clearContactSettings()
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
      • getContactSettingsBuilder

        public ContactSettings.Builder getContactSettingsBuilder()
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
      • getContactSettingsOrBuilder

        public ContactSettingsOrBuilder getContactSettingsOrBuilder()
         Required. Settings for contact information linked to the `Registration`. You cannot
         update these with the `UpdateRegistration` method. To update these
         settings, use the `ConfigureContactSettings` method.
         
        .google.cloud.domains.v1.ContactSettings contact_settings = 12 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getContactSettingsOrBuilder in interface RegistrationOrBuilder
      • hasPendingContactSettings

        public boolean hasPendingContactSettings()
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasPendingContactSettings in interface RegistrationOrBuilder
        Returns:
        Whether the pendingContactSettings field is set.
      • getPendingContactSettings

        public ContactSettings getPendingContactSettings()
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPendingContactSettings in interface RegistrationOrBuilder
        Returns:
        The pendingContactSettings.
      • setPendingContactSettings

        public Registration.Builder setPendingContactSettings​(ContactSettings value)
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setPendingContactSettings

        public Registration.Builder setPendingContactSettings​(ContactSettings.Builder builderForValue)
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergePendingContactSettings

        public Registration.Builder mergePendingContactSettings​(ContactSettings value)
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearPendingContactSettings

        public Registration.Builder clearPendingContactSettings()
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPendingContactSettingsBuilder

        public ContactSettings.Builder getPendingContactSettingsBuilder()
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPendingContactSettingsOrBuilder

        public ContactSettingsOrBuilder getPendingContactSettingsOrBuilder()
         Output only. Pending contact settings for the `Registration`. Updates to the
         `contact_settings` field that change its `registrant_contact` or `privacy`
         fields require email confirmation by the `registrant_contact`
         before taking effect. This field is set only if there are pending updates
         to the `contact_settings` that have not been confirmed. To confirm the
         changes, the `registrant_contact` must follow the instructions in the
         email they receive.
         
        .google.cloud.domains.v1.ContactSettings pending_contact_settings = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPendingContactSettingsOrBuilder in interface RegistrationOrBuilder
      • getSupportedPrivacyList

        public List<ContactPrivacy> getSupportedPrivacyList()
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSupportedPrivacyList in interface RegistrationOrBuilder
        Returns:
        A list containing the supportedPrivacy.
      • getSupportedPrivacyCount

        public int getSupportedPrivacyCount()
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSupportedPrivacyCount in interface RegistrationOrBuilder
        Returns:
        The count of supportedPrivacy.
      • getSupportedPrivacy

        public ContactPrivacy getSupportedPrivacy​(int index)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSupportedPrivacy in interface RegistrationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The supportedPrivacy at the given index.
      • setSupportedPrivacy

        public Registration.Builder setSupportedPrivacy​(int index,
                                                        ContactPrivacy value)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The supportedPrivacy to set.
        Returns:
        This builder for chaining.
      • addSupportedPrivacy

        public Registration.Builder addSupportedPrivacy​(ContactPrivacy value)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The supportedPrivacy to add.
        Returns:
        This builder for chaining.
      • addAllSupportedPrivacy

        public Registration.Builder addAllSupportedPrivacy​(Iterable<? extends ContactPrivacy> values)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The supportedPrivacy to add.
        Returns:
        This builder for chaining.
      • clearSupportedPrivacy

        public Registration.Builder clearSupportedPrivacy()
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getSupportedPrivacyValueList

        public List<Integer> getSupportedPrivacyValueList()
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSupportedPrivacyValueList in interface RegistrationOrBuilder
        Returns:
        A list containing the enum numeric values on the wire for supportedPrivacy.
      • getSupportedPrivacyValue

        public int getSupportedPrivacyValue​(int index)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSupportedPrivacyValue in interface RegistrationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of supportedPrivacy at the given index.
      • setSupportedPrivacyValue

        public Registration.Builder setSupportedPrivacyValue​(int index,
                                                             int value)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        index - The index to set the value at.
        value - The enum numeric value on the wire for supportedPrivacy to set.
        Returns:
        This builder for chaining.
      • addSupportedPrivacyValue

        public Registration.Builder addSupportedPrivacyValue​(int value)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for supportedPrivacy to add.
        Returns:
        This builder for chaining.
      • addAllSupportedPrivacyValue

        public Registration.Builder addAllSupportedPrivacyValue​(Iterable<Integer> values)
         Output only. Set of options for the `contact_settings.privacy` field that this
         `Registration` supports.
         
        repeated .google.cloud.domains.v1.ContactPrivacy supported_privacy = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        values - The enum numeric values on the wire for supportedPrivacy to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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