Class DnsSettings.GoogleDomainsDns.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DnsSettings.GoogleDomainsDns.Builder>
com.google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns.Builder
- All Implemented Interfaces:
DnsSettings.GoogleDomainsDnsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DnsSettings.GoogleDomainsDns
public static final class DnsSettings.GoogleDomainsDns.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DnsSettings.GoogleDomainsDns.Builder>
implements DnsSettings.GoogleDomainsDnsOrBuilder
Configuration for using the free DNS zone provided by Google Domains as a `Registration`'s `dns_provider`. You cannot configure the DNS zone itself using the API. To configure the DNS zone, go to [Google Domains](https://domains.google/).Protobuf type
google.cloud.domains.v1alpha2.DnsSettings.GoogleDomainsDns-
Method Summary
Modifier and TypeMethodDescriptionaddAllDsRecords(Iterable<? extends DnsSettings.DsRecord> values) Output only.addAllNameServers(Iterable<String> values) Output only.addDsRecords(int index, DnsSettings.DsRecord value) Output only.addDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) Output only.addDsRecords(DnsSettings.DsRecord value) Output only.addDsRecords(DnsSettings.DsRecord.Builder builderForValue) Output only.Output only.addDsRecordsBuilder(int index) Output only.addNameServers(String value) Output only.addNameServersBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Required.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDsRecords(int index) Output only.getDsRecordsBuilder(int index) Output only.Output only.intOutput only.Output only.getDsRecordsOrBuilder(int index) Output only.List<? extends DnsSettings.DsRecordOrBuilder>Output only.Required.intRequired.getNameServers(int index) Output only.com.google.protobuf.ByteStringgetNameServersBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDsRecords(int index) Output only.setDsRecords(int index, DnsSettings.DsRecord value) Output only.setDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) Output only.setDsState(DnsSettings.DsState value) Required.setDsStateValue(int value) Required.setNameServers(int index, String value) Output only.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.GoogleDomainsDns.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.GoogleDomainsDns.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.GoogleDomainsDns.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.GoogleDomainsDns.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DnsSettings.GoogleDomainsDns.Builder>
-
mergeFrom
public DnsSettings.GoogleDomainsDns.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.GoogleDomainsDns.Builder>- Throws:
IOException
-
getNameServersList
public com.google.protobuf.ProtocolStringList getNameServersList()Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersListin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- A list containing the nameServers.
-
getNameServersCount
public int getNameServersCount()Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersCountin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- The count of nameServers.
-
getNameServers
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The nameServers at the given index.
-
getNameServersBytes
public com.google.protobuf.ByteString getNameServersBytes(int index) Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameServersBytesin interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nameServers at the given index.
-
setNameServers
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The nameServers to set.- Returns:
- This builder for chaining.
-
addNameServers
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The nameServers to add.- Returns:
- This builder for chaining.
-
addAllNameServers
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The nameServers to add.- Returns:
- This builder for chaining.
-
clearNameServers
Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addNameServersBytes
public DnsSettings.GoogleDomainsDns.Builder addNameServersBytes(com.google.protobuf.ByteString value) Output only. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format. This field is automatically populated with the name servers assigned to the Google Domains DNS zone.
repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the nameServers to add.- Returns:
- This builder for chaining.
-
getDsStateValue
public int getDsStateValue()Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
.google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDsStateValuein interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- The enum numeric value on the wire for dsState.
-
setDsStateValue
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
.google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for dsState to set.- Returns:
- This builder for chaining.
-
getDsState
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
.google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDsStatein interfaceDnsSettings.GoogleDomainsDnsOrBuilder- Returns:
- The dsState.
-
setDsState
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
.google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The dsState to set.- Returns:
- This builder for chaining.
-
clearDsState
Required. The state of DS records for this domain. Used to enable or disable automatic DNSSEC.
.google.cloud.domains.v1alpha2.DnsSettings.DsState ds_state = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getDsRecordsList
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsListin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
getDsRecordsCount
public int getDsRecordsCount()Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsCountin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
getDsRecords
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
setDsRecords
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDsRecords
public DnsSettings.GoogleDomainsDns.Builder setDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDsRecords
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDsRecords
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDsRecords
public DnsSettings.GoogleDomainsDns.Builder addDsRecords(DnsSettings.DsRecord.Builder builderForValue) Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDsRecords
public DnsSettings.GoogleDomainsDns.Builder addDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllDsRecords
public DnsSettings.GoogleDomainsDns.Builder addAllDsRecords(Iterable<? extends DnsSettings.DsRecord> values) Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDsRecords
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeDsRecords
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDsRecordsBuilder
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDsRecordsOrBuilder
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsOrBuilderin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
getDsRecordsOrBuilderList
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDsRecordsOrBuilderListin interfaceDnsSettings.GoogleDomainsDnsOrBuilder
-
addDsRecordsBuilder
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addDsRecordsBuilder
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDsRecordsBuilderList
Output only. The list of DS records published for this domain. The list is automatically populated when `ds_state` is `DS_RECORDS_PUBLISHED`, otherwise it remains empty.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-