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,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 Metadatastatic classTasks.TaskMetadata.InterruptibleValueCase-
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 intCACHE_SERIALIZABLE_FIELD_NUMBERprivate booleancacheSerializable_private static Tasks.TaskMetadataDEFAULT_INSTANCEstatic intDEPRECATED_ERROR_MESSAGE_FIELD_NUMBERprivate ObjectdeprecatedErrorMessage_private booleandiscoverable_static intDISCOVERABLE_FIELD_NUMBERstatic intDISCOVERY_VERSION_FIELD_NUMBERprivate ObjectdiscoveryVersion_static intINTERRUPTIBLE_FIELD_NUMBERprivate ObjectinterruptibleValue_private intinterruptibleValueCase_private bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Tasks.TaskMetadata>PARSERprivate Literals.RetryStrategyretries_static intRETRIES_FIELD_NUMBERprivate Tasks.RuntimeMetadataruntime_static intRUNTIME_FIELD_NUMBERprivate static longserialVersionUIDprivate com.google.protobuf.Durationtimeout_static intTIMEOUT_FIELD_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description privateTaskMetadata()privateTaskMetadata(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetCacheSerializable()Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate workstatic Tasks.TaskMetadatagetDefaultInstance()Tasks.TaskMetadatagetDefaultInstanceForType()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.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.booleangetInterruptible()bool interruptible = 8;Tasks.TaskMetadata.InterruptibleValueCasegetInterruptibleValueCase()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()booleanhasInterruptible()bool interruptible = 8;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 ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Tasks.TaskMetadataparseDelimitedFrom(InputStream input)static Tasks.TaskMetadataparseDelimitedFrom(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(InputStream input)static Tasks.TaskMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Tasks.TaskMetadataparseFrom(ByteBuffer data)static Tasks.TaskMetadataparseFrom(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, 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
-
interruptibleValueCase_
private int interruptibleValueCase_
-
interruptibleValue_
private Object interruptibleValue_
-
DISCOVERABLE_FIELD_NUMBER
public static final int DISCOVERABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
discoverable_
private boolean discoverable_
-
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
runtime_
private Tasks.RuntimeMetadata runtime_
-
TIMEOUT_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
timeout_
private com.google.protobuf.Duration timeout_
-
RETRIES_FIELD_NUMBER
public static final int RETRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
retries_
private Literals.RetryStrategy retries_
-
DISCOVERY_VERSION_FIELD_NUMBER
public static final int DISCOVERY_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
discoveryVersion_
private volatile Object discoveryVersion_
-
DEPRECATED_ERROR_MESSAGE_FIELD_NUMBER
public static final int DEPRECATED_ERROR_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
deprecatedErrorMessage_
private volatile Object deprecatedErrorMessage_
-
INTERRUPTIBLE_FIELD_NUMBER
public static final int INTERRUPTIBLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CACHE_SERIALIZABLE_FIELD_NUMBER
public static final int CACHE_SERIALIZABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
cacheSerializable_
private boolean cacheSerializable_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Tasks.TaskMetadata DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Tasks.TaskMetadata> 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
-
getInterruptibleValueCase
public Tasks.TaskMetadata.InterruptibleValueCase getInterruptibleValueCase()
- Specified by:
getInterruptibleValueCasein interfaceTasks.TaskMetadataOrBuilder
-
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 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 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.
-
hasInterruptible
public boolean hasInterruptible()
bool interruptible = 8;- Specified by:
hasInterruptiblein interfaceTasks.TaskMetadataOrBuilder- Returns:
- Whether the interruptible field is set.
-
getInterruptible
public boolean getInterruptible()
bool interruptible = 8;- Specified by:
getInterruptiblein interfaceTasks.TaskMetadataOrBuilder- Returns:
- The interruptible.
-
getCacheSerializable
public boolean getCacheSerializable()
Indicates whether the system should attempt to execute discoverable instances in serial to avoid duplicate work
bool cache_serializable = 9;- Specified by:
getCacheSerializablein interfaceTasks.TaskMetadataOrBuilder- Returns:
- The cacheSerializable.
-
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 Tasks.TaskMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Tasks.TaskMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Tasks.TaskMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Tasks.TaskMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
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
-
-