public static final class Inventory.SoftwarePackage extends GeneratedMessageV3 implements Inventory.SoftwarePackageOrBuilder
Software package information of the operating system.
Protobuf type google.cloud.osconfig.v1.Inventory.SoftwarePackage
Static Fields
APT_PACKAGE_FIELD_NUMBER
public static final int APT_PACKAGE_FIELD_NUMBER
Field Value
COS_PACKAGE_FIELD_NUMBER
public static final int COS_PACKAGE_FIELD_NUMBER
Field Value
GOOGET_PACKAGE_FIELD_NUMBER
public static final int GOOGET_PACKAGE_FIELD_NUMBER
Field Value
QFE_PACKAGE_FIELD_NUMBER
public static final int QFE_PACKAGE_FIELD_NUMBER
Field Value
WINDOWS_APPLICATION_FIELD_NUMBER
public static final int WINDOWS_APPLICATION_FIELD_NUMBER
Field Value
WUA_PACKAGE_FIELD_NUMBER
public static final int WUA_PACKAGE_FIELD_NUMBER
Field Value
YUM_PACKAGE_FIELD_NUMBER
public static final int YUM_PACKAGE_FIELD_NUMBER
Field Value
ZYPPER_PACKAGE_FIELD_NUMBER
public static final int ZYPPER_PACKAGE_FIELD_NUMBER
Field Value
ZYPPER_PATCH_FIELD_NUMBER
public static final int ZYPPER_PATCH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Inventory.SoftwarePackage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Inventory.SoftwarePackage.Builder newBuilder()
Returns
newBuilder(Inventory.SoftwarePackage prototype)
public static Inventory.SoftwarePackage.Builder newBuilder(Inventory.SoftwarePackage prototype)
Parameter
Returns
public static Inventory.SoftwarePackage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Inventory.SoftwarePackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Inventory.SoftwarePackage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Inventory.SoftwarePackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Inventory.SoftwarePackage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Inventory.SoftwarePackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Inventory.SoftwarePackage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Inventory.SoftwarePackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Inventory.SoftwarePackage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Inventory.SoftwarePackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Inventory.SoftwarePackage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Inventory.SoftwarePackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Inventory.SoftwarePackage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAptPackage()
public Inventory.VersionedPackage getAptPackage()
Details of an APT package.
For details about the apt package manager, see
https://wiki.debian.org/Apt.
.google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
Returns
getAptPackageOrBuilder()
public Inventory.VersionedPackageOrBuilder getAptPackageOrBuilder()
Details of an APT package.
For details about the apt package manager, see
https://wiki.debian.org/Apt.
.google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
Returns
getCosPackage()
public Inventory.VersionedPackage getCosPackage()
Details of a COS package.
.google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8;
Returns
getCosPackageOrBuilder()
public Inventory.VersionedPackageOrBuilder getCosPackageOrBuilder()
Details of a COS package.
.google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8;
Returns
getDefaultInstanceForType()
public Inventory.SoftwarePackage getDefaultInstanceForType()
Returns
getDetailsCase()
public Inventory.SoftwarePackage.DetailsCase getDetailsCase()
Returns
getGoogetPackage()
public Inventory.VersionedPackage getGoogetPackage()
Details of a Googet package.
For details about the googet package manager, see
https://github.com/google/googet.
.google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
Returns
getGoogetPackageOrBuilder()
public Inventory.VersionedPackageOrBuilder getGoogetPackageOrBuilder()
Details of a Googet package.
For details about the googet package manager, see
https://github.com/google/googet.
.google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
Returns
getParserForType()
public Parser<Inventory.SoftwarePackage> getParserForType()
Returns
Overrides
getQfePackage()
public Inventory.WindowsQuickFixEngineeringPackage getQfePackage()
Returns
getQfePackageOrBuilder()
public Inventory.WindowsQuickFixEngineeringPackageOrBuilder getQfePackageOrBuilder()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getWindowsApplication()
public Inventory.WindowsApplication getWindowsApplication()
Details of Windows Application.
.google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9;
Returns
getWindowsApplicationOrBuilder()
public Inventory.WindowsApplicationOrBuilder getWindowsApplicationOrBuilder()
Details of Windows Application.
.google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9;
Returns
getWuaPackage()
public Inventory.WindowsUpdatePackage getWuaPackage()
Returns
getWuaPackageOrBuilder()
public Inventory.WindowsUpdatePackageOrBuilder getWuaPackageOrBuilder()
Returns
getYumPackage()
public Inventory.VersionedPackage getYumPackage()
Returns
getYumPackageOrBuilder()
public Inventory.VersionedPackageOrBuilder getYumPackageOrBuilder()
Returns
getZypperPackage()
public Inventory.VersionedPackage getZypperPackage()
Returns
getZypperPackageOrBuilder()
public Inventory.VersionedPackageOrBuilder getZypperPackageOrBuilder()
Returns
getZypperPatch()
public Inventory.ZypperPatch getZypperPatch()
Returns
getZypperPatchOrBuilder()
public Inventory.ZypperPatchOrBuilder getZypperPatchOrBuilder()
Returns
hasAptPackage()
public boolean hasAptPackage()
Details of an APT package.
For details about the apt package manager, see
https://wiki.debian.org/Apt.
.google.cloud.osconfig.v1.Inventory.VersionedPackage apt_package = 2;
Returns
Type | Description |
boolean | Whether the aptPackage field is set.
|
hasCosPackage()
public boolean hasCosPackage()
Details of a COS package.
.google.cloud.osconfig.v1.Inventory.VersionedPackage cos_package = 8;
Returns
Type | Description |
boolean | Whether the cosPackage field is set.
|
hasGoogetPackage()
public boolean hasGoogetPackage()
Details of a Googet package.
For details about the googet package manager, see
https://github.com/google/googet.
.google.cloud.osconfig.v1.Inventory.VersionedPackage googet_package = 4;
Returns
Type | Description |
boolean | Whether the googetPackage field is set.
|
hasQfePackage()
public boolean hasQfePackage()
Returns
Type | Description |
boolean | Whether the qfePackage field is set.
|
hasWindowsApplication()
public boolean hasWindowsApplication()
Details of Windows Application.
.google.cloud.osconfig.v1.Inventory.WindowsApplication windows_application = 9;
Returns
Type | Description |
boolean | Whether the windowsApplication field is set.
|
hasWuaPackage()
public boolean hasWuaPackage()
Returns
Type | Description |
boolean | Whether the wuaPackage field is set.
|
hasYumPackage()
public boolean hasYumPackage()
Returns
Type | Description |
boolean | Whether the yumPackage field is set.
|
hasZypperPackage()
public boolean hasZypperPackage()
Returns
Type | Description |
boolean | Whether the zypperPackage field is set.
|
hasZypperPatch()
public boolean hasZypperPatch()
Returns
Type | Description |
boolean | Whether the zypperPatch field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Inventory.SoftwarePackage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Inventory.SoftwarePackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Inventory.SoftwarePackage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions