public enum InventoryView extends Enum<InventoryView> implements com.google.protobuf.ProtocolMessageEnum
The view for inventory objects.Protobuf enum
google.cloud.osconfig.v1alpha.InventoryView| Enum Constant and Description |
|---|
BASIC
Returns the basic inventory information that includes `os_info`.
|
FULL
Returns all fields.
|
INVENTORY_VIEW_UNSPECIFIED
The default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_VALUE
Returns the basic inventory information that includes `os_info`.
|
static int |
FULL_VALUE
Returns all fields.
|
static int |
INVENTORY_VIEW_UNSPECIFIED_VALUE
The default value.
|
| Modifier and Type | Method and Description |
|---|---|
static InventoryView |
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<InventoryView> |
internalGetValueMap() |
static InventoryView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InventoryView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InventoryView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryView INVENTORY_VIEW_UNSPECIFIED
The default value. The API defaults to the BASIC view.
INVENTORY_VIEW_UNSPECIFIED = 0;public static final InventoryView BASIC
Returns the basic inventory information that includes `os_info`.
BASIC = 1;public static final InventoryView FULL
Returns all fields.
FULL = 2;public static final InventoryView UNRECOGNIZED
public static final int INVENTORY_VIEW_UNSPECIFIED_VALUE
The default value. The API defaults to the BASIC view.
INVENTORY_VIEW_UNSPECIFIED = 0;public static final int BASIC_VALUE
Returns the basic inventory information that includes `os_info`.
BASIC = 1;public static final int FULL_VALUE
Returns all fields.
FULL = 2;public static InventoryView[] values()
for (InventoryView c : InventoryView.values()) System.out.println(c);
public static InventoryView 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 InventoryView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InventoryView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InventoryView> 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 InventoryView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.