Class 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.GeneratedMessageV3
    implements DnsSettings.CustomDnsOrBuilder
     Configuration for an arbitrary DNS provider.
     
    Protobuf type google.cloud.domains.v1alpha2.DnsSettings.CustomDns
    See Also:
    Serialized Form
    • Field Detail

      • NAME_SERVERS_FIELD_NUMBER

        public static final int NAME_SERVERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DS_RECORDS_FIELD_NUMBER

        public static final int DS_RECORDS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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()
         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.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.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
      • newBuilderForType

        public DnsSettings.CustomDns.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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