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
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.Deprecated.intGoogle 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.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
isInitializedMethods 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
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.UsegetLabelsMap()instead. -
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
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
Google Compute Engine instance labels that must be present for an instance to be included in this assignment group.
map<string, string> labels = 1;
-