public static enum OSPolicy.Resource.PackageResource.SystemPackageCase extends Enum<OSPolicy.Resource.PackageResource.SystemPackageCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
APT |
DEB |
GOOGET |
MSI |
RPM |
SYSTEMPACKAGE_NOT_SET |
YUM |
ZYPPER |
| Modifier and Type | Method and Description |
|---|---|
static OSPolicy.Resource.PackageResource.SystemPackageCase |
forNumber(int value) |
int |
getNumber() |
static OSPolicy.Resource.PackageResource.SystemPackageCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OSPolicy.Resource.PackageResource.SystemPackageCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OSPolicy.Resource.PackageResource.SystemPackageCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSPolicy.Resource.PackageResource.SystemPackageCase APT
public static final OSPolicy.Resource.PackageResource.SystemPackageCase DEB
public static final OSPolicy.Resource.PackageResource.SystemPackageCase YUM
public static final OSPolicy.Resource.PackageResource.SystemPackageCase ZYPPER
public static final OSPolicy.Resource.PackageResource.SystemPackageCase RPM
public static final OSPolicy.Resource.PackageResource.SystemPackageCase GOOGET
public static final OSPolicy.Resource.PackageResource.SystemPackageCase MSI
public static final OSPolicy.Resource.PackageResource.SystemPackageCase SYSTEMPACKAGE_NOT_SET
public static OSPolicy.Resource.PackageResource.SystemPackageCase[] values()
for (OSPolicy.Resource.PackageResource.SystemPackageCase c : OSPolicy.Resource.PackageResource.SystemPackageCase.values()) System.out.println(c);
public static OSPolicy.Resource.PackageResource.SystemPackageCase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public static OSPolicy.Resource.PackageResource.SystemPackageCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static OSPolicy.Resource.PackageResource.SystemPackageCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 Google LLC. All rights reserved.