org.flyte.api.v1.AutoValue_WorkflowNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flytekit-api Show documentation
Show all versions of flytekit-api Show documentation
Java friendly representation of flyteidl protos.
package org.flyte.api.v1;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_WorkflowNode extends WorkflowNode {
private final WorkflowNode.Reference reference;
private AutoValue_WorkflowNode(
WorkflowNode.Reference reference) {
this.reference = reference;
}
@Override
public WorkflowNode.Reference reference() {
return reference;
}
@Override
public String toString() {
return "WorkflowNode{"
+ "reference=" + reference
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof WorkflowNode) {
WorkflowNode that = (WorkflowNode) o;
return this.reference.equals(that.reference());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= reference.hashCode();
return h$;
}
@Override
public WorkflowNode.Builder toBuilder() {
return new Builder(this);
}
static final class Builder extends WorkflowNode.Builder {
private WorkflowNode.Reference reference;
Builder() {
}
private Builder(WorkflowNode source) {
this.reference = source.reference();
}
@Override
public WorkflowNode.Builder reference(WorkflowNode.Reference reference) {
if (reference == null) {
throw new NullPointerException("Null reference");
}
this.reference = reference;
return this;
}
@Override
public WorkflowNode build() {
if (this.reference == null) {
String missing = " reference";
throw new IllegalStateException("Missing required properties:" + missing);
}
return new AutoValue_WorkflowNode(
this.reference);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy