Interface OSPolicy.OSFilterOrBuilder (2.19.0)

public static interface OSPolicy.OSFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOsShortName()

public abstract String getOsShortName()

This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

string os_short_name = 1;

Returns
TypeDescription
String

The osShortName.

getOsShortNameBytes()

public abstract ByteString getOsShortNameBytes()

This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

string os_short_name = 1;

Returns
TypeDescription
ByteString

The bytes for osShortName.

getOsVersion()

public abstract String getOsVersion()

This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk() is provided as the last character. For example, to match all versions with a major version of 7, specify the following value for this field 7.

string os_version = 2;

Returns
TypeDescription
String

The osVersion.

getOsVersionBytes()

public abstract ByteString getOsVersionBytes()

This value should match the version emitted by the OS inventory agent. Prefix matches are supported if asterisk() is provided as the last character. For example, to match all versions with a major version of 7, specify the following value for this field 7.

string os_version = 2;

Returns
TypeDescription
ByteString

The bytes for osVersion.