org.flyte.jflyte.utils.AutoValue_JFlyteCustom Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jflyte-utils Show documentation
Show all versions of jflyte-utils Show documentation
Primarily used by jflyte, but can also be used to extend or build a jflyte alternative
package org.flyte.jflyte.utils;
import java.util.List;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_JFlyteCustom extends JFlyteCustom {
private final List artifacts;
private AutoValue_JFlyteCustom(
List artifacts) {
this.artifacts = artifacts;
}
@Override
List artifacts() {
return artifacts;
}
@Override
public String toString() {
return "JFlyteCustom{"
+ "artifacts=" + artifacts
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof JFlyteCustom) {
JFlyteCustom that = (JFlyteCustom) o;
return this.artifacts.equals(that.artifacts());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= artifacts.hashCode();
return h$;
}
static final class Builder extends JFlyteCustom.Builder {
private List artifacts;
Builder() {
}
@Override
JFlyteCustom.Builder artifacts(List artifacts) {
if (artifacts == null) {
throw new NullPointerException("Null artifacts");
}
this.artifacts = artifacts;
return this;
}
@Override
JFlyteCustom build() {
if (this.artifacts == null) {
String missing = " artifacts";
throw new IllegalStateException("Missing required properties:" + missing);
}
return new AutoValue_JFlyteCustom(
this.artifacts);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy