
clarifai2.dto.model.output_info.UnknownOutputInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Clarifai Java API Client
The newest version!
package clarifai2.dto.model.output_info;
import clarifai2.internal.grpc.api.ModelOuterClass;
import clarifai2.exception.ClarifaiException;
import com.google.auto.value.AutoValue;
import org.jetbrains.annotations.NotNull;
@SuppressWarnings("NullableProblems")
@AutoValue
public abstract class UnknownOutputInfo extends OutputInfo {
UnknownOutputInfo() {} // AutoValue instances only
@Override @NotNull public ModelOuterClass.OutputInfo serialize() {
throw new ClarifaiException(this.getClass().getSimpleName() + " is not serializable");
}
@NotNull public static UnknownOutputInfo deserializeInner(ModelOuterClass.OutputInfo outputInfo) {
return new AutoValue_UnknownOutputInfo();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy