public static final class DnsSettings.DsRecord.Builder extends GeneratedMessage.Builder<DnsSettings.DsRecord.Builder> 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.v1beta1.DnsSettings.DsRecord
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DnsSettings.DsRecord.BuilderImplements
DnsSettings.DsRecordOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DnsSettings.DsRecord build()| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
buildPartial()
public DnsSettings.DsRecord buildPartial()| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord |
|
clear()
public DnsSettings.DsRecord.Builder clear()| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
clearAlgorithm()
public DnsSettings.DsRecord.Builder clearAlgorithm()The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
clearDigest()
public DnsSettings.DsRecord.Builder clearDigest()The digest generated from the referenced DNSKEY.
string digest = 4;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
clearDigestType()
public DnsSettings.DsRecord.Builder clearDigestType()The hash function used to generate the digest of the referenced DNSKEY.
.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
clearKeyTag()
public DnsSettings.DsRecord.Builder clearKeyTag()The key tag of the record. Must be set in range 0 -- 65535.
int32 key_tag = 1;
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
getAlgorithm()
public DnsSettings.DsRecord.Algorithm getAlgorithm()The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1beta1.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.v1beta1.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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.v1beta1.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.v1beta1.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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DnsSettings.DsRecord other)
public DnsSettings.DsRecord.Builder mergeFrom(DnsSettings.DsRecord other)| Parameter | |
|---|---|
| Name | Description |
other |
DnsSettings.DsRecord |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsSettings.DsRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DnsSettings.DsRecord.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
|
setAlgorithm(DnsSettings.DsRecord.Algorithm value)
public DnsSettings.DsRecord.Builder setAlgorithm(DnsSettings.DsRecord.Algorithm value)The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DnsSettings.DsRecord.AlgorithmThe algorithm to set. |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
setAlgorithmValue(int value)
public DnsSettings.DsRecord.Builder setAlgorithmValue(int value)The algorithm used to generate the referenced DNSKEY.
.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm algorithm = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for algorithm to set. |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
setDigest(String value)
public DnsSettings.DsRecord.Builder setDigest(String value)The digest generated from the referenced DNSKEY.
string digest = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe digest to set. |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
setDigestBytes(ByteString value)
public DnsSettings.DsRecord.Builder setDigestBytes(ByteString value)The digest generated from the referenced DNSKEY.
string digest = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for digest to set. |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
setDigestType(DnsSettings.DsRecord.DigestType value)
public DnsSettings.DsRecord.Builder setDigestType(DnsSettings.DsRecord.DigestType value)The hash function used to generate the digest of the referenced DNSKEY.
.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DnsSettings.DsRecord.DigestTypeThe digestType to set. |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
setDigestTypeValue(int value)
public DnsSettings.DsRecord.Builder setDigestTypeValue(int value)The hash function used to generate the digest of the referenced DNSKEY.
.google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType digest_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for digestType to set. |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |
setKeyTag(int value)
public DnsSettings.DsRecord.Builder setKeyTag(int value)The key tag of the record. Must be set in range 0 -- 65535.
int32 key_tag = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe keyTag to set. |
| Returns | |
|---|---|
| Type | Description |
DnsSettings.DsRecord.Builder |
This builder for chaining. |