Interface OSPolicy.OSFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OSPolicy.OSFilter,OSPolicy.OSFilter.Builder
- Enclosing class:
- OSPolicy
public static interface OSPolicy.OSFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThis should match OS short name emitted by the OS inventory agent.com.google.protobuf.ByteStringThis should match OS short name emitted by the OS inventory agent.This value should match the version emitted by the OS inventory agent.com.google.protobuf.ByteStringThis value should match the version emitted by the OS inventory agent.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getOsShortName
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:
- The osShortName.
-
getOsShortNameBytes
com.google.protobuf.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:
- The bytes for osShortName.
-
getOsVersion
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:
- The osVersion.
-
getOsVersionBytes
com.google.protobuf.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:
- The bytes for osVersion.
-