Class OSPolicy.InventoryFilter (2.19.0)

public static final class OSPolicy.InventoryFilter extends GeneratedMessageV3 implements OSPolicy.InventoryFilterOrBuilder

Filtering criteria to select VMs based on inventory details.

Protobuf type google.cloud.osconfig.v1.OSPolicy.InventoryFilter

Static Fields

OS_SHORT_NAME_FIELD_NUMBER

public static final int OS_SHORT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OS_VERSION_FIELD_NUMBER

public static final int OS_VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OSPolicy.InventoryFilter getDefaultInstance()
Returns
TypeDescription
OSPolicy.InventoryFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OSPolicy.InventoryFilter.Builder newBuilder()
Returns
TypeDescription
OSPolicy.InventoryFilter.Builder

newBuilder(OSPolicy.InventoryFilter prototype)

public static OSPolicy.InventoryFilter.Builder newBuilder(OSPolicy.InventoryFilter prototype)
Parameter
NameDescription
prototypeOSPolicy.InventoryFilter
Returns
TypeDescription
OSPolicy.InventoryFilter.Builder

parseDelimitedFrom(InputStream input)

public static OSPolicy.InventoryFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSPolicy.InventoryFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSPolicy.InventoryFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicy.InventoryFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OSPolicy.InventoryFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OSPolicy.InventoryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OSPolicy.InventoryFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicy.InventoryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OSPolicy.InventoryFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OSPolicy.InventoryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OSPolicy.InventoryFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicy.InventoryFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OSPolicy.InventoryFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OSPolicy.InventoryFilter<