org.flyte.api.v1.AutoValue_ConjunctionExpression 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_ConjunctionExpression extends ConjunctionExpression {
private final ConjunctionExpression.LogicalOperator operator;
private final BooleanExpression leftExpression;
private final BooleanExpression rightExpression;
AutoValue_ConjunctionExpression(
ConjunctionExpression.LogicalOperator operator,
BooleanExpression leftExpression,
BooleanExpression rightExpression) {
if (operator == null) {
throw new NullPointerException("Null operator");
}
this.operator = operator;
if (leftExpression == null) {
throw new NullPointerException("Null leftExpression");
}
this.leftExpression = leftExpression;
if (rightExpression == null) {
throw new NullPointerException("Null rightExpression");
}
this.rightExpression = rightExpression;
}
@Override
public ConjunctionExpression.LogicalOperator operator() {
return operator;
}
@Override
public BooleanExpression leftExpression() {
return leftExpression;
}
@Override
public BooleanExpression rightExpression() {
return rightExpression;
}
@Override
public String toString() {
return "ConjunctionExpression{"
+ "operator=" + operator + ", "
+ "leftExpression=" + leftExpression + ", "
+ "rightExpression=" + rightExpression
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ConjunctionExpression) {
ConjunctionExpression that = (ConjunctionExpression) o;
return this.operator.equals(that.operator())
&& this.leftExpression.equals(that.leftExpression())
&& this.rightExpression.equals(that.rightExpression());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= operator.hashCode();
h$ *= 1000003;
h$ ^= leftExpression.hashCode();
h$ *= 1000003;
h$ ^= rightExpression.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy