Package flyteidl.core
Interface Tasks.TaskTemplateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tasks.TaskTemplate,Tasks.TaskTemplate.Builder
- Enclosing class:
- Tasks
public static interface Tasks.TaskTemplateOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tasks.ContainergetContainer().flyteidl.core.Container container = 6;Tasks.ContainerOrBuildergetContainerOrBuilder().flyteidl.core.Container container = 6;com.google.protobuf.StructgetCustom()Custom data about the task.com.google.protobuf.StructOrBuildergetCustomOrBuilder()Custom data about the task.IdentifierOuterClass.IdentifiergetId()Auto generated taskId by the system.IdentifierOuterClass.IdentifierOrBuildergetIdOrBuilder()Auto generated taskId by the system.Interface.TypedInterfacegetInterface()A strongly typed interface for the task.Interface.TypedInterfaceOrBuildergetInterfaceOrBuilder()A strongly typed interface for the task.Tasks.TaskMetadatagetMetadata()Extra metadata about the task.Tasks.TaskMetadataOrBuildergetMetadataOrBuilder()Extra metadata about the task.Tasks.TaskTemplate.TargetCasegetTargetCase()java.lang.StringgetType()A predefined yet extensible Task type identifier.com.google.protobuf.ByteStringgetTypeBytes()A predefined yet extensible Task type identifier.booleanhasContainer().flyteidl.core.Container container = 6;booleanhasCustom()Custom data about the task.booleanhasId()Auto generated taskId by the system.booleanhasInterface()A strongly typed interface for the task.booleanhasMetadata()Extra metadata about the task.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasId
boolean hasId()
Auto generated taskId by the system. Task Id uniquely identifies this task globally.
.flyteidl.core.Identifier id = 1;- Returns:
- Whether the id field is set.
-
getId
IdentifierOuterClass.Identifier getId()
Auto generated taskId by the system. Task Id uniquely identifies this task globally.
.flyteidl.core.Identifier id = 1;- Returns:
- The id.
-
getIdOrBuilder
IdentifierOuterClass.IdentifierOrBuilder getIdOrBuilder()
Auto generated taskId by the system. Task Id uniquely identifies this task globally.
.flyteidl.core.Identifier id = 1;
-
getType
java.lang.String getType()
A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory.
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
A predefined yet extensible Task type identifier. This can be used to customize any of the components. If no extensions are provided in the system, Flyte will resolve the this task to its TaskCategory and default the implementation registered for the TaskCategory.
string type = 2;- Returns:
- The bytes for type.
-
hasMetadata
boolean hasMetadata()
Extra metadata about the task.
.flyteidl.core.TaskMetadata metadata = 3;- Returns:
- Whether the metadata field is set.
-
getMetadata
Tasks.TaskMetadata getMetadata()
Extra metadata about the task.
.flyteidl.core.TaskMetadata metadata = 3;- Returns:
- The metadata.
-
getMetadataOrBuilder
Tasks.TaskMetadataOrBuilder getMetadataOrBuilder()
Extra metadata about the task.
.flyteidl.core.TaskMetadata metadata = 3;
-
hasInterface
boolean hasInterface()
A strongly typed interface for the task. This enables others to use this task within a workflow and gauarantees compile-time validation of the workflow to avoid costly runtime failures.
.flyteidl.core.TypedInterface interface = 4;- Returns:
- Whether the interface field is set.
-
getInterface
Interface.TypedInterface getInterface()
A strongly typed interface for the task. This enables others to use this task within a workflow and gauarantees compile-time validation of the workflow to avoid costly runtime failures.
.flyteidl.core.TypedInterface interface = 4;- Returns:
- The interface.
-
getInterfaceOrBuilder
Interface.TypedInterfaceOrBuilder getInterfaceOrBuilder()
A strongly typed interface for the task. This enables others to use this task within a workflow and gauarantees compile-time validation of the workflow to avoid costly runtime failures.
.flyteidl.core.TypedInterface interface = 4;
-
hasCustom
boolean hasCustom()
Custom data about the task. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom = 5;- Returns:
- Whether the custom field is set.
-
getCustom
com.google.protobuf.Struct getCustom()
Custom data about the task. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom = 5;- Returns:
- The custom.
-
getCustomOrBuilder
com.google.protobuf.StructOrBuilder getCustomOrBuilder()
Custom data about the task. This is extensible to allow various plugins in the system.
.google.protobuf.Struct custom = 5;
-
hasContainer
boolean hasContainer()
.flyteidl.core.Container container = 6;- Returns:
- Whether the container field is set.
-
getContainer
Tasks.Container getContainer()
.flyteidl.core.Container container = 6;- Returns:
- The container.
-
getContainerOrBuilder
Tasks.ContainerOrBuilder getContainerOrBuilder()
.flyteidl.core.Container container = 6;
-
getTargetCase
Tasks.TaskTemplate.TargetCase getTargetCase()
-
-