public static final class DnsSettings.Builder extends GeneratedMessageV3.Builder<DnsSettings.Builder> implements DnsSettingsOrBuilder
Defines the DNS configuration of a Registration
, including name servers,
DNSSEC, and glue records.
Protobuf type google.cloud.domains.v1beta1.DnsSettings
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord>
|
Returns
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.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter
Returns
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.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter
Returns
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.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameters
Returns
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.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameters
Returns
addGlueRecordsBuilder()
public DnsSettings.GlueRecord.Builder addGlueRecordsBuilder()
The list of glue records for this Registration
. Commonly empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Returns
addGlueRecordsBuilder(int index)
public DnsSettings.GlueRecord.Builder addGlueRecordsBuilder(int index)
The list of glue records for this Registration
. Commonly empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DnsSettings build()
Returns
buildPartial()
public DnsSettings buildPartial()
Returns
clear()
public DnsSettings.Builder clear()
Returns
Overrides
clearCustomDns()
public DnsSettings.Builder clearCustomDns()
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Returns
clearDnsProvider()
public DnsSettings.Builder clearDnsProvider()
Returns
clearField(Descriptors.FieldDescriptor field)
public DnsSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGlueRecords()
public DnsSettings.Builder clearGlueRecords()
The list of glue records for this Registration
. Commonly empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Returns
clearGoogleDomainsDns()
public DnsSettings.Builder clearGoogleDomainsDns()
The free DNS zone provided by
Google Domains.
.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public DnsSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DnsSettings.Builder clone()
Returns
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
getCustomDnsBuilder()
public DnsSettings.CustomDns.Builder getCustomDnsBuilder()
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Returns
getCustomDnsOrBuilder()
public DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder()
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Returns
getDefaultInstanceForType()
public DnsSettings getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDnsProviderCase()
public DnsSettings.DnsProviderCase getDnsProviderCase()
Returns
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
Returns
getGlueRecordsBuilder(int index)
public DnsSettings.GlueRecord.Builder getGlueRecordsBuilder(int index)
The list of glue records for this Registration
. Commonly empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter
Returns
getGlueRecordsBuilderList()
public List<DnsSettings.GlueRecord.Builder> getGlueRecordsBuilderList()
The list of glue records for this Registration
. Commonly empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Returns
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
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
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
Returns
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
getGoogleDomainsDnsBuilder()
public DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder()
The free DNS zone provided by
Google Domains.
.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Returns
getGoogleDomainsDnsOrBuilder()
public DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder()
The free DNS zone provided by
Google Domains.
.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCustomDns(DnsSettings.CustomDns value)
public DnsSettings.Builder mergeCustomDns(DnsSettings.CustomDns value)
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Parameter
Returns
mergeFrom(DnsSettings other)
public DnsSettings.Builder mergeFrom(DnsSettings other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DnsSettings.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
public DnsSettings.Builder mergeGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
The free DNS zone provided by
Google Domains.
.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeGlueRecords(int index)
public DnsSettings.Builder removeGlueRecords(int index)
The list of glue records for this Registration
. Commonly empty.
repeated .google.cloud.domains.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameter
Returns
setCustomDns(DnsSettings.CustomDns value)
public DnsSettings.Builder setCustomDns(DnsSettings.CustomDns value)
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Parameter
Returns
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.v1beta1.DnsSettings.CustomDns custom_dns = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameters
Returns
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.v1beta1.DnsSettings.GlueRecord glue_records = 4;
Parameters
Returns
setGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)
The free DNS zone provided by
Google Domains.
.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Parameter
Returns
setGoogleDomainsDns(DnsSettings.GoogleDomainsDns.Builder builderForValue)
public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns.Builder builderForValue)
The free DNS zone provided by
Google Domains.
.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DnsSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides