Package flyteidl.core
Class Workflow.NodeMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.core.Workflow.NodeMetadata
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Workflow.NodeMetadataOrBuilder,Serializable
- Enclosing class:
- Workflow
public static final class Workflow.NodeMetadata extends com.google.protobuf.GeneratedMessageV3 implements Workflow.NodeMetadataOrBuilder
Defines extra information about the Node.
Protobuf typeflyteidl.core.NodeMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflow.NodeMetadata.BuilderDefines extra information about the Node.static classWorkflow.NodeMetadata.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 private static Workflow.NodeMetadataDEFAULT_INSTANCEstatic intINTERRUPTIBLE_FIELD_NUMBERprivate ObjectinterruptibleValue_private intinterruptibleValueCase_private bytememoizedIsInitializedprivate Objectname_static intNAME_FIELD_NUMBERprivate static com.google.protobuf.Parser<Workflow.NodeMetadata>PARSERprivate Literals.RetryStrategyretries_static intRETRIES_FIELD_NUMBERprivate static longserialVersionUIDprivate com.google.protobuf.Durationtimeout_static intTIMEOUT_FIELD_NUMBER
-
Constructor Summary
Constructors Modifier Constructor Description privateNodeMetadata()privateNodeMetadata(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.NodeMetadatagetDefaultInstance()Workflow.NodeMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetInterruptible()bool interruptible = 6;Workflow.NodeMetadata.InterruptibleValueCasegetInterruptibleValueCase()StringgetName()A friendly name for the Nodecom.google.protobuf.ByteStringgetNameBytes()A friendly name for the Nodecom.google.protobuf.Parser<Workflow.NodeMetadata>getParserForType()Literals.RetryStrategygetRetries()Number of retries per task.Literals.RetryStrategyOrBuildergetRetriesOrBuilder()Number of retries per task.intgetSerializedSize()com.google.protobuf.DurationgetTimeout()The overall timeout of a task.com.google.protobuf.DurationOrBuildergetTimeoutOrBuilder()The overall timeout of a task.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasInterruptible()bool interruptible = 6;booleanhasRetries()Number of retries per task.booleanhasTimeout()The overall timeout of a task.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Workflow.NodeMetadata.BuildernewBuilder()static Workflow.NodeMetadata.BuildernewBuilder(Workflow.NodeMetadata prototype)Workflow.NodeMetadata.BuildernewBuilderForType()protected Workflow.NodeMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Workflow.NodeMetadataparseDelimitedFrom(InputStream input)static Workflow.NodeMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.NodeMetadataparseFrom(byte[] data)static Workflow.NodeMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.NodeMetadataparseFrom(com.google.protobuf.ByteString data)static Workflow.NodeMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.NodeMetadataparseFrom(com.google.protobuf.CodedInputStream input)static Workflow.NodeMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.NodeMetadataparseFrom(InputStream input)static Workflow.NodeMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Workflow.NodeMetadataparseFrom(ByteBuffer data)static Workflow.NodeMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Workflow.NodeMetadata>parser()Workflow.NodeMetadata.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_
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
name_
private volatile Object name_
-
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_
-
INTERRUPTIBLE_FIELD_NUMBER
public static final int INTERRUPTIBLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Workflow.NodeMetadata DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Workflow.NodeMetadata> 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 Workflow.NodeMetadata.InterruptibleValueCase getInterruptibleValueCase()
- Specified by:
getInterruptibleValueCasein interfaceWorkflow.NodeMetadataOrBuilder
-
getName
public String getName()
A friendly name for the Node
string name = 1;- Specified by:
getNamein interfaceWorkflow.NodeMetadataOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
A friendly name for the Node
string name = 1;- Specified by:
getNameBytesin interfaceWorkflow.NodeMetadataOrBuilder- Returns:
- The bytes for name.
-
hasTimeout
public boolean hasTimeout()
The overall timeout of a task.
.google.protobuf.Duration timeout = 4;- Specified by:
hasTimeoutin interfaceWorkflow.NodeMetadataOrBuilder- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout()
The overall timeout of a task.
.google.protobuf.Duration timeout = 4;- Specified by:
getTimeoutin interfaceWorkflow.NodeMetadataOrBuilder- Returns:
- The timeout.
-
getTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
The overall timeout of a task.
.google.protobuf.Duration timeout = 4;- Specified by:
getTimeoutOrBuilderin interfaceWorkflow.NodeMetadataOrBuilder
-
hasRetries
public boolean hasRetries()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;- Specified by:
hasRetriesin interfaceWorkflow.NodeMetadataOrBuilder- 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 interfaceWorkflow.NodeMetadataOrBuilder- Returns:
- The retries.
-
getRetriesOrBuilder
public Literals.RetryStrategyOrBuilder getRetriesOrBuilder()
Number of retries per task.
.flyteidl.core.RetryStrategy retries = 5;- Specified by:
getRetriesOrBuilderin interfaceWorkflow.NodeMetadataOrBuilder
-
hasInterruptible
public boolean hasInterruptible()
bool interruptible = 6;- Specified by:
hasInterruptiblein interfaceWorkflow.NodeMetadataOrBuilder- Returns:
- Whether the interruptible field is set.
-
getInterruptible
public boolean getInterruptible()
bool interruptible = 6;- Specified by:
getInterruptiblein interfaceWorkflow.NodeMetadataOrBuilder- Returns:
- The interruptible.
-
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.NodeMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.NodeMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.NodeMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.NodeMetadata 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.NodeMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.NodeMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Workflow.NodeMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow.NodeMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workflow.NodeMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Workflow.NodeMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow.NodeMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Workflow.NodeMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Workflow.NodeMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Workflow.NodeMetadata.Builder newBuilder()
-
newBuilder
public static Workflow.NodeMetadata.Builder newBuilder(Workflow.NodeMetadata prototype)
-
toBuilder
public Workflow.NodeMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Workflow.NodeMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Workflow.NodeMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Workflow.NodeMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<Workflow.NodeMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Workflow.NodeMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-