public static final class DnsSettings.CustomDns.Builder extends GeneratedMessageV3.Builder<DnsSettings.CustomDns.Builder> implements DnsSettings.CustomDnsOrBuilder
Configuration for an arbitrary DNS provider.
Protobuf type google.cloud.domains.v1alpha2.DnsSettings.CustomDns
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDsRecords(Iterable<? extends DnsSettings.DsRecord> values)
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord>
|
Returns
addAllNameServers(Iterable<String> values)
public DnsSettings.CustomDns.Builder addAllNameServers(Iterable<String> values)
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];
Parameter
Returns
addDsRecords(DnsSettings.DsRecord value)
public DnsSettings.CustomDns.Builder addDsRecords(DnsSettings.DsRecord value)
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;
Parameter
Returns
addDsRecords(DnsSettings.DsRecord.Builder builderForValue)
public DnsSettings.CustomDns.Builder addDsRecords(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;
Parameter
Returns
addDsRecords(int index, DnsSettings.DsRecord value)
public DnsSettings.CustomDns.Builder addDsRecords(int index, DnsSettings.DsRecord value)
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;
Parameters
Returns
addDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue)
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;
Parameters
Returns
addDsRecordsBuilder()
public DnsSettings.DsRecord.Builder 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;
Returns
addDsRecordsBuilder(int index)
public DnsSettings.DsRecord.Builder addDsRecordsBuilder(int index)
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;
Parameter
Returns
addNameServers(String value)
public DnsSettings.CustomDns.Builder addNameServers(String value)
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];
Parameter
Name | Description |
value | String
The nameServers to add.
|
Returns
addNameServersBytes(ByteString value)
public DnsSettings.CustomDns.Builder addNameServersBytes(ByteString value)
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];
Parameter
Name | Description |
value | ByteString
The bytes of the nameServers to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.CustomDns.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DnsSettings.CustomDns build()
Returns
buildPartial()
public DnsSettings.CustomDns buildPartial()
Returns
clear()
public DnsSettings.CustomDns.Builder clear()
Returns
Overrides
clearDsRecords()
public DnsSettings.CustomDns.Builder 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;
Returns
clearField(Descriptors.FieldDescriptor field)
public DnsSettings.CustomDns.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNameServers()
public DnsSettings.CustomDns.Builder 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
clearOneof(Descriptors.OneofDescriptor oneof)
public DnsSettings.CustomDns.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DnsSettings.CustomDns.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DnsSettings.CustomDns getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDsRecords(int index)
public DnsSettings.DsRecord getDsRecords(int index)
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;
Parameter
Returns
getDsRecordsBuilder(int index)
public DnsSettings.DsRecord.Builder getDsRecordsBuilder(int index)
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;
Parameter
Returns
getDsRecordsBuilderList()
public List<DnsSettings.DsRecord.Builder> 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;
Returns
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;
Returns
getDsRecordsList()
public List<DnsSettings.DsRecord> 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;
Returns
getDsRecordsOrBuilder(int index)
public DnsSettings.DsRecordOrBuilder getDsRecordsOrBuilder(int index)
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;
Parameter
Returns
getDsRecordsOrBuilderList()
public List<? extends DnsSettings.DsRecordOrBuilder> 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;
Returns
Type | Description |
List<? extends com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder> | |
getNameServers(int index)
public String getNameServers(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];
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The nameServers at the given index.
|
getNameServersBytes(int index)
public 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];
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the nameServers at the given index.
|
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];
Returns
Type | Description |
int | The count of nameServers.
|
getNameServersList()
public 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];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DnsSettings.CustomDns other)
public DnsSettings.CustomDns.Builder mergeFrom(DnsSettings.CustomDns other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsSettings.CustomDns.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DnsSettings.CustomDns.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.CustomDns.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDsRecords(int index)
public DnsSettings.CustomDns.Builder removeDsRecords(int index)
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;
Parameter
Returns
setDsRecords(int index, DnsSettings.DsRecord value)
public DnsSettings.CustomDns.Builder setDsRecords(int index, DnsSettings.DsRecord value)
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;
Parameters
Returns
setDsRecords(int index, DnsSettings.DsRecord.Builder builderForValue)
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.CustomDns.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNameServers(int index, String value)
public DnsSettings.CustomDns.Builder setNameServers(int index, String value)
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
Name | Description |
index | int
The index to set the value at.
|
value | String
The nameServers to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DnsSettings.CustomDns.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.CustomDns.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides