Class DnsSettings (1.8.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.8.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  DnsSettings   extends   GeneratedMessageV3   implements   DnsSettingsOrBuilder  
   Defines the DNS configuration of a Registration, including name servers,
 DNSSEC, and glue records.
 Protobuf type google.cloud.domains.v1beta1.DnsSettings
Static Fields
   
  CUSTOM_DNS_FIELD_NUMBER 
  
    
public   static   final   int   CUSTOM_DNS_FIELD_NUMBER  
  Field Value 
  
  GLUE_RECORDS_FIELD_NUMBER 
  
    
public   static   final   int   GLUE_RECORDS_FIELD_NUMBER  
  Field Value 
  
  GOOGLE_DOMAINS_DNS_FIELD_NUMBER 
  
    
public   static   final   int   GOOGLE_DOMAINS_DNS_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   DnsSettings   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   DnsSettings . Builder   newBuilder ()  
  Returns 
  
  newBuilder(DnsSettings prototype) 
  
    
public   static   DnsSettings . Builder   newBuilder ( DnsSettings   prototype )  
  Parameter 
  
  Returns 
  
  parseDelimitedFrom(InputStream input) 
  
    
public   static   DnsSettings   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   DnsSettings   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        databyte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   DnsSettings   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(CodedInputStream input) 
  
    
public   static   DnsSettings   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(InputStream input) 
  
    
public   static   DnsSettings   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   DnsSettings   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<DnsSettings>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getCustomDns() 
  
    
public   DnsSettings . CustomDns   getCustomDns ()  
   An arbitrary DNS provider identified by its name servers.
 .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Returns 
  
  getCustomDnsOrBuilder() 
  
    
public   DnsSettings . CustomDnsOrBuilder   getCustomDnsOrBuilder ()  
   An arbitrary DNS provider identified by its name servers.
 .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Returns 
  
  getDefaultInstanceForType() 
  
    
public   DnsSettings   getDefaultInstanceForType ()  
  Returns 
  
  getDnsProviderCase() 
  
    
public   DnsSettings . DnsProviderCase   getDnsProviderCase ()  
  Returns 
  
  getGlueRecords(int index) 
  
    
public   DnsSettings . GlueRecord   getGlueRecords ( int   index )  
   The list of glue records for this Registration. Commonly empty.
 repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter 
  
    
      
        Name Description  
      
        indexint  
     
  
  Returns 
  
  getGlueRecordsCount() 
  
    
public   int   getGlueRecordsCount ()  
   The list of glue records for this Registration. Commonly empty.
 repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Returns 
  
  getGlueRecordsList() 
  
    
public   List<DnsSettings . GlueRecord >  getGlueRecordsList ()  
   The list of glue records for this Registration. Commonly empty.
 repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Returns 
  
  getGlueRecordsOrBuilder(int index) 
  
    
public   DnsSettings . GlueRecordOrBuilder   getGlueRecordsOrBuilder ( int   index )  
   The list of glue records for this Registration. Commonly empty.
 repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter 
  
    
      
        Name Description  
      
        indexint  
     
  
  Returns 
  
  getGlueRecordsOrBuilderList() 
  
    
public   List <?   extends   DnsSettings . GlueRecordOrBuilder >  getGlueRecordsOrBuilderList ()  
   The list of glue records for this Registration. Commonly empty.
 repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Returns 
  
    
      
        Type Description  
      
        List <? extends com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder > 
     
  
  getGoogleDomainsDns() 
  
    
public   DnsSettings . GoogleDomainsDns   getGoogleDomainsDns ()  
   The free DNS zone provided by
 Google Domains .
 .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Returns 
  
  getGoogleDomainsDnsOrBuilder() 
  
    
public   DnsSettings . GoogleDomainsDnsOrBuilder   getGoogleDomainsDnsOrBuilder ()  
   The free DNS zone provided by
 Google Domains .
 .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Returns 
  
  getParserForType() 
  
    
public   Parser<DnsSettings>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  hasCustomDns() 
  
    
public   boolean   hasCustomDns ()  
   An arbitrary DNS provider identified by its name servers.
 .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the customDns field is set.
 
     
  
  hasGoogleDomainsDns() 
  
    
public   boolean   hasGoogleDomainsDns ()  
   The free DNS zone provided by
 Google Domains .
 .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the googleDomainsDns field is set.
 
     
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   DnsSettings . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   DnsSettings . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   DnsSettings . Builder   toBuilder ()  
  Returns 
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]