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