Class DnsSettings.GoogleDomainsDns

  • All Implemented Interfaces:
    DnsSettings.GoogleDomainsDnsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    DnsSettings

    public static final class DnsSettings.GoogleDomainsDns
    extends com.google.protobuf.GeneratedMessageV3
    implements DnsSettings.GoogleDomainsDnsOrBuilder
     Configuration for using the free DNS zone provided by Google Domains as a
     `Registration`'s `dns_provider`. You cannot configure the DNS zone itself
     using the API. To configure the DNS zone, go to
     [Google Domains](https://domains.google/).
     
    Protobuf type google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • getNameServersList

        public com.google.protobuf.ProtocolStringList getNameServersList()
         Output only. 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. This field is automatically populated with the name
         servers assigned to the Google Domains DNS zone.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameServersList in interface DnsSettings.GoogleDomainsDnsOrBuilder
        Returns:
        A list containing the nameServers.
      • getNameServersCount

        public int getNameServersCount()
         Output only. 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. This field is automatically populated with the name
         servers assigned to the Google Domains DNS zone.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameServersCount in interface DnsSettings.GoogleDomainsDnsOrBuilder
        Returns:
        The count of nameServers.
      • getNameServers

        public String getNameServers​(int index)
         Output only. 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. This field is automatically populated with the name
         servers assigned to the Google Domains DNS zone.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameServers in interface DnsSettings.GoogleDomainsDnsOrBuilder
        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)
         Output only. 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. This field is automatically populated with the name
         servers assigned to the Google Domains DNS zone.
         
        repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameServersBytes in interface DnsSettings.GoogleDomainsDnsOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the nameServers at the given index.
      • getDsStateValue

        public int getDsStateValue()
         Required. The state of DS records for this domain. Used to enable or disable
         automatic DNSSEC.
         
        .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDsStateValue in interface DnsSettings.GoogleDomainsDnsOrBuilder
        Returns:
        The enum numeric value on the wire for dsState.
      • getDsState

        public DnsSettings.DsState getDsState()
         Required. The state of DS records for this domain. Used to enable or disable
         automatic DNSSEC.
         
        .google.cloud.domains.v1beta1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDsState in interface DnsSettings.GoogleDomainsDnsOrBuilder
        Returns:
        The dsState.
      • getDsRecordsList

        public List<DnsSettings.DsRecord> getDsRecordsList()
         Output only. The list of DS records published for this domain. The list is
         automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
         otherwise it remains empty.
         
        repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDsRecordsList in interface DnsSettings.GoogleDomainsDnsOrBuilder
      • getDsRecordsOrBuilderList

        public List<? extends DnsSettings.DsRecordOrBuilder> getDsRecordsOrBuilderList()
         Output only. The list of DS records published for this domain. The list is
         automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
         otherwise it remains empty.
         
        repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDsRecordsOrBuilderList in interface DnsSettings.GoogleDomainsDnsOrBuilder
      • getDsRecordsCount

        public int getDsRecordsCount()
         Output only. The list of DS records published for this domain. The list is
         automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
         otherwise it remains empty.
         
        repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDsRecordsCount in interface DnsSettings.GoogleDomainsDnsOrBuilder
      • getDsRecords

        public DnsSettings.DsRecord getDsRecords​(int index)
         Output only. The list of DS records published for this domain. The list is
         automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
         otherwise it remains empty.
         
        repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDsRecords in interface DnsSettings.GoogleDomainsDnsOrBuilder
      • getDsRecordsOrBuilder

        public DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder​(int index)
         Output only. The list of DS records published for this domain. The list is
         automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`,
         otherwise it remains empty.
         
        repeated .google.cloud.domains.v1beta1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDsRecordsOrBuilder in interface DnsSettings.GoogleDomainsDnsOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static DnsSettings.GoogleDomainsDns parseFrom​(ByteBuffer data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DnsSettings.GoogleDomainsDns parseFrom​(ByteBuffer data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DnsSettings.GoogleDomainsDns parseFrom​(com.google.protobuf.ByteString data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DnsSettings.GoogleDomainsDns parseFrom​(com.google.protobuf.ByteString data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DnsSettings.GoogleDomainsDns parseFrom​(byte[] data)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static DnsSettings.GoogleDomainsDns parseFrom​(byte[] data,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public DnsSettings.GoogleDomainsDns.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public DnsSettings.GoogleDomainsDns.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected DnsSettings.GoogleDomainsDns.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<DnsSettings.GoogleDomainsDns> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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