Class DnsSettings (1.46.0)

public final class DnsSettings extends GeneratedMessageV3 implements DnsSettingsOrBuilder

Defines the DNS configuration of a Registration, including name servers, DNSSEC, and glue records.

Protobuf type google.cloud.domains.v1beta1.DnsSettings

Static Fields

CUSTOM_DNS_FIELD_NUMBER

public static final int CUSTOM_DNS_FIELD_NUMBER
Field Value
Type Description
int

GLUE_RECORDS_FIELD_NUMBER

public static final int GLUE_RECORDS_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_DOMAINS_DNS_FIELD_NUMBER

public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DnsSettings getDefaultInstance()
Returns
Type Description
DnsSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DnsSettings.Builder newBuilder()
Returns
Type Description
DnsSettings.Builder

newBuilder(DnsSettings prototype)

public static DnsSettings.Builder newBuilder(DnsSettings prototype)
Parameter
Name Description
prototype DnsSettings
Returns
Type Description
DnsSettings.Builder

parseDelimitedFrom(InputStream input)

public static DnsSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DnsSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DnsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DnsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DnsSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DnsSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DnsSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DnsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DnsSettings> parser()
Returns
Type Description
Parser<DnsSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomDns()

public DnsSettings.CustomDns getCustomDns()

An arbitrary DNS provider identified by its name servers.

.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;

Returns
Type Description
DnsSettings.CustomDns

The customDns.

getCustomDnsOrBuilder()

public DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder()

An arbitrary DNS provider identified by its name servers.

.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;

Returns
Type Description
DnsSettings.CustomDnsOrBuilder

getDefaultInstanceForType()

public DnsSettings getDefaultInstanceForType()
Returns
Type Description
DnsSettings

getDnsProviderCase()

public DnsSettings.DnsProviderCase getDnsProviderCase()
Returns
Type Description
DnsSettings.DnsProviderCase

getGlueRecords(int index)

public DnsSettings.GlueRecord getGlueRecords(int index)

The list of glue records for this Registration. Commonly empty.

repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;

Parameter
Name Description
index int
Returns
Type Description
DnsSettings.GlueRecord

getGlueRecordsCount()

public int getGlueRecordsCount()

The list of glue records for this Registration. Commonly empty.

repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;

Returns
Type Description
int

getGlueRecordsList()

public List<DnsSettings.GlueRecord> getGlueRecordsList()

The list of glue records for this Registration. Commonly empty.

repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;

Returns
Type Description
List<GlueRecord>

getGlueRecordsOrBuilder(int index)

public DnsSettings.GlueRecordOrBuilder getGlueRecordsOrBuilder(int index)

The list of glue records for this Registration. Commonly empty.

repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;

Parameter
Name Description
index int
Returns
Type Description
DnsSettings.GlueRecordOrBuilder

getGlueRecordsOrBuilderList()

public List<? extends DnsSettings.GlueRecordOrBuilder> getGlueRecordsOrBuilderList()

The list of glue records for this Registration. Commonly empty.

repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;

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

getGoogleDomainsDns()

public DnsSettings.GoogleDomainsDns getGoogleDomainsDns()

The free DNS zone provided by Google Domains.

.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;

Returns
Type Description
DnsSettings.GoogleDomainsDns

The googleDomainsDns.

getGoogleDomainsDnsOrBuilder()

public DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder()

The free DNS zone provided by Google Domains.

.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;

Returns
Type Description
DnsSettings.GoogleDomainsDnsOrBuilder

getParserForType()

public Parser<DnsSettings> getParserForType()
Returns
Type Description
Parser<DnsSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCustomDns()

public boolean hasCustomDns()

An arbitrary DNS provider identified by its name servers.

.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;

Returns
Type Description
boolean

Whether the customDns field is set.

hasGoogleDomainsDns()

public boolean hasGoogleDomainsDns()

The free DNS zone provided by Google Domains.

.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;

Returns
Type Description
boolean

Whether the googleDomainsDns field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DnsSettings.Builder newBuilderForType()
Returns
Type Description
DnsSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DnsSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DnsSettings.Builder toBuilder()
Returns
Type Description
DnsSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException