Package com.google.cloud.domains.v1beta1
Enum DnsSettings.DsRecord.Algorithm
- java.lang.Object
-
- java.lang.Enum<DnsSettings.DsRecord.Algorithm>
-
- com.google.cloud.domains.v1beta1.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 enumgoogle.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALGORITHM_UNSPECIFIED
The algorithm is unspecified.DH
Diffie-Hellman.DSA
DSA/SHA1.DSANSEC3SHA1
DSA-NSEC3-SHA1.ECC
ECC.ECCGOST
GOST R 34.10-2001.ECDSAP256SHA256
ECDSA Curve P-256 with SHA-256.ECDSAP384SHA384
ECDSA Curve P-384 with SHA-384.ED25519
Ed25519.ED448
Ed448.INDIRECT
Reserved for Indirect Keys.PRIVATEDNS
Private algorithm.PRIVATEOID
Private algorithm OID.RSAMD5
RSA/MD5.RSASHA1
RSA/SHA-1.RSASHA1NSEC3SHA1
RSA/SHA1-NSEC3-SHA1.RSASHA256
RSA/SHA-256.RSASHA512
RSA/SHA-512.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ALGORITHM_UNSPECIFIED_VALUE
The algorithm is unspecified.static int
DH_VALUE
Diffie-Hellman.static int
DSA_VALUE
DSA/SHA1.static int
DSANSEC3SHA1_VALUE
DSA-NSEC3-SHA1.static int
ECC_VALUE
ECC.static int
ECCGOST_VALUE
GOST R 34.10-2001.static int
ECDSAP256SHA256_VALUE
ECDSA Curve P-256 with SHA-256.static int
ECDSAP384SHA384_VALUE
ECDSA Curve P-384 with SHA-384.static int
ED25519_VALUE
Ed25519.static int
ED448_VALUE
Ed448.static int
INDIRECT_VALUE
Reserved for Indirect Keys.static int
PRIVATEDNS_VALUE
Private algorithm.static int
PRIVATEOID_VALUE
Private algorithm OID.static int
RSAMD5_VALUE
RSA/MD5.static int
RSASHA1_VALUE
RSA/SHA-1.static int
RSASHA1NSEC3SHA1_VALUE
RSA/SHA1-NSEC3-SHA1.static int
RSASHA256_VALUE
RSA/SHA-256.static int
RSASHA512_VALUE
RSA/SHA-512.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DnsSettings.DsRecord.Algorithm
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<DnsSettings.DsRecord.Algorithm>
internalGetValueMap()
static DnsSettings.DsRecord.Algorithm
valueOf(int value)
Deprecated.static DnsSettings.DsRecord.Algorithm
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static DnsSettings.DsRecord.Algorithm
valueOf(String 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 Detail
-
ALGORITHM_UNSPECIFIED
public static final DnsSettings.DsRecord.Algorithm ALGORITHM_UNSPECIFIED
The algorithm is unspecified.
ALGORITHM_UNSPECIFIED = 0;
-
RSAMD5
public static final DnsSettings.DsRecord.Algorithm RSAMD5
RSA/MD5. Cannot be used for new deployments.
RSAMD5 = 1;
-
DH
public static final DnsSettings.DsRecord.Algorithm DH
Diffie-Hellman. Cannot be used for new deployments.
DH = 2;
-
DSA
public static final DnsSettings.DsRecord.Algorithm DSA
DSA/SHA1. Not recommended for new deployments.
DSA = 3;
-
ECC
public static final DnsSettings.DsRecord.Algorithm ECC
ECC. Not recommended for new deployments.
ECC = 4;
-
RSASHA1
public static final DnsSettings.DsRecord.Algorithm RSASHA1
RSA/SHA-1. Not recommended for new deployments.
RSASHA1 = 5;
-
DSANSEC3SHA1
public static final DnsSettings.DsRecord.Algorithm DSANSEC3SHA1
DSA-NSEC3-SHA1. Not recommended for new deployments.
DSANSEC3SHA1 = 6;
-
RSASHA1NSEC3SHA1
public static final DnsSettings.DsRecord.Algorithm RSASHA1NSEC3SHA1
RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
RSASHA1NSEC3SHA1 = 7;
-
RSASHA256
public static final DnsSettings.DsRecord.Algorithm RSASHA256
RSA/SHA-256.
RSASHA256 = 8;
-
RSASHA512
public static final DnsSettings.DsRecord.Algorithm RSASHA512
RSA/SHA-512.
RSASHA512 = 10;
-
ECCGOST
public static final DnsSettings.DsRecord.Algorithm ECCGOST
GOST R 34.10-2001.
ECCGOST = 12;
-
ECDSAP256SHA256
public static final DnsSettings.DsRecord.Algorithm ECDSAP256SHA256
ECDSA Curve P-256 with SHA-256.
ECDSAP256SHA256 = 13;
-
ECDSAP384SHA384
public static final DnsSettings.DsRecord.Algorithm ECDSAP384SHA384
ECDSA Curve P-384 with SHA-384.
ECDSAP384SHA384 = 14;
-
ED25519
public static final DnsSettings.DsRecord.Algorithm ED25519
Ed25519.
ED25519 = 15;
-
ED448
public static final DnsSettings.DsRecord.Algorithm ED448
Ed448.
ED448 = 16;
-
INDIRECT
public static final DnsSettings.DsRecord.Algorithm INDIRECT
Reserved for Indirect Keys. Cannot be used for new deployments.
INDIRECT = 252;
-
PRIVATEDNS
public static final DnsSettings.DsRecord.Algorithm PRIVATEDNS
Private algorithm. Cannot be used for new deployments.
PRIVATEDNS = 253;
-
PRIVATEOID
public static final DnsSettings.DsRecord.Algorithm PRIVATEOID
Private algorithm OID. Cannot be used for new deployments.
PRIVATEOID = 254;
-
UNRECOGNIZED
public static final DnsSettings.DsRecord.Algorithm UNRECOGNIZED
-
-
Field Detail
-
ALGORITHM_UNSPECIFIED_VALUE
public static final int ALGORITHM_UNSPECIFIED_VALUE
The algorithm is unspecified.
ALGORITHM_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
RSAMD5_VALUE
public static final int RSAMD5_VALUE
RSA/MD5. Cannot be used for new deployments.
RSAMD5 = 1;
- See Also:
- Constant Field Values
-
DH_VALUE
public static final int DH_VALUE
Diffie-Hellman. Cannot be used for new deployments.
DH = 2;
- See Also:
- Constant Field Values
-
DSA_VALUE
public static final int DSA_VALUE
DSA/SHA1. Not recommended for new deployments.
DSA = 3;
- See Also:
- Constant Field Values
-
ECC_VALUE
public static final int ECC_VALUE
ECC. Not recommended for new deployments.
ECC = 4;
- See Also:
- Constant Field Values
-
RSASHA1_VALUE
public static final int RSASHA1_VALUE
RSA/SHA-1. Not recommended for new deployments.
RSASHA1 = 5;
- See Also:
- Constant Field Values
-
DSANSEC3SHA1_VALUE
public static final int DSANSEC3SHA1_VALUE
DSA-NSEC3-SHA1. Not recommended for new deployments.
DSANSEC3SHA1 = 6;
- See Also:
- Constant Field Values
-
RSASHA1NSEC3SHA1_VALUE
public static final int RSASHA1NSEC3SHA1_VALUE
RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
RSASHA1NSEC3SHA1 = 7;
- See Also:
- Constant Field Values
-
RSASHA256_VALUE
public static final int RSASHA256_VALUE
RSA/SHA-256.
RSASHA256 = 8;
- See Also:
- Constant Field Values
-
RSASHA512_VALUE
public static final int RSASHA512_VALUE
RSA/SHA-512.
RSASHA512 = 10;
- See Also:
- Constant Field Values
-
ECCGOST_VALUE
public static final int ECCGOST_VALUE
GOST R 34.10-2001.
ECCGOST = 12;
- See Also:
- Constant Field Values
-
ECDSAP256SHA256_VALUE
public static final int ECDSAP256SHA256_VALUE
ECDSA Curve P-256 with SHA-256.
ECDSAP256SHA256 = 13;
- See Also:
- Constant Field Values
-
ECDSAP384SHA384_VALUE
public static final int ECDSAP384SHA384_VALUE
ECDSA Curve P-384 with SHA-384.
ECDSAP384SHA384 = 14;
- See Also:
- Constant Field Values
-
ED25519_VALUE
public static final int ED25519_VALUE
Ed25519.
ED25519 = 15;
- See Also:
- Constant Field Values
-
ED448_VALUE
public static final int ED448_VALUE
Ed448.
ED448 = 16;
- See Also:
- Constant Field Values
-
INDIRECT_VALUE
public static final int INDIRECT_VALUE
Reserved for Indirect Keys. Cannot be used for new deployments.
INDIRECT = 252;
- See Also:
- Constant Field Values
-
PRIVATEDNS_VALUE
public static final int PRIVATEDNS_VALUE
Private algorithm. Cannot be used for new deployments.
PRIVATEDNS = 253;
- See Also:
- Constant Field Values
-
PRIVATEOID_VALUE
public static final int PRIVATEOID_VALUE
Private algorithm OID. Cannot be used for new deployments.
PRIVATEOID = 254;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DnsSettings.DsRecord.Algorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DnsSettings.DsRecord.Algorithm c : DnsSettings.DsRecord.Algorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DnsSettings.DsRecord.Algorithm valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static DnsSettings.DsRecord.Algorithm valueOf(int value)
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
public static DnsSettings.DsRecord.Algorithm forNumber(int value)
- 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-