public static enum Inventory.Item.OriginType extends Enum<Inventory.Item.OriginType> implements com.google.protobuf.ProtocolMessageEnum
The origin of a specific inventory item.Protobuf enum
google.cloud.osconfig.v1.Inventory.Item.OriginType| Enum Constant and Description |
|---|
INVENTORY_REPORT
This inventory item was discovered as the result of the agent
reporting inventory via the reporting API.
|
ORIGIN_TYPE_UNSPECIFIED
Invalid.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INVENTORY_REPORT_VALUE
This inventory item was discovered as the result of the agent
reporting inventory via the reporting API.
|
static int |
ORIGIN_TYPE_UNSPECIFIED_VALUE
Invalid.
|
| Modifier and Type | Method and Description |
|---|---|
static Inventory.Item.OriginType |
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.OriginType> |
internalGetValueMap() |
static Inventory.Item.OriginType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Inventory.Item.OriginType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Inventory.Item.OriginType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Inventory.Item.OriginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Inventory.Item.OriginType ORIGIN_TYPE_UNSPECIFIED
Invalid. An origin type must be specified.
ORIGIN_TYPE_UNSPECIFIED = 0;public static final Inventory.Item.OriginType INVENTORY_REPORT
This inventory item was discovered as the result of the agent reporting inventory via the reporting API.
INVENTORY_REPORT = 1;public static final Inventory.Item.OriginType UNRECOGNIZED
public static final int ORIGIN_TYPE_UNSPECIFIED_VALUE
Invalid. An origin type must be specified.
ORIGIN_TYPE_UNSPECIFIED = 0;public static final int INVENTORY_REPORT_VALUE
This inventory item was discovered as the result of the agent reporting inventory via the reporting API.
INVENTORY_REPORT = 1;public static Inventory.Item.OriginType[] values()
for (Inventory.Item.OriginType c : Inventory.Item.OriginType.values()) System.out.println(c);
public static Inventory.Item.OriginType 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.OriginType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Inventory.Item.OriginType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Inventory.Item.OriginType> 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.OriginType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.