public static final class DnsSettings.DsRecord extends GeneratedMessage implements DnsSettings.DsRecordOrBuilderDefines 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DnsSettings.DsRecordImplements
DnsSettings.DsRecordOrBuilderStatic 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()| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DnsSettings.DsRecord.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
newBuilder(DnsSettings.DsRecord prototype)
public static DnsSettings.DsRecord.Builder newBuilder(DnsSettings.DsRecord prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DnsSettings.DsRecord |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
parseDelimitedFrom(InputStream input)
public static DnsSettings.DsRecord parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DnsSettings.DsRecord parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DnsSettings.DsRecord parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DnsSettings.DsRecord parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DnsSettings.DsRecord parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DnsSettings.DsRecord parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DnsSettings.DsRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DnsSettings.DsRecord> parser()| Returns | |
|---|---|
| Type | Description |
Parser<DsRecord> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAlgorithm()
public DnsSettings.DsRecord.Algorithm getAlgorithm()The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm algorithm = 2;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Algorithm |
The algorithm. |
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 | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
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;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.DigestType |
The digestType. |
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()
public int 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 | |
|---|---|
| Type | Description |
Parser<DsRecord> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DnsSettings.DsRecord.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DnsSettings.DsRecord.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
toBuilder()
public DnsSettings.DsRecord.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|