Package flyteidl.admin
Class ExecutionOuterClass.ExecutionSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.admin.ExecutionOuterClass.ExecutionSpec
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExecutionOuterClass.ExecutionSpecOrBuilder,java.io.Serializable
- Enclosing class:
- ExecutionOuterClass
public static final class ExecutionOuterClass.ExecutionSpec extends com.google.protobuf.GeneratedMessageV3 implements ExecutionOuterClass.ExecutionSpecOrBuilder
An ExecutionSpec encompasses all data used to launch this execution. The Spec does not change over the lifetime of an execution as it progresses across phase changes..
Protobuf typeflyteidl.admin.ExecutionSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutionOuterClass.ExecutionSpec.BuilderAn ExecutionSpec encompasses all data used to launch this execution.static classExecutionOuterClass.ExecutionSpec.NotificationOverridesCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATIONS_FIELD_NUMBERstatic intDISABLE_ALL_FIELD_NUMBERstatic intINPUTS_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLAUNCH_PLAN_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intNOTIFICATIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Common.AnnotationsgetAnnotations()Annotations to apply to the execution resource.Common.AnnotationsOrBuildergetAnnotationsOrBuilder()Annotations to apply to the execution resource.static ExecutionOuterClass.ExecutionSpecgetDefaultInstance()ExecutionOuterClass.ExecutionSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDisableAll()This should be set to true if all notifications are intended to be disabled for this execution.Literals.LiteralMapgetInputs()Deprecated.Literals.LiteralMapOrBuildergetInputsOrBuilder()Deprecated.Common.LabelsgetLabels()Labels to apply to the execution resource.Common.LabelsOrBuildergetLabelsOrBuilder()Labels to apply to the execution resource.IdentifierOuterClass.IdentifiergetLaunchPlan()Launch plan to be executedIdentifierOuterClass.IdentifierOrBuildergetLaunchPlanOrBuilder()Launch plan to be executedExecutionOuterClass.ExecutionMetadatagetMetadata()Metadata for the executionExecutionOuterClass.ExecutionMetadataOrBuildergetMetadataOrBuilder()Metadata for the executionExecutionOuterClass.ExecutionSpec.NotificationOverridesCasegetNotificationOverridesCase()ExecutionOuterClass.NotificationListgetNotifications()List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan.ExecutionOuterClass.NotificationListOrBuildergetNotificationsOrBuilder()List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan.com.google.protobuf.Parser<ExecutionOuterClass.ExecutionSpec>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAnnotations()Annotations to apply to the execution resource.inthashCode()booleanhasInputs()Deprecated.booleanhasLabels()Labels to apply to the execution resource.booleanhasLaunchPlan()Launch plan to be executedbooleanhasMetadata()Metadata for the executionbooleanhasNotifications()List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ExecutionOuterClass.ExecutionSpec.BuildernewBuilder()static ExecutionOuterClass.ExecutionSpec.BuildernewBuilder(ExecutionOuterClass.ExecutionSpec prototype)ExecutionOuterClass.ExecutionSpec.BuildernewBuilderForType()protected ExecutionOuterClass.ExecutionSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ExecutionOuterClass.ExecutionSpecparseDelimitedFrom(java.io.InputStream input)static ExecutionOuterClass.ExecutionSpecparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionOuterClass.ExecutionSpecparseFrom(byte[] data)static ExecutionOuterClass.ExecutionSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionOuterClass.ExecutionSpecparseFrom(com.google.protobuf.ByteString data)static ExecutionOuterClass.ExecutionSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionOuterClass.ExecutionSpecparseFrom(com.google.protobuf.CodedInputStream input)static ExecutionOuterClass.ExecutionSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionOuterClass.ExecutionSpecparseFrom(java.io.InputStream input)static ExecutionOuterClass.ExecutionSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExecutionOuterClass.ExecutionSpecparseFrom(java.nio.ByteBuffer data)static ExecutionOuterClass.ExecutionSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ExecutionOuterClass.ExecutionSpec>parser()ExecutionOuterClass.ExecutionSpec.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
LAUNCH_PLAN_FIELD_NUMBER
public static final int LAUNCH_PLAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUTS_FIELD_NUMBER
public static final int INPUTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATIONS_FIELD_NUMBER
public static final int NOTIFICATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISABLE_ALL_FIELD_NUMBER
public static final int DISABLE_ALL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNotificationOverridesCase
public ExecutionOuterClass.ExecutionSpec.NotificationOverridesCase getNotificationOverridesCase()
- Specified by:
getNotificationOverridesCasein interfaceExecutionOuterClass.ExecutionSpecOrBuilder
-
hasLaunchPlan
public boolean hasLaunchPlan()
Launch plan to be executed
.flyteidl.core.Identifier launch_plan = 1;- Specified by:
hasLaunchPlanin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- Whether the launchPlan field is set.
-
getLaunchPlan
public IdentifierOuterClass.Identifier getLaunchPlan()
Launch plan to be executed
.flyteidl.core.Identifier launch_plan = 1;- Specified by:
getLaunchPlanin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- The launchPlan.
-
getLaunchPlanOrBuilder
public IdentifierOuterClass.IdentifierOrBuilder getLaunchPlanOrBuilder()
Launch plan to be executed
.flyteidl.core.Identifier launch_plan = 1;- Specified by:
getLaunchPlanOrBuilderin interfaceExecutionOuterClass.ExecutionSpecOrBuilder
-
hasInputs
@Deprecated public boolean hasInputs()
Deprecated.Input values to be passed for the execution
.flyteidl.core.LiteralMap inputs = 2 [deprecated = true];- Specified by:
hasInputsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- Whether the inputs field is set.
-
getInputs
@Deprecated public Literals.LiteralMap getInputs()
Deprecated.Input values to be passed for the execution
.flyteidl.core.LiteralMap inputs = 2 [deprecated = true];- Specified by:
getInputsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- The inputs.
-
getInputsOrBuilder
@Deprecated public Literals.LiteralMapOrBuilder getInputsOrBuilder()
Deprecated.Input values to be passed for the execution
.flyteidl.core.LiteralMap inputs = 2 [deprecated = true];- Specified by:
getInputsOrBuilderin interfaceExecutionOuterClass.ExecutionSpecOrBuilder
-
hasMetadata
public boolean hasMetadata()
Metadata for the execution
.flyteidl.admin.ExecutionMetadata metadata = 3;- Specified by:
hasMetadatain interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public ExecutionOuterClass.ExecutionMetadata getMetadata()
Metadata for the execution
.flyteidl.admin.ExecutionMetadata metadata = 3;- Specified by:
getMetadatain interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public ExecutionOuterClass.ExecutionMetadataOrBuilder getMetadataOrBuilder()
Metadata for the execution
.flyteidl.admin.ExecutionMetadata metadata = 3;- Specified by:
getMetadataOrBuilderin interfaceExecutionOuterClass.ExecutionSpecOrBuilder
-
hasNotifications
public boolean hasNotifications()
List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied.
.flyteidl.admin.NotificationList notifications = 5;- Specified by:
hasNotificationsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- Whether the notifications field is set.
-
getNotifications
public ExecutionOuterClass.NotificationList getNotifications()
List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied.
.flyteidl.admin.NotificationList notifications = 5;- Specified by:
getNotificationsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- The notifications.
-
getNotificationsOrBuilder
public ExecutionOuterClass.NotificationListOrBuilder getNotificationsOrBuilder()
List of notifications based on Execution status transitions When this list is not empty it is used rather than any notifications defined in the referenced launch plan. When this list is empty, the notifications defined for the launch plan will be applied.
.flyteidl.admin.NotificationList notifications = 5;- Specified by:
getNotificationsOrBuilderin interfaceExecutionOuterClass.ExecutionSpecOrBuilder
-
getDisableAll
public boolean getDisableAll()
This should be set to true if all notifications are intended to be disabled for this execution.
bool disable_all = 6;- Specified by:
getDisableAllin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- The disableAll.
-
hasLabels
public boolean hasLabels()
Labels to apply to the execution resource.
.flyteidl.admin.Labels labels = 7;- Specified by:
hasLabelsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- Whether the labels field is set.
-
getLabels
public Common.Labels getLabels()
Labels to apply to the execution resource.
.flyteidl.admin.Labels labels = 7;- Specified by:
getLabelsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- The labels.
-
getLabelsOrBuilder
public Common.LabelsOrBuilder getLabelsOrBuilder()
Labels to apply to the execution resource.
.flyteidl.admin.Labels labels = 7;- Specified by:
getLabelsOrBuilderin interfaceExecutionOuterClass.ExecutionSpecOrBuilder
-
hasAnnotations
public boolean hasAnnotations()
Annotations to apply to the execution resource.
.flyteidl.admin.Annotations annotations = 8;- Specified by:
hasAnnotationsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- Whether the annotations field is set.
-
getAnnotations
public Common.Annotations getAnnotations()
Annotations to apply to the execution resource.
.flyteidl.admin.Annotations annotations = 8;- Specified by:
getAnnotationsin interfaceExecutionOuterClass.ExecutionSpecOrBuilder- Returns:
- The annotations.
-
getAnnotationsOrBuilder
public Common.AnnotationsOrBuilder getAnnotationsOrBuilder()
Annotations to apply to the execution resource.
.flyteidl.admin.Annotations annotations = 8;- Specified by:
getAnnotationsOrBuilderin interfaceExecutionOuterClass.ExecutionSpecOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ExecutionOuterClass.ExecutionSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ExecutionOuterClass.ExecutionSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ExecutionOuterClass.ExecutionSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ExecutionOuterClass.ExecutionSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ExecutionOuterClass.ExecutionSpec.Builder newBuilder()
-
newBuilder
public static ExecutionOuterClass.ExecutionSpec.Builder newBuilder(ExecutionOuterClass.ExecutionSpec prototype)
-
toBuilder
public ExecutionOuterClass.ExecutionSpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExecutionOuterClass.ExecutionSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ExecutionOuterClass.ExecutionSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ExecutionOuterClass.ExecutionSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<ExecutionOuterClass.ExecutionSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ExecutionOuterClass.ExecutionSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-