public static final class DnsSettings.GlueRecord.Builder extends com.google.protobuf.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.v1alpha2.DnsSettings.GlueRecord| Modifier and Type | Method and Description |
|---|---|
DnsSettings.GlueRecord.Builder |
addAllIpv4Addresses(Iterable<String> values)
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
DnsSettings.GlueRecord.Builder |
addAllIpv6Addresses(Iterable<String> values)
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
DnsSettings.GlueRecord.Builder |
addIpv4Addresses(String value)
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
DnsSettings.GlueRecord.Builder |
addIpv4AddressesBytes(com.google.protobuf.ByteString value)
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
DnsSettings.GlueRecord.Builder |
addIpv6Addresses(String value)
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
DnsSettings.GlueRecord.Builder |
addIpv6AddressesBytes(com.google.protobuf.ByteString value)
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
DnsSettings.GlueRecord.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DnsSettings.GlueRecord |
build() |
DnsSettings.GlueRecord |
buildPartial() |
DnsSettings.GlueRecord.Builder |
clear() |
DnsSettings.GlueRecord.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DnsSettings.GlueRecord.Builder |
clearHostName()
Required.
|
DnsSettings.GlueRecord.Builder |
clearIpv4Addresses()
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
DnsSettings.GlueRecord.Builder |
clearIpv6Addresses()
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
DnsSettings.GlueRecord.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DnsSettings.GlueRecord.Builder |
clone() |
DnsSettings.GlueRecord |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostName()
Required.
|
com.google.protobuf.ByteString |
getHostNameBytes()
Required.
|
String |
getIpv4Addresses(int index)
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
com.google.protobuf.ByteString |
getIpv4AddressesBytes(int index)
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
int |
getIpv4AddressesCount()
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
com.google.protobuf.ProtocolStringList |
getIpv4AddressesList()
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
String |
getIpv6Addresses(int index)
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
com.google.protobuf.ByteString |
getIpv6AddressesBytes(int index)
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
int |
getIpv6AddressesCount()
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
com.google.protobuf.ProtocolStringList |
getIpv6AddressesList()
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DnsSettings.GlueRecord.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DnsSettings.GlueRecord.Builder |
mergeFrom(DnsSettings.GlueRecord other) |
DnsSettings.GlueRecord.Builder |
mergeFrom(com.google.protobuf.Message other) |
DnsSettings.GlueRecord.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DnsSettings.GlueRecord.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DnsSettings.GlueRecord.Builder |
setHostName(String value)
Required.
|
DnsSettings.GlueRecord.Builder |
setHostNameBytes(com.google.protobuf.ByteString value)
Required.
|
DnsSettings.GlueRecord.Builder |
setIpv4Addresses(int index,
String value)
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g.
|
DnsSettings.GlueRecord.Builder |
setIpv6Addresses(int index,
String value)
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g.
|
DnsSettings.GlueRecord.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DnsSettings.GlueRecord.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DnsSettings.GlueRecord build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DnsSettings.GlueRecord buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DnsSettings.GlueRecord.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder mergeFrom(DnsSettings.GlueRecord other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public DnsSettings.GlueRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DnsSettings.GlueRecord.Builder>IOExceptionpublic String getHostName()
Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];getHostName in interface DnsSettings.GlueRecordOrBuilderpublic com.google.protobuf.ByteString getHostNameBytes()
Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];getHostNameBytes in interface DnsSettings.GlueRecordOrBuilderpublic DnsSettings.GlueRecord.Builder setHostName(String value)
Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];value - The hostName to set.public DnsSettings.GlueRecord.Builder clearHostName()
Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];public DnsSettings.GlueRecord.Builder setHostNameBytes(com.google.protobuf.ByteString value)
Required. Domain name of the host in Punycode format.
string host_name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for hostName to set.public com.google.protobuf.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;getIpv4AddressesList in interface DnsSettings.GlueRecordOrBuilderpublic 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;getIpv4AddressesCount in interface DnsSettings.GlueRecordOrBuilderpublic 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;getIpv4Addresses in interface DnsSettings.GlueRecordOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getIpv4AddressesBytes in interface DnsSettings.GlueRecordOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The ipv4Addresses to set.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;value - The ipv4Addresses to add.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;values - The ipv4Addresses to add.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;public DnsSettings.GlueRecord.Builder addIpv4AddressesBytes(com.google.protobuf.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;value - The bytes of the ipv4Addresses to add.public com.google.protobuf.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;getIpv6AddressesList in interface DnsSettings.GlueRecordOrBuilderpublic 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;getIpv6AddressesCount in interface DnsSettings.GlueRecordOrBuilderpublic 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;getIpv6Addresses in interface DnsSettings.GlueRecordOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getIpv6AddressesBytes in interface DnsSettings.GlueRecordOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The ipv6Addresses to set.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;value - The ipv6Addresses to add.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;values - The ipv6Addresses to add.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;public DnsSettings.GlueRecord.Builder addIpv6AddressesBytes(com.google.protobuf.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;value - The bytes of the ipv6Addresses to add.public final DnsSettings.GlueRecord.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>public final DnsSettings.GlueRecord.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DnsSettings.GlueRecord.Builder>Copyright © 2023 Google LLC. All rights reserved.