Class DnsSettings.GoogleDomainsDns (1.20.0)

public static final class DnsSettings.GoogleDomainsDns extends GeneratedMessageV3 implements DnsSettings.GoogleDomainsDnsOrBuilder

Configuration for using the free DNS zone provided by Google Domains as a Registration's dns_provider. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to Google Domains.

Protobuf type google.cloud.domains.v1.DnsSettings.GoogleDomainsDns

Static Fields

DS_RECORDS_FIELD_NUMBER

public static final int DS_RECORDS_FIELD_NUMBER
Field Value
TypeDescription
int

DS_STATE_FIELD_NUMBER

public static final int DS_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_SERVERS_FIELD_NUMBER

public static final int NAME_SERVERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DnsSettings.GoogleDomainsDns getDefaultInstance()
Returns
TypeDescription
DnsSettings.GoogleDomainsDns

getDescriptor()

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

newBuilder()

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

newBuilder(DnsSettings.GoogleDomainsDns prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DnsSettings.GoogleDomainsDns getDefaultInstanceForType()
Returns
TypeDescription
DnsSettings.GoogleDomainsDns

getDsRecords(int index)

public DnsSettings.DsRecord getDsRecords(int index)

Output only. The list of DS records published for this domain. The list is automatically populated when ds_state is DS_RECORDS_PUBLISHED, otherwise it remains empty.

repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.DsRecord

getDsRecordsCount()

public int getDsRecordsCount()

Output only. The list of DS records published for this domain. The list is automatically populated when ds_state is DS_RECORDS_PUBLISHED, otherwise it remains empty.

repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getDsRecordsList()

public List<DnsSettings.DsRecord> getDsRecordsList()

Output only. The list of DS records published for this domain. The list is automatically populated when ds_state is DS_RECORDS_PUBLISHED, otherwise it remains empty.

repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<DsRecord>

getDsRecordsOrBuilder(int index)

public DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index)

Output only. The list of DS records published for this domain. The list is automatically populated when ds_state is DS_RECORDS_PUBLISHED, otherwise it remains empty.

repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.DsRecordOrBuilder

getDsRecordsOrBuilderList()

public List<? extends DnsSettings.DsRecordOrBuilder> getDsRecordsOrBuilderList()

Output only. The list of DS records published for this domain. The list is automatically populated when ds_state is DS_RECORDS_PUBLISHED, otherwise it remains empty.

repeated .google.cloud.domains.v1.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.domains.v1.DnsSettings.DsRecordOrBuilder>

getDsState()

public DnsSettings.DsState getDsState()

Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.

.google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DnsSettings.DsState

The dsState.

getDsStateValue()

public int getDsStateValue()

Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.

.google.cloud.domains.v1.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for dsState.

getNameServers(int index)

public String getNameServers(int index)

Output only. 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. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.

repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The nameServers at the given index.

getNameServersBytes(int index)

public ByteString getNameServersBytes(int index)

Output only. 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. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.

repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the nameServers at the given index.

getNameServersCount()

public int getNameServersCount()

Output only. 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. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.

repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of nameServers.

getNameServersList()

public ProtocolStringList getNameServersList()

Output only. 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. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.

repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the nameServers.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.GoogleDomainsDns.Builder newBuilderForType()
Returns
TypeDescription
DnsSettings.GoogleDomainsDns.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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