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.v1.DnsSettings.DsRecord
Static Fields
ALGORITHM_FIELD_NUMBER
public static final int ALGORITHM_FIELD_NUMBER
Field Value
DIGEST_FIELD_NUMBER
public static final int DIGEST_FIELD_NUMBER
Field Value
DIGEST_TYPE_FIELD_NUMBER
public static final int DIGEST_TYPE_FIELD_NUMBER
Field Value
KEY_TAG_FIELD_NUMBER
public static final int KEY_TAG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DnsSettings.DsRecord getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DnsSettings.DsRecord.Builder newBuilder()
Returns
newBuilder(DnsSettings.DsRecord prototype)
public static DnsSettings.DsRecord.Builder newBuilder(DnsSettings.DsRecord prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static DnsSettings.DsRecord parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DnsSettings.DsRecord parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DnsSettings.DsRecord parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static DnsSettings.DsRecord parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static DnsSettings.DsRecord parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DnsSettings.DsRecord parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DnsSettings.DsRecord> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAlgorithm()
public DnsSettings.DsRecord.Algorithm getAlgorithm()
The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2;
Returns
getAlgorithmValue()
public int getAlgorithmValue()
The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for algorithm.
|
getDefaultInstanceForType()
public DnsSettings.DsRecord getDefaultInstanceForType()
Returns
getDigest()
public String getDigest()
The digest generated from the referenced DNSKEY.
string digest = 4;
Returns
Type | Description |
String | The digest.
|
getDigestBytes()
public ByteString getDigestBytes()
The digest generated from the referenced DNSKEY.
string digest = 4;
Returns
getDigestType()
public DnsSettings.DsRecord.DigestType getDigestType()
The hash function used to generate the digest of the referenced DNSKEY.
.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3;
Returns
getDigestTypeValue()
public int getDigestTypeValue()
The hash function used to generate the digest of the referenced DNSKEY.
.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType digest_type = 3;
Returns
Type | Description |
int | The enum numeric value on the wire for digestType.
|
getKeyTag()
The key tag of the record. Must be set in range 0 -- 65535.
int32 key_tag = 1;
Returns
Type | Description |
int | The keyTag.
|
getParserForType()
public Parser<DnsSettings.DsRecord> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DnsSettings.DsRecord.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DnsSettings.DsRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DnsSettings.DsRecord.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions