Enum DnsSettings.DsRecord.Algorithm
java.lang.Object
java.lang.Enum<DnsSettings.DsRecord.Algorithm>
com.google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DnsSettings.DsRecord.Algorithm>
- Enclosing class:
- DnsSettings.DsRecord
public static enum DnsSettings.DsRecord.Algorithm
extends Enum<DnsSettings.DsRecord.Algorithm>
implements com.google.protobuf.ProtocolMessageEnum
List of algorithms used to create a DNSKEY. Certain algorithms are not supported for particular domains.Protobuf enum
google.cloud.domains.v1alpha2.DnsSettings.DsRecord.Algorithm-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe algorithm is unspecified.Diffie-Hellman.DSA/SHA1.DSA-NSEC3-SHA1.ECC.GOST R 34.10-2001.ECDSA Curve P-256 with SHA-256.ECDSA Curve P-384 with SHA-384.Ed25519.Ed448.Reserved for Indirect Keys.Private algorithm.Private algorithm OID.RSA/MD5.RSA/SHA-1.RSA/SHA1-NSEC3-SHA1.RSA/SHA-256.RSA/SHA-512. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe algorithm is unspecified.static final intDiffie-Hellman.static final intDSA/SHA1.static final intDSA-NSEC3-SHA1.static final intECC.static final intGOST R 34.10-2001.static final intECDSA Curve P-256 with SHA-256.static final intECDSA Curve P-384 with SHA-384.static final intEd25519.static final intEd448.static final intReserved for Indirect Keys.static final intPrivate algorithm.static final intPrivate algorithm OID.static final intRSA/MD5.static final intRSA/SHA-1.static final intRSA/SHA1-NSEC3-SHA1.static final intRSA/SHA-256.static final intRSA/SHA-512. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DnsSettings.DsRecord.Algorithm>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static DnsSettings.DsRecord.Algorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALGORITHM_UNSPECIFIED
The algorithm is unspecified.
ALGORITHM_UNSPECIFIED = 0; -
RSAMD5
RSA/MD5. Cannot be used for new deployments.
RSAMD5 = 1; -
DH
Diffie-Hellman. Cannot be used for new deployments.
DH = 2; -
DSA
DSA/SHA1. Not recommended for new deployments.
DSA = 3; -
ECC
ECC. Not recommended for new deployments.
ECC = 4; -
RSASHA1
RSA/SHA-1. Not recommended for new deployments.
RSASHA1 = 5; -
DSANSEC3SHA1
DSA-NSEC3-SHA1. Not recommended for new deployments.
DSANSEC3SHA1 = 6; -
RSASHA1NSEC3SHA1
RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
RSASHA1NSEC3SHA1 = 7; -
RSASHA256
RSA/SHA-256.
RSASHA256 = 8; -
RSASHA512
RSA/SHA-512.
RSASHA512 = 10; -
ECCGOST
GOST R 34.10-2001.
ECCGOST = 12; -
ECDSAP256SHA256
ECDSA Curve P-256 with SHA-256.
ECDSAP256SHA256 = 13; -
ECDSAP384SHA384
ECDSA Curve P-384 with SHA-384.
ECDSAP384SHA384 = 14; -
ED25519
Ed25519.
ED25519 = 15; -
ED448
Ed448.
ED448 = 16; -
INDIRECT
Reserved for Indirect Keys. Cannot be used for new deployments.
INDIRECT = 252; -
PRIVATEDNS
Private algorithm. Cannot be used for new deployments.
PRIVATEDNS = 253; -
PRIVATEOID
Private algorithm OID. Cannot be used for new deployments.
PRIVATEOID = 254; -
UNRECOGNIZED
-
-
Field Details
-
ALGORITHM_UNSPECIFIED_VALUE
public static final int ALGORITHM_UNSPECIFIED_VALUEThe algorithm is unspecified.
ALGORITHM_UNSPECIFIED = 0;- See Also:
-
RSAMD5_VALUE
public static final int RSAMD5_VALUERSA/MD5. Cannot be used for new deployments.
RSAMD5 = 1;- See Also:
-
DH_VALUE
public static final int DH_VALUEDiffie-Hellman. Cannot be used for new deployments.
DH = 2;- See Also:
-
DSA_VALUE
public static final int DSA_VALUEDSA/SHA1. Not recommended for new deployments.
DSA = 3;- See Also:
-
ECC_VALUE
public static final int ECC_VALUEECC. Not recommended for new deployments.
ECC = 4;- See Also:
-
RSASHA1_VALUE
public static final int RSASHA1_VALUERSA/SHA-1. Not recommended for new deployments.
RSASHA1 = 5;- See Also:
-
DSANSEC3SHA1_VALUE
public static final int DSANSEC3SHA1_VALUEDSA-NSEC3-SHA1. Not recommended for new deployments.
DSANSEC3SHA1 = 6;- See Also:
-
RSASHA1NSEC3SHA1_VALUE
public static final int RSASHA1NSEC3SHA1_VALUERSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
RSASHA1NSEC3SHA1 = 7;- See Also:
-
RSASHA256_VALUE
public static final int RSASHA256_VALUERSA/SHA-256.
RSASHA256 = 8;- See Also:
-
RSASHA512_VALUE
public static final int RSASHA512_VALUERSA/SHA-512.
RSASHA512 = 10;- See Also:
-
ECCGOST_VALUE
public static final int ECCGOST_VALUEGOST R 34.10-2001.
ECCGOST = 12;- See Also:
-
ECDSAP256SHA256_VALUE
public static final int ECDSAP256SHA256_VALUEECDSA Curve P-256 with SHA-256.
ECDSAP256SHA256 = 13;- See Also:
-
ECDSAP384SHA384_VALUE
public static final int ECDSAP384SHA384_VALUEECDSA Curve P-384 with SHA-384.
ECDSAP384SHA384 = 14;- See Also:
-
ED25519_VALUE
public static final int ED25519_VALUEEd25519.
ED25519 = 15;- See Also:
-
ED448_VALUE
public static final int ED448_VALUEEd448.
ED448 = 16;- See Also:
-
INDIRECT_VALUE
public static final int INDIRECT_VALUEReserved for Indirect Keys. Cannot be used for new deployments.
INDIRECT = 252;- See Also:
-
PRIVATEDNS_VALUE
public static final int PRIVATEDNS_VALUEPrivate algorithm. Cannot be used for new deployments.
PRIVATEDNS = 253;- See Also:
-
PRIVATEOID_VALUE
public static final int PRIVATEOID_VALUEPrivate algorithm OID. Cannot be used for new deployments.
PRIVATEOID = 254;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<DnsSettings.DsRecord.Algorithm> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static DnsSettings.DsRecord.Algorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-