- 1.50.0 (latest)
- 1.49.0
- 1.48.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.6
- 0.7.0
- 0.6.1
- 0.5.4
public static final class DnsSettings.GlueRecord extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DnsSettings.GlueRecordImplements
DnsSettings.GlueRecordOrBuilderStatic Fields
HOST_NAME_FIELD_NUMBER
public static final int HOST_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IPV4_ADDRESSES_FIELD_NUMBER
public static final int IPV4_ADDRESSES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IPV6_ADDRESSES_FIELD_NUMBER
public static final int IPV6_ADDRESSES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DnsSettings.GlueRecord getDefaultInstance()
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DnsSettings.GlueRecord.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord.Builder |
newBuilder(DnsSettings.GlueRecord prototype)
public static DnsSettings.GlueRecord.Builder newBuilder(DnsSettings.GlueRecord prototype)
Parameter | |
---|---|
Name | Description |
prototype | DnsSettings.GlueRecord |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord.Builder |
parseDelimitedFrom(InputStream input)
public static DnsSettings.GlueRecord parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GlueRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DnsSettings.GlueRecord parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GlueRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DnsSettings.GlueRecord parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GlueRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DnsSettings.GlueRecord parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GlueRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static DnsSettings.GlueRecord parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GlueRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DnsSettings.GlueRecord parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.GlueRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DnsSettings.GlueRecord> parser()
Returns | |
---|---|
Type | Description |
Parser<GlueRecord> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public DnsSettings.GlueRecord getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord |
getHostName()
public String getHostName()
Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the ipv6Addresses. |
getParserForType()
public Parser<DnsSettings.GlueRecord> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<GlueRecord> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public DnsSettings.GlueRecord.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DnsSettings.GlueRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public DnsSettings.GlueRecord.Builder toBuilder()
Returns | |
---|---|
Type | Description |
DnsSettings.GlueRecord.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |