public static final class Inventory.Item extends GeneratedMessageV3 implements Inventory.ItemOrBuilder
A single piece of inventory on a VM.
Protobuf type google.cloud.osconfig.v1alpha.Inventory.Item
Static Fields
AVAILABLE_PACKAGE_FIELD_NUMBER
public static final int AVAILABLE_PACKAGE_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
INSTALLED_PACKAGE_FIELD_NUMBER
public static final int INSTALLED_PACKAGE_FIELD_NUMBER
Field Value
ORIGIN_TYPE_FIELD_NUMBER
public static final int ORIGIN_TYPE_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Inventory.Item getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Inventory.Item.Builder newBuilder()
Returns
newBuilder(Inventory.Item prototype)
public static Inventory.Item.Builder newBuilder(Inventory.Item prototype)
Parameter
Returns
public static Inventory.Item parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Inventory.Item parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Inventory.Item parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Inventory.Item parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Inventory.Item parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Inventory.Item parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Inventory.Item parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Inventory.Item parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Inventory.Item parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Inventory.Item> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAvailablePackage()
public Inventory.SoftwarePackage getAvailablePackage()
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;
Returns
getAvailablePackageOrBuilder()
public Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder()
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;
Returns
getCreateTime()
public Timestamp getCreateTime()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
Returns
getDefaultInstanceForType()
public Inventory.Item getDefaultInstanceForType()
Returns
getDetailsCase()
public Inventory.Item.DetailsCase getDetailsCase()
Returns
getId()
Identifier for this item, unique across items for this VM.
string id = 1;
Returns
getIdBytes()
public ByteString getIdBytes()
Identifier for this item, unique across items for this VM.
string id = 1;
Returns
getInstalledPackage()
public Inventory.SoftwarePackage getInstalledPackage()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
Returns
getInstalledPackageOrBuilder()
public Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
Returns
getOriginType()
public Inventory.Item.OriginType getOriginType()
The origin of this inventory item.
.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2;
Returns
getOriginTypeValue()
public int getOriginTypeValue()
The origin of this inventory item.
.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for originType.
|
getParserForType()
public Parser<Inventory.Item> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getType()
public Inventory.Item.Type getType()
The specific type of inventory, correlating to its specific details.
.google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5;
Returns
getTypeValue()
public int getTypeValue()
The specific type of inventory, correlating to its specific details.
.google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5;
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
Returns
hasAvailablePackage()
public boolean hasAvailablePackage()
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;
Returns
Type | Description |
boolean | Whether the availablePackage field is set.
|
hasCreateTime()
public boolean hasCreateTime()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
hasInstalledPackage()
public boolean hasInstalledPackage()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
Returns
Type | Description |
boolean | Whether the installedPackage field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Inventory.Item.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Inventory.Item.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Inventory.Item.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions