Interface Inventory.ItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Inventory.Item
,Inventory.Item.Builder
- Enclosing class:
- Inventory
public static interface Inventory.ItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Inventory.SoftwarePackage
getAvailablePackage()
Software package available to be installed on the VM instance.Inventory.SoftwarePackageOrBuilder
getAvailablePackageOrBuilder()
Software package available to be installed on the VM instance.com.google.protobuf.Timestamp
getCreateTime()
When this inventory item was first detected.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
When this inventory item was first detected.Inventory.Item.DetailsCase
getDetailsCase()
String
getId()
Identifier for this item, unique across items for this VM.com.google.protobuf.ByteString
getIdBytes()
Identifier for this item, unique across items for this VM.Inventory.SoftwarePackage
getInstalledPackage()
Software package present on the VM instance.Inventory.SoftwarePackageOrBuilder
getInstalledPackageOrBuilder()
Software package present on the VM instance.Inventory.Item.OriginType
getOriginType()
The origin of this inventory item.int
getOriginTypeValue()
The origin of this inventory item.Inventory.Item.Type
getType()
The specific type of inventory, correlating to its specific details.int
getTypeValue()
The specific type of inventory, correlating to its specific details.com.google.protobuf.Timestamp
getUpdateTime()
When this inventory item was last modified.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
When this inventory item was last modified.boolean
hasAvailablePackage()
Software package available to be installed on the VM instance.boolean
hasCreateTime()
When this inventory item was first detected.boolean
hasInstalledPackage()
Software package present on the VM instance.boolean
hasUpdateTime()
When this inventory item was last modified.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
String getId()
Identifier for this item, unique across items for this VM.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Identifier for this item, unique across items for this VM.
string id = 1;
- Returns:
- The bytes for id.
-
getOriginTypeValue
int getOriginTypeValue()
The origin of this inventory item.
.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2;
- Returns:
- The enum numeric value on the wire for originType.
-
getOriginType
Inventory.Item.OriginType getOriginType()
The origin of this inventory item.
.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2;
- Returns:
- The originType.
-
hasCreateTime
boolean hasCreateTime()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
-
hasUpdateTime
boolean hasUpdateTime()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
-
getTypeValue
int getTypeValue()
The specific type of inventory, correlating to its specific details.
.google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Inventory.Item.Type getType()
The specific type of inventory, correlating to its specific details.
.google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5;
- Returns:
- The type.
-
hasInstalledPackage
boolean hasInstalledPackage()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
- Returns:
- Whether the installedPackage field is set.
-
getInstalledPackage
Inventory.SoftwarePackage getInstalledPackage()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
- Returns:
- The installedPackage.
-
getInstalledPackageOrBuilder
Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
-
hasAvailablePackage
boolean hasAvailablePackage()
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;
- Returns:
- Whether the availablePackage field is set.
-
getAvailablePackage
Inventory.SoftwarePackage getAvailablePackage()
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;
- Returns:
- The availablePackage.
-
getAvailablePackageOrBuilder
Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder()
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;
-
getDetailsCase
Inventory.Item.DetailsCase getDetailsCase()
-
-