
flyteidl.core.DynamicJob Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: flyteidl/core/dynamic_job.proto
package flyteidl.core;
public final class DynamicJob {
private DynamicJob() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface DynamicJobSpecOrBuilder extends
// @@protoc_insertion_point(interface_extends:flyteidl.core.DynamicJobSpec)
com.google.protobuf.MessageOrBuilder {
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
java.util.List
getNodesList();
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
flyteidl.core.Workflow.Node getNodes(int index);
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
int getNodesCount();
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
java.util.List extends flyteidl.core.Workflow.NodeOrBuilder>
getNodesOrBuilderList();
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder(
int index);
/**
*
* An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
* criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
* becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
* min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
* specified, is the count of nodes repeated field.
*
*
* int64 min_successes = 2;
* @return The minSuccesses.
*/
long getMinSuccesses();
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
java.util.List
getOutputsList();
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
flyteidl.core.Literals.Binding getOutputs(int index);
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
int getOutputsCount();
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
java.util.List extends flyteidl.core.Literals.BindingOrBuilder>
getOutputsOrBuilderList();
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder(
int index);
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
java.util.List
getTasksList();
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
flyteidl.core.Tasks.TaskTemplate getTasks(int index);
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
int getTasksCount();
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
java.util.List extends flyteidl.core.Tasks.TaskTemplateOrBuilder>
getTasksOrBuilderList();
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder(
int index);
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
java.util.List
getSubworkflowsList();
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
flyteidl.core.Workflow.WorkflowTemplate getSubworkflows(int index);
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
int getSubworkflowsCount();
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
java.util.List extends flyteidl.core.Workflow.WorkflowTemplateOrBuilder>
getSubworkflowsOrBuilderList();
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubworkflowsOrBuilder(
int index);
}
/**
*
* Describes a set of tasks to execute and how the final outputs are produced.
*
*
* Protobuf type {@code flyteidl.core.DynamicJobSpec}
*/
public static final class DynamicJobSpec extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:flyteidl.core.DynamicJobSpec)
DynamicJobSpecOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamicJobSpec.newBuilder() to construct.
private DynamicJobSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DynamicJobSpec() {
nodes_ = java.util.Collections.emptyList();
outputs_ = java.util.Collections.emptyList();
tasks_ = java.util.Collections.emptyList();
subworkflows_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DynamicJobSpec();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DynamicJobSpec(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
nodes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
nodes_.add(
input.readMessage(flyteidl.core.Workflow.Node.parser(), extensionRegistry));
break;
}
case 16: {
minSuccesses_ = input.readInt64();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
outputs_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
outputs_.add(
input.readMessage(flyteidl.core.Literals.Binding.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
tasks_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
tasks_.add(
input.readMessage(flyteidl.core.Tasks.TaskTemplate.parser(), extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
subworkflows_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
subworkflows_.add(
input.readMessage(flyteidl.core.Workflow.WorkflowTemplate.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
nodes_ = java.util.Collections.unmodifiableList(nodes_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
outputs_ = java.util.Collections.unmodifiableList(outputs_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
tasks_ = java.util.Collections.unmodifiableList(tasks_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
subworkflows_ = java.util.Collections.unmodifiableList(subworkflows_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.core.DynamicJob.DynamicJobSpec.class, flyteidl.core.DynamicJob.DynamicJobSpec.Builder.class);
}
public static final int NODES_FIELD_NUMBER = 1;
private java.util.List nodes_;
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public java.util.List getNodesList() {
return nodes_;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public java.util.List extends flyteidl.core.Workflow.NodeOrBuilder>
getNodesOrBuilderList() {
return nodes_;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public int getNodesCount() {
return nodes_.size();
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public flyteidl.core.Workflow.Node getNodes(int index) {
return nodes_.get(index);
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder(
int index) {
return nodes_.get(index);
}
public static final int MIN_SUCCESSES_FIELD_NUMBER = 2;
private long minSuccesses_;
/**
*
* An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
* criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
* becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
* min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
* specified, is the count of nodes repeated field.
*
*
* int64 min_successes = 2;
* @return The minSuccesses.
*/
public long getMinSuccesses() {
return minSuccesses_;
}
public static final int OUTPUTS_FIELD_NUMBER = 3;
private java.util.List outputs_;
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public java.util.List getOutputsList() {
return outputs_;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public java.util.List extends flyteidl.core.Literals.BindingOrBuilder>
getOutputsOrBuilderList() {
return outputs_;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public int getOutputsCount() {
return outputs_.size();
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public flyteidl.core.Literals.Binding getOutputs(int index) {
return outputs_.get(index);
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder(
int index) {
return outputs_.get(index);
}
public static final int TASKS_FIELD_NUMBER = 4;
private java.util.List tasks_;
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public java.util.List getTasksList() {
return tasks_;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public java.util.List extends flyteidl.core.Tasks.TaskTemplateOrBuilder>
getTasksOrBuilderList() {
return tasks_;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public int getTasksCount() {
return tasks_.size();
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public flyteidl.core.Tasks.TaskTemplate getTasks(int index) {
return tasks_.get(index);
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder(
int index) {
return tasks_.get(index);
}
public static final int SUBWORKFLOWS_FIELD_NUMBER = 5;
private java.util.List subworkflows_;
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public java.util.List getSubworkflowsList() {
return subworkflows_;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public java.util.List extends flyteidl.core.Workflow.WorkflowTemplateOrBuilder>
getSubworkflowsOrBuilderList() {
return subworkflows_;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public int getSubworkflowsCount() {
return subworkflows_.size();
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public flyteidl.core.Workflow.WorkflowTemplate getSubworkflows(int index) {
return subworkflows_.get(index);
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubworkflowsOrBuilder(
int index) {
return subworkflows_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < nodes_.size(); i++) {
output.writeMessage(1, nodes_.get(i));
}
if (minSuccesses_ != 0L) {
output.writeInt64(2, minSuccesses_);
}
for (int i = 0; i < outputs_.size(); i++) {
output.writeMessage(3, outputs_.get(i));
}
for (int i = 0; i < tasks_.size(); i++) {
output.writeMessage(4, tasks_.get(i));
}
for (int i = 0; i < subworkflows_.size(); i++) {
output.writeMessage(5, subworkflows_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < nodes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, nodes_.get(i));
}
if (minSuccesses_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, minSuccesses_);
}
for (int i = 0; i < outputs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, outputs_.get(i));
}
for (int i = 0; i < tasks_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, tasks_.get(i));
}
for (int i = 0; i < subworkflows_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, subworkflows_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof flyteidl.core.DynamicJob.DynamicJobSpec)) {
return super.equals(obj);
}
flyteidl.core.DynamicJob.DynamicJobSpec other = (flyteidl.core.DynamicJob.DynamicJobSpec) obj;
if (!getNodesList()
.equals(other.getNodesList())) return false;
if (getMinSuccesses()
!= other.getMinSuccesses()) return false;
if (!getOutputsList()
.equals(other.getOutputsList())) return false;
if (!getTasksList()
.equals(other.getTasksList())) return false;
if (!getSubworkflowsList()
.equals(other.getSubworkflowsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getNodesCount() > 0) {
hash = (37 * hash) + NODES_FIELD_NUMBER;
hash = (53 * hash) + getNodesList().hashCode();
}
hash = (37 * hash) + MIN_SUCCESSES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getMinSuccesses());
if (getOutputsCount() > 0) {
hash = (37 * hash) + OUTPUTS_FIELD_NUMBER;
hash = (53 * hash) + getOutputsList().hashCode();
}
if (getTasksCount() > 0) {
hash = (37 * hash) + TASKS_FIELD_NUMBER;
hash = (53 * hash) + getTasksList().hashCode();
}
if (getSubworkflowsCount() > 0) {
hash = (37 * hash) + SUBWORKFLOWS_FIELD_NUMBER;
hash = (53 * hash) + getSubworkflowsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static flyteidl.core.DynamicJob.DynamicJobSpec parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(flyteidl.core.DynamicJob.DynamicJobSpec prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Describes a set of tasks to execute and how the final outputs are produced.
*
*
* Protobuf type {@code flyteidl.core.DynamicJobSpec}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:flyteidl.core.DynamicJobSpec)
flyteidl.core.DynamicJob.DynamicJobSpecOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
flyteidl.core.DynamicJob.DynamicJobSpec.class, flyteidl.core.DynamicJob.DynamicJobSpec.Builder.class);
}
// Construct using flyteidl.core.DynamicJob.DynamicJobSpec.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNodesFieldBuilder();
getOutputsFieldBuilder();
getTasksFieldBuilder();
getSubworkflowsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
nodesBuilder_.clear();
}
minSuccesses_ = 0L;
if (outputsBuilder_ == null) {
outputs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
outputsBuilder_.clear();
}
if (tasksBuilder_ == null) {
tasks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
tasksBuilder_.clear();
}
if (subworkflowsBuilder_ == null) {
subworkflows_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
subworkflowsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return flyteidl.core.DynamicJob.internal_static_flyteidl_core_DynamicJobSpec_descriptor;
}
@java.lang.Override
public flyteidl.core.DynamicJob.DynamicJobSpec getDefaultInstanceForType() {
return flyteidl.core.DynamicJob.DynamicJobSpec.getDefaultInstance();
}
@java.lang.Override
public flyteidl.core.DynamicJob.DynamicJobSpec build() {
flyteidl.core.DynamicJob.DynamicJobSpec result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public flyteidl.core.DynamicJob.DynamicJobSpec buildPartial() {
flyteidl.core.DynamicJob.DynamicJobSpec result = new flyteidl.core.DynamicJob.DynamicJobSpec(this);
int from_bitField0_ = bitField0_;
if (nodesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
nodes_ = java.util.Collections.unmodifiableList(nodes_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.nodes_ = nodes_;
} else {
result.nodes_ = nodesBuilder_.build();
}
result.minSuccesses_ = minSuccesses_;
if (outputsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
outputs_ = java.util.Collections.unmodifiableList(outputs_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.outputs_ = outputs_;
} else {
result.outputs_ = outputsBuilder_.build();
}
if (tasksBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
tasks_ = java.util.Collections.unmodifiableList(tasks_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.tasks_ = tasks_;
} else {
result.tasks_ = tasksBuilder_.build();
}
if (subworkflowsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
subworkflows_ = java.util.Collections.unmodifiableList(subworkflows_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.subworkflows_ = subworkflows_;
} else {
result.subworkflows_ = subworkflowsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof flyteidl.core.DynamicJob.DynamicJobSpec) {
return mergeFrom((flyteidl.core.DynamicJob.DynamicJobSpec)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(flyteidl.core.DynamicJob.DynamicJobSpec other) {
if (other == flyteidl.core.DynamicJob.DynamicJobSpec.getDefaultInstance()) return this;
if (nodesBuilder_ == null) {
if (!other.nodes_.isEmpty()) {
if (nodes_.isEmpty()) {
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureNodesIsMutable();
nodes_.addAll(other.nodes_);
}
onChanged();
}
} else {
if (!other.nodes_.isEmpty()) {
if (nodesBuilder_.isEmpty()) {
nodesBuilder_.dispose();
nodesBuilder_ = null;
nodes_ = other.nodes_;
bitField0_ = (bitField0_ & ~0x00000001);
nodesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNodesFieldBuilder() : null;
} else {
nodesBuilder_.addAllMessages(other.nodes_);
}
}
}
if (other.getMinSuccesses() != 0L) {
setMinSuccesses(other.getMinSuccesses());
}
if (outputsBuilder_ == null) {
if (!other.outputs_.isEmpty()) {
if (outputs_.isEmpty()) {
outputs_ = other.outputs_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOutputsIsMutable();
outputs_.addAll(other.outputs_);
}
onChanged();
}
} else {
if (!other.outputs_.isEmpty()) {
if (outputsBuilder_.isEmpty()) {
outputsBuilder_.dispose();
outputsBuilder_ = null;
outputs_ = other.outputs_;
bitField0_ = (bitField0_ & ~0x00000002);
outputsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOutputsFieldBuilder() : null;
} else {
outputsBuilder_.addAllMessages(other.outputs_);
}
}
}
if (tasksBuilder_ == null) {
if (!other.tasks_.isEmpty()) {
if (tasks_.isEmpty()) {
tasks_ = other.tasks_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureTasksIsMutable();
tasks_.addAll(other.tasks_);
}
onChanged();
}
} else {
if (!other.tasks_.isEmpty()) {
if (tasksBuilder_.isEmpty()) {
tasksBuilder_.dispose();
tasksBuilder_ = null;
tasks_ = other.tasks_;
bitField0_ = (bitField0_ & ~0x00000004);
tasksBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTasksFieldBuilder() : null;
} else {
tasksBuilder_.addAllMessages(other.tasks_);
}
}
}
if (subworkflowsBuilder_ == null) {
if (!other.subworkflows_.isEmpty()) {
if (subworkflows_.isEmpty()) {
subworkflows_ = other.subworkflows_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureSubworkflowsIsMutable();
subworkflows_.addAll(other.subworkflows_);
}
onChanged();
}
} else {
if (!other.subworkflows_.isEmpty()) {
if (subworkflowsBuilder_.isEmpty()) {
subworkflowsBuilder_.dispose();
subworkflowsBuilder_ = null;
subworkflows_ = other.subworkflows_;
bitField0_ = (bitField0_ & ~0x00000008);
subworkflowsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSubworkflowsFieldBuilder() : null;
} else {
subworkflowsBuilder_.addAllMessages(other.subworkflows_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
flyteidl.core.DynamicJob.DynamicJobSpec parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (flyteidl.core.DynamicJob.DynamicJobSpec) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List nodes_ =
java.util.Collections.emptyList();
private void ensureNodesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
nodes_ = new java.util.ArrayList(nodes_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder> nodesBuilder_;
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public java.util.List getNodesList() {
if (nodesBuilder_ == null) {
return java.util.Collections.unmodifiableList(nodes_);
} else {
return nodesBuilder_.getMessageList();
}
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public int getNodesCount() {
if (nodesBuilder_ == null) {
return nodes_.size();
} else {
return nodesBuilder_.getCount();
}
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public flyteidl.core.Workflow.Node getNodes(int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index);
} else {
return nodesBuilder_.getMessage(index);
}
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder setNodes(
int index, flyteidl.core.Workflow.Node value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.set(index, value);
onChanged();
} else {
nodesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder setNodes(
int index, flyteidl.core.Workflow.Node.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.set(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder addNodes(flyteidl.core.Workflow.Node value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(value);
onChanged();
} else {
nodesBuilder_.addMessage(value);
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder addNodes(
int index, flyteidl.core.Workflow.Node value) {
if (nodesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodesIsMutable();
nodes_.add(index, value);
onChanged();
} else {
nodesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder addNodes(
flyteidl.core.Workflow.Node.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder addNodes(
int index, flyteidl.core.Workflow.Node.Builder builderForValue) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.add(index, builderForValue.build());
onChanged();
} else {
nodesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder addAllNodes(
java.lang.Iterable extends flyteidl.core.Workflow.Node> values) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, nodes_);
onChanged();
} else {
nodesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder clearNodes() {
if (nodesBuilder_ == null) {
nodes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
nodesBuilder_.clear();
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public Builder removeNodes(int index) {
if (nodesBuilder_ == null) {
ensureNodesIsMutable();
nodes_.remove(index);
onChanged();
} else {
nodesBuilder_.remove(index);
}
return this;
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public flyteidl.core.Workflow.Node.Builder getNodesBuilder(
int index) {
return getNodesFieldBuilder().getBuilder(index);
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public flyteidl.core.Workflow.NodeOrBuilder getNodesOrBuilder(
int index) {
if (nodesBuilder_ == null) {
return nodes_.get(index); } else {
return nodesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public java.util.List extends flyteidl.core.Workflow.NodeOrBuilder>
getNodesOrBuilderList() {
if (nodesBuilder_ != null) {
return nodesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(nodes_);
}
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public flyteidl.core.Workflow.Node.Builder addNodesBuilder() {
return getNodesFieldBuilder().addBuilder(
flyteidl.core.Workflow.Node.getDefaultInstance());
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public flyteidl.core.Workflow.Node.Builder addNodesBuilder(
int index) {
return getNodesFieldBuilder().addBuilder(
index, flyteidl.core.Workflow.Node.getDefaultInstance());
}
/**
*
* A collection of nodes to execute.
*
*
* repeated .flyteidl.core.Node nodes = 1;
*/
public java.util.List
getNodesBuilderList() {
return getNodesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>
getNodesFieldBuilder() {
if (nodesBuilder_ == null) {
nodesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Workflow.Node, flyteidl.core.Workflow.Node.Builder, flyteidl.core.Workflow.NodeOrBuilder>(
nodes_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
nodes_ = null;
}
return nodesBuilder_;
}
private long minSuccesses_ ;
/**
*
* An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
* criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
* becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
* min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
* specified, is the count of nodes repeated field.
*
*
* int64 min_successes = 2;
* @return The minSuccesses.
*/
public long getMinSuccesses() {
return minSuccesses_;
}
/**
*
* An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
* criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
* becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
* min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
* specified, is the count of nodes repeated field.
*
*
* int64 min_successes = 2;
* @param value The minSuccesses to set.
* @return This builder for chaining.
*/
public Builder setMinSuccesses(long value) {
minSuccesses_ = value;
onChanged();
return this;
}
/**
*
* An absolute number of successful completions of nodes required to mark this job as succeeded. As soon as this
* criteria is met, the dynamic job will be marked as successful and outputs will be computed. If this number
* becomes impossible to reach (e.g. number of currently running tasks + number of already succeeded tasks <
* min_successes) the task will be aborted immediately and marked as failed. The default value of this field, if not
* specified, is the count of nodes repeated field.
*
*
* int64 min_successes = 2;
* @return This builder for chaining.
*/
public Builder clearMinSuccesses() {
minSuccesses_ = 0L;
onChanged();
return this;
}
private java.util.List outputs_ =
java.util.Collections.emptyList();
private void ensureOutputsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
outputs_ = new java.util.ArrayList(outputs_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder> outputsBuilder_;
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public java.util.List getOutputsList() {
if (outputsBuilder_ == null) {
return java.util.Collections.unmodifiableList(outputs_);
} else {
return outputsBuilder_.getMessageList();
}
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public int getOutputsCount() {
if (outputsBuilder_ == null) {
return outputs_.size();
} else {
return outputsBuilder_.getCount();
}
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public flyteidl.core.Literals.Binding getOutputs(int index) {
if (outputsBuilder_ == null) {
return outputs_.get(index);
} else {
return outputsBuilder_.getMessage(index);
}
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder setOutputs(
int index, flyteidl.core.Literals.Binding value) {
if (outputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOutputsIsMutable();
outputs_.set(index, value);
onChanged();
} else {
outputsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder setOutputs(
int index, flyteidl.core.Literals.Binding.Builder builderForValue) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.set(index, builderForValue.build());
onChanged();
} else {
outputsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder addOutputs(flyteidl.core.Literals.Binding value) {
if (outputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOutputsIsMutable();
outputs_.add(value);
onChanged();
} else {
outputsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder addOutputs(
int index, flyteidl.core.Literals.Binding value) {
if (outputsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOutputsIsMutable();
outputs_.add(index, value);
onChanged();
} else {
outputsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder addOutputs(
flyteidl.core.Literals.Binding.Builder builderForValue) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.add(builderForValue.build());
onChanged();
} else {
outputsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder addOutputs(
int index, flyteidl.core.Literals.Binding.Builder builderForValue) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.add(index, builderForValue.build());
onChanged();
} else {
outputsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder addAllOutputs(
java.lang.Iterable extends flyteidl.core.Literals.Binding> values) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, outputs_);
onChanged();
} else {
outputsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder clearOutputs() {
if (outputsBuilder_ == null) {
outputs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
outputsBuilder_.clear();
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public Builder removeOutputs(int index) {
if (outputsBuilder_ == null) {
ensureOutputsIsMutable();
outputs_.remove(index);
onChanged();
} else {
outputsBuilder_.remove(index);
}
return this;
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public flyteidl.core.Literals.Binding.Builder getOutputsBuilder(
int index) {
return getOutputsFieldBuilder().getBuilder(index);
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public flyteidl.core.Literals.BindingOrBuilder getOutputsOrBuilder(
int index) {
if (outputsBuilder_ == null) {
return outputs_.get(index); } else {
return outputsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public java.util.List extends flyteidl.core.Literals.BindingOrBuilder>
getOutputsOrBuilderList() {
if (outputsBuilder_ != null) {
return outputsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(outputs_);
}
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public flyteidl.core.Literals.Binding.Builder addOutputsBuilder() {
return getOutputsFieldBuilder().addBuilder(
flyteidl.core.Literals.Binding.getDefaultInstance());
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public flyteidl.core.Literals.Binding.Builder addOutputsBuilder(
int index) {
return getOutputsFieldBuilder().addBuilder(
index, flyteidl.core.Literals.Binding.getDefaultInstance());
}
/**
*
* Describes how to bind the final output of the dynamic job from the outputs of executed nodes. The referenced ids
* in bindings should have the generated id for the subtask.
*
*
* repeated .flyteidl.core.Binding outputs = 3;
*/
public java.util.List
getOutputsBuilderList() {
return getOutputsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder>
getOutputsFieldBuilder() {
if (outputsBuilder_ == null) {
outputsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Literals.Binding, flyteidl.core.Literals.Binding.Builder, flyteidl.core.Literals.BindingOrBuilder>(
outputs_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
outputs_ = null;
}
return outputsBuilder_;
}
private java.util.List tasks_ =
java.util.Collections.emptyList();
private void ensureTasksIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
tasks_ = new java.util.ArrayList(tasks_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder> tasksBuilder_;
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public java.util.List getTasksList() {
if (tasksBuilder_ == null) {
return java.util.Collections.unmodifiableList(tasks_);
} else {
return tasksBuilder_.getMessageList();
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public int getTasksCount() {
if (tasksBuilder_ == null) {
return tasks_.size();
} else {
return tasksBuilder_.getCount();
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public flyteidl.core.Tasks.TaskTemplate getTasks(int index) {
if (tasksBuilder_ == null) {
return tasks_.get(index);
} else {
return tasksBuilder_.getMessage(index);
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder setTasks(
int index, flyteidl.core.Tasks.TaskTemplate value) {
if (tasksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTasksIsMutable();
tasks_.set(index, value);
onChanged();
} else {
tasksBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder setTasks(
int index, flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) {
if (tasksBuilder_ == null) {
ensureTasksIsMutable();
tasks_.set(index, builderForValue.build());
onChanged();
} else {
tasksBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder addTasks(flyteidl.core.Tasks.TaskTemplate value) {
if (tasksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTasksIsMutable();
tasks_.add(value);
onChanged();
} else {
tasksBuilder_.addMessage(value);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder addTasks(
int index, flyteidl.core.Tasks.TaskTemplate value) {
if (tasksBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTasksIsMutable();
tasks_.add(index, value);
onChanged();
} else {
tasksBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder addTasks(
flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) {
if (tasksBuilder_ == null) {
ensureTasksIsMutable();
tasks_.add(builderForValue.build());
onChanged();
} else {
tasksBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder addTasks(
int index, flyteidl.core.Tasks.TaskTemplate.Builder builderForValue) {
if (tasksBuilder_ == null) {
ensureTasksIsMutable();
tasks_.add(index, builderForValue.build());
onChanged();
} else {
tasksBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder addAllTasks(
java.lang.Iterable extends flyteidl.core.Tasks.TaskTemplate> values) {
if (tasksBuilder_ == null) {
ensureTasksIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tasks_);
onChanged();
} else {
tasksBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder clearTasks() {
if (tasksBuilder_ == null) {
tasks_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
tasksBuilder_.clear();
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public Builder removeTasks(int index) {
if (tasksBuilder_ == null) {
ensureTasksIsMutable();
tasks_.remove(index);
onChanged();
} else {
tasksBuilder_.remove(index);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public flyteidl.core.Tasks.TaskTemplate.Builder getTasksBuilder(
int index) {
return getTasksFieldBuilder().getBuilder(index);
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public flyteidl.core.Tasks.TaskTemplateOrBuilder getTasksOrBuilder(
int index) {
if (tasksBuilder_ == null) {
return tasks_.get(index); } else {
return tasksBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public java.util.List extends flyteidl.core.Tasks.TaskTemplateOrBuilder>
getTasksOrBuilderList() {
if (tasksBuilder_ != null) {
return tasksBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(tasks_);
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public flyteidl.core.Tasks.TaskTemplate.Builder addTasksBuilder() {
return getTasksFieldBuilder().addBuilder(
flyteidl.core.Tasks.TaskTemplate.getDefaultInstance());
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public flyteidl.core.Tasks.TaskTemplate.Builder addTasksBuilder(
int index) {
return getTasksFieldBuilder().addBuilder(
index, flyteidl.core.Tasks.TaskTemplate.getDefaultInstance());
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.TaskTemplate tasks = 4;
*/
public java.util.List
getTasksBuilderList() {
return getTasksFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>
getTasksFieldBuilder() {
if (tasksBuilder_ == null) {
tasksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Tasks.TaskTemplate, flyteidl.core.Tasks.TaskTemplate.Builder, flyteidl.core.Tasks.TaskTemplateOrBuilder>(
tasks_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
tasks_ = null;
}
return tasksBuilder_;
}
private java.util.List subworkflows_ =
java.util.Collections.emptyList();
private void ensureSubworkflowsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
subworkflows_ = new java.util.ArrayList(subworkflows_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder> subworkflowsBuilder_;
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public java.util.List getSubworkflowsList() {
if (subworkflowsBuilder_ == null) {
return java.util.Collections.unmodifiableList(subworkflows_);
} else {
return subworkflowsBuilder_.getMessageList();
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public int getSubworkflowsCount() {
if (subworkflowsBuilder_ == null) {
return subworkflows_.size();
} else {
return subworkflowsBuilder_.getCount();
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public flyteidl.core.Workflow.WorkflowTemplate getSubworkflows(int index) {
if (subworkflowsBuilder_ == null) {
return subworkflows_.get(index);
} else {
return subworkflowsBuilder_.getMessage(index);
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder setSubworkflows(
int index, flyteidl.core.Workflow.WorkflowTemplate value) {
if (subworkflowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubworkflowsIsMutable();
subworkflows_.set(index, value);
onChanged();
} else {
subworkflowsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder setSubworkflows(
int index, flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) {
if (subworkflowsBuilder_ == null) {
ensureSubworkflowsIsMutable();
subworkflows_.set(index, builderForValue.build());
onChanged();
} else {
subworkflowsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder addSubworkflows(flyteidl.core.Workflow.WorkflowTemplate value) {
if (subworkflowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubworkflowsIsMutable();
subworkflows_.add(value);
onChanged();
} else {
subworkflowsBuilder_.addMessage(value);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder addSubworkflows(
int index, flyteidl.core.Workflow.WorkflowTemplate value) {
if (subworkflowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSubworkflowsIsMutable();
subworkflows_.add(index, value);
onChanged();
} else {
subworkflowsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder addSubworkflows(
flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) {
if (subworkflowsBuilder_ == null) {
ensureSubworkflowsIsMutable();
subworkflows_.add(builderForValue.build());
onChanged();
} else {
subworkflowsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder addSubworkflows(
int index, flyteidl.core.Workflow.WorkflowTemplate.Builder builderForValue) {
if (subworkflowsBuilder_ == null) {
ensureSubworkflowsIsMutable();
subworkflows_.add(index, builderForValue.build());
onChanged();
} else {
subworkflowsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder addAllSubworkflows(
java.lang.Iterable extends flyteidl.core.Workflow.WorkflowTemplate> values) {
if (subworkflowsBuilder_ == null) {
ensureSubworkflowsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, subworkflows_);
onChanged();
} else {
subworkflowsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder clearSubworkflows() {
if (subworkflowsBuilder_ == null) {
subworkflows_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
subworkflowsBuilder_.clear();
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public Builder removeSubworkflows(int index) {
if (subworkflowsBuilder_ == null) {
ensureSubworkflowsIsMutable();
subworkflows_.remove(index);
onChanged();
} else {
subworkflowsBuilder_.remove(index);
}
return this;
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public flyteidl.core.Workflow.WorkflowTemplate.Builder getSubworkflowsBuilder(
int index) {
return getSubworkflowsFieldBuilder().getBuilder(index);
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public flyteidl.core.Workflow.WorkflowTemplateOrBuilder getSubworkflowsOrBuilder(
int index) {
if (subworkflowsBuilder_ == null) {
return subworkflows_.get(index); } else {
return subworkflowsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public java.util.List extends flyteidl.core.Workflow.WorkflowTemplateOrBuilder>
getSubworkflowsOrBuilderList() {
if (subworkflowsBuilder_ != null) {
return subworkflowsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(subworkflows_);
}
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public flyteidl.core.Workflow.WorkflowTemplate.Builder addSubworkflowsBuilder() {
return getSubworkflowsFieldBuilder().addBuilder(
flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance());
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public flyteidl.core.Workflow.WorkflowTemplate.Builder addSubworkflowsBuilder(
int index) {
return getSubworkflowsFieldBuilder().addBuilder(
index, flyteidl.core.Workflow.WorkflowTemplate.getDefaultInstance());
}
/**
*
* [Optional] A complete list of task specs referenced in nodes.
*
*
* repeated .flyteidl.core.WorkflowTemplate subworkflows = 5;
*/
public java.util.List
getSubworkflowsBuilderList() {
return getSubworkflowsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder>
getSubworkflowsFieldBuilder() {
if (subworkflowsBuilder_ == null) {
subworkflowsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
flyteidl.core.Workflow.WorkflowTemplate, flyteidl.core.Workflow.WorkflowTemplate.Builder, flyteidl.core.Workflow.WorkflowTemplateOrBuilder>(
subworkflows_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
subworkflows_ = null;
}
return subworkflowsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:flyteidl.core.DynamicJobSpec)
}
// @@protoc_insertion_point(class_scope:flyteidl.core.DynamicJobSpec)
private static final flyteidl.core.DynamicJob.DynamicJobSpec DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new flyteidl.core.DynamicJob.DynamicJobSpec();
}
public static flyteidl.core.DynamicJob.DynamicJobSpec getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DynamicJobSpec parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DynamicJobSpec(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public flyteidl.core.DynamicJob.DynamicJobSpec getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_flyteidl_core_DynamicJobSpec_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_flyteidl_core_DynamicJobSpec_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\037flyteidl/core/dynamic_job.proto\022\rflyte" +
"idl.core\032\031flyteidl/core/tasks.proto\032\034fly" +
"teidl/core/workflow.proto\032\034flyteidl/core" +
"/literals.proto\"\327\001\n\016DynamicJobSpec\022\"\n\005no" +
"des\030\001 \003(\0132\023.flyteidl.core.Node\022\025\n\rmin_su" +
"ccesses\030\002 \001(\003\022\'\n\007outputs\030\003 \003(\0132\026.flyteid" +
"l.core.Binding\022*\n\005tasks\030\004 \003(\0132\033.flyteidl" +
".core.TaskTemplate\0225\n\014subworkflows\030\005 \003(\013" +
"2\037.flyteidl.core.WorkflowTemplateB2Z0git" +
"hub.com/lyft/flyteidl/gen/pb-go/flyteidl" +
"/coreb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
flyteidl.core.Tasks.getDescriptor(),
flyteidl.core.Workflow.getDescriptor(),
flyteidl.core.Literals.getDescriptor(),
});
internal_static_flyteidl_core_DynamicJobSpec_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_flyteidl_core_DynamicJobSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_flyteidl_core_DynamicJobSpec_descriptor,
new java.lang.String[] { "Nodes", "MinSuccesses", "Outputs", "Tasks", "Subworkflows", });
flyteidl.core.Tasks.getDescriptor();
flyteidl.core.Workflow.getDescriptor();
flyteidl.core.Literals.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy