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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AVAILABLE_PACKAGE_FIELD_NUMBER
public static final int AVAILABLE_PACKAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INSTALLED_PACKAGE_FIELD_NUMBER
public static final int INSTALLED_PACKAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ORIGIN_TYPE_FIELD_NUMBER
public static final int ORIGIN_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Inventory.Item getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Inventory.Item.Builder newBuilder()
newBuilder(Inventory.Item prototype)
public static Inventory.Item.Builder newBuilder(Inventory.Item prototype)
public static Inventory.Item parseDelimitedFrom(InputStream input)
public static Inventory.Item parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Inventory.Item parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Inventory.Item parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(CodedInputStream input)
public static Inventory.Item parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(InputStream input)
public static Inventory.Item parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Inventory.Item parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Inventory.Item parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Inventory.Item> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
getAvailablePackageOrBuilder()
public Inventory.SoftwarePackageOrBuilder getAvailablePackageOrBuilder()
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;
getCreateTime()
public Timestamp getCreateTime()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;
getDefaultInstanceForType()
public Inventory.Item getDefaultInstanceForType()
getDetailsCase()
public Inventory.Item.DetailsCase getDetailsCase()
getId()
Identifier for this item, unique across items for this VM.
string id = 1;
Returns |
---|
Type | Description |
String | The id.
|
getIdBytes()
public ByteString getIdBytes()
Identifier for this item, unique across items for this VM.
string id = 1;
getInstalledPackage()
public Inventory.SoftwarePackage getInstalledPackage()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
getInstalledPackageOrBuilder()
public Inventory.SoftwarePackageOrBuilder getInstalledPackageOrBuilder()
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;
getOriginType()
public Inventory.Item.OriginType getOriginType()
The origin of this inventory item.
.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
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.
|
getUpdateTime()
public Timestamp getUpdateTime()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
Returns |
---|
Type | Description |
Timestamp | The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Inventory.Item.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Inventory.Item.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Inventory.Item.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides