Class Inventory.Item
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1alpha.Inventory.Item
- All Implemented Interfaces:
Inventory.ItemOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Inventory
public static final class Inventory.Item
extends com.google.protobuf.GeneratedMessage
implements Inventory.ItemOrBuilder
A single piece of inventory on a VM.Protobuf type
google.cloud.osconfig.v1alpha.Inventory.Item- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA single piece of inventory on a VM.static enumstatic enumThe origin of a specific inventory item.static enumThe different types of inventory that are tracked on a VM.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSoftware package available to be installed on the VM instance.Software package available to be installed on the VM instance.com.google.protobuf.TimestampWhen this inventory item was first detected.com.google.protobuf.TimestampOrBuilderWhen this inventory item was first detected.static Inventory.Itemstatic final com.google.protobuf.Descriptors.DescriptorgetId()Identifier for this item, unique across items for this VM.com.google.protobuf.ByteStringIdentifier for this item, unique across items for this VM.Software package present on the VM instance.Software package present on the VM instance.The origin of this inventory item.intThe origin of this inventory item.com.google.protobuf.Parser<Inventory.Item>intgetType()The specific type of inventory, correlating to its specific details.intThe specific type of inventory, correlating to its specific details.com.google.protobuf.TimestampWhen this inventory item was last modified.com.google.protobuf.TimestampOrBuilderWhen this inventory item was last modified.booleanSoftware package available to be installed on the VM instance.booleanWhen this inventory item was first detected.inthashCode()booleanSoftware package present on the VM instance.booleanWhen this inventory item was last modified.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Inventory.Item.Builderstatic Inventory.Item.BuildernewBuilder(Inventory.Item prototype) protected Inventory.Item.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Inventory.ItemparseDelimitedFrom(InputStream input) static Inventory.ItemparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Inventory.ItemparseFrom(byte[] data) static Inventory.ItemparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Inventory.ItemparseFrom(com.google.protobuf.ByteString data) static Inventory.ItemparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Inventory.ItemparseFrom(com.google.protobuf.CodedInputStream input) static Inventory.ItemparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Inventory.ItemparseFrom(InputStream input) static Inventory.ItemparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Inventory.ItemparseFrom(ByteBuffer data) static Inventory.ItemparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Inventory.Item>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
ORIGIN_TYPE_FIELD_NUMBER
public static final int ORIGIN_TYPE_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
INSTALLED_PACKAGE_FIELD_NUMBER
public static final int INSTALLED_PACKAGE_FIELD_NUMBER- See Also:
-
AVAILABLE_PACKAGE_FIELD_NUMBER
public static final int AVAILABLE_PACKAGE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getDetailsCase
- Specified by:
getDetailsCasein interfaceInventory.ItemOrBuilder
-
getId
Identifier for this item, unique across items for this VM.
string id = 1;- Specified by:
getIdin interfaceInventory.ItemOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Identifier for this item, unique across items for this VM.
string id = 1;- Specified by:
getIdBytesin interfaceInventory.ItemOrBuilder- Returns:
- The bytes for id.
-
getOriginTypeValue
public int getOriginTypeValue()The origin of this inventory item.
.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2;- Specified by:
getOriginTypeValuein interfaceInventory.ItemOrBuilder- Returns:
- The enum numeric value on the wire for originType.
-
getOriginType
The origin of this inventory item.
.google.cloud.osconfig.v1alpha.Inventory.Item.OriginType origin_type = 2;- Specified by:
getOriginTypein interfaceInventory.ItemOrBuilder- Returns:
- The originType.
-
hasCreateTime
public boolean hasCreateTime()When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;- Specified by:
hasCreateTimein interfaceInventory.ItemOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;- Specified by:
getCreateTimein interfaceInventory.ItemOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()When this inventory item was first detected.
.google.protobuf.Timestamp create_time = 8;- Specified by:
getCreateTimeOrBuilderin interfaceInventory.ItemOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;- Specified by:
hasUpdateTimein interfaceInventory.ItemOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;- Specified by:
getUpdateTimein interfaceInventory.ItemOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()When this inventory item was last modified.
.google.protobuf.Timestamp update_time = 9;- Specified by:
getUpdateTimeOrBuilderin interfaceInventory.ItemOrBuilder
-
getTypeValue
public int getTypeValue()The specific type of inventory, correlating to its specific details.
.google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5;- Specified by:
getTypeValuein interfaceInventory.ItemOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
The specific type of inventory, correlating to its specific details.
.google.cloud.osconfig.v1alpha.Inventory.Item.Type type = 5;- Specified by:
getTypein interfaceInventory.ItemOrBuilder- Returns:
- The type.
-
hasInstalledPackage
public boolean hasInstalledPackage()Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;- Specified by:
hasInstalledPackagein interfaceInventory.ItemOrBuilder- Returns:
- Whether the installedPackage field is set.
-
getInstalledPackage
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;- Specified by:
getInstalledPackagein interfaceInventory.ItemOrBuilder- Returns:
- The installedPackage.
-
getInstalledPackageOrBuilder
Software package present on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage installed_package = 6;- Specified by:
getInstalledPackageOrBuilderin interfaceInventory.ItemOrBuilder
-
hasAvailablePackage
public boolean hasAvailablePackage()Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;- Specified by:
hasAvailablePackagein interfaceInventory.ItemOrBuilder- Returns:
- Whether the availablePackage field is set.
-
getAvailablePackage
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;- Specified by:
getAvailablePackagein interfaceInventory.ItemOrBuilder- Returns:
- The availablePackage.
-
getAvailablePackageOrBuilder
Software package available to be installed on the VM instance.
.google.cloud.osconfig.v1alpha.Inventory.SoftwarePackage available_package = 7;- Specified by:
getAvailablePackageOrBuilderin interfaceInventory.ItemOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Inventory.Item parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Inventory.Item parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Inventory.Item parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Inventory.Item parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Inventory.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Inventory.Item parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Inventory.Item parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Inventory.Item parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Inventory.Item parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Inventory.Item parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Inventory.Item.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-