Interface GuestPolicies.Assignment.GroupLabelOrBuilder

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

public static interface GuestPolicies.Assignment.GroupLabelOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
    Deprecated.
    int
    Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
    Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
    getLabelsOrDefault(String key, String defaultValue)
    Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
    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 Details

    • 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;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • 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;