Class DnsSettings.CustomDns (1.29.0)

public static final class DnsSettings.CustomDns extends GeneratedMessageV3 implements DnsSettings.CustomDnsOrBuilder

Configuration for an arbitrary DNS provider.

Protobuf type google.cloud.domains.v1alpha2.DnsSettings.CustomDns

Static Fields

DS_RECORDS_FIELD_NUMBER

public static final int DS_RECORDS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_SERVERS_FIELD_NUMBER

public static final int NAME_SERVERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DnsSettings.CustomDns getDefaultInstance()
Returns
TypeDescription
DnsSettings.CustomDns

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DnsSettings.CustomDns.Builder newBuilder()
Returns
TypeDescription
DnsSettings.CustomDns.Builder

newBuilder(DnsSettings.CustomDns prototype)

public static DnsSettings.CustomDns.Builder newBuilder(DnsSettings.CustomDns prototype)
Parameter
NameDescription
prototypeDnsSettings.CustomDns
Returns
TypeDescription
DnsSettings.CustomDns.Builder

parseDelimitedFrom(InputStream input)

public static DnsSettings.CustomDns parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings.CustomDns parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DnsSettings.CustomDns parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings.CustomDns parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsSettings.CustomDns parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings.CustomDns parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsSettings.CustomDns parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings.CustomDns parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DnsSettings.CustomDns parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsSettings.CustomDns parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DnsSettings.CustomDns parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsSettings.CustomDns parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsSettings.CustomDns
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DnsSettings.CustomDns> parser()
Returns
TypeDescription
Parser<CustomDns>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DnsSettings.CustomDns getDefaultInstanceForType()
Returns
TypeDescription
DnsSettings.CustomDns

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.v1alpha2.DnsSettings.DsRecord ds_records = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.DsRecord

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.v1alpha2.DnsSettings.DsRecord ds_records = 2;

Returns
TypeDescription
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.v1alpha2.DnsSettings.DsRecord ds_records = 2;

Returns
TypeDescription
List<DsRecord>

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.v1alpha2.DnsSettings.DsRecord ds_records = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DnsSettings.DsRecordOrBuilder

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.v1alpha2.DnsSettings.DsRecord ds_records = 2;

Returns
TypeDescription
List<? extends com.google.cloud.domains.v1alpha2.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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];

Returns
TypeDescription
ProtocolStringList

A list containing the nameServers.

getParserForType()

public Parser<DnsSettings.CustomDns> getParserForType()
Returns
TypeDescription
Parser<CustomDns>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DnsSettings.CustomDns.Builder newBuilderForType()
Returns
TypeDescription
DnsSettings.CustomDns.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsSettings.CustomDns.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DnsSettings.CustomDns.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DnsSettings.CustomDns.Builder toBuilder()
Returns
TypeDescription
DnsSettings.CustomDns.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException