接口 SidecarOuterClass.WorkloadSelectorOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
- SidecarOuterClass
public static interface SidecarOuterClass.WorkloadSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsLabels(java.lang.String key)One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.java.util.Map<java.lang.String,java.lang.String>getLabels()已过时。intgetLabelsCount()One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.java.util.Map<java.lang.String,java.lang.String>getLabelsMap()One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.java.lang.StringgetLabelsOrDefault(java.lang.String key, java.lang.String defaultValue)One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.java.lang.StringgetLabelsOrThrow(java.lang.String key)One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.
-
-
-
方法详细资料
-
getLabelsCount
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];
-
containsLabels
boolean containsLabels(java.lang.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];
-
getLabels
@Deprecated java.util.Map<java.lang.String,java.lang.String> getLabels()
已过时。UsegetLabelsMap()instead.
-
getLabelsMap
java.util.Map<java.lang.String,java.lang.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];
-
getLabelsOrDefault
java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.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];
-
getLabelsOrThrow
java.lang.String getLabelsOrThrow(java.lang.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];
-
-