Class DnsSettings.Builder (1.36.0)

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.v1.DnsSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.domains.v1.DnsSettings.GlueRecord>
Returns
TypeDescription
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameter
NameDescription
valueDnsSettings.GlueRecord
Returns
TypeDescription
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameter
NameDescription
builderForValueDnsSettings.GlueRecord.Builder
Returns
TypeDescription
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameters
NameDescription
indexint
valueDnsSettings.GlueRecord
Returns
TypeDescription
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameters
NameDescription
indexint
builderForValueDnsSettings.GlueRecord.Builder
Returns
TypeDescription
DnsSettings.Builder

addGlueRecordsBuilder()

public DnsSettings.GlueRecord.Builder addGlueRecordsBuilder()

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

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.GlueRecord.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DnsSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DnsSettings.Builder
Overrides

build()

public DnsSettings build()
Returns
TypeDescription
DnsSettings

buildPartial()

public DnsSettings buildPartial()
Returns
TypeDescription
DnsSettings

clear()

public DnsSettings.Builder clear()
Returns
TypeDescription
DnsSettings.Builder
Overrides

clearCustomDns()

public DnsSettings.Builder clearCustomDns()

An arbitrary DNS provider identified by its name servers.

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

Returns
TypeDescription
DnsSettings.Builder

clearDnsProvider()

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

clearField(Descriptors.FieldDescriptor field)

public DnsSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DnsSettings.Builder
Overrides

clearGlueRecords()

public DnsSettings.Builder clearGlueRecords()

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

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

Returns
TypeDescription
DnsSettings.Builder

clearGoogleDomainsDns()

public DnsSettings.Builder clearGoogleDomainsDns()

The free DNS zone provided by Google Domains.

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

Returns
TypeDescription
DnsSettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DnsSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DnsSettings.Builder
Overrides

clone()

public DnsSettings.Builder clone()
Returns
TypeDescription
DnsSettings.Builder
Overrides

getCustomDns()

public DnsSettings.CustomDns getCustomDns()

An arbitrary DNS provider identified by its name servers.

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

Returns
TypeDescription
DnsSettings.CustomDns

The customDns.

getCustomDnsBuilder()

public DnsSettings.CustomDns.Builder getCustomDnsBuilder()

An arbitrary DNS provider identified by its name servers.

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

Returns
TypeDescription
DnsSettings.CustomDns.Builder

getCustomDnsOrBuilder()

public DnsSettings.CustomDnsOrBuilder getCustomDnsOrBuilder()

An arbitrary DNS provider identified by its name servers.

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

Returns
TypeDescription
DnsSettings.CustomDnsOrBuilder

getDefaultInstanceForType()

public DnsSettings getDefaultInstanceForType()
Returns
TypeDescription
DnsSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.GlueRecord.Builder

getGlueRecordsBuilderList()

public List<DnsSettings.GlueRecord.Builder> getGlueRecordsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getGlueRecordsCount()

public int getGlueRecordsCount()

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

repeated .google.cloud.domains.v1.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.v1.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.v1.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.v1.DnsSettings.GlueRecord glue_records = 4;

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

getGoogleDomainsDns()

public DnsSettings.GoogleDomainsDns getGoogleDomainsDns()

The free DNS zone provided by Google Domains.

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

Returns
TypeDescription
DnsSettings.GoogleDomainsDns

The googleDomainsDns.

getGoogleDomainsDnsBuilder()

public DnsSettings.GoogleDomainsDns.Builder getGoogleDomainsDnsBuilder()

The free DNS zone provided by Google Domains.

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

Returns
TypeDescription
DnsSettings.GoogleDomainsDns.Builder

getGoogleDomainsDnsOrBuilder()

public DnsSettings.GoogleDomainsDnsOrBuilder getGoogleDomainsDnsOrBuilder()

The free DNS zone provided by Google Domains.

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

Returns
TypeDescription
DnsSettings.GoogleDomainsDnsOrBuilder

hasCustomDns()

public boolean hasCustomDns()

An arbitrary DNS provider identified by its name servers.

.google.cloud.domains.v1.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.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;

Returns
TypeDescription
boolean

Whether the googleDomainsDns field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCustomDns(DnsSettings.CustomDns value)

public DnsSettings.Builder mergeCustomDns(DnsSettings.CustomDns value)

An arbitrary DNS provider identified by its name servers.

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

Parameter
NameDescription
valueDnsSettings.CustomDns
Returns
TypeDescription
DnsSettings.Builder

mergeFrom(DnsSettings other)

public DnsSettings.Builder mergeFrom(DnsSettings other)
Parameter
NameDescription
otherDnsSettings
Returns
TypeDescription
DnsSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DnsSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DnsSettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DnsSettings.Builder
Overrides

mergeGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)

public DnsSettings.Builder mergeGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)

The free DNS zone provided by Google Domains.

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

Parameter
NameDescription
valueDnsSettings.GoogleDomainsDns
Returns
TypeDescription
DnsSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DnsSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DnsSettings.Builder
Overrides

removeGlueRecords(int index)

public DnsSettings.Builder removeGlueRecords(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.DnsSettings.CustomDns custom_dns = 1;

Parameter
NameDescription
valueDnsSettings.CustomDns
Returns
TypeDescription
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.v1.DnsSettings.CustomDns custom_dns = 1;

Parameter
NameDescription
builderForValueDnsSettings.CustomDns.Builder
Returns
TypeDescription
DnsSettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DnsSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DnsSettings.Builder
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameters
NameDescription
indexint
valueDnsSettings.GlueRecord
Returns
TypeDescription
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.v1.DnsSettings.GlueRecord glue_records = 4;

Parameters
NameDescription
indexint
builderForValueDnsSettings.GlueRecord.Builder
Returns
TypeDescription
DnsSettings.Builder

setGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)

public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns value)

The free DNS zone provided by Google Domains.

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

Parameter
NameDescription
valueDnsSettings.GoogleDomainsDns
Returns
TypeDescription
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.v1.DnsSettings.GoogleDomainsDns google_domains_dns = 2;

Parameter
NameDescription
builderForValueDnsSettings.GoogleDomainsDns.Builder
Returns
TypeDescription
DnsSettings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DnsSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DnsSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DnsSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DnsSettings.Builder
Overrides