public static final class DnsSettings.GlueRecord.Builder extends GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder> implements DnsSettings.GlueRecordOrBuilder Defines a host on your domain that is a DNS name server for your domain
and/or other domains. Glue records are a way of making the IP address of a
name server known, even when it serves DNS queries for its parent domain.
For example, when ns.example.com is a name server for example.com, the
host ns.example.com must have a glue record to break the circular DNS
reference.
Protobuf type google.cloud.domains.v1.DnsSettings.GlueRecord
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DnsSettings.GlueRecord.BuilderImplements
DnsSettings.GlueRecordOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllIpv4Addresses(Iterable<String> values)
public DnsSettings.GlueRecord.Builder addAllIpv4Addresses(Iterable<String> values) List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Name | Description |
| values | Iterable<String>The ipv4Addresses to add. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
addAllIpv6Addresses(Iterable<String> values)
public DnsSettings.GlueRecord.Builder addAllIpv6Addresses(Iterable<String> values) List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Name | Description |
| values | Iterable<String>The ipv6Addresses to add. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
addIpv4Addresses(String value)
public DnsSettings.GlueRecord.Builder addIpv4Addresses(String value) List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Name | Description |
| value | StringThe ipv4Addresses to add. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
addIpv4AddressesBytes(ByteString value)
public DnsSettings.GlueRecord.Builder addIpv4AddressesBytes(ByteString value) List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Name | Description |
| value | ByteStringThe bytes of the ipv4Addresses to add. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
addIpv6Addresses(String value)
public DnsSettings.GlueRecord.Builder addIpv6Addresses(String value) List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Name | Description |
| value | StringThe ipv6Addresses to add. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
addIpv6AddressesBytes(ByteString value)
public DnsSettings.GlueRecord.Builder addIpv6AddressesBytes(ByteString value) List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Name | Description |
| value | ByteStringThe bytes of the ipv6Addresses to add. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.GlueRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
build()
public DnsSettings.GlueRecord build()| Type | Description |
| DnsSettings.GlueRecord |
buildPartial()
public DnsSettings.GlueRecord buildPartial()| Type | Description |
| DnsSettings.GlueRecord |
clear()
public DnsSettings.GlueRecord.Builder clear()| Type | Description |
| DnsSettings.GlueRecord.Builder |
clearField(Descriptors.FieldDescriptor field)
public DnsSettings.GlueRecord.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
clearHostName()
public DnsSettings.GlueRecord.Builder clearHostName()Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
clearIpv4Addresses()
public DnsSettings.GlueRecord.Builder clearIpv4Addresses() List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
clearIpv6Addresses()
public DnsSettings.GlueRecord.Builder clearIpv6Addresses() List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DnsSettings.GlueRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
clone()
public DnsSettings.GlueRecord.Builder clone()| Type | Description |
| DnsSettings.GlueRecord.Builder |
getDefaultInstanceForType()
public DnsSettings.GlueRecord getDefaultInstanceForType()| Type | Description |
| DnsSettings.GlueRecord |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getHostName()
public String getHostName()Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The hostName. |
getHostNameBytes()
public ByteString getHostNameBytes()Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| ByteString | The bytes for hostName. |
getIpv4Addresses(int index)
public String getIpv4Addresses(int index) List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The ipv4Addresses at the given index. |
getIpv4AddressesBytes(int index)
public ByteString getIpv4AddressesBytes(int index) List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the ipv4Addresses at the given index. |
getIpv4AddressesCount()
public int getIpv4AddressesCount() List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Type | Description |
| int | The count of ipv4Addresses. |
getIpv4AddressesList()
public ProtocolStringList getIpv4AddressesList() List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Type | Description |
| ProtocolStringList | A list containing the ipv4Addresses. |
getIpv6Addresses(int index)
public String getIpv6Addresses(int index) List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The ipv6Addresses at the given index. |
getIpv6AddressesBytes(int index)
public ByteString getIpv6AddressesBytes(int index) List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the ipv6Addresses at the given index. |
getIpv6AddressesCount()
public int getIpv6AddressesCount() List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Type | Description |
| int | The count of ipv6Addresses. |
getIpv6AddressesList()
public ProtocolStringList getIpv6AddressesList() List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Type | Description |
| ProtocolStringList | A list containing the ipv6Addresses. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(DnsSettings.GlueRecord other)
public DnsSettings.GlueRecord.Builder mergeFrom(DnsSettings.GlueRecord other)| Name | Description |
| other | DnsSettings.GlueRecord |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsSettings.GlueRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public DnsSettings.GlueRecord.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.GlueRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DnsSettings.GlueRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
setHostName(String value)
public DnsSettings.GlueRecord.Builder setHostName(String value)Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | StringThe hostName to set. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
setHostNameBytes(ByteString value)
public DnsSettings.GlueRecord.Builder setHostNameBytes(ByteString value)Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
| value | ByteStringThe bytes for hostName to set. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
setIpv4Addresses(int index, String value)
public DnsSettings.GlueRecord.Builder setIpv4Addresses(int index, String value) List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
repeated string ipv4_addresses = 2;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe ipv4Addresses to set. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
setIpv6Addresses(int index, String value)
public DnsSettings.GlueRecord.Builder setIpv6Addresses(int index, String value) List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
repeated string ipv6_addresses = 3;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe ipv6Addresses to set. |
| Type | Description |
| DnsSettings.GlueRecord.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DnsSettings.GlueRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| DnsSettings.GlueRecord.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DnsSettings.GlueRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| DnsSettings.GlueRecord.Builder |