Interface GuestPolicies.Assignment.GroupLabelOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsLabels​(String key)
      Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
      Map<String,​String> getLabels()
      Deprecated.
      int getLabelsCount()
      Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
      Map<String,​String> getLabelsMap()
      Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
      String getLabelsOrDefault​(String key, String defaultValue)
      Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
      String getLabelsOrThrow​(String key)
      Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
      • 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 Detail

      • getLabelsCount

        int getLabelsCount()
         Google Compute Engine instance labels that must be present for an
         instance to be included in this assignment group.
         
        map<string, string> labels = 1;
      • containsLabels

        boolean containsLabels​(String key)
         Google Compute Engine instance labels that must be present for an
         instance to be included in this assignment group.
         
        map<string, string> labels = 1;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Google Compute Engine instance labels that must be present for an
         instance to be included in this assignment group.
         
        map<string, string> labels = 1;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Google Compute Engine instance labels that must be present for an
         instance to be included in this assignment group.
         
        map<string, string> labels = 1;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Google Compute Engine instance labels that must be present for an
         instance to be included in this assignment group.
         
        map<string, string> labels = 1;