Package com.google.cloud.osconfig.v1
Interface InventoryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Inventory,Inventory.Builder
@Generated
public interface InventoryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsItems(String key) Inventory items related to the VM keyed by an opaque unique identifier for each inventory item.getItems()Deprecated.intInventory items related to the VM keyed by an opaque unique identifier for each inventory item.Inventory items related to the VM keyed by an opaque unique identifier for each inventory item.getItemsOrDefault(String key, Inventory.Item defaultValue) Inventory items related to the VM keyed by an opaque unique identifier for each inventory item.getItemsOrThrow(String key) Inventory items related to the VM keyed by an opaque unique identifier for each inventory item.getName()Output only.com.google.protobuf.ByteStringOutput only.Base level operating system information for the VM.Base level operating system information for the VM.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanBase level operating system information for the VM.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
hasOsInfo
boolean hasOsInfo()Base level operating system information for the VM.
.google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1;- Returns:
- Whether the osInfo field is set.
-
getOsInfo
Inventory.OsInfo getOsInfo()Base level operating system information for the VM.
.google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1;- Returns:
- The osInfo.
-
getOsInfoOrBuilder
Inventory.OsInfoOrBuilder getOsInfoOrBuilder()Base level operating system information for the VM.
.google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1; -
getItemsCount
int getItemsCount()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.v1.Inventory.Item> items = 2; -
containsItems
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.v1.Inventory.Item> items = 2; -
getItems
Deprecated.UsegetItemsMap()instead. -
getItemsMap
Map<String,Inventory.Item> getItemsMap()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.v1.Inventory.Item> items = 2; -
getItemsOrDefault
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.v1.Inventory.Item> items = 2; -
getItemsOrThrow
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.v1.Inventory.Item> items = 2; -
hasUpdateTime
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];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-