public static enum PackageServiceOuterClass.PackageStatus extends java.lang.Enum<PackageServiceOuterClass.PackageStatus> implements com.google.protobuf.ProtocolMessageEnum
com.daml.ledger.api.v1.PackageStatus
Enum Constant and Description |
---|
REGISTERED
The server is able to execute DAML commands operating on this package.
|
UNKNOWN
The server is not aware of such a package.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
REGISTERED_VALUE
The server is able to execute DAML commands operating on this package.
|
static int |
UNKNOWN_VALUE
The server is not aware of such a package.
|
Modifier and Type | Method and Description |
---|---|
static PackageServiceOuterClass.PackageStatus |
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.PackageStatus> |
internalGetValueMap() |
static PackageServiceOuterClass.PackageStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PackageServiceOuterClass.PackageStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PackageServiceOuterClass.PackageStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PackageServiceOuterClass.PackageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageServiceOuterClass.PackageStatus UNKNOWN
The server is not aware of such a package.
UNKNOWN = 0;
public static final PackageServiceOuterClass.PackageStatus REGISTERED
The server is able to execute DAML commands operating on this package.
REGISTERED = 1;
public static final PackageServiceOuterClass.PackageStatus UNRECOGNIZED
public static final int UNKNOWN_VALUE
The server is not aware of such a package.
UNKNOWN = 0;
public static final int REGISTERED_VALUE
The server is able to execute DAML commands operating on this package.
REGISTERED = 1;
public static PackageServiceOuterClass.PackageStatus[] values()
for (PackageServiceOuterClass.PackageStatus c : PackageServiceOuterClass.PackageStatus.values()) System.out.println(c);
public static PackageServiceOuterClass.PackageStatus 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.PackageStatus valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PackageServiceOuterClass.PackageStatus forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PackageServiceOuterClass.PackageStatus> 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.PackageStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)