
clarifai2.dto.model.output_info.FaceEmbeddingOutputInfo 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 FaceEmbeddingOutputInfo extends OutputInfo {
FaceEmbeddingOutputInfo() {} // AutoValue instances only
@NotNull public abstract String type();
@NotNull public abstract String typeExt();
@Override @NotNull public ModelOuterClass.OutputInfo serialize() {
throw new ClarifaiException(this.getClass().getSimpleName() + " is not serializable");
}
@NotNull public static FaceEmbeddingOutputInfo deserializeInner(ModelOuterClass.OutputInfo outputInfo) {
return new AutoValue_FaceEmbeddingOutputInfo(outputInfo.getType(), outputInfo.getTypeExt());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy