public interface ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Set of labels that describe the resource.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Set of labels that describe the resource.
|
Map<String,String> |
getLabelsMap()
Set of labels that describe the resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Set of labels that describe the resource.
|
String |
getLabelsOrThrow(String key)
Set of labels that describe the resource.
|
String |
getType()
Type identifier for the resource.
|
com.google.protobuf.ByteString |
getTypeBytes()
Type identifier for the resource.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getType()
Type identifier for the resource.
string type = 1;com.google.protobuf.ByteString getTypeBytes()
Type identifier for the resource.
string type = 1;int getLabelsCount()
Set of labels that describe the resource.
map<string, string> labels = 2;boolean containsLabels(String key)
Set of labels that describe the resource.
map<string, string> labels = 2;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Set of labels that describe the resource.
map<string, string> labels = 2;String getLabelsOrDefault(String key, String defaultValue)
Set of labels that describe the resource.
map<string, string> labels = 2;Copyright © 2018–2021 The Envoy Project. All rights reserved.