- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public interface InventoryOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsItems(String key)
public abstract boolean containsItems(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getItems() (deprecated)
public abstract Map<String,Inventory.Item> getItems()
Use #getItemsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,Item> |
getItemsCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getItemsMap()
public abstract 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;
Returns | |
---|---|
Type | Description |
Map<String,Item> |
getItemsOrDefault(String key, Inventory.Item defaultValue)
public abstract Inventory.Item getItemsOrDefault(String key, Inventory.Item defaultValue)
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | Inventory.Item |
Returns | |
---|---|
Type | Description |
Inventory.Item |
getItemsOrThrow(String key)
public abstract Inventory.Item getItemsOrThrow(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Inventory.Item |
getName()
public abstract 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 | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getOsInfo()
public abstract Inventory.OsInfo getOsInfo()
Base level operating system information for the VM.
.google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1;
Returns | |
---|---|
Type | Description |
Inventory.OsInfo | The osInfo. |
getOsInfoOrBuilder()
public abstract Inventory.OsInfoOrBuilder getOsInfoOrBuilder()
Base level operating system information for the VM.
.google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1;
Returns | |
---|---|
Type | Description |
Inventory.OsInfoOrBuilder |
getUpdateTime()
public abstract 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 | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasOsInfo()
public abstract boolean hasOsInfo()
Base level operating system information for the VM.
.google.cloud.osconfig.v1.Inventory.OsInfo os_info = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the osInfo field is set. |
hasUpdateTime()
public abstract 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 | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |