Class DnsSettings.CustomDns.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DnsSettings.CustomDns.Builder>
com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder
- All Implemented Interfaces:
DnsSettings.CustomDnsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DnsSettings.CustomDns
public static final class DnsSettings.CustomDns.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DnsSettings.CustomDns.Builder>
implements DnsSettings.CustomDnsOrBuilder
Configuration for an arbitrary DNS provider.Protobuf type
google.cloud.domains.v1alpha2.DnsSettings.CustomDns-
Method Summary
Modifier and TypeMethodDescriptionaddAllDsRecords(Iterable<? extends DnsSettings.DsRecord> values) The list of DS records for this domain, which are used to enable DNSSEC.addAllNameServers(Iterable<String> values) Required.addDsRecords(int index, DnsSettings.DsRecord value) The list of DS records for this domain, which are used to enable DNSSEC.addDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) The list of DS records for this domain, which are used to enable DNSSEC.addDsRecords(DnsSettings.DsRecord value) The list of DS records for this domain, which are used to enable DNSSEC.addDsRecords(DnsSettings.DsRecord.Builder builderForValue) The list of DS records for this domain, which are used to enable DNSSEC.The list of DS records for this domain, which are used to enable DNSSEC.addDsRecordsBuilder(int index) The list of DS records for this domain, which are used to enable DNSSEC.addNameServers(String value) Required.addNameServersBytes(com.google.protobuf.ByteString value) Required.build()clear()The list of DS records for this domain, which are used to enable DNSSEC.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDsRecords(int index) The list of DS records for this domain, which are used to enable DNSSEC.getDsRecordsBuilder(int index) The list of DS records for this domain, which are used to enable DNSSEC.The list of DS records for this domain, which are used to enable DNSSEC.intThe list of DS records for this domain, which are used to enable DNSSEC.The list of DS records for this domain, which are used to enable DNSSEC.getDsRecordsOrBuilder(int index) The list of DS records for this domain, which are used to enable DNSSEC.List<? extends DnsSettings.DsRecordOrBuilder>The list of DS records for this domain, which are used to enable DNSSEC.getNameServers(int index) Required.com.google.protobuf.ByteStringgetNameServersBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DnsSettings.CustomDns other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDsRecords(int index) The list of DS records for this domain, which are used to enable DNSSEC.setDsRecords(int index, DnsSettings.DsRecord value) The list of DS records for this domain, which are used to enable DNSSEC.setDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) The list of DS records for this domain, which are used to enable DNSSEC.setNameServers(int index, String value) Required.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.CustomDns.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.CustomDns.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.CustomDns.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.CustomDns.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DnsSettings.CustomDns.Builder>
-
mergeFrom
public DnsSettings.CustomDns.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.CustomDns.Builder>- Throws:
IOException
-
getNameServersList
public com.google.protobuf.ProtocolStringList getNameServersList()Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameServersListin interfaceDnsSettings.CustomDnsOrBuilder- Returns:
- A list containing the nameServers.
-
getNameServersCount
public int getNameServersCount()Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameServersCountin interfaceDnsSettings.CustomDnsOrBuilder- Returns:
- The count of nameServers.
-
getNameServers
Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameServersin interfaceDnsSettings.CustomDnsOrBuilder- 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) Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameServersBytesin interfaceDnsSettings.CustomDnsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nameServers at the given index.
-
setNameServers
Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
index- The index to set the value at.value- The nameServers to set.- Returns:
- This builder for chaining.
-
addNameServers
Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The nameServers to add.- Returns:
- This builder for chaining.
-
addAllNameServers
Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
values- The nameServers to add.- Returns:
- This builder for chaining.
-
clearNameServers
Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
addNameServersBytes
Required. 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.
repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes of the nameServers to add.- Returns:
- This builder for chaining.
-
getDsRecordsList
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;- Specified by:
getDsRecordsListin interfaceDnsSettings.CustomDnsOrBuilder
-
getDsRecordsCount
public int getDsRecordsCount()The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;- Specified by:
getDsRecordsCountin interfaceDnsSettings.CustomDnsOrBuilder
-
getDsRecords
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;- Specified by:
getDsRecordsin interfaceDnsSettings.CustomDnsOrBuilder
-
setDsRecords
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
setDsRecords
public DnsSettings.CustomDns.Builder setDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
addDsRecords
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
addDsRecords
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
addDsRecords
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
addDsRecords
public DnsSettings.CustomDns.Builder addDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue) The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
addAllDsRecords
public DnsSettings.CustomDns.Builder addAllDsRecords(Iterable<? extends DnsSettings.DsRecord> values) The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
clearDsRecords
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
removeDsRecords
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
getDsRecordsBuilder
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
getDsRecordsOrBuilder
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;- Specified by:
getDsRecordsOrBuilderin interfaceDnsSettings.CustomDnsOrBuilder
-
getDsRecordsOrBuilderList
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;- Specified by:
getDsRecordsOrBuilderListin interfaceDnsSettings.CustomDnsOrBuilder
-
addDsRecordsBuilder
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
addDsRecordsBuilder
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2; -
getDsRecordsBuilderList
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
repeated .google.cloud.domains.v1alpha2.DnsSettings.DsRecord ds_records = 2;
-