Interface OSPolicyAssignment.LabelSetOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsLabels​(String key)
      Labels are identified by key/value pairs in this map.
      Map<String,​String> getLabels()
      Deprecated.
      int getLabelsCount()
      Labels are identified by key/value pairs in this map.
      Map<String,​String> getLabelsMap()
      Labels are identified by key/value pairs in this map.
      String getLabelsOrDefault​(String key, String defaultValue)
      Labels are identified by key/value pairs in this map.
      String getLabelsOrThrow​(String key)
      Labels are identified by key/value pairs in this map.
      • 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()
         Labels are identified by key/value pairs in this map.
         A VM should contain all the key/value pairs specified in this
         map to be selected.
         
        map<string, string> labels = 1;
      • containsLabels

        boolean containsLabels​(String key)
         Labels are identified by key/value pairs in this map.
         A VM should contain all the key/value pairs specified in this
         map to be selected.
         
        map<string, string> labels = 1;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Labels are identified by key/value pairs in this map.
         A VM should contain all the key/value pairs specified in this
         map to be selected.
         
        map<string, string> labels = 1;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Labels are identified by key/value pairs in this map.
         A VM should contain all the key/value pairs specified in this
         map to be selected.
         
        map<string, string> labels = 1;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Labels are identified by key/value pairs in this map.
         A VM should contain all the key/value pairs specified in this
         map to be selected.
         
        map<string, string> labels = 1;