Class DnsSettings.GoogleDomainsDns

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.domains.v1alpha2.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.GeneratedMessage 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.v1alpha2.DnsSettings.GoogleDomainsDns
See Also:
  • Field Details

    • NAME_SERVERS_FIELD_NUMBER

      public static final int NAME_SERVERS_FIELD_NUMBER
      See Also:
    • DS_STATE_FIELD_NUMBER

      public static final int DS_STATE_FIELD_NUMBER
      See Also:
    • DS_RECORDS_FIELD_NUMBER

      public static final int DS_RECORDS_FIELD_NUMBER
      See Also:
  • 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
    • 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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.v1alpha2.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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static DnsSettings.GoogleDomainsDns parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DnsSettings.GoogleDomainsDns parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DnsSettings.GoogleDomainsDns parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DnsSettings.GoogleDomainsDns parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DnsSettings.GoogleDomainsDns parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DnsSettings.GoogleDomainsDns parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DnsSettings.GoogleDomainsDns.Builder newBuilder()
    • newBuilder

    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DnsSettings.GoogleDomainsDns getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DnsSettings.GoogleDomainsDns> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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