Class DnsSettings.CustomDns

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns
All Implemented Interfaces:
DnsSettings.CustomDnsOrBuilder, 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.CustomDns extends com.google.protobuf.GeneratedMessage implements DnsSettings.CustomDnsOrBuilder
 Configuration for an arbitrary DNS provider.
 
Protobuf type google.cloud.domains.v1alpha2.DnsSettings.CustomDns
See Also:
  • Field Details

    • NAME_SERVERS_FIELD_NUMBER

      public static final int NAME_SERVERS_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()
       Required. 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.
       
      repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameServersList in interface DnsSettings.CustomDnsOrBuilder
      Returns:
      A list containing the nameServers.
    • getNameServersCount

      public int getNameServersCount()
       Required. 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.
       
      repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameServersCount in interface DnsSettings.CustomDnsOrBuilder
      Returns:
      The count of nameServers.
    • getNameServers

      public String getNameServers(int index)
       Required. 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.
       
      repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameServers in interface DnsSettings.CustomDnsOrBuilder
      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)
       Required. 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.
       
      repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameServersBytes in interface DnsSettings.CustomDnsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the nameServers at the given index.
    • getDsRecordsList

      public List<DnsSettings.DsRecord> getDsRecordsList()
       The list of DS records for this domain, which are used to enable DNSSEC.
       The domain's DNS provider can provide the values to set here. If this
       field is empty, DNSSEC is disabled.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      Specified by:
      getDsRecordsList in interface DnsSettings.CustomDnsOrBuilder
    • getDsRecordsOrBuilderList

      public List<? extends DnsSettings.DsRecordOrBuilder> getDsRecordsOrBuilderList()
       The list of DS records for this domain, which are used to enable DNSSEC.
       The domain's DNS provider can provide the values to set here. If this
       field is empty, DNSSEC is disabled.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      Specified by:
      getDsRecordsOrBuilderList in interface DnsSettings.CustomDnsOrBuilder
    • getDsRecordsCount

      public int getDsRecordsCount()
       The list of DS records for this domain, which are used to enable DNSSEC.
       The domain's DNS provider can provide the values to set here. If this
       field is empty, DNSSEC is disabled.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      Specified by:
      getDsRecordsCount in interface DnsSettings.CustomDnsOrBuilder
    • getDsRecords

      public DnsSettings.DsRecord getDsRecords(int index)
       The list of DS records for this domain, which are used to enable DNSSEC.
       The domain's DNS provider can provide the values to set here. If this
       field is empty, DNSSEC is disabled.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      Specified by:
      getDsRecords in interface DnsSettings.CustomDnsOrBuilder
    • getDsRecordsOrBuilder

      public DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index)
       The list of DS records for this domain, which are used to enable DNSSEC.
       The domain's DNS provider can provide the values to set here. If this
       field is empty, DNSSEC is disabled.
       
      repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
      Specified by:
      getDsRecordsOrBuilder in interface DnsSettings.CustomDnsOrBuilder
    • 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.CustomDns parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static DnsSettings.CustomDns 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.CustomDns parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

      public static DnsSettings.CustomDns.Builder newBuilder(DnsSettings.CustomDns prototype)
    • toBuilder

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

      protected DnsSettings.CustomDns.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DnsSettings.CustomDns getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DnsSettings.CustomDns> parser()
    • getParserForType

      public com.google.protobuf.Parser<DnsSettings.CustomDns> 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.CustomDns getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder