Package flyteidl.core
Class Workflow.WorkflowMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Workflow.WorkflowMetadata
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Workflow.WorkflowMetadataOrBuilder,Serializable
- Enclosing class:
- Workflow
public static final class Workflow.WorkflowMetadata extends com.google.protobuf.GeneratedMessageV3 implements Workflow.WorkflowMetadataOrBuilder
This is workflow layer metadata. These settings are only applicable to the workflow as a whole, and do not percolate down to child entities (like tasks) launched by the workflow.
Protobuf typeflyteidl.core.WorkflowMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflow.WorkflowMetadata.BuilderThis is workflow layer metadata.static classWorkflow.WorkflowMetadata.OnFailurePolicyFailure Handling Strategy-
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 private static Workflow.WorkflowMetadataDEFAULT_INSTANCEprivate bytememoizedIsInitializedstatic intON_FAILURE_FIELD_NUMBERprivate intonFailure_private static com.google.protobuf.Parser<Workflow.WorkflowMetadata>PARSERstatic intQUALITY_OF_SERVICE_FIELD_NUMBERprivate Execution.QualityOfServicequalityOfService_private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateWorkflowMetadata()privateWorkflowMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Workflow.WorkflowMetadatagetDefaultInstance()Workflow.WorkflowMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Workflow.WorkflowMetadata.OnFailurePolicygetOnFailure()Defines how the system should behave when a failure is detected in the workflow execution.intgetOnFailureValue()Defines how the system should behave when a failure is detected in the workflow execution.com.google.protobuf.Parser<Workflow.WorkflowMetadata>getParserForType()Execution.QualityOfServicegetQualityOfService()Indicates the runtime priority of workflow executions.Execution.QualityOfServiceOrBuildergetQualityOfServiceOrBuilder()Indicates the runtime priority of workflow executions.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasQualityOfService()Indicates the runtime priority of workflow executions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Workflow.WorkflowMetadata.BuildernewBuilder()static Workflow.WorkflowMetadata.BuildernewBuilder(Workflow.WorkflowMetadata prototype)Workflow.WorkflowMetadata.BuildernewBuilderForType()protected Workflow.WorkflowMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Workflow.WorkflowMetadataparseDelimitedFrom(InputStream input)static Workflow.WorkflowMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.WorkflowMetadataparseFrom(byte[] data)static Workflow.WorkflowMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.WorkflowMetadataparseFrom(com.google.protobuf.ByteString data)static Workflow.WorkflowMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.WorkflowMetadataparseFrom(com.google.protobuf.CodedInputStream input)static Workflow.WorkflowMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.WorkflowMetadataparseFrom(InputStream input)static Workflow.WorkflowMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.WorkflowMetadataparseFrom(ByteBuffer data)static Workflow.WorkflowMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Workflow.WorkflowMetadata>parser()Workflow.WorkflowMetadata.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, isStringEmpty, 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
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
QUALITY_OF_SERVICE_FIELD_NUMBER
public static final int QUALITY_OF_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
qualityOfService_
private Execution.QualityOfService qualityOfService_
-
ON_FAILURE_FIELD_NUMBER
public static final int ON_FAILURE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
onFailure_
private int onFailure_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Workflow.WorkflowMetadata DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Workflow.WorkflowMetadata> PARSER
-
-
Method Detail
-
newInstance
protected 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
-
hasQualityOfService
public boolean hasQualityOfService()
Indicates the runtime priority of workflow executions.
.flyteidl.core.QualityOfService quality_of_service = 1;- Specified by:
hasQualityOfServicein interfaceWorkflow.WorkflowMetadataOrBuilder- Returns:
- Whether the qualityOfService field is set.
-
getQualityOfService
public Execution.QualityOfService getQualityOfService()
Indicates the runtime priority of workflow executions.
.flyteidl.core.QualityOfService quality_of_service = 1;- Specified by:
getQualityOfServicein interfaceWorkflow.WorkflowMetadataOrBuilder- Returns:
- The qualityOfService.
-
getQualityOfServiceOrBuilder
public Execution.QualityOfServiceOrBuilder getQualityOfServiceOrBuilder()
Indicates the runtime priority of workflow executions.
.flyteidl.core.QualityOfService quality_of_service = 1;- Specified by:
getQualityOfServiceOrBuilderin interfaceWorkflow.WorkflowMetadataOrBuilder
-
getOnFailureValue
public int getOnFailureValue()
Defines how the system should behave when a failure is detected in the workflow execution.
.flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2;- Specified by:
getOnFailureValuein interfaceWorkflow.WorkflowMetadataOrBuilder- Returns:
- The enum numeric value on the wire for onFailure.
-
getOnFailure
public Workflow.WorkflowMetadata.OnFailurePolicy getOnFailure()
Defines how the system should behave when a failure is detected in the workflow execution.
.flyteidl.core.WorkflowMetadata.OnFailurePolicy on_failure = 2;- Specified by:
getOnFailurein interfaceWorkflow.WorkflowMetadataOrBuilder- Returns:
- The onFailure.
-
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 IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(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 Workflow.WorkflowMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workflow.WorkflowMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workflow.WorkflowMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow.WorkflowMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Workflow.WorkflowMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Workflow.WorkflowMetadata.Builder newBuilder()
-
newBuilder
public static Workflow.WorkflowMetadata.Builder newBuilder(Workflow.WorkflowMetadata prototype)
-
toBuilder
public Workflow.WorkflowMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Workflow.WorkflowMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Workflow.WorkflowMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Workflow.WorkflowMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<Workflow.WorkflowMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Workflow.WorkflowMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-