public static interface SidecarOuterClass.WorkloadSelectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsLabels(String key)
One or more labels that indicate a specific set of pods/VMs
on which the configuration should be applied.
|
Map<String,String> |
getLabels()
已过时。
|
int |
getLabelsCount()
One or more labels that indicate a specific set of pods/VMs
on which the configuration should be applied.
|
Map<String,String> |
getLabelsMap()
One or more labels that indicate a specific set of pods/VMs
on which the configuration should be applied.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
One or more labels that indicate a specific set of pods/VMs
on which the configuration should be applied.
|
String |
getLabelsOrThrow(String key)
One or more labels that indicate a specific set of pods/VMs
on which the configuration should be applied.
|
int getLabelsCount()
One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present.
map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];boolean containsLabels(String key)
One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present.
map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present.
map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];String getLabelsOrDefault(String key, String defaultValue)
One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present.
map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];String getLabelsOrThrow(String key)
One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied. The scope of label search is restricted to the configuration namespace in which the the resource is present.
map<string, string> labels = 1 [(.google.api.field_behavior) = REQUIRED];Copyright © 2018–2023 Alibaba Group. All rights reserved.