Class DnsSettings (1.24.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.v1alpha2.DnsSettings

Static Fields

CUSTOM_DNS_FIELD_NUMBER

public static final int CUSTOM_DNS_FIELD_NUMBER
Field Value
TypeDescription
int

GLUE_RECORDS_FIELD_NUMBER

public static final int GLUE_RECORDS_FIELD_NUMBER
Field Value
TypeDescription
int

GOOGLE_DOMAINS_DNS_FIELD_NUMBER

public static final int GOOGLE_DOMAINS_DNS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DnsSettings getDefaultInstance()
Returns
TypeDescription
DnsSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DnsSettings.Builder newBuilder()
Returns
TypeDescription
DnsSettings.Builder

newBuilder(DnsSettings prototype)

public static DnsSettings.Builder newBuilder(DnsSettings prototype)
Parameter
NameDescription
prototypeDnsSettings
Returns
TypeDescription
DnsSettings.Builder

parseDelimitedFrom(InputStream input)

public static DnsSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DnsSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DnsSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DnsSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DnsSettings> parser()
Returns
TypeDescription
Parser<DnsSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomDns()

public DnsSettings.CustomDns getCustomDns()

An arbitrary DNS provider identified by its name servers.

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

Returns
TypeDescription
DnsSettings.CustomDns

The customDns.

getCustomDnsOrBuilder()

public DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder()

An arbitrary DNS provider identified by its name servers.

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

Returns
TypeDescription
DnsSettings.CustomDnsOrBuilder

getDefaultInstanceForType()

public DnsSettings getDefaultInstanceForType()
Returns
TypeDescription
DnsSettings

getDnsProviderCase()

public DnsSettings.DnsProviderCase getDnsProviderCase()
Returns
TypeDescription
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.v1alpha2.DnsSettings.GlueRecord glue_records = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.GlueRecord

getGlueRecordsCount()

public int getGlueRecordsCount()

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

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

Returns
TypeDescription
int

getGlueRecordsList()

public List<DnsSettings.GlueRecord> getGlueRecordsList()

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

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

Returns
TypeDescription
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.v1alpha2.DnsSettings.GlueRecord glue_records = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.GlueRecordOrBuilder

getGlueRecordsOrBuilderList()

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

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

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

Returns
TypeDescription
List<? extends com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder>

getGoogleDomainsDns()

public DnsSettings.GoogleDomainsDns getGoogleDomainsDns()

The free DNS zone provided by Google Domains.

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

Returns
TypeDescription
DnsSettings.GoogleDomainsDns

The googleDomainsDns.

getGoogleDomainsDnsOrBuilder()

public DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder()

The free DNS zone provided by Google Domains.

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

Returns
TypeDescription
DnsSettings.GoogleDomainsDnsOrBuilder

getParserForType()

public Parser<DnsSettings> getParserForType()
Returns
TypeDescription
Parser<DnsSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCustomDns()

public boolean hasCustomDns()

An arbitrary DNS provider identified by its name servers.

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

Returns
TypeDescription
boolean

Whether the customDns field is set.

hasGoogleDomainsDns()

public boolean hasGoogleDomainsDns()

The free DNS zone provided by Google Domains.

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

Returns
TypeDescription
boolean

Whether the googleDomainsDns field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DnsSettings.Builder newBuilderForType()
Returns
TypeDescription
DnsSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DnsSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DnsSettings.Builder toBuilder()
Returns
TypeDescription
DnsSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException