接口 SidecarOuterClass.WorkloadSelectorOrBuilder

    • 方法概要

      所有方法 实例方法 抽象方法 已过时的方法 
      修饰符和类型 方法 说明
      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.
      java.util.Map<java.lang.String,​java.lang.String> getLabels()
      已过时。
      int getLabelsCount()
      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.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.
      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.
      • 从接口继承的方法 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​(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()
        已过时。
        Use getLabelsMap() 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];