Interface PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PatchJobs.PatchInstanceFilter.GroupLabel, PatchJobs.PatchInstanceFilter.GroupLabel.Builder
Enclosing class:
PatchJobs.PatchInstanceFilter

public static interface PatchJobs.PatchInstanceFilter.GroupLabelOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
    Deprecated.
    int
    Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
    Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
    getLabelsOrDefault(String key, String defaultValue)
    Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.
    Compute Engine instance labels that must be present for a VM instance to be targeted by this filter.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getLabelsCount

      int getLabelsCount()
       Compute Engine instance labels that must be present for a VM instance to
       be targeted by this filter.
       
      map<string, string> labels = 1;
    • containsLabels

      boolean containsLabels(String key)
       Compute Engine instance labels that must be present for a VM instance to
       be targeted by this filter.
       
      map<string, string> labels = 1;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Compute Engine instance labels that must be present for a VM instance to
       be targeted by this filter.
       
      map<string, string> labels = 1;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Compute Engine instance labels that must be present for a VM instance to
       be targeted by this filter.
       
      map<string, string> labels = 1;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Compute Engine instance labels that must be present for a VM instance to
       be targeted by this filter.
       
      map<string, string> labels = 1;