Class DnsSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DnsSettings.Builder>
com.google.cloud.domains.v1alpha2.DnsSettings.Builder
- All Implemented Interfaces:
DnsSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DnsSettings
public static final class DnsSettings.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllGlueRecords(Iterable<? extends DnsSettings.GlueRecord> values) The list of glue records for this `Registration`.addGlueRecords(int index, DnsSettings.GlueRecord value) The list of glue records for this `Registration`.addGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue) The list of glue records for this `Registration`.The list of glue records for this `Registration`.addGlueRecords(DnsSettings.GlueRecord.Builder builderForValue) The list of glue records for this `Registration`.The list of glue records for this `Registration`.addGlueRecordsBuilder(int index) The list of glue records for this `Registration`.build()clear()An arbitrary DNS provider identified by its name servers.The list of glue records for this `Registration`.The free DNS zone provided by [Google Domains](https://domains.google/).An arbitrary DNS provider identified by its name servers.An arbitrary DNS provider identified by its name servers.An arbitrary DNS provider identified by its name servers.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGlueRecords(int index) The list of glue records for this `Registration`.getGlueRecordsBuilder(int index) The list of glue records for this `Registration`.The list of glue records for this `Registration`.intThe list of glue records for this `Registration`.The list of glue records for this `Registration`.getGlueRecordsOrBuilder(int index) The list of glue records for this `Registration`.List<? extends DnsSettings.GlueRecordOrBuilder>The list of glue records for this `Registration`.The free DNS zone provided by [Google Domains](https://domains.google/).The free DNS zone provided by [Google Domains](https://domains.google/).The free DNS zone provided by [Google Domains](https://domains.google/).booleanAn arbitrary DNS provider identified by its name servers.booleanThe free DNS zone provided by [Google Domains](https://domains.google/).protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAn arbitrary DNS provider identified by its name servers.mergeFrom(DnsSettings other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The free DNS zone provided by [Google Domains](https://domains.google/).removeGlueRecords(int index) The list of glue records for this `Registration`.An arbitrary DNS provider identified by its name servers.setCustomDns(DnsSettings.CustomDns.Builder builderForValue) An arbitrary DNS provider identified by its name servers.setGlueRecords(int index, DnsSettings.GlueRecord value) The list of glue records for this `Registration`.setGlueRecords(int index, DnsSettings.GlueRecord.Builder builderForValue) The list of glue records for this `Registration`.The free DNS zone provided by [Google Domains](https://domains.google/).setGoogleDomainsDns(DnsSettings.GoogleDomainsDns.Builder builderForValue) The free DNS zone provided by [Google Domains](https://domains.google/).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DnsSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DnsSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DnsSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DnsSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DnsSettings.Builder>
-
mergeFrom
public DnsSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DnsSettings.Builder>- Throws:
IOException
-
getDnsProviderCase
- Specified by:
getDnsProviderCasein interfaceDnsSettingsOrBuilder
-
clearDnsProvider
-
hasCustomDns
public boolean hasCustomDns()An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;- Specified by:
hasCustomDnsin interfaceDnsSettingsOrBuilder- Returns:
- Whether the customDns field is set.
-
getCustomDns
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;- Specified by:
getCustomDnsin interfaceDnsSettingsOrBuilder- Returns:
- The customDns.
-
setCustomDns
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; -
setCustomDns
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; -
mergeCustomDns
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; -
clearCustomDns
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; -
getCustomDnsBuilder
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1; -
getCustomDnsOrBuilder
An arbitrary DNS provider identified by its name servers.
.google.cloud.domains.v1alpha2.DnsSettings.CustomDns custom_dns = 1;- Specified by:
getCustomDnsOrBuilderin interfaceDnsSettingsOrBuilder
-
hasGoogleDomainsDns
public boolean hasGoogleDomainsDns()The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;- Specified by:
hasGoogleDomainsDnsin interfaceDnsSettingsOrBuilder- Returns:
- Whether the googleDomainsDns field is set.
-
getGoogleDomainsDns
The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;- Specified by:
getGoogleDomainsDnsin interfaceDnsSettingsOrBuilder- Returns:
- The googleDomainsDns.
-
setGoogleDomainsDns
The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; -
setGoogleDomainsDns
public DnsSettings.Builder setGoogleDomainsDns(DnsSettings.GoogleDomainsDns.Builder builderForValue) The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; -
mergeGoogleDomainsDns
The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; -
clearGoogleDomainsDns
The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; -
getGoogleDomainsDnsBuilder
The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2; -
getGoogleDomainsDnsOrBuilder
The free DNS zone provided by [Google Domains](https://domains.google/).
.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns google_domains_dns = 2;- Specified by:
getGoogleDomainsDnsOrBuilderin interfaceDnsSettingsOrBuilder
-
getGlueRecordsList
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;- Specified by:
getGlueRecordsListin interfaceDnsSettingsOrBuilder
-
getGlueRecordsCount
public int getGlueRecordsCount()The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;- Specified by:
getGlueRecordsCountin interfaceDnsSettingsOrBuilder
-
getGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;- Specified by:
getGlueRecordsin interfaceDnsSettingsOrBuilder
-
setGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
setGlueRecords
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; -
addGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
addGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
addGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
addGlueRecords
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; -
addAllGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
clearGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
removeGlueRecords
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
getGlueRecordsBuilder
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
getGlueRecordsOrBuilder
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;- Specified by:
getGlueRecordsOrBuilderin interfaceDnsSettingsOrBuilder
-
getGlueRecordsOrBuilderList
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;- Specified by:
getGlueRecordsOrBuilderListin interfaceDnsSettingsOrBuilder
-
addGlueRecordsBuilder
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
addGlueRecordsBuilder
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4; -
getGlueRecordsBuilderList
The list of glue records for this `Registration`. Commonly empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.GlueRecord glue_records = 4;
-