public static final class DnsSettings.Builder extends GeneratedMessage.Builder<DnsSettings.Builder> implements DnsSettingsOrBuilder Defines the DNS configuration of a Registration, including name servers,
DNSSEC, and glue records.
Protobuf type google.cloud.domains.v1alpha2.DnsSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DnsSettings.BuilderImplements
DnsSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGlueRecords(Iterable<? extends DnsSettings.GlueRecord> values)
public DnsSettings.Builder addAllGlueRecords(Iterable<? extends DnsSettings.GlueRecord> values) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord> |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
addGlueRecords(DnsSettings.GlueRecord value)
public DnsSettings.Builder addGlueRecords(DnsSettings.GlueRecord value) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
DnsSettings.GlueRecord |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
addGlueRecords(DnsSettings.GlueRecord.Builder builderForValue)
public DnsSettings.Builder addGlueRecords(DnsSettings.GlueRecord.Builder builderForValue) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DnsSettings.GlueRecord.Builder |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
addGlueRecords(int index, DnsSettings.GlueRecord value)
public DnsSettings.Builder addGlueRecords(int index, DnsSettings.GlueRecord value) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DnsSettings.GlueRecord |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
addGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue)
public DnsSettings.Builder addGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DnsSettings.GlueRecord.Builder |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
addGlueRecordsBuilder()
public DnsSettings.GlueRecord.Builder addGlueRecordsBuilder() The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.GlueRecord.Builder |
|
addGlueRecordsBuilder(int index)
public DnsSettings.GlueRecord.Builder addGlueRecordsBuilder(int index) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.GlueRecord.Builder |
|
build()
public DnsSettings build()| Returns | |
|---|---|
| Type | Description |
DnsSettings |
|
buildPartial()
public DnsSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
DnsSettings |
|
clear()
public DnsSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
clearCustomDns()
public DnsSettings.Builder clearCustomDns()An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
clearDnsProvider()
public DnsSettings.Builder clearDnsProvider()| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
clearGlueRecords()
public DnsSettings.Builder clearGlueRecords() The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
clearGoogleDomainsDns()
public DnsSettings.Builder clearGoogleDomainsDns()The free DNS zone provided by Google Domains.
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
getCustomDns()
public DnsSettings.CustomDns getCustomDns()An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.CustomDns |
The customDns. |
getCustomDnsBuilder()
public DnsSettings.CustomDns.Builder getCustomDnsBuilder()An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.CustomDns.Builder |
|
getCustomDnsOrBuilder()
public DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder()An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.CustomDnsOrBuilder |
|
getDefaultInstanceForType()
public DnsSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DnsSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.GlueRecord |
|
getGlueRecordsBuilder(int index)
public DnsSettings.GlueRecord.Builder getGlueRecordsBuilder(int index) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.GlueRecord.Builder |
|
getGlueRecordsBuilderList()
public List<DnsSettings.GlueRecord.Builder> getGlueRecordsBuilderList() The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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.v1alpha2.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.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
DnsSettings.GoogleDomainsDns |
The googleDomainsDns. |
getGoogleDomainsDnsBuilder()
public DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder()The free DNS zone provided by Google Domains.
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.GoogleDomainsDns.Builder |
|
getGoogleDomainsDnsOrBuilder()
public DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder()The free DNS zone provided by Google Domains.
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.GoogleDomainsDnsOrBuilder |
|
hasCustomDns()
public boolean hasCustomDns()An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.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.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the googleDomainsDns field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomDns(DnsSettings.CustomDns value)
public DnsSettings.Builder mergeCustomDns(DnsSettings.CustomDns value)An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DnsSettings.CustomDns |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
mergeFrom(DnsSettings other)
public DnsSettings.Builder mergeFrom(DnsSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
DnsSettings |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DnsSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
mergeGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
public DnsSettings.Builder mergeGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)The free DNS zone provided by Google Domains.
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DnsSettings.GoogleDomainsDns |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
removeGlueRecords(int index)
public DnsSettings.Builder removeGlueRecords(int index) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
setCustomDns(DnsSettings.CustomDns value)
public DnsSettings.Builder setCustomDns(DnsSettings.CustomDns value)An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DnsSettings.CustomDns |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
setCustomDns(DnsSettings.CustomDns.Builder builderForValue)
public DnsSettings.Builder setCustomDns(DnsSettings.CustomDns.Builder builderForValue)An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DnsSettings.CustomDns.Builder |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
setGlueRecords(int index, DnsSettings.GlueRecord value)
public DnsSettings.Builder setGlueRecords(int index, DnsSettings.GlueRecord value) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DnsSettings.GlueRecord |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
setGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue)
public DnsSettings.Builder setGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue) The list of glue records for this Registration. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DnsSettings.GlueRecord.Builder |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
setGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)The free DNS zone provided by Google Domains.
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DnsSettings.GoogleDomainsDns |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|
setGoogleDomainsDns(DnsSettings.GoogleDomainsDns.Builder builderForValue)
public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns.Builder builderForValue)The free DNS zone provided by Google Domains.
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DnsSettings.GoogleDomainsDns.Builder |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.Builder |
|