public static final class PatchJobs.PatchInstanceFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.Builder> implements PatchJobs.PatchInstanceFilterOrBuilder
A filter to target VM instances for patching. The targeted VMs must meet all criteria specified. So if both labels and zones are specified, the patch job targets only VMs with those labels and in those zones.Protobuf type
google.cloud.osconfig.v1.PatchInstanceFilter| Modifier and Type | Method and Description |
|---|---|
PatchJobs.PatchInstanceFilter.Builder |
addAllGroupLabels(Iterable<? extends PatchJobs.PatchInstanceFilter.GroupLabel> values)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
addAllInstanceNamePrefixes(Iterable<String> values)
Targets VMs whose name starts with one of these prefixes.
|
PatchJobs.PatchInstanceFilter.Builder |
addAllInstances(Iterable<String> values)
Targets any of the VM instances specified.
|
PatchJobs.PatchInstanceFilter.Builder |
addAllZones(Iterable<String> values)
Targets VM instances in ANY of these zones.
|
PatchJobs.PatchInstanceFilter.Builder |
addGroupLabels(int index,
PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
addGroupLabels(int index,
PatchJobs.PatchInstanceFilter.GroupLabel value)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
addGroupLabels(PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
addGroupLabels(PatchJobs.PatchInstanceFilter.GroupLabel value)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.GroupLabel.Builder |
addGroupLabelsBuilder()
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.GroupLabel.Builder |
addGroupLabelsBuilder(int index)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
addInstanceNamePrefixes(String value)
Targets VMs whose name starts with one of these prefixes.
|
PatchJobs.PatchInstanceFilter.Builder |
addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value)
Targets VMs whose name starts with one of these prefixes.
|
PatchJobs.PatchInstanceFilter.Builder |
addInstances(String value)
Targets any of the VM instances specified.
|
PatchJobs.PatchInstanceFilter.Builder |
addInstancesBytes(com.google.protobuf.ByteString value)
Targets any of the VM instances specified.
|
PatchJobs.PatchInstanceFilter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.PatchInstanceFilter.Builder |
addZones(String value)
Targets VM instances in ANY of these zones.
|
PatchJobs.PatchInstanceFilter.Builder |
addZonesBytes(com.google.protobuf.ByteString value)
Targets VM instances in ANY of these zones.
|
PatchJobs.PatchInstanceFilter |
build() |
PatchJobs.PatchInstanceFilter |
buildPartial() |
PatchJobs.PatchInstanceFilter.Builder |
clear() |
PatchJobs.PatchInstanceFilter.Builder |
clearAll()
Target all VM instances in the project.
|
PatchJobs.PatchInstanceFilter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PatchJobs.PatchInstanceFilter.Builder |
clearGroupLabels()
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
clearInstanceNamePrefixes()
Targets VMs whose name starts with one of these prefixes.
|
PatchJobs.PatchInstanceFilter.Builder |
clearInstances()
Targets any of the VM instances specified.
|
PatchJobs.PatchInstanceFilter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PatchJobs.PatchInstanceFilter.Builder |
clearZones()
Targets VM instances in ANY of these zones.
|
PatchJobs.PatchInstanceFilter.Builder |
clone() |
boolean |
getAll()
Target all VM instances in the project.
|
PatchJobs.PatchInstanceFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PatchJobs.PatchInstanceFilter.GroupLabel |
getGroupLabels(int index)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.GroupLabel.Builder |
getGroupLabelsBuilder(int index)
Targets VM instances matching ANY of these GroupLabels.
|
List<PatchJobs.PatchInstanceFilter.GroupLabel.Builder> |
getGroupLabelsBuilderList()
Targets VM instances matching ANY of these GroupLabels.
|
int |
getGroupLabelsCount()
Targets VM instances matching ANY of these GroupLabels.
|
List<PatchJobs.PatchInstanceFilter.GroupLabel> |
getGroupLabelsList()
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder |
getGroupLabelsOrBuilder(int index)
Targets VM instances matching ANY of these GroupLabels.
|
List<? extends PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> |
getGroupLabelsOrBuilderList()
Targets VM instances matching ANY of these GroupLabels.
|
String |
getInstanceNamePrefixes(int index)
Targets VMs whose name starts with one of these prefixes.
|
com.google.protobuf.ByteString |
getInstanceNamePrefixesBytes(int index)
Targets VMs whose name starts with one of these prefixes.
|
int |
getInstanceNamePrefixesCount()
Targets VMs whose name starts with one of these prefixes.
|
com.google.protobuf.ProtocolStringList |
getInstanceNamePrefixesList()
Targets VMs whose name starts with one of these prefixes.
|
String |
getInstances(int index)
Targets any of the VM instances specified.
|
com.google.protobuf.ByteString |
getInstancesBytes(int index)
Targets any of the VM instances specified.
|
int |
getInstancesCount()
Targets any of the VM instances specified.
|
com.google.protobuf.ProtocolStringList |
getInstancesList()
Targets any of the VM instances specified.
|
String |
getZones(int index)
Targets VM instances in ANY of these zones.
|
com.google.protobuf.ByteString |
getZonesBytes(int index)
Targets VM instances in ANY of these zones.
|
int |
getZonesCount()
Targets VM instances in ANY of these zones.
|
com.google.protobuf.ProtocolStringList |
getZonesList()
Targets VM instances in ANY of these zones.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PatchJobs.PatchInstanceFilter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PatchJobs.PatchInstanceFilter.Builder |
mergeFrom(com.google.protobuf.Message other) |
PatchJobs.PatchInstanceFilter.Builder |
mergeFrom(PatchJobs.PatchInstanceFilter other) |
PatchJobs.PatchInstanceFilter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.PatchInstanceFilter.Builder |
removeGroupLabels(int index)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
setAll(boolean value)
Target all VM instances in the project.
|
PatchJobs.PatchInstanceFilter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.PatchInstanceFilter.Builder |
setGroupLabels(int index,
PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
setGroupLabels(int index,
PatchJobs.PatchInstanceFilter.GroupLabel value)
Targets VM instances matching ANY of these GroupLabels.
|
PatchJobs.PatchInstanceFilter.Builder |
setInstanceNamePrefixes(int index,
String value)
Targets VMs whose name starts with one of these prefixes.
|
PatchJobs.PatchInstanceFilter.Builder |
setInstances(int index,
String value)
Targets any of the VM instances specified.
|
PatchJobs.PatchInstanceFilter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PatchJobs.PatchInstanceFilter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.PatchInstanceFilter.Builder |
setZones(int index,
String value)
Targets VM instances in ANY of these zones.
|
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<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.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<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.PatchInstanceFilter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchInstanceFilter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.PatchInstanceFilter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.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<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.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<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.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<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.Builder mergeFrom(PatchJobs.PatchInstanceFilter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.Builder>public PatchJobs.PatchInstanceFilter.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<PatchJobs.PatchInstanceFilter.Builder>IOExceptionpublic boolean getAll()
Target all VM instances in the project. If true, no other criteria is permitted.
bool all = 1;getAll in interface PatchJobs.PatchInstanceFilterOrBuilderpublic PatchJobs.PatchInstanceFilter.Builder setAll(boolean value)
Target all VM instances in the project. If true, no other criteria is permitted.
bool all = 1;value - The all to set.public PatchJobs.PatchInstanceFilter.Builder clearAll()
Target all VM instances in the project. If true, no other criteria is permitted.
bool all = 1;public List<PatchJobs.PatchInstanceFilter.GroupLabel> getGroupLabelsList()
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
getGroupLabelsList in interface PatchJobs.PatchInstanceFilterOrBuilderpublic int getGroupLabelsCount()
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
getGroupLabelsCount in interface PatchJobs.PatchInstanceFilterOrBuilderpublic PatchJobs.PatchInstanceFilter.GroupLabel getGroupLabels(int index)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
getGroupLabels in interface PatchJobs.PatchInstanceFilterOrBuilderpublic PatchJobs.PatchInstanceFilter.Builder setGroupLabels(int index, PatchJobs.PatchInstanceFilter.GroupLabel value)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder setGroupLabels(int index, PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder addGroupLabels(PatchJobs.PatchInstanceFilter.GroupLabel value)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder addGroupLabels(int index, PatchJobs.PatchInstanceFilter.GroupLabel value)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder addGroupLabels(PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder addGroupLabels(int index, PatchJobs.PatchInstanceFilter.GroupLabel.Builder builderForValue)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder addAllGroupLabels(Iterable<? extends PatchJobs.PatchInstanceFilter.GroupLabel> values)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder clearGroupLabels()
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.Builder removeGroupLabels(int index)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.GroupLabel.Builder getGroupLabelsBuilder(int index)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder getGroupLabelsOrBuilder(int index)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
getGroupLabelsOrBuilder in interface PatchJobs.PatchInstanceFilterOrBuilderpublic List<? extends PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> getGroupLabelsOrBuilderList()
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
getGroupLabelsOrBuilderList in interface PatchJobs.PatchInstanceFilterOrBuilderpublic PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder()
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public PatchJobs.PatchInstanceFilter.GroupLabel.Builder addGroupLabelsBuilder(int index)
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public List<PatchJobs.PatchInstanceFilter.GroupLabel.Builder> getGroupLabelsBuilderList()
Targets VM instances matching ANY of these GroupLabels. This allows targeting of disparate groups of VM instances.
repeated .google.cloud.osconfig.v1.PatchInstanceFilter.GroupLabel group_labels = 2;
public com.google.protobuf.ProtocolStringList getZonesList()
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;getZonesList in interface PatchJobs.PatchInstanceFilterOrBuilderpublic int getZonesCount()
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;getZonesCount in interface PatchJobs.PatchInstanceFilterOrBuilderpublic String getZones(int index)
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;getZones in interface PatchJobs.PatchInstanceFilterOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getZonesBytes(int index)
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;getZonesBytes in interface PatchJobs.PatchInstanceFilterOrBuilderindex - The index of the value to return.public PatchJobs.PatchInstanceFilter.Builder setZones(int index, String value)
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;index - The index to set the value at.value - The zones to set.public PatchJobs.PatchInstanceFilter.Builder addZones(String value)
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;value - The zones to add.public PatchJobs.PatchInstanceFilter.Builder addAllZones(Iterable<String> values)
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;values - The zones to add.public PatchJobs.PatchInstanceFilter.Builder clearZones()
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;public PatchJobs.PatchInstanceFilter.Builder addZonesBytes(com.google.protobuf.ByteString value)
Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone.
repeated string zones = 3;value - The bytes of the zones to add.public com.google.protobuf.ProtocolStringList getInstancesList()
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;getInstancesList in interface PatchJobs.PatchInstanceFilterOrBuilderpublic int getInstancesCount()
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;getInstancesCount in interface PatchJobs.PatchInstanceFilterOrBuilderpublic String getInstances(int index)
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;getInstances in interface PatchJobs.PatchInstanceFilterOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInstancesBytes(int index)
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;getInstancesBytes in interface PatchJobs.PatchInstanceFilterOrBuilderindex - The index of the value to return.public PatchJobs.PatchInstanceFilter.Builder setInstances(int index, String value)
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;index - The index to set the value at.value - The instances to set.public PatchJobs.PatchInstanceFilter.Builder addInstances(String value)
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;value - The instances to add.public PatchJobs.PatchInstanceFilter.Builder addAllInstances(Iterable<String> values)
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;values - The instances to add.public PatchJobs.PatchInstanceFilter.Builder clearInstances()
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;public PatchJobs.PatchInstanceFilter.Builder addInstancesBytes(com.google.protobuf.ByteString value)
Targets any of the VM instances specified. Instances are specified by their URI in the form `zones/[ZONE]/instances/[INSTANCE_NAME]`, `projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`, or `https://www.googleapis.com/compute/v1/projects/[PROJECT_ID]/zones/[ZONE]/instances/[INSTANCE_NAME]`
repeated string instances = 4;value - The bytes of the instances to add.public com.google.protobuf.ProtocolStringList getInstanceNamePrefixesList()
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;getInstanceNamePrefixesList in interface PatchJobs.PatchInstanceFilterOrBuilderpublic int getInstanceNamePrefixesCount()
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;getInstanceNamePrefixesCount in interface PatchJobs.PatchInstanceFilterOrBuilderpublic String getInstanceNamePrefixes(int index)
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;getInstanceNamePrefixes in interface PatchJobs.PatchInstanceFilterOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getInstanceNamePrefixesBytes(int index)
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;getInstanceNamePrefixesBytes in interface PatchJobs.PatchInstanceFilterOrBuilderindex - The index of the value to return.public PatchJobs.PatchInstanceFilter.Builder setInstanceNamePrefixes(int index, String value)
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;index - The index to set the value at.value - The instanceNamePrefixes to set.public PatchJobs.PatchInstanceFilter.Builder addInstanceNamePrefixes(String value)
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;value - The instanceNamePrefixes to add.public PatchJobs.PatchInstanceFilter.Builder addAllInstanceNamePrefixes(Iterable<String> values)
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;values - The instanceNamePrefixes to add.public PatchJobs.PatchInstanceFilter.Builder clearInstanceNamePrefixes()
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;public PatchJobs.PatchInstanceFilter.Builder addInstanceNamePrefixesBytes(com.google.protobuf.ByteString value)
Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group VMs when targeting configs, for example prefix="prod-".
repeated string instance_name_prefixes = 5;value - The bytes of the instanceNamePrefixes to add.public final PatchJobs.PatchInstanceFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.Builder>public final PatchJobs.PatchInstanceFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.PatchInstanceFilter.Builder>Copyright © 2023 Google LLC. All rights reserved.