Class DnsSettings.CustomDns.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DnsSettings.CustomDns.Builder>
com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder
All Implemented Interfaces:
DnsSettings.CustomDnsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DnsSettings.CustomDns

public static final class DnsSettings.CustomDns.Builder extends com.google.protobuf.GeneratedMessage.Builder<DnsSettings.CustomDns.Builder> implements DnsSettings.CustomDnsOrBuilder
 Configuration for an arbitrary DNS provider.
 
Protobuf type google.cloud.domains.v1alpha2.DnsSettings.CustomDns
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<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.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.DnsSettings.DsRecord ds_records = 2;
    • addDsRecords

       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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.DnsSettings.DsRecord ds_records = 2;