org.flyte.api.v1.AutoValue_TaskNode 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_TaskNode extends TaskNode {
private final PartialTaskIdentifier referenceId;
private AutoValue_TaskNode(
PartialTaskIdentifier referenceId) {
this.referenceId = referenceId;
}
@Override
public PartialTaskIdentifier referenceId() {
return referenceId;
}
@Override
public String toString() {
return "TaskNode{"
+ "referenceId=" + referenceId
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof TaskNode) {
TaskNode that = (TaskNode) o;
return this.referenceId.equals(that.referenceId());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= referenceId.hashCode();
return h$;
}
static final class Builder extends TaskNode.Builder {
private PartialTaskIdentifier referenceId;
Builder() {
}
@Override
public TaskNode.Builder referenceId(PartialTaskIdentifier referenceId) {
if (referenceId == null) {
throw new NullPointerException("Null referenceId");
}
this.referenceId = referenceId;
return this;
}
@Override
public TaskNode build() {
if (this.referenceId == null) {
String missing = " referenceId";
throw new IllegalStateException("Missing required properties:" + missing);
}
return new AutoValue_TaskNode(
this.referenceId);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy