Class DnsSettings.DsRecord (0.5.4)

public static final class DnsSettings.DsRecord extends GeneratedMessageV3 implements DnsSettings.DsRecordOrBuilder

Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.

Protobuf type google.cloud.domains.v1beta1.DnsSettings.DsRecord

Static Fields

ALGORITHM_FIELD_NUMBER

public static final int ALGORITHM_FIELD_NUMBER
Field Value
TypeDescription
int

DIGEST_FIELD_NUMBER

public static final int DIGEST_FIELD_NUMBER
Field Value
TypeDescription
int

DIGEST_TYPE_FIELD_NUMBER

public static final int DIGEST_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_TAG_FIELD_NUMBER

public static final int KEY_TAG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(DnsSettings.DsRecord prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAlgorithm()

public DnsSettings.DsRecord.Algorithm getAlgorithm()

The algorithm used to generate the referenced DNSKEY.

.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2;

Returns
TypeDescription
DnsSettings.DsRecord.Algorithm

The algorithm.

getAlgorithmValue()

public int getAlgorithmValue()

The algorithm used to generate the referenced DNSKEY.

.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for algorithm.

getDefaultInstanceForType()

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

getDigest()

public String getDigest()

The digest generated from the referenced DNSKEY.

string digest = 4;

Returns
TypeDescription
String

The digest.

getDigestBytes()

public ByteString getDigestBytes()

The digest generated from the referenced DNSKEY.

string digest = 4;

Returns
TypeDescription
ByteString

The bytes for digest.

getDigestType()

public DnsSettings.DsRecord.DigestType getDigestType()

The hash function used to generate the digest of the referenced DNSKEY.

.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3;

Returns
TypeDescription
DnsSettings.DsRecord.DigestType

The digestType.

getDigestTypeValue()

public int getDigestTypeValue()

The hash function used to generate the digest of the referenced DNSKEY.

.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for digestType.

getKeyTag()

public int getKeyTag()

The key tag of the record. Must be set in range 0 -- 65535.

int32 key_tag = 1;

Returns
TypeDescription
int

The keyTag.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.DsRecord.Builder newBuilderForType()
Returns
TypeDescription
DnsSettings.DsRecord.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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