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.v1alpha2.DnsSettings.GoogleDomainsDns
Static Fields
DS_RECORDS_FIELD_NUMBER
public static final int DS_RECORDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DS_STATE_FIELD_NUMBER
public static final int DS_STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_SERVERS_FIELD_NUMBER
public static final int NAME_SERVERS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DnsSettings.GoogleDomainsDns getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DnsSettings.GoogleDomainsDns.Builder newBuilder()
newBuilder(DnsSettings.GoogleDomainsDns prototype)
public static DnsSettings.GoogleDomainsDns.Builder newBuilder(DnsSettings.GoogleDomainsDns prototype)
parseDelimitedFrom(InputStream input)
public static DnsSettings.GoogleDomainsDns parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GoogleDomainsDns parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DnsSettings.GoogleDomainsDns parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GoogleDomainsDns parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DnsSettings.GoogleDomainsDns parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GoogleDomainsDns parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static DnsSettings.GoogleDomainsDns parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GoogleDomainsDns parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static DnsSettings.GoogleDomainsDns parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GoogleDomainsDns parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DnsSettings.GoogleDomainsDns parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GoogleDomainsDns parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DnsSettings.GoogleDomainsDns> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DnsSettings.GoogleDomainsDns getDefaultInstanceForType()
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.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
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.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
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.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
index | int
|
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.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.domains.v1alpha2.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.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];
getDsStateValue()
public int getDsStateValue()
Required. The state of DS records for this domain. Used to enable or disable
automatic DNSSEC.
.google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
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 |
---|
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()
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 |
---|
Type | Description |
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];
getParserForType()
public Parser<DnsSettings.GoogleDomainsDns> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DnsSettings.GoogleDomainsDns.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DnsSettings.GoogleDomainsDns.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DnsSettings.GoogleDomainsDns.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides