Class DnsSettings.DsRecord.Builder (1.50.0)

public static final class DnsSettings.DsRecord.Builder extends GeneratedMessageV3.Builder<DnsSettings.DsRecord.Builder> 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.v1alpha2.DnsSettings.DsRecord

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DnsSettings.DsRecord.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides

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
Overrides

clearAlgorithm()

public DnsSettings.DsRecord.Builder clearAlgorithm()

The algorithm used to generate the referenced DNSKEY.

.google.cloud.domains.v1alpha2.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.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3;

Returns
Type Description
DnsSettings.DsRecord.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DnsSettings.DsRecord.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public DnsSettings.DsRecord.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides

clone()

public DnsSettings.DsRecord.Builder clone()
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides

getAlgorithm()

public DnsSettings.DsRecord.Algorithm getAlgorithm()

The algorithm used to generate the referenced DNSKEY.

.google.cloud.domains.v1alpha2.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.v1alpha2.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
Overrides

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.v1alpha2.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.v1alpha2.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DnsSettings.DsRecord.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides

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.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2;

Parameter
Name Description
value DnsSettings.DsRecord.Algorithm

The 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.v1alpha2.DnsSettings.DsRecord.Algorithm algorithm = 2;

Parameter
Name Description
value int

The 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 String

The 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 ByteString

The 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.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3;

Parameter
Name Description
value DnsSettings.DsRecord.DigestType

The 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.v1alpha2.DnsSettings.DsRecord.DigestType digest_type = 3;

Parameter
Name Description
value int

The enum numeric value on the wire for digestType to set.

Returns
Type Description
DnsSettings.DsRecord.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DnsSettings.DsRecord.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides

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 int

The keyTag to set.

Returns
Type Description
DnsSettings.DsRecord.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DnsSettings.DsRecord.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DnsSettings.DsRecord.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsSettings.DsRecord.Builder
Overrides