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

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

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

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

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

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

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

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

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

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

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

        public DnsSettings.CustomDns.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<DnsSettings.CustomDns.Builder>
        Throws:
        IOException
      • getNameServersList

        public com.google.protobuf.ProtocolStringList getNameServersList()
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameServersList in interface DnsSettings.CustomDnsOrBuilder
        Returns:
        A list containing the nameServers.
      • getNameServersCount

        public int getNameServersCount()
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameServersCount in interface DnsSettings.CustomDnsOrBuilder
        Returns:
        The count of nameServers.
      • getNameServers

        public String getNameServers​(int index)
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameServers in interface DnsSettings.CustomDnsOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The nameServers at the given index.
      • getNameServersBytes

        public com.google.protobuf.ByteString getNameServersBytes​(int index)
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameServersBytes in interface DnsSettings.CustomDnsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the nameServers at the given index.
      • setNameServers

        public DnsSettings.CustomDns.Builder setNameServers​(int index,
                                                            String value)
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index to set the value at.
        value - The nameServers to set.
        Returns:
        This builder for chaining.
      • addNameServers

        public DnsSettings.CustomDns.Builder addNameServers​(String value)
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The nameServers to add.
        Returns:
        This builder for chaining.
      • addAllNameServers

        public DnsSettings.CustomDns.Builder addAllNameServers​(Iterable<String> values)
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        values - The nameServers to add.
        Returns:
        This builder for chaining.
      • clearNameServers

        public DnsSettings.CustomDns.Builder clearNameServers()
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • addNameServersBytes

        public DnsSettings.CustomDns.Builder addNameServersBytes​(com.google.protobuf.ByteString value)
         Required. A list of name servers that store the DNS zone for this domain. Each name
         server is a domain name, with Unicode domain names expressed in
         Punycode format.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes of the nameServers to add.
        Returns:
        This builder for chaining.
      • getDsRecordsList

        public List<DnsSettings.DsRecord> getDsRecordsList()
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        Specified by:
        getDsRecordsList in interface DnsSettings.CustomDnsOrBuilder
      • getDsRecordsCount

        public int getDsRecordsCount()
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        Specified by:
        getDsRecordsCount in interface DnsSettings.CustomDnsOrBuilder
      • getDsRecords

        public DnsSettings.DsRecord getDsRecords​(int index)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        Specified by:
        getDsRecords in interface DnsSettings.CustomDnsOrBuilder
      • setDsRecords

        public DnsSettings.CustomDns.Builder setDsRecords​(int index,
                                                          DnsSettings.DsRecord value)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • setDsRecords

        public DnsSettings.CustomDns.Builder setDsRecords​(int index,
                                                          DnsSettings.DsRecord.Builder builderForValue)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • addDsRecords

        public DnsSettings.CustomDns.Builder addDsRecords​(DnsSettings.DsRecord value)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • addDsRecords

        public DnsSettings.CustomDns.Builder addDsRecords​(int index,
                                                          DnsSettings.DsRecord value)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • addDsRecords

        public DnsSettings.CustomDns.Builder addDsRecords​(DnsSettings.DsRecord.Builder builderForValue)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • addDsRecords

        public DnsSettings.CustomDns.Builder addDsRecords​(int index,
                                                          DnsSettings.DsRecord.Builder builderForValue)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • addAllDsRecords

        public DnsSettings.CustomDns.Builder addAllDsRecords​(Iterable<? extends DnsSettings.DsRecord> values)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • clearDsRecords

        public DnsSettings.CustomDns.Builder clearDsRecords()
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • removeDsRecords

        public DnsSettings.CustomDns.Builder removeDsRecords​(int index)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • getDsRecordsBuilder

        public DnsSettings.DsRecord.Builder getDsRecordsBuilder​(int index)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • getDsRecordsOrBuilder

        public DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder​(int index)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        Specified by:
        getDsRecordsOrBuilder in interface DnsSettings.CustomDnsOrBuilder
      • getDsRecordsOrBuilderList

        public List<? extends DnsSettings.DsRecordOrBuilder> getDsRecordsOrBuilderList()
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
        Specified by:
        getDsRecordsOrBuilderList in interface DnsSettings.CustomDnsOrBuilder
      • addDsRecordsBuilder

        public DnsSettings.DsRecord.Builder addDsRecordsBuilder()
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • addDsRecordsBuilder

        public DnsSettings.DsRecord.Builder addDsRecordsBuilder​(int index)
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • getDsRecordsBuilderList

        public List<DnsSettings.DsRecord.Builder> getDsRecordsBuilderList()
         The list of DS records for this domain, which are used to enable DNSSEC.
         The domain's DNS provider can provide the values to set here. If this
         field is empty, DNSSEC is disabled.
         
        repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 2;
      • setUnknownFields

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

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