org.flyte.api.v1.AutoValue_Struct 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 java.util.Map;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Struct extends Struct {
private final Map fields;
AutoValue_Struct(
Map fields) {
if (fields == null) {
throw new NullPointerException("Null fields");
}
this.fields = fields;
}
@Override
public Map fields() {
return fields;
}
@Override
public String toString() {
return "Struct{"
+ "fields=" + fields
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Struct) {
Struct that = (Struct) o;
return this.fields.equals(that.fields());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= fields.hashCode();
return h$;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy