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.v1.DnsSettings.CustomDns
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v1.DnsSettings.DsRecord ds_records = 2;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.domains.v1.DnsSettings.DsRecord>
|
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];
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
Parameter |
---|
Name | Description |
index | int
|
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.CustomDns.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DnsSettings.CustomDns build()
buildPartial()
public DnsSettings.CustomDns buildPartial()
clear()
public DnsSettings.CustomDns.Builder clear()
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.v1.DnsSettings.DsRecord ds_records = 2;
clearField(Descriptors.FieldDescriptor field)
public DnsSettings.CustomDns.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public DnsSettings.CustomDns.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DnsSettings.CustomDns.Builder clone()
Overrides
getDefaultInstanceForType()
public DnsSettings.CustomDns getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1.DnsSettings.DsRecord ds_records = 2;
Parameter |
---|
Name | Description |
index | int
|
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.v1.DnsSettings.DsRecord ds_records = 2;
Parameter |
---|
Name | Description |
index | int
|
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
Returns |
---|
Type | Description |
int | |
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
Parameter |
---|
Name | Description |
index | int
|
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.v1.DnsSettings.DsRecord ds_records = 2;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.domains.v1.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];
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DnsSettings.CustomDns other)
public DnsSettings.CustomDns.Builder mergeFrom(DnsSettings.CustomDns other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsSettings.CustomDns.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DnsSettings.CustomDns.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.CustomDns.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1.DnsSettings.DsRecord ds_records = 2;
Parameter |
---|
Name | Description |
index | int
|
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.v1.DnsSettings.DsRecord ds_records = 2;
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.v1.DnsSettings.DsRecord ds_records = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.CustomDns.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DnsSettings.CustomDns.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.CustomDns.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides