public static enum Inventory.Item.Type extends Enum<Inventory.Item.Type> implements com.google.protobuf.ProtocolMessageEnum
The different types of inventory that are tracked on a VM.Protobuf enum
google.cloud.osconfig.v1alpha.Inventory.Item.Type| Enum Constant and Description |
|---|
AVAILABLE_PACKAGE
This represents an update that is available for a package.
|
INSTALLED_PACKAGE
This represents a package that is installed on the VM.
|
TYPE_UNSPECIFIED
Invalid.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AVAILABLE_PACKAGE_VALUE
This represents an update that is available for a package.
|
static int |
INSTALLED_PACKAGE_VALUE
This represents a package that is installed on the VM.
|
static int |
TYPE_UNSPECIFIED_VALUE
Invalid.
|
| Modifier and Type | Method and Description |
|---|---|
static Inventory.Item.Type |
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<Inventory.Item.Type> |
internalGetValueMap() |
static Inventory.Item.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Inventory.Item.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Inventory.Item.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Inventory.Item.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Inventory.Item.Type TYPE_UNSPECIFIED
Invalid. An type must be specified.
TYPE_UNSPECIFIED = 0;public static final Inventory.Item.Type INSTALLED_PACKAGE
This represents a package that is installed on the VM.
INSTALLED_PACKAGE = 1;public static final Inventory.Item.Type AVAILABLE_PACKAGE
This represents an update that is available for a package.
AVAILABLE_PACKAGE = 2;public static final Inventory.Item.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
Invalid. An type must be specified.
TYPE_UNSPECIFIED = 0;public static final int INSTALLED_PACKAGE_VALUE
This represents a package that is installed on the VM.
INSTALLED_PACKAGE = 1;public static final int AVAILABLE_PACKAGE_VALUE
This represents an update that is available for a package.
AVAILABLE_PACKAGE = 2;public static Inventory.Item.Type[] values()
for (Inventory.Item.Type c : Inventory.Item.Type.values()) System.out.println(c);
public static Inventory.Item.Type 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Inventory.Item.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Inventory.Item.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Inventory.Item.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Inventory.Item.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.