Package flyteidl.core

Interface Tasks.K8sObjectMetadataOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Tasks.K8sObjectMetadata, Tasks.K8sObjectMetadata.Builder
    Enclosing class:
    Tasks

    public static interface Tasks.K8sObjectMetadataOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getLabelsCount

        int getLabelsCount()
         Optional labels to add to the pod definition.
         
        map<string, string> labels = 1;
      • containsLabels

        boolean containsLabels​(String key)
         Optional labels to add to the pod definition.
         
        map<string, string> labels = 1;
      • getLabelsMap

        Map<String,​String> getLabelsMap()
         Optional labels to add to the pod definition.
         
        map<string, string> labels = 1;
      • getLabelsOrDefault

        String getLabelsOrDefault​(String key,
                                  String defaultValue)
         Optional labels to add to the pod definition.
         
        map<string, string> labels = 1;
      • getLabelsOrThrow

        String getLabelsOrThrow​(String key)
         Optional labels to add to the pod definition.
         
        map<string, string> labels = 1;
      • getAnnotationsCount

        int getAnnotationsCount()
         Optional annotations to add to the pod definition.
         
        map<string, string> annotations = 2;
      • containsAnnotations

        boolean containsAnnotations​(String key)
         Optional annotations to add to the pod definition.
         
        map<string, string> annotations = 2;
      • getAnnotationsMap

        Map<String,​String> getAnnotationsMap()
         Optional annotations to add to the pod definition.
         
        map<string, string> annotations = 2;
      • getAnnotationsOrDefault

        String getAnnotationsOrDefault​(String key,
                                       String defaultValue)
         Optional annotations to add to the pod definition.
         
        map<string, string> annotations = 2;
      • getAnnotationsOrThrow

        String getAnnotationsOrThrow​(String key)
         Optional annotations to add to the pod definition.
         
        map<string, string> annotations = 2;