Interface DnsSettings.CustomDnsOrBuilder (1.78.0)

publicstaticinterface DnsSettings.CustomDnsOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDsRecords(int index)

publicabstractDnsSettings.DsRecordgetDsRecords(intindex)

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.v1beta1.DnsSettings.DsRecord ds_records = 2;

Parameter
Name Description
index int
Returns
Type Description
DnsSettings.DsRecord

getDsRecordsCount()

publicabstractintgetDsRecordsCount()

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.v1beta1.DnsSettings.DsRecord ds_records = 2;

Returns
Type Description
int

getDsRecordsList()

publicabstractList<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.v1beta1.DnsSettings.DsRecord ds_records = 2;

Returns
Type Description
List<DsRecord>

getDsRecordsOrBuilder(int index)

publicabstractDnsSettings.DsRecordOrBuildergetDsRecordsOrBuilder(intindex)

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.v1beta1.DnsSettings.DsRecord ds_records = 2;

Parameter
Name Description
index int
Returns
Type Description
DnsSettings.DsRecordOrBuilder

getDsRecordsOrBuilderList()

publicabstractList<?extendsDnsSettings.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.v1beta1.DnsSettings.DsRecord ds_records = 2;

Returns
Type Description
List<? extends com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder>

getNameServers(int index)

publicabstractStringgetNameServers(intindex)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The nameServers at the given index.

getNameServersBytes(int index)

publicabstractByteStringgetNameServersBytes(intindex)

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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the nameServers at the given index.

getNameServersCount()

publicabstractintgetNameServersCount()

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];

Returns
Type Description
int

The count of nameServers.

getNameServersList()

publicabstractList<String>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];

Returns
Type Description
List<String>

A list containing the nameServers.

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年12月18日 UTC.