Package flyteidl.admin
Class MatchableResourceOuterClass.WorkflowExecutionConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- flyteidl.admin.MatchableResourceOuterClass.WorkflowExecutionConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder,Serializable
- Enclosing class:
- MatchableResourceOuterClass
public static final class MatchableResourceOuterClass.WorkflowExecutionConfig extends com.google.protobuf.GeneratedMessageV3 implements MatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder
Adds defaults for customizable workflow-execution specifications and overrides.
Protobuf typeflyteidl.admin.WorkflowExecutionConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMatchableResourceOuterClass.WorkflowExecutionConfig.BuilderAdds defaults for customizable workflow-execution specifications and overrides.-
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 Common.Annotationsannotations_static intANNOTATIONS_FIELD_NUMBERprivate static MatchableResourceOuterClass.WorkflowExecutionConfigDEFAULT_INSTANCEprivate com.google.protobuf.BoolValueinterruptible_static intINTERRUPTIBLE_FIELD_NUMBERprivate Common.Labelslabels_static intLABELS_FIELD_NUMBERstatic intMAX_PARALLELISM_FIELD_NUMBERprivate intmaxParallelism_private bytememoizedIsInitializedprivate static com.google.protobuf.Parser<MatchableResourceOuterClass.WorkflowExecutionConfig>PARSERstatic intRAW_OUTPUT_DATA_CONFIG_FIELD_NUMBERprivate Common.RawOutputDataConfigrawOutputDataConfig_static intSECURITY_CONTEXT_FIELD_NUMBERprivate Security.SecurityContextsecurityContext_private static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateWorkflowExecutionConfig()privateWorkflowExecutionConfig(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Common.AnnotationsgetAnnotations()Custom annotations to be applied to a triggered execution resource.Common.AnnotationsOrBuildergetAnnotationsOrBuilder()Custom annotations to be applied to a triggered execution resource.static MatchableResourceOuterClass.WorkflowExecutionConfiggetDefaultInstance()MatchableResourceOuterClass.WorkflowExecutionConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.BoolValuegetInterruptible()Allows for the interruptible flag of a workflow to be overwritten for a single execution.com.google.protobuf.BoolValueOrBuildergetInterruptibleOrBuilder()Allows for the interruptible flag of a workflow to be overwritten for a single execution.Common.LabelsgetLabels()Custom labels to be applied to a triggered execution resource.Common.LabelsOrBuildergetLabelsOrBuilder()Custom labels to be applied to a triggered execution resource.intgetMaxParallelism()Can be used to control the number of parallel nodes to run within the workflow.com.google.protobuf.Parser<MatchableResourceOuterClass.WorkflowExecutionConfig>getParserForType()Common.RawOutputDataConfiggetRawOutputDataConfig()Encapsulates user settings pertaining to offloaded data (i.e.Common.RawOutputDataConfigOrBuildergetRawOutputDataConfigOrBuilder()Encapsulates user settings pertaining to offloaded data (i.e.Security.SecurityContextgetSecurityContext()Indicates security context permissions for executions triggered with this matchable attribute.Security.SecurityContextOrBuildergetSecurityContextOrBuilder()Indicates security context permissions for executions triggered with this matchable attribute.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAnnotations()Custom annotations to be applied to a triggered execution resource.inthashCode()booleanhasInterruptible()Allows for the interruptible flag of a workflow to be overwritten for a single execution.booleanhasLabels()Custom labels to be applied to a triggered execution resource.booleanhasRawOutputDataConfig()Encapsulates user settings pertaining to offloaded data (i.e.booleanhasSecurityContext()Indicates security context permissions for executions triggered with this matchable attribute.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MatchableResourceOuterClass.WorkflowExecutionConfig.BuildernewBuilder()static MatchableResourceOuterClass.WorkflowExecutionConfig.BuildernewBuilder(MatchableResourceOuterClass.WorkflowExecutionConfig prototype)MatchableResourceOuterClass.WorkflowExecutionConfig.BuildernewBuilderForType()protected MatchableResourceOuterClass.WorkflowExecutionConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MatchableResourceOuterClass.WorkflowExecutionConfigparseDelimitedFrom(InputStream input)static MatchableResourceOuterClass.WorkflowExecutionConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(byte[] data)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(com.google.protobuf.ByteString data)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(com.google.protobuf.CodedInputStream input)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(InputStream input)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(ByteBuffer data)static MatchableResourceOuterClass.WorkflowExecutionConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MatchableResourceOuterClass.WorkflowExecutionConfig>parser()MatchableResourceOuterClass.WorkflowExecutionConfig.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
-
MAX_PARALLELISM_FIELD_NUMBER
public static final int MAX_PARALLELISM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxParallelism_
private int maxParallelism_
-
SECURITY_CONTEXT_FIELD_NUMBER
public static final int SECURITY_CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
securityContext_
private Security.SecurityContext securityContext_
-
RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER
public static final int RAW_OUTPUT_DATA_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
rawOutputDataConfig_
private Common.RawOutputDataConfig rawOutputDataConfig_
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
labels_
private Common.Labels labels_
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
annotations_
private Common.Annotations annotations_
-
INTERRUPTIBLE_FIELD_NUMBER
public static final int INTERRUPTIBLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
interruptible_
private com.google.protobuf.BoolValue interruptible_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final MatchableResourceOuterClass.WorkflowExecutionConfig DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<MatchableResourceOuterClass.WorkflowExecutionConfig> 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
-
getMaxParallelism
public int getMaxParallelism()
Can be used to control the number of parallel nodes to run within the workflow. This is useful to achieve fairness.
int32 max_parallelism = 1;- Specified by:
getMaxParallelismin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- The maxParallelism.
-
hasSecurityContext
public boolean hasSecurityContext()
Indicates security context permissions for executions triggered with this matchable attribute.
.flyteidl.core.SecurityContext security_context = 2;- Specified by:
hasSecurityContextin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- Whether the securityContext field is set.
-
getSecurityContext
public Security.SecurityContext getSecurityContext()
Indicates security context permissions for executions triggered with this matchable attribute.
.flyteidl.core.SecurityContext security_context = 2;- Specified by:
getSecurityContextin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- The securityContext.
-
getSecurityContextOrBuilder
public Security.SecurityContextOrBuilder getSecurityContextOrBuilder()
Indicates security context permissions for executions triggered with this matchable attribute.
.flyteidl.core.SecurityContext security_context = 2;- Specified by:
getSecurityContextOrBuilderin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder
-
hasRawOutputDataConfig
public boolean hasRawOutputDataConfig()
Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
.flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3;- Specified by:
hasRawOutputDataConfigin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- Whether the rawOutputDataConfig field is set.
-
getRawOutputDataConfig
public Common.RawOutputDataConfig getRawOutputDataConfig()
Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
.flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3;- Specified by:
getRawOutputDataConfigin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- The rawOutputDataConfig.
-
getRawOutputDataConfigOrBuilder
public Common.RawOutputDataConfigOrBuilder getRawOutputDataConfigOrBuilder()
Encapsulates user settings pertaining to offloaded data (i.e. Blobs, Schema, query data, etc.).
.flyteidl.admin.RawOutputDataConfig raw_output_data_config = 3;- Specified by:
getRawOutputDataConfigOrBuilderin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder
-
hasLabels
public boolean hasLabels()
Custom labels to be applied to a triggered execution resource.
.flyteidl.admin.Labels labels = 4;- Specified by:
hasLabelsin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- Whether the labels field is set.
-
getLabels
public Common.Labels getLabels()
Custom labels to be applied to a triggered execution resource.
.flyteidl.admin.Labels labels = 4;- Specified by:
getLabelsin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- The labels.
-
getLabelsOrBuilder
public Common.LabelsOrBuilder getLabelsOrBuilder()
Custom labels to be applied to a triggered execution resource.
.flyteidl.admin.Labels labels = 4;- Specified by:
getLabelsOrBuilderin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder
-
hasAnnotations
public boolean hasAnnotations()
Custom annotations to be applied to a triggered execution resource.
.flyteidl.admin.Annotations annotations = 5;- Specified by:
hasAnnotationsin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- Whether the annotations field is set.
-
getAnnotations
public Common.Annotations getAnnotations()
Custom annotations to be applied to a triggered execution resource.
.flyteidl.admin.Annotations annotations = 5;- Specified by:
getAnnotationsin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- The annotations.
-
getAnnotationsOrBuilder
public Common.AnnotationsOrBuilder getAnnotationsOrBuilder()
Custom annotations to be applied to a triggered execution resource.
.flyteidl.admin.Annotations annotations = 5;- Specified by:
getAnnotationsOrBuilderin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder
-
hasInterruptible
public boolean hasInterruptible()
Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field.
.google.protobuf.BoolValue interruptible = 6;- Specified by:
hasInterruptiblein interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- Whether the interruptible field is set.
-
getInterruptible
public com.google.protobuf.BoolValue getInterruptible()
Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field.
.google.protobuf.BoolValue interruptible = 6;- Specified by:
getInterruptiblein interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder- Returns:
- The interruptible.
-
getInterruptibleOrBuilder
public com.google.protobuf.BoolValueOrBuilder getInterruptibleOrBuilder()
Allows for the interruptible flag of a workflow to be overwritten for a single execution. Omitting this field uses the workflow's value as a default. As we need to distinguish between the field not being provided and its default value false, we have to use a wrapper around the bool field.
.google.protobuf.BoolValue interruptible = 6;- Specified by:
getInterruptibleOrBuilderin interfaceMatchableResourceOuterClass.WorkflowExecutionConfigOrBuilder
-
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 MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MatchableResourceOuterClass.WorkflowExecutionConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MatchableResourceOuterClass.WorkflowExecutionConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MatchableResourceOuterClass.WorkflowExecutionConfig.Builder newBuilder()
-
newBuilder
public static MatchableResourceOuterClass.WorkflowExecutionConfig.Builder newBuilder(MatchableResourceOuterClass.WorkflowExecutionConfig prototype)
-
toBuilder
public MatchableResourceOuterClass.WorkflowExecutionConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MatchableResourceOuterClass.WorkflowExecutionConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MatchableResourceOuterClass.WorkflowExecutionConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MatchableResourceOuterClass.WorkflowExecutionConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<MatchableResourceOuterClass.WorkflowExecutionConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MatchableResourceOuterClass.WorkflowExecutionConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-