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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Optional annotations to add to the pod definition.booleancontainsLabels(String key)Optional labels to add to the pod definition.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Optional annotations to add to the pod definition.Map<String,String>getAnnotationsMap()Optional annotations to add to the pod definition.StringgetAnnotationsOrDefault(String key, String defaultValue)Optional annotations to add to the pod definition.StringgetAnnotationsOrThrow(String key)Optional annotations to add to the pod definition.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional labels to add to the pod definition.Map<String,String>getLabelsMap()Optional labels to add to the pod definition.StringgetLabelsOrDefault(String key, String defaultValue)Optional labels to add to the pod definition.StringgetLabelsOrThrow(String key)Optional labels to add to the pod definition.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
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;
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.
-
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;
-
-