接口 SidecarOuterClass.WorkloadSelectorOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
SidecarOuterClass
public static interface SidecarOuterClass.WorkloadSelectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明booleancontainsLabels(String key) One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.已过时。intOne or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.getLabelsOrDefault(String key, String defaultValue) One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.getLabelsOrThrow(String key) One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
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
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
已过时。UsegetLabelsMap()instead. -
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
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
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];
-