public static enum PackageServiceOuterClass.HashFunction extends java.lang.Enum<PackageServiceOuterClass.HashFunction> implements com.google.protobuf.ProtocolMessageEnum
com.daml.ledger.api.v1.HashFunction
Enum Constant and Description |
---|
SHA256
SHA256 = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
SHA256_VALUE
SHA256 = 0; |
Modifier and Type | Method and Description |
---|---|
static PackageServiceOuterClass.HashFunction |
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<PackageServiceOuterClass.HashFunction> |
internalGetValueMap() |
static PackageServiceOuterClass.HashFunction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PackageServiceOuterClass.HashFunction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PackageServiceOuterClass.HashFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PackageServiceOuterClass.HashFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageServiceOuterClass.HashFunction SHA256
SHA256 = 0;
public static final PackageServiceOuterClass.HashFunction UNRECOGNIZED
public static final int SHA256_VALUE
SHA256 = 0;
public static PackageServiceOuterClass.HashFunction[] values()
for (PackageServiceOuterClass.HashFunction c : PackageServiceOuterClass.HashFunction.values()) System.out.println(c);
public static PackageServiceOuterClass.HashFunction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static PackageServiceOuterClass.HashFunction valueOf(int value)
forNumber(int)
instead.public static PackageServiceOuterClass.HashFunction forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<PackageServiceOuterClass.HashFunction> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PackageServiceOuterClass.HashFunction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)