Class OSPolicy.InventoryFilter.Builder (2.43.0)

public static final class OSPolicy.InventoryFilter.Builder extends GeneratedMessageV3.Builder<OSPolicy.InventoryFilter.Builder> implements OSPolicy.InventoryFilterOrBuilder

Filtering criteria to select VMs based on inventory details.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OSPolicy.InventoryFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OSPolicy.InventoryFilter.Builder
Overrides

build()

public OSPolicy.InventoryFilter build()
Returns
TypeDescription
OSPolicy.InventoryFilter

buildPartial()

public OSPolicy.InventoryFilter buildPartial()
<
Returns
TypeDescription
OSPolicy.InventoryFilter