接口 SidecarOuterClass.WorkloadSelectorOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
SidecarOuterClass.WorkloadSelector, SidecarOuterClass.WorkloadSelector.Builder
封闭类:
SidecarOuterClass

public static interface SidecarOuterClass.WorkloadSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    One or more labels that indicate a specific set of pods/VMs on which the configuration should be applied.
    已过时。
    int
    One 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.
    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

      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];
    • getLabels

      已过时。
      Use getLabelsMap() instead.
    • getLabelsMap

      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];
    • getLabelsOrDefault

      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];
    • getLabelsOrThrow

      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];