Package com.google.cloud.osconfig.v1
Class OSPolicyAssignment.InstanceFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
- com.google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Builder
-
- All Implemented Interfaces:
OSPolicyAssignment.InstanceFilterOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- OSPolicyAssignment.InstanceFilter
public static final class OSPolicyAssignment.InstanceFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder> implements OSPolicyAssignment.InstanceFilterOrBuilder
Filters to select target VMs for an assignment. If more than one filter criteria is specified below, a VM will be selected if and only if it satisfies all of them.
Protobuf typegoogle.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
clear
public OSPolicyAssignment.InstanceFilter.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
getDefaultInstanceForType
public OSPolicyAssignment.InstanceFilter getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public OSPolicyAssignment.InstanceFilter build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public OSPolicyAssignment.InstanceFilter buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public OSPolicyAssignment.InstanceFilter.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
setField
public OSPolicyAssignment.InstanceFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
clearField
public OSPolicyAssignment.InstanceFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
clearOneof
public OSPolicyAssignment.InstanceFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
setRepeatedField
public OSPolicyAssignment.InstanceFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
addRepeatedField
public OSPolicyAssignment.InstanceFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
mergeFrom
public OSPolicyAssignment.InstanceFilter.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
mergeFrom
public OSPolicyAssignment.InstanceFilter.Builder mergeFrom(OSPolicyAssignment.InstanceFilter other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
mergeFrom
public OSPolicyAssignment.InstanceFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
- Throws:
IOException
-
getAll
public boolean getAll()
Target all VMs in the project. If true, no other criteria is permitted.
bool all = 1;
- Specified by:
getAll
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
- Returns:
- The all.
-
setAll
public OSPolicyAssignment.InstanceFilter.Builder setAll(boolean value)
Target all VMs in the project. If true, no other criteria is permitted.
bool all = 1;
- Parameters:
value
- The all to set.- Returns:
- This builder for chaining.
-
clearAll
public OSPolicyAssignment.InstanceFilter.Builder clearAll()
Target all VMs in the project. If true, no other criteria is permitted.
bool all = 1;
- Returns:
- This builder for chaining.
-
getInclusionLabelsList
public List<OSPolicyAssignment.LabelSet> getInclusionLabelsList()
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
- Specified by:
getInclusionLabelsList
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInclusionLabelsCount
public int getInclusionLabelsCount()
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
- Specified by:
getInclusionLabelsCount
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInclusionLabels
public OSPolicyAssignment.LabelSet getInclusionLabels(int index)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
- Specified by:
getInclusionLabels
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
setInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder setInclusionLabels(int index, OSPolicyAssignment.LabelSet value)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
setInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder setInclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
addInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addInclusionLabels(OSPolicyAssignment.LabelSet value)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
addInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addInclusionLabels(int index, OSPolicyAssignment.LabelSet value)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
addInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addInclusionLabels(OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
addInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addInclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
addAllInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addAllInclusionLabels(Iterable<? extends OSPolicyAssignment.LabelSet> values)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
clearInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder clearInclusionLabels()
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
removeInclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder removeInclusionLabels(int index)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
getInclusionLabelsBuilder
public OSPolicyAssignment.LabelSet.Builder getInclusionLabelsBuilder(int index)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
getInclusionLabelsOrBuilder
public OSPolicyAssignment.LabelSetOrBuilder getInclusionLabelsOrBuilder(int index)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
- Specified by:
getInclusionLabelsOrBuilder
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInclusionLabelsOrBuilderList
public List<? extends OSPolicyAssignment.LabelSetOrBuilder> getInclusionLabelsOrBuilderList()
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
- Specified by:
getInclusionLabelsOrBuilderList
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
addInclusionLabelsBuilder
public OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder()
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
addInclusionLabelsBuilder
public OSPolicyAssignment.LabelSet.Builder addInclusionLabelsBuilder(int index)
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
getInclusionLabelsBuilderList
public List<OSPolicyAssignment.LabelSet.Builder> getInclusionLabelsBuilderList()
List of label sets used for VM inclusion. If the list has more than one `LabelSet`, the VM is included if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet inclusion_labels = 2;
-
getExclusionLabelsList
public List<OSPolicyAssignment.LabelSet> getExclusionLabelsList()
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
- Specified by:
getExclusionLabelsList
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getExclusionLabelsCount
public int getExclusionLabelsCount()
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
- Specified by:
getExclusionLabelsCount
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getExclusionLabels
public OSPolicyAssignment.LabelSet getExclusionLabels(int index)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
- Specified by:
getExclusionLabels
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
setExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder setExclusionLabels(int index, OSPolicyAssignment.LabelSet value)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
setExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder setExclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
addExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addExclusionLabels(OSPolicyAssignment.LabelSet value)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
addExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addExclusionLabels(int index, OSPolicyAssignment.LabelSet value)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
addExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addExclusionLabels(OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
addExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addExclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
addAllExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder addAllExclusionLabels(Iterable<? extends OSPolicyAssignment.LabelSet> values)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
clearExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder clearExclusionLabels()
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
removeExclusionLabels
public OSPolicyAssignment.InstanceFilter.Builder removeExclusionLabels(int index)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
getExclusionLabelsBuilder
public OSPolicyAssignment.LabelSet.Builder getExclusionLabelsBuilder(int index)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
getExclusionLabelsOrBuilder
public OSPolicyAssignment.LabelSetOrBuilder getExclusionLabelsOrBuilder(int index)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
- Specified by:
getExclusionLabelsOrBuilder
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getExclusionLabelsOrBuilderList
public List<? extends OSPolicyAssignment.LabelSetOrBuilder> getExclusionLabelsOrBuilderList()
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
- Specified by:
getExclusionLabelsOrBuilderList
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
addExclusionLabelsBuilder
public OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder()
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
addExclusionLabelsBuilder
public OSPolicyAssignment.LabelSet.Builder addExclusionLabelsBuilder(int index)
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
getExclusionLabelsBuilderList
public List<OSPolicyAssignment.LabelSet.Builder> getExclusionLabelsBuilderList()
List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.LabelSet exclusion_labels = 3;
-
getInventoriesList
public List<OSPolicyAssignment.InstanceFilter.Inventory> getInventoriesList()
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
- Specified by:
getInventoriesList
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInventoriesCount
public int getInventoriesCount()
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
- Specified by:
getInventoriesCount
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInventories
public OSPolicyAssignment.InstanceFilter.Inventory getInventories(int index)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
- Specified by:
getInventories
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
setInventories
public OSPolicyAssignment.InstanceFilter.Builder setInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory value)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
setInventories
public OSPolicyAssignment.InstanceFilter.Builder setInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
addInventories
public OSPolicyAssignment.InstanceFilter.Builder addInventories(OSPolicyAssignment.InstanceFilter.Inventory value)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
addInventories
public OSPolicyAssignment.InstanceFilter.Builder addInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory value)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
addInventories
public OSPolicyAssignment.InstanceFilter.Builder addInventories(OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
addInventories
public OSPolicyAssignment.InstanceFilter.Builder addInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
addAllInventories
public OSPolicyAssignment.InstanceFilter.Builder addAllInventories(Iterable<? extends OSPolicyAssignment.InstanceFilter.Inventory> values)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
clearInventories
public OSPolicyAssignment.InstanceFilter.Builder clearInventories()
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
removeInventories
public OSPolicyAssignment.InstanceFilter.Builder removeInventories(int index)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
getInventoriesBuilder
public OSPolicyAssignment.InstanceFilter.Inventory.Builder getInventoriesBuilder(int index)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
getInventoriesOrBuilder
public OSPolicyAssignment.InstanceFilter.InventoryOrBuilder getInventoriesOrBuilder(int index)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
- Specified by:
getInventoriesOrBuilder
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInventoriesOrBuilderList
public List<? extends OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> getInventoriesOrBuilderList()
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
- Specified by:
getInventoriesOrBuilderList
in interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
addInventoriesBuilder
public OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder()
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
addInventoriesBuilder
public OSPolicyAssignment.InstanceFilter.Inventory.Builder addInventoriesBuilder(int index)
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
getInventoriesBuilderList
public List<OSPolicyAssignment.InstanceFilter.Inventory.Builder> getInventoriesBuilderList()
List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories.
repeated .google.cloud.osconfig.v1.OSPolicyAssignment.InstanceFilter.Inventory inventories = 4;
-
setUnknownFields
public final OSPolicyAssignment.InstanceFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
mergeUnknownFields
public final OSPolicyAssignment.InstanceFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
-