Class OSPolicyAssignment.InstanceFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
com.google.cloud.osconfig.v1alpha.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.GeneratedMessage.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 type
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter-
Method Summary
Modifier and TypeMethodDescriptionaddAllExclusionLabels(Iterable<? extends OSPolicyAssignment.LabelSet> values) List of label sets used for VM exclusion.addAllInclusionLabels(Iterable<? extends OSPolicyAssignment.LabelSet> values) List of label sets used for VM inclusion.addAllInventories(Iterable<? extends OSPolicyAssignment.InstanceFilter.Inventory> values) List of inventories to select VMs.addAllOsShortNames(Iterable<String> values) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.addExclusionLabels(int index, OSPolicyAssignment.LabelSet value) List of label sets used for VM exclusion.addExclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue) List of label sets used for VM exclusion.List of label sets used for VM exclusion.addExclusionLabels(OSPolicyAssignment.LabelSet.Builder builderForValue) List of label sets used for VM exclusion.List of label sets used for VM exclusion.addExclusionLabelsBuilder(int index) List of label sets used for VM exclusion.addInclusionLabels(int index, OSPolicyAssignment.LabelSet value) List of label sets used for VM inclusion.addInclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue) List of label sets used for VM inclusion.List of label sets used for VM inclusion.addInclusionLabels(OSPolicyAssignment.LabelSet.Builder builderForValue) List of label sets used for VM inclusion.List of label sets used for VM inclusion.addInclusionLabelsBuilder(int index) List of label sets used for VM inclusion.addInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory value) List of inventories to select VMs.addInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) List of inventories to select VMs.List of inventories to select VMs.addInventories(OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) List of inventories to select VMs.List of inventories to select VMs.addInventoriesBuilder(int index) List of inventories to select VMs.addOsShortNames(String value) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.addOsShortNamesBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.build()clear()clearAll()Target all VMs in the project.List of label sets used for VM exclusion.List of label sets used for VM inclusion.List of inventories to select VMs.Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.booleangetAll()Target all VMs in the project.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExclusionLabels(int index) List of label sets used for VM exclusion.getExclusionLabelsBuilder(int index) List of label sets used for VM exclusion.List of label sets used for VM exclusion.intList of label sets used for VM exclusion.List of label sets used for VM exclusion.getExclusionLabelsOrBuilder(int index) List of label sets used for VM exclusion.List<? extends OSPolicyAssignment.LabelSetOrBuilder>List of label sets used for VM exclusion.getInclusionLabels(int index) List of label sets used for VM inclusion.getInclusionLabelsBuilder(int index) List of label sets used for VM inclusion.List of label sets used for VM inclusion.intList of label sets used for VM inclusion.List of label sets used for VM inclusion.getInclusionLabelsOrBuilder(int index) List of label sets used for VM inclusion.List<? extends OSPolicyAssignment.LabelSetOrBuilder>List of label sets used for VM inclusion.getInventories(int index) List of inventories to select VMs.getInventoriesBuilder(int index) List of inventories to select VMs.List of inventories to select VMs.intList of inventories to select VMs.List of inventories to select VMs.getInventoriesOrBuilder(int index) List of inventories to select VMs.List of inventories to select VMs.getOsShortNames(int index) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.com.google.protobuf.ByteStringgetOsShortNamesBytes(int index) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.intDeprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.com.google.protobuf.ProtocolStringListDeprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeExclusionLabels(int index) List of label sets used for VM exclusion.removeInclusionLabels(int index) List of label sets used for VM inclusion.removeInventories(int index) List of inventories to select VMs.setAll(boolean value) Target all VMs in the project.setExclusionLabels(int index, OSPolicyAssignment.LabelSet value) List of label sets used for VM exclusion.setExclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue) List of label sets used for VM exclusion.setInclusionLabels(int index, OSPolicyAssignment.LabelSet value) List of label sets used for VM inclusion.setInclusionLabels(int index, OSPolicyAssignment.LabelSet.Builder builderForValue) List of label sets used for VM inclusion.setInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory value) List of inventories to select VMs.setInventories(int index, OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue) List of inventories to select VMs.setOsShortNames(int index, String value) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>
-
mergeFrom
public OSPolicyAssignment.InstanceFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getAllin interfaceOSPolicyAssignment.InstanceFilterOrBuilder- Returns:
- The all.
-
setAll
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
Target all VMs in the project. If true, no other criteria is permitted.
bool all = 1;- Returns:
- This builder for chaining.
-
getOsShortNamesList
Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Specified by:
getOsShortNamesListin interfaceOSPolicyAssignment.InstanceFilterOrBuilder- Returns:
- A list containing the osShortNames.
-
getOsShortNamesCount
Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Specified by:
getOsShortNamesCountin interfaceOSPolicyAssignment.InstanceFilterOrBuilder- Returns:
- The count of osShortNames.
-
getOsShortNames
Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Specified by:
getOsShortNamesin interfaceOSPolicyAssignment.InstanceFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The osShortNames at the given index.
-
getOsShortNamesBytes
Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Specified by:
getOsShortNamesBytesin interfaceOSPolicyAssignment.InstanceFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the osShortNames at the given index.
-
setOsShortNames
@Deprecated public OSPolicyAssignment.InstanceFilter.Builder setOsShortNames(int index, String value) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Parameters:
index- The index to set the value at.value- The osShortNames to set.- Returns:
- This builder for chaining.
-
addOsShortNames
Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Parameters:
value- The osShortNames to add.- Returns:
- This builder for chaining.
-
addAllOsShortNames
@Deprecated public OSPolicyAssignment.InstanceFilter.Builder addAllOsShortNames(Iterable<String> values) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Parameters:
values- The osShortNames to add.- Returns:
- This builder for chaining.
-
clearOsShortNames
Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
addOsShortNamesBytes
@Deprecated public OSPolicyAssignment.InstanceFilter.Builder addOsShortNamesBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94Deprecated. Use the `inventories` field instead. A VM is selected if it's OS short name matches with any of the values provided in this list.
repeated string os_short_names = 2 [deprecated = true];- Parameters:
value- The bytes of the osShortNames to add.- Returns:
- This builder for chaining.
-
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;- Specified by:
getInclusionLabelsListin 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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;- Specified by:
getInclusionLabelsCountin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInclusionLabels
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;- Specified by:
getInclusionLabelsin 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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
removeInclusionLabels
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
getInclusionLabelsBuilder
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
getInclusionLabelsOrBuilder
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;- Specified by:
getInclusionLabelsOrBuilderin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;- Specified by:
getInclusionLabelsOrBuilderListin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;- Specified by:
getExclusionLabelsListin 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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;- Specified by:
getExclusionLabelsCountin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getExclusionLabels
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;- Specified by:
getExclusionLabelsin 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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
removeExclusionLabels
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
getExclusionLabelsBuilder
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
getExclusionLabelsOrBuilder
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;- Specified by:
getExclusionLabelsOrBuilderin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;- Specified by:
getExclusionLabelsOrBuilderListin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;- Specified by:
getInventoriesListin 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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;- Specified by:
getInventoriesCountin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
getInventories
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;- Specified by:
getInventoriesin 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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
removeInventories
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
getInventoriesBuilder
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
getInventoriesOrBuilder
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;- Specified by:
getInventoriesOrBuilderin 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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;- Specified by:
getInventoriesOrBuilderListin interfaceOSPolicyAssignment.InstanceFilterOrBuilder
-
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5; -
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
-