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 |
---|
Type | Description |
int | |
DIGEST_FIELD_NUMBER
public static final int DIGEST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DIGEST_TYPE_FIELD_NUMBER
public static final int DIGEST_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KEY_TAG_FIELD_NUMBER
public static final int KEY_TAG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DnsSettings.DsRecord getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DnsSettings.DsRecord.Builder newBuilder()
newBuilder(DnsSettings.DsRecord prototype)
public static DnsSettings.DsRecord.Builder newBuilder(DnsSettings.DsRecord prototype)
parseDelimitedFrom(InputStream input)
public static DnsSettings.DsRecord parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DnsSettings.DsRecord parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DnsSettings.DsRecord parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static DnsSettings.DsRecord parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static DnsSettings.DsRecord parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DnsSettings.DsRecord parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DnsSettings.DsRecord> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAlgorithm()
public DnsSettings.DsRecord.Algorithm getAlgorithm()
The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2;
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()
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 |
---|
Type | Description |
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.v1.DnsSettings.DsRecord.DigestType digest_type = 3;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DnsSettings.DsRecord.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DnsSettings.DsRecord.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DnsSettings.DsRecord.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides