public static final class PatchJobs.PatchInstanceFilter extends GeneratedMessageV3 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
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  ALL_FIELD_NUMBER
  
    public static final int ALL_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  GROUP_LABELS_FIELD_NUMBER
  
    public static final int GROUP_LABELS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  INSTANCES_FIELD_NUMBER
  
    public static final int INSTANCES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  INSTANCE_NAME_PREFIXES_FIELD_NUMBER
  
    public static final int INSTANCE_NAME_PREFIXES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  ZONES_FIELD_NUMBER
  
    public static final int ZONES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static PatchJobs.PatchInstanceFilter getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static PatchJobs.PatchInstanceFilter.Builder newBuilder()
   
  
  
  newBuilder(PatchJobs.PatchInstanceFilter prototype)
  
    public static PatchJobs.PatchInstanceFilter.Builder newBuilder(PatchJobs.PatchInstanceFilter prototype)
   
  
  
  
  
  
    public static PatchJobs.PatchInstanceFilter parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static PatchJobs.PatchInstanceFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static PatchJobs.PatchInstanceFilter parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static PatchJobs.PatchInstanceFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static PatchJobs.PatchInstanceFilter parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static PatchJobs.PatchInstanceFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PatchJobs.PatchInstanceFilter parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static PatchJobs.PatchInstanceFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PatchJobs.PatchInstanceFilter parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static PatchJobs.PatchInstanceFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static PatchJobs.PatchInstanceFilter parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static PatchJobs.PatchInstanceFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<PatchJobs.PatchInstanceFilter> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  getAll()
  
   Target all VM instances in the project. If true, no other criteria is
 permitted.
 bool all = 1;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | The all. | 
    
  
  
  getDefaultInstanceForType()
  
    public PatchJobs.PatchInstanceFilter getDefaultInstanceForType()
   
  
  
  getGroupLabels(int index)
  
    public 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;
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getGroupLabelsCount()
  
    public 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;
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  
  getGroupLabelsList()
  
    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;
 
getGroupLabelsOrBuilder(int index)
  
    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;
 
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 | 
    
  
  
  
  getGroupLabelsOrBuilderList()
  
    public 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;
 
    
      
        | Returns | 
      
        | Type | Description | 
      
        | List<? extends com.google.cloud.osconfig.v1.PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder> |  | 
    
  
  
  getInstanceNamePrefixes(int index)
  
    public 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;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The instanceNamePrefixes at the given index. | 
    
  
  
  getInstanceNamePrefixesBytes(int index)
  
    public 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;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the instanceNamePrefixes at the given index. | 
    
  
  
  getInstanceNamePrefixesCount()
  
    public 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;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of instanceNamePrefixes. | 
    
  
  
  getInstanceNamePrefixesList()
  
    public 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;
getInstances(int index)
  
    public 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;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The instances at the given index. | 
    
  
  
  getInstancesBytes(int index)
  
    public 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;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the instances at the given index. | 
    
  
  
  getInstancesCount()
  
    public 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;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of instances. | 
    
  
  
  getInstancesList()
  
    public 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;
getParserForType()
  
    public Parser<PatchJobs.PatchInstanceFilter> getParserForType()
   
  
  Overrides
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  getZones(int index)
  
    public 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;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the element to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The zones at the given index. | 
    
  
  
  getZonesBytes(int index)
  
    public 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;
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | index | int
 The index of the value to return. | 
    
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes of the zones at the given index. | 
    
  
  
  getZonesCount()
  
    public int getZonesCount()
   
   Targets VM instances in ANY of these zones. Leave empty to target VM
 instances in any zone.
 repeated string zones = 3;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int | The count of zones. | 
    
  
  
  getZonesList()
  
    public ProtocolStringList getZonesList()
   
   Targets VM instances in ANY of these zones. Leave empty to target VM
 instances in any zone.
 repeated string zones = 3;
hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public PatchJobs.PatchInstanceFilter.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected PatchJobs.PatchInstanceFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public PatchJobs.PatchInstanceFilter.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides