Package flyteidl.core
Class Tasks.TaskMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Tasks.TaskMetadata
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Tasks.TaskMetadataOrBuilder,java.io.Serializable
- Enclosing class:
- Tasks
public static final class Tasks.TaskMetadata extends com.google.protobuf.GeneratedMessageV3 implements Tasks.TaskMetadataOrBuilder
Task Metadata
Protobuf typeflyteidl.core.TaskMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTasks.TaskMetadata.BuilderTask Metadata-
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 intDEPRECATED_ERROR_MESSAGE_FIELD_NUMBERstatic intDISCOVERABLE_FIELD_NUMBERstatic intDISCOVERY_VERSION_FIELD_NUMBERstatic intRETRIES_FIELD_NUMBERstatic intRUNTIME_FIELD_NUMBERstatic intTIMEOUT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static Tasks.TaskMetadatagetDefaultInstance()Tasks.TaskMetadatagetDefaultInstanceForType()java.lang.StringgetDeprecatedErrorMessage()If set, this indicates that this task is deprecated.com.google.protobuf.ByteStringgetDeprecatedErrorMessageBytes()If set, this indicates that this task is deprecated.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetDiscoverable()Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.java.lang.StringgetDiscoveryVersion()Indicates a logical version to apply to this task for the purpose of discovery.com.google.protobuf.ByteStringgetDiscoveryVersionBytes()Indicates a logical version to apply to this task for the purpose of discovery.com.google.protobuf.Parser<Tasks.TaskMetadata>getParserForType()Literals.RetryStrategygetRetries()Number of retries per task.Literals.RetryStrategyOrBuildergetRetriesOrBuilder()Number of retries per task.Tasks.RuntimeMetadatagetRuntime()Runtime information about the task.Tasks.RuntimeMetadataOrBuildergetRuntimeOrBuilder()Runtime information about the task.intgetSerializedSize()com.google.protobuf.DurationgetTimeout()The overall timeout of a task including user-triggered retries.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The overall timeout of a task including user-triggered retries.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasRetries()Number of retries per task.booleanhasRuntime()Runtime information about the task.booleanhasTimeout()The overall timeout of a task including user-triggered retries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Tasks.TaskMetadata.BuildernewBuilder()static Tasks.TaskMetadata.BuildernewBuilder(Tasks.TaskMetadata prototype)Tasks.TaskMetadata.BuildernewBuilderForType()protected Tasks.TaskMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Tasks.TaskMetadataparseDelimitedFrom(java.io.InputStream input)static Tasks.TaskMetadataparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskMetadataparseFrom(byte[] data)static Tasks.TaskMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskMetadataparseFrom(com.google.protobuf.ByteString data)static Tasks.TaskMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskMetadataparseFrom(com.google.protobuf.CodedInputStream input)static Tasks.TaskMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskMetadataparseFrom(java.io.InputStream input)static Tasks.TaskMetadataparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskMetadataparseFrom(java.nio.ByteBuffer data)static Tasks.TaskMetadataparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Tasks.TaskMetadata>parser()Tasks.TaskMetadata.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
-
DISCOVERABLE_FIELD_NUMBER
public static final int DISCOVERABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRIES_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISCOVERY_VERSION_FIELD_NUMBER
public static final int DISCOVERY_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATED_ERROR_MESSAGE_FIELD_NUMBER
public static final int DEPRECATED_ERROR_MESSAGE_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
-
getDiscoverable
public boolean getDiscoverable()
Indicates whether the system should attempt to lookup this task's output to avoid duplication of work.
bool discoverable = 1;- Specified by:
getDiscoverablein interfaceTasks.TaskMetadataOrBuilder- Returns:
- The discoverable.
-
hasRuntime
public boolean hasRuntime()
Runtime information about the task.
.flyteidl.core.RuntimeMetadata runtime = 2;- Specified by:
hasRuntimein interfaceTasks.TaskMetadataOrBuilder- Returns:
- Whether the runtime field is set.
-
getRuntime
public Tasks.RuntimeMetadata getRuntime()
Runtime information about the task.
.flyteidl.core.RuntimeMetadata runtime = 2;- Specified by:
getRuntimein interfaceTasks.TaskMetadataOrBuilder- Returns:
- The runtime.
-
getRuntimeOrBuilder
public Tasks.RuntimeMetadataOrBuilder getRuntimeOrBuilder()
Runtime information about the task.
.flyteidl.core.RuntimeMetadata runtime = 2;- Specified by:
getRuntimeOrBuilderin interfaceTasks.TaskMetadataOrBuilder
-
hasTimeout
public boolean hasTimeout()
The overall timeout of a task including user-triggered retries.
.google.protobuf.Duration timeout = 4;- Specified by:
hasTimeoutin interfaceTasks.TaskMetadataOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
The overall timeout of a task including user-triggered retries.
.google.protobuf.Duration timeout = 4;- Specified by:
getTimeoutin interfaceTasks.TaskMetadataOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The overall timeout of a task including user-triggered retries.
.google.protobuf.Duration timeout = 4;- Specified by:
getTimeoutOrBuilderin interfaceTasks.TaskMetadataOrBuilder
-
hasRetries
public boolean hasRetries()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;- Specified by:
hasRetriesin interfaceTasks.TaskMetadataOrBuilder- Returns:
- Whether the retries field is set.
-
getRetries
public Literals.RetryStrategy getRetries()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;- Specified by:
getRetriesin interfaceTasks.TaskMetadataOrBuilder- Returns:
- The retries.
-
getRetriesOrBuilder
public Literals.RetryStrategyOrBuilder getRetriesOrBuilder()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;- Specified by:
getRetriesOrBuilderin interfaceTasks.TaskMetadataOrBuilder
-
getDiscoveryVersion
public java.lang.String getDiscoveryVersion()
Indicates a logical version to apply to this task for the purpose of discovery.
string discovery_version = 6;- Specified by:
getDiscoveryVersionin interfaceTasks.TaskMetadataOrBuilder- Returns:
- The discoveryVersion.
-
getDiscoveryVersionBytes
public com.google.protobuf.ByteString getDiscoveryVersionBytes()
Indicates a logical version to apply to this task for the purpose of discovery.
string discovery_version = 6;- Specified by:
getDiscoveryVersionBytesin interfaceTasks.TaskMetadataOrBuilder- Returns:
- The bytes for discoveryVersion.
-
getDeprecatedErrorMessage
public java.lang.String getDeprecatedErrorMessage()
If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task.
string deprecated_error_message = 7;- Specified by:
getDeprecatedErrorMessagein interfaceTasks.TaskMetadataOrBuilder- Returns:
- The deprecatedErrorMessage.
-
getDeprecatedErrorMessageBytes
public com.google.protobuf.ByteString getDeprecatedErrorMessageBytes()
If set, this indicates that this task is deprecated. This will enable owners of tasks to notify consumers of the ending of support for a given task.
string deprecated_error_message = 7;- Specified by:
getDeprecatedErrorMessageBytesin interfaceTasks.TaskMetadataOrBuilder- Returns:
- The bytes for deprecatedErrorMessage.
-
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 Tasks.TaskMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Tasks.TaskMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Tasks.TaskMetadata parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Tasks.TaskMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Tasks.TaskMetadata.Builder newBuilder()
-
newBuilder
public static Tasks.TaskMetadata.Builder newBuilder(Tasks.TaskMetadata prototype)
-
toBuilder
public Tasks.TaskMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Tasks.TaskMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Tasks.TaskMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Tasks.TaskMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<Tasks.TaskMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Tasks.TaskMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-