Interface VmExtensionPolicyLabelSelectorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
VmExtensionPolicyLabelSelector, VmExtensionPolicyLabelSelector.Builder

@Generated public interface VmExtensionPolicyLabelSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getInclusionLabelsCount

      int getInclusionLabelsCount()
       Optional. A map of key-value pairs representing VM labels.
       VMs must have all of the labels specified in this map to be selected
       (logical AND).
      
       e.g. If the `inclusion_labels` are {("key1", "value1"), ("key2",
       "value2")}, the VM labels must contain both ("key1", "value1") and
       ("key2", "value2") to be selected. If the VM labels are ("key1",
       "value1") and ("something", "else"), it will not be selected.
      
       If the map is empty, it's considered a match.
       
      map<string, string> inclusion_labels = 501312642;
    • containsInclusionLabels

      boolean containsInclusionLabels(String key)
       Optional. A map of key-value pairs representing VM labels.
       VMs must have all of the labels specified in this map to be selected
       (logical AND).
      
       e.g. If the `inclusion_labels` are {("key1", "value1"), ("key2",
       "value2")}, the VM labels must contain both ("key1", "value1") and
       ("key2", "value2") to be selected. If the VM labels are ("key1",
       "value1") and ("something", "else"), it will not be selected.
      
       If the map is empty, it's considered a match.
       
      map<string, string> inclusion_labels = 501312642;
    • getInclusionLabels

      @Deprecated Map<String,String> getInclusionLabels()
      Deprecated.
    • getInclusionLabelsMap

      Map<String,String> getInclusionLabelsMap()
       Optional. A map of key-value pairs representing VM labels.
       VMs must have all of the labels specified in this map to be selected
       (logical AND).
      
       e.g. If the `inclusion_labels` are {("key1", "value1"), ("key2",
       "value2")}, the VM labels must contain both ("key1", "value1") and
       ("key2", "value2") to be selected. If the VM labels are ("key1",
       "value1") and ("something", "else"), it will not be selected.
      
       If the map is empty, it's considered a match.
       
      map<string, string> inclusion_labels = 501312642;
    • getInclusionLabelsOrDefault

      String getInclusionLabelsOrDefault(String key, String defaultValue)
       Optional. A map of key-value pairs representing VM labels.
       VMs must have all of the labels specified in this map to be selected
       (logical AND).
      
       e.g. If the `inclusion_labels` are {("key1", "value1"), ("key2",
       "value2")}, the VM labels must contain both ("key1", "value1") and
       ("key2", "value2") to be selected. If the VM labels are ("key1",
       "value1") and ("something", "else"), it will not be selected.
      
       If the map is empty, it's considered a match.
       
      map<string, string> inclusion_labels = 501312642;
    • getInclusionLabelsOrThrow

      String getInclusionLabelsOrThrow(String key)
       Optional. A map of key-value pairs representing VM labels.
       VMs must have all of the labels specified in this map to be selected
       (logical AND).
      
       e.g. If the `inclusion_labels` are {("key1", "value1"), ("key2",
       "value2")}, the VM labels must contain both ("key1", "value1") and
       ("key2", "value2") to be selected. If the VM labels are ("key1",
       "value1") and ("something", "else"), it will not be selected.
      
       If the map is empty, it's considered a match.
       
      map<string, string> inclusion_labels = 501312642;