public interface TargetAttributeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Target labels.
|
String |
getId()
ID of the `Target`.
|
com.google.protobuf.ByteString |
getIdBytes()
ID of the `Target`.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Target labels.
|
Map<String,String> |
getLabelsMap()
Target labels.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Target labels.
|
String |
getLabelsOrThrow(String key)
Target labels.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getId()
ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine which target is being referred to * "*", all targets in a location.
string id = 1;com.google.protobuf.ByteString getIdBytes()
ID of the `Target`. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine which target is being referred to * "*", all targets in a location.
string id = 1;int getLabelsCount()
Target labels.
map<string, string> labels = 2;boolean containsLabels(String key)
Target labels.
map<string, string> labels = 2;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.String getLabelsOrDefault(String key, String defaultValue)
Target labels.
map<string, string> labels = 2;Copyright © 2024 Google LLC. All rights reserved.