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 type
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter| Modifier and Type | Method and Description |
|---|---|
OSPolicyAssignment.InstanceFilter.Builder |
addAllExclusionLabels(Iterable<? extends OSPolicyAssignment.LabelSet> values)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addAllInclusionLabels(Iterable<? extends OSPolicyAssignment.LabelSet> values)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addAllInventories(Iterable<? extends OSPolicyAssignment.InstanceFilter.Inventory> values)
List of inventories to select VMs.
|
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=94
|
OSPolicyAssignment.InstanceFilter.Builder |
addExclusionLabels(int index,
OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addExclusionLabels(int index,
OSPolicyAssignment.LabelSet value)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addExclusionLabels(OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addExclusionLabels(OSPolicyAssignment.LabelSet value)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.LabelSet.Builder |
addExclusionLabelsBuilder()
List of label sets used for VM exclusion.
|
OSPolicyAssignment.LabelSet.Builder |
addExclusionLabelsBuilder(int index)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInclusionLabels(int index,
OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInclusionLabels(int index,
OSPolicyAssignment.LabelSet value)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInclusionLabels(OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInclusionLabels(OSPolicyAssignment.LabelSet value)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.LabelSet.Builder |
addInclusionLabelsBuilder()
List of label sets used for VM inclusion.
|
OSPolicyAssignment.LabelSet.Builder |
addInclusionLabelsBuilder(int index)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInventories(int index,
OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInventories(int index,
OSPolicyAssignment.InstanceFilter.Inventory value)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInventories(OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Builder |
addInventories(OSPolicyAssignment.InstanceFilter.Inventory value)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Inventory.Builder |
addInventoriesBuilder()
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Inventory.Builder |
addInventoriesBuilder(int index)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Builder |
addOsShortNames(String value)
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names
is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94
|
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=94
|
OSPolicyAssignment.InstanceFilter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OSPolicyAssignment.InstanceFilter |
build() |
OSPolicyAssignment.InstanceFilter |
buildPartial() |
OSPolicyAssignment.InstanceFilter.Builder |
clear() |
OSPolicyAssignment.InstanceFilter.Builder |
clearAll()
Target all VMs in the project.
|
OSPolicyAssignment.InstanceFilter.Builder |
clearExclusionLabels()
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OSPolicyAssignment.InstanceFilter.Builder |
clearInclusionLabels()
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
clearInventories()
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OSPolicyAssignment.InstanceFilter.Builder |
clearOsShortNames()
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names
is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94
|
OSPolicyAssignment.InstanceFilter.Builder |
clone() |
boolean |
getAll()
Target all VMs in the project.
|
OSPolicyAssignment.InstanceFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OSPolicyAssignment.LabelSet |
getExclusionLabels(int index)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.LabelSet.Builder |
getExclusionLabelsBuilder(int index)
List of label sets used for VM exclusion.
|
List<OSPolicyAssignment.LabelSet.Builder> |
getExclusionLabelsBuilderList()
List of label sets used for VM exclusion.
|
int |
getExclusionLabelsCount()
List of label sets used for VM exclusion.
|
List<OSPolicyAssignment.LabelSet> |
getExclusionLabelsList()
List of label sets used for VM exclusion.
|
OSPolicyAssignment.LabelSetOrBuilder |
getExclusionLabelsOrBuilder(int index)
List of label sets used for VM exclusion.
|
List<? extends OSPolicyAssignment.LabelSetOrBuilder> |
getExclusionLabelsOrBuilderList()
List of label sets used for VM exclusion.
|
OSPolicyAssignment.LabelSet |
getInclusionLabels(int index)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.LabelSet.Builder |
getInclusionLabelsBuilder(int index)
List of label sets used for VM inclusion.
|
List<OSPolicyAssignment.LabelSet.Builder> |
getInclusionLabelsBuilderList()
List of label sets used for VM inclusion.
|
int |
getInclusionLabelsCount()
List of label sets used for VM inclusion.
|
List<OSPolicyAssignment.LabelSet> |
getInclusionLabelsList()
List of label sets used for VM inclusion.
|
OSPolicyAssignment.LabelSetOrBuilder |
getInclusionLabelsOrBuilder(int index)
List of label sets used for VM inclusion.
|
List<? extends OSPolicyAssignment.LabelSetOrBuilder> |
getInclusionLabelsOrBuilderList()
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Inventory |
getInventories(int index)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Inventory.Builder |
getInventoriesBuilder(int index)
List of inventories to select VMs.
|
List<OSPolicyAssignment.InstanceFilter.Inventory.Builder> |
getInventoriesBuilderList()
List of inventories to select VMs.
|
int |
getInventoriesCount()
List of inventories to select VMs.
|
List<OSPolicyAssignment.InstanceFilter.Inventory> |
getInventoriesList()
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.InventoryOrBuilder |
getInventoriesOrBuilder(int index)
List of inventories to select VMs.
|
List<? extends OSPolicyAssignment.InstanceFilter.InventoryOrBuilder> |
getInventoriesOrBuilderList()
List of inventories to select VMs.
|
String |
getOsShortNames(int index)
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names
is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94
|
com.google.protobuf.ByteString |
getOsShortNamesBytes(int index)
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names
is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94
|
int |
getOsShortNamesCount()
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names
is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94
|
com.google.protobuf.ProtocolStringList |
getOsShortNamesList()
Deprecated.
google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.os_short_names
is deprecated. See google/cloud/osconfig/v1alpha/os_policy_assignments.proto;l=94
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OSPolicyAssignment.InstanceFilter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OSPolicyAssignment.InstanceFilter.Builder |
mergeFrom(com.google.protobuf.Message other) |
OSPolicyAssignment.InstanceFilter.Builder |
mergeFrom(OSPolicyAssignment.InstanceFilter other) |
OSPolicyAssignment.InstanceFilter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OSPolicyAssignment.InstanceFilter.Builder |
removeExclusionLabels(int index)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
removeInclusionLabels(int index)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
removeInventories(int index)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Builder |
setAll(boolean value)
Target all VMs in the project.
|
OSPolicyAssignment.InstanceFilter.Builder |
setExclusionLabels(int index,
OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
setExclusionLabels(int index,
OSPolicyAssignment.LabelSet value)
List of label sets used for VM exclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OSPolicyAssignment.InstanceFilter.Builder |
setInclusionLabels(int index,
OSPolicyAssignment.LabelSet.Builder builderForValue)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
setInclusionLabels(int index,
OSPolicyAssignment.LabelSet value)
List of label sets used for VM inclusion.
|
OSPolicyAssignment.InstanceFilter.Builder |
setInventories(int index,
OSPolicyAssignment.InstanceFilter.Inventory.Builder builderForValue)
List of inventories to select VMs.
|
OSPolicyAssignment.InstanceFilter.Builder |
setInventories(int index,
OSPolicyAssignment.InstanceFilter.Inventory value)
List of inventories to select VMs.
|
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=94
|
OSPolicyAssignment.InstanceFilter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OSPolicyAssignment.InstanceFilter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OSPolicyAssignment.InstanceFilter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OSPolicyAssignment.InstanceFilter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OSPolicyAssignment.InstanceFilter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder mergeFrom(OSPolicyAssignment.InstanceFilter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public OSPolicyAssignment.InstanceFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OSPolicyAssignment.InstanceFilter.Builder>IOExceptionpublic boolean getAll()
Target all VMs in the project. If true, no other criteria is permitted.
bool all = 1;getAll in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic OSPolicyAssignment.InstanceFilter.Builder setAll(boolean value)
Target all VMs in the project. If true, no other criteria is permitted.
bool all = 1;value - The all to set.public OSPolicyAssignment.InstanceFilter.Builder clearAll()
Target all VMs in the project. If true, no other criteria is permitted.
bool all = 1;@Deprecated public com.google.protobuf.ProtocolStringList getOsShortNamesList()
Deprecated. 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];getOsShortNamesList in interface OSPolicyAssignment.InstanceFilterOrBuilder@Deprecated public int getOsShortNamesCount()
Deprecated. 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];getOsShortNamesCount in interface OSPolicyAssignment.InstanceFilterOrBuilder@Deprecated public String getOsShortNames(int index)
Deprecated. 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];getOsShortNames in interface OSPolicyAssignment.InstanceFilterOrBuilderindex - The index of the element to return.@Deprecated public com.google.protobuf.ByteString getOsShortNamesBytes(int index)
Deprecated. 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];getOsShortNamesBytes in interface OSPolicyAssignment.InstanceFilterOrBuilderindex - The index of the value to return.@Deprecated public OSPolicyAssignment.InstanceFilter.Builder setOsShortNames(int index, String value)
Deprecated. 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];index - The index to set the value at.value - The osShortNames to set.@Deprecated public OSPolicyAssignment.InstanceFilter.Builder addOsShortNames(String value)
Deprecated. 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];value - The osShortNames to add.@Deprecated public OSPolicyAssignment.InstanceFilter.Builder addAllOsShortNames(Iterable<String> values)
Deprecated. 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];values - The osShortNames to add.@Deprecated public OSPolicyAssignment.InstanceFilter.Builder clearOsShortNames()
Deprecated. 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];@Deprecated public OSPolicyAssignment.InstanceFilter.Builder addOsShortNamesBytes(com.google.protobuf.ByteString value)
Deprecated. 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];value - The bytes of the osShortNames to add.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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
getInclusionLabelsList in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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;
getInclusionLabelsCount in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
getInclusionLabels in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
getInclusionLabelsOrBuilder in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
getInclusionLabelsOrBuilderList in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
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.v1alpha.OSPolicyAssignment.LabelSet inclusion_labels = 3;
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
getExclusionLabelsList in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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;
getExclusionLabelsCount in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
getExclusionLabels in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
getExclusionLabelsOrBuilder in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
getExclusionLabelsOrBuilderList in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
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.v1alpha.OSPolicyAssignment.LabelSet exclusion_labels = 4;
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
getInventoriesList in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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;
getInventoriesCount in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
getInventories in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
getInventoriesOrBuilder in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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;
getInventoriesOrBuilderList in interface OSPolicyAssignment.InstanceFilterOrBuilderpublic 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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
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.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory inventories = 5;
public final OSPolicyAssignment.InstanceFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>public final OSPolicyAssignment.InstanceFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OSPolicyAssignment.InstanceFilter.Builder>Copyright © 2024 Google LLC. All rights reserved.