Class DnsSettings.Builder (1.48.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.v1alpha2.DnsSettings

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DnsSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsSettings.Builder
Overrides

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
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DnsSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DnsSettings.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DnsSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DnsSettings.Builder
Overrides

clone()

public DnsSettings.Builder clone()
Returns
Type Description
DnsSettings.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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.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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DnsSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;

Parameter
Name Description
value DnsSettings.GoogleDomainsDns
Returns
Type Description
DnsSettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DnsSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.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

setField(Descriptors.FieldDescriptor field, Object value)

public DnsSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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.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

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

public DnsSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DnsSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DnsSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsSettings.Builder
Overrides