public final class Inventory extends com.google.protobuf.GeneratedMessageV3 implements InventoryOrBuilder
This API resource represents the available inventory data for a Compute Engine virtual machine (VM) instance at a given point in time. You can use this API resource to determine the inventory data of your VM. For more information, see [Information provided by OS inventory management](https://cloud.google.com/compute/docs/instances/os-inventory-management#data-collected).Protobuf type
google.cloud.osconfig.v1alpha.Inventory| Modifier and Type | Class and Description |
|---|---|
static class |
Inventory.Builder
This API resource represents the available inventory data for a
Compute Engine virtual machine (VM) instance at a given point in time.
|
static class |
Inventory.Item
A single piece of inventory on a VM.
|
static interface |
Inventory.ItemOrBuilder |
static class |
Inventory.OsInfo
Operating system information for the VM.
|
static interface |
Inventory.OsInfoOrBuilder |
static class |
Inventory.SoftwarePackage
Software package information of the operating system.
|
static interface |
Inventory.SoftwarePackageOrBuilder |
static class |
Inventory.VersionedPackage
Information related to the a standard versioned package.
|
static interface |
Inventory.VersionedPackageOrBuilder |
static class |
Inventory.WindowsApplication
Contains information about a Windows application that is retrieved from the
Windows Registry.
|
static interface |
Inventory.WindowsApplicationOrBuilder |
static class |
Inventory.WindowsQuickFixEngineeringPackage
Information related to a Quick Fix Engineering package.
|
static interface |
Inventory.WindowsQuickFixEngineeringPackageOrBuilder |
static class |
Inventory.WindowsUpdatePackage
Details related to a Windows Update package.
|
static interface |
Inventory.WindowsUpdatePackageOrBuilder |
static class |
Inventory.ZypperPatch
Details related to a Zypper Patch.
|
static interface |
Inventory.ZypperPatchOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ITEMS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OS_INFO_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsItems(String key)
Output only.
|
boolean |
equals(Object obj) |
static Inventory |
getDefaultInstance() |
Inventory |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,Inventory.Item> |
getItems()
Deprecated.
|
int |
getItemsCount()
Output only.
|
Map<String,Inventory.Item> |
getItemsMap()
Output only.
|
Inventory.Item |
getItemsOrDefault(String key,
Inventory.Item defaultValue)
Output only.
|
Inventory.Item |
getItemsOrThrow(String key)
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Inventory.OsInfo |
getOsInfo()
Output only.
|
Inventory.OsInfoOrBuilder |
getOsInfoOrBuilder()
Output only.
|
com.google.protobuf.Parser<Inventory> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
int |
hashCode() |
boolean |
hasOsInfo()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Inventory.Builder |
newBuilder() |
static Inventory.Builder |
newBuilder(Inventory prototype) |
Inventory.Builder |
newBuilderForType() |
protected Inventory.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Inventory |
parseDelimitedFrom(InputStream input) |
static Inventory |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Inventory |
parseFrom(byte[] data) |
static Inventory |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Inventory |
parseFrom(ByteBuffer data) |
static Inventory |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Inventory |
parseFrom(com.google.protobuf.ByteString data) |
static Inventory |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Inventory |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Inventory |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Inventory |
parseFrom(InputStream input) |
static Inventory |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Inventory> |
parser() |
Inventory.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int OS_INFO_FIELD_NUMBER
public static final int ITEMS_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The `Inventory` API resource name.
Format:
`projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface InventoryOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The `Inventory` API resource name.
Format:
`projects/{project_number}/locations/{location}/instances/{instance_id}/inventory`
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface InventoryOrBuilderpublic boolean hasOsInfo()
Output only. Base level operating system information for the VM.
.google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasOsInfo in interface InventoryOrBuilderpublic Inventory.OsInfo getOsInfo()
Output only. Base level operating system information for the VM.
.google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOsInfo in interface InventoryOrBuilderpublic Inventory.OsInfoOrBuilder getOsInfoOrBuilder()
Output only. Base level operating system information for the VM.
.google.cloud.osconfig.v1alpha.Inventory.OsInfo os_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOsInfoOrBuilder in interface InventoryOrBuilderpublic int getItemsCount()
InventoryOrBuilderOutput only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getItemsCount in interface InventoryOrBuilderpublic boolean containsItems(String key)
Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsItems in interface InventoryOrBuilder@Deprecated public Map<String,Inventory.Item> getItems()
getItemsMap() instead.getItems in interface InventoryOrBuilderpublic Map<String,Inventory.Item> getItemsMap()
Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getItemsMap in interface InventoryOrBuilderpublic Inventory.Item getItemsOrDefault(String key, Inventory.Item defaultValue)
Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getItemsOrDefault in interface InventoryOrBuilderpublic Inventory.Item getItemsOrThrow(String key)
Output only. Inventory items related to the VM keyed by an opaque unique identifier for each inventory item. The identifier is unique to each distinct and addressable inventory item and will change, when there is a new package version.
map<string, .google.cloud.osconfig.v1alpha.Inventory.Item> items = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getItemsOrThrow in interface InventoryOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp of the last reported inventory for the VM.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface InventoryOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Timestamp of the last reported inventory for the VM.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface InventoryOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Timestamp of the last reported inventory for the VM.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface InventoryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Inventory parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Inventory parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Inventory parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Inventory parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Inventory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Inventory parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Inventory parseFrom(InputStream input) throws IOException
IOExceptionpublic static Inventory parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Inventory parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Inventory parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Inventory parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Inventory parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Inventory.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Inventory.Builder newBuilder()
public static Inventory.Builder newBuilder(Inventory prototype)
public Inventory.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Inventory.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Inventory getDefaultInstance()
public static com.google.protobuf.Parser<Inventory> parser()
public com.google.protobuf.Parser<Inventory> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Inventory getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.