Package com.google.cloud.osconfig.v1beta
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
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.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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
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;
-
-