Class DnsSettings.Builder

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

public static final class DnsSettings.Builder extends com.google.protobuf.GeneratedMessage.Builder<DnsSettings.Builder> implements DnsSettingsOrBuilder
 Defines the DNS configuration of a `Registration`, including name servers,
 DNSSEC, and glue records.
 
Protobuf type google.cloud.domains.v1alpha2.DnsSettings
  • 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.Builder>
    • clear

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

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

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

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

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

      public DnsSettings.Builder mergeFrom(DnsSettings other)
    • isInitialized

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

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

      public DnsSettings.DnsProviderCase getDnsProviderCase()
      Specified by:
      getDnsProviderCase in interface DnsSettingsOrBuilder
    • clearDnsProvider

      public DnsSettings.Builder clearDnsProvider()
    • hasCustomDns

      public boolean hasCustomDns()
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
      Specified by:
      hasCustomDns in interface DnsSettingsOrBuilder
      Returns:
      Whether the customDns field is set.
    • getCustomDns

      public DnsSettings.CustomDns getCustomDns()
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
      Specified by:
      getCustomDns in interface DnsSettingsOrBuilder
      Returns:
      The customDns.
    • setCustomDns

      public DnsSettings.Builder setCustomDns(DnsSettings.CustomDns value)
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
    • setCustomDns

      public DnsSettings.Builder setCustomDns(DnsSettings.CustomDns.Builder builderForValue)
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
    • mergeCustomDns

      public DnsSettings.Builder mergeCustomDns(DnsSettings.CustomDns value)
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
    • clearCustomDns

      public DnsSettings.Builder clearCustomDns()
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
    • getCustomDnsBuilder

      public DnsSettings.CustomDns.Builder getCustomDnsBuilder()
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
    • getCustomDnsOrBuilder

      public DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder()
       An arbitrary DNS provider identified by its name servers.
       
      .google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
      Specified by:
      getCustomDnsOrBuilder in interface DnsSettingsOrBuilder
    • hasGoogleDomainsDns

      public boolean hasGoogleDomainsDns()
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      Specified by:
      hasGoogleDomainsDns in interface DnsSettingsOrBuilder
      Returns:
      Whether the googleDomainsDns field is set.
    • getGoogleDomainsDns

      public DnsSettings.GoogleDomainsDns getGoogleDomainsDns()
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      Specified by:
      getGoogleDomainsDns in interface DnsSettingsOrBuilder
      Returns:
      The googleDomainsDns.
    • setGoogleDomainsDns

      public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    • setGoogleDomainsDns

      public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns.Builder builderForValue)
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    • mergeGoogleDomainsDns

      public DnsSettings.Builder mergeGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    • clearGoogleDomainsDns

      public DnsSettings.Builder clearGoogleDomainsDns()
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    • getGoogleDomainsDnsBuilder

      public DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder()
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
    • getGoogleDomainsDnsOrBuilder

      public DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder()
       The free DNS zone provided by
       [Google Domains](https://domains.google/).
       
      .google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
      Specified by:
      getGoogleDomainsDnsOrBuilder in interface DnsSettingsOrBuilder
    • getGlueRecordsList

      public List<DnsSettings.GlueRecord> getGlueRecordsList()
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
      Specified by:
      getGlueRecordsList in interface DnsSettingsOrBuilder
    • getGlueRecordsCount

      public int getGlueRecordsCount()
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
      Specified by:
      getGlueRecordsCount in interface DnsSettingsOrBuilder
    • getGlueRecords

      public DnsSettings.GlueRecord getGlueRecords(int index)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
      Specified by:
      getGlueRecords in interface DnsSettingsOrBuilder
    • setGlueRecords

      public DnsSettings.Builder setGlueRecords(int index, DnsSettings.GlueRecord value)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • setGlueRecords

      public DnsSettings.Builder setGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • addGlueRecords

      public DnsSettings.Builder addGlueRecords(DnsSettings.GlueRecord value)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • addGlueRecords

      public DnsSettings.Builder addGlueRecords(int index, DnsSettings.GlueRecord value)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • addGlueRecords

      public DnsSettings.Builder addGlueRecords(DnsSettings.GlueRecord.Builder builderForValue)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • addGlueRecords

      public DnsSettings.Builder addGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • addAllGlueRecords

      public DnsSettings.Builder addAllGlueRecords(Iterable<? extends DnsSettings.GlueRecord> values)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • clearGlueRecords

      public DnsSettings.Builder clearGlueRecords()
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • removeGlueRecords

      public DnsSettings.Builder removeGlueRecords(int index)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • getGlueRecordsBuilder

      public DnsSettings.GlueRecord.Builder getGlueRecordsBuilder(int index)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • getGlueRecordsOrBuilder

      public DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder(int index)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
      Specified by:
      getGlueRecordsOrBuilder in interface DnsSettingsOrBuilder
    • getGlueRecordsOrBuilderList

      public List<? extends DnsSettings.GlueRecordOrBuilder> getGlueRecordsOrBuilderList()
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
      Specified by:
      getGlueRecordsOrBuilderList in interface DnsSettingsOrBuilder
    • addGlueRecordsBuilder

      public DnsSettings.GlueRecord.Builder addGlueRecordsBuilder()
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • addGlueRecordsBuilder

      public DnsSettings.GlueRecord.Builder addGlueRecordsBuilder(int index)
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
    • getGlueRecordsBuilderList

      public List<DnsSettings.GlueRecord.Builder> getGlueRecordsBuilderList()
       The list of glue records for this `Registration`. Commonly empty.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;