Interface DnsSettings.GlueRecordOrBuilder (0.6.0)

public static interface DnsSettings.GlueRecordOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHostName()

public abstract String getHostName()

Required. Domain name of the host in Punycode format.

string host_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The hostName.

getHostNameBytes()

public abstract ByteString getHostNameBytes()

Required. Domain name of the host in Punycode format.

string host_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for hostName.

getIpv4Addresses(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ipv4Addresses at the given index.

getIpv4AddressesBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ipv4Addresses at the given index.

getIpv4AddressesCount()

public abstract 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;

Returns
TypeDescription
int

The count of ipv4Addresses.

getIpv4AddressesList()

public abstract List<String> 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;

Returns
TypeDescription
List<String>

A list containing the ipv4Addresses.

getIpv6Addresses(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ipv6Addresses at the given index.

getIpv6AddressesBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ipv6Addresses at the given index.

getIpv6AddressesCount()

public abstract 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;

Returns
TypeDescription
int

The count of ipv6Addresses.

getIpv6AddressesList()

public abstract List<String> 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;

Returns
TypeDescription
List<String>

A list containing the ipv6Addresses.