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