Class DnsSettings (1.46.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.46.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
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CUSTOM_DNS_FIELD_NUMBER 
  
    
public   static   final   int   CUSTOM_DNS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  GLUE_RECORDS_FIELD_NUMBER 
  
    
public   static   final   int   GLUE_RECORDS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  GOOGLE_DOMAINS_DNS_FIELD_NUMBER 
  
    
public   static   final   int   GOOGLE_DOMAINS_DNS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   DnsSettings   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   DnsSettings . Builder   newBuilder ()  
  
  newBuilder(DnsSettings prototype) 
  
    
public   static   DnsSettings . Builder   newBuilder ( DnsSettings   prototype )  
  
  
  parseDelimitedFrom(InputStream input) 
  
    
public   static   DnsSettings   parseDelimitedFrom ( InputStream   input )  
  
  
  
  parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   DnsSettings   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   DnsSettings   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(CodedInputStream input) 
  
    
public   static   DnsSettings   parseFrom ( CodedInputStream   input )  
  
  
  
  parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(InputStream input) 
  
    
public   static   DnsSettings   parseFrom ( InputStream   input )  
  
  
  
  parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   DnsSettings   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   DnsSettings   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<DnsSettings>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCustomDns() 
  
    
public   DnsSettings . CustomDns   getCustomDns ()  
   An arbitrary DNS provider identified by its name servers.
 .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
getCustomDnsOrBuilder() 
  
    
public   DnsSettings . CustomDnsOrBuilder   getCustomDnsOrBuilder ()  
   An arbitrary DNS provider identified by its name servers.
 .google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
getDefaultInstanceForType() 
  
    
public   DnsSettings   getDefaultInstanceForType ()  
  
  getDnsProviderCase() 
  
    
public   DnsSettings . DnsProviderCase   getDnsProviderCase ()  
  
  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  
     
  
  
  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  
      
        Type Description  
      
        int  
     
  
  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;
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  
     
  
  
  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;
getGoogleDomainsDnsOrBuilder() 
  
    
public   DnsSettings . GoogleDomainsDnsOrBuilder   getGoogleDomainsDnsOrBuilder ()  
   The free DNS zone provided by
 Google Domains .
 .google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
getParserForType() 
  
    
public   Parser<DnsSettings>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  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  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   DnsSettings . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   DnsSettings . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   DnsSettings . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]