Package io.grafeas.v1beta1.attestation
Enum Attestation.SignatureCase
- java.lang.Object
-
- java.lang.Enum<Attestation.SignatureCase>
-
- io.grafeas.v1beta1.attestation.Attestation.SignatureCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Attestation.SignatureCase>
- Enclosing class:
- Attestation
public static enum Attestation.SignatureCase extends Enum<Attestation.SignatureCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GENERIC_SIGNED_ATTESTATIONPGP_SIGNED_ATTESTATIONSIGNATURE_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Attestation.SignatureCaseforNumber(int value)intgetNumber()static Attestation.SignatureCasevalueOf(int value)Deprecated.static Attestation.SignatureCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Attestation.SignatureCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PGP_SIGNED_ATTESTATION
public static final Attestation.SignatureCase PGP_SIGNED_ATTESTATION
-
GENERIC_SIGNED_ATTESTATION
public static final Attestation.SignatureCase GENERIC_SIGNED_ATTESTATION
-
SIGNATURE_NOT_SET
public static final Attestation.SignatureCase SIGNATURE_NOT_SET
-
-
Method Detail
-
values
public static Attestation.SignatureCase[] 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 (Attestation.SignatureCase c : Attestation.SignatureCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attestation.SignatureCase 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
-
valueOf
@Deprecated public static Attestation.SignatureCase 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 Attestation.SignatureCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-