org.flyte.examples.AutoValue_SubWorkflow_Output Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flytekit-examples Show documentation
Show all versions of flytekit-examples Show documentation
Examples of Tasks, Workflows and Launch plans written in Java.
package org.flyte.examples;
import javax.annotation.processing.Generated;
import org.flyte.flytekit.SdkBindingData;
import org.flyte.flytekit.jackson.Description;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_SubWorkflow_Output extends SubWorkflow.Output {
private final SdkBindingData result;
AutoValue_SubWorkflow_Output(
SdkBindingData result) {
if (result == null) {
throw new NullPointerException("Null result");
}
this.result = result;
}
@Description("Summed results")
@Override
SdkBindingData result() {
return result;
}
@Override
public String toString() {
return "Output{"
+ "result=" + result
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof SubWorkflow.Output) {
SubWorkflow.Output that = (SubWorkflow.Output) o;
return this.result.equals(that.result());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= result.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy