Class Inventory (2.25.0)

public final class Inventory extends 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.

Protobuf type google.cloud.osconfig.v1alpha.Inventory

Implements

InventoryOrBuilder

Static Fields

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OS_INFO_FIELD_NUMBER

public static final int OS_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Inventory getDefaultInstance()
Returns
TypeDescription
Inventory

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Inventory.Builder newBuilder()
Returns
TypeDescription
Inventory.Builder

newBuilder(Inventory prototype)

public static Inventory.Builder newBuilder(Inventory prototype)
Parameter
NameDescription
prototypeInventory
Returns
TypeDescription
Inventory.Builder

parseDelimitedFrom(InputStream input)

public static Inventory parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Inventory
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Inventory parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Inventory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Inventory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Inventory parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Inventory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Inventory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Inventory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Inventory parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Inventory
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Inventory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistry