public class DetectLanguageResultCollection extends com.azure.core.util.IterableStream<DetectLanguageResult>
DetectLanguageResult along with model version and
batch's statistics.| Constructor and Description |
|---|
DetectLanguageResultCollection(Iterable<DetectLanguageResult> documentResults,
String modelVersion,
TextDocumentBatchStatistics statistics)
Creates a
DetectLanguageResultCollection model that maintains a list of DetectLanguageResult
along with model version and batch's statistics. |
| Modifier and Type | Method and Description |
|---|---|
String |
getModelVersion()
Gets the model version trained in service for the request.
|
TextDocumentBatchStatistics |
getStatistics()
Gets the batch statistics of response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DetectLanguageResultCollection(Iterable<DetectLanguageResult> documentResults, String modelVersion, TextDocumentBatchStatistics statistics)
DetectLanguageResultCollection model that maintains a list of DetectLanguageResult
along with model version and batch's statistics.documentResults - A list of DetectLanguageResult.modelVersion - The model version trained in service for the request.statistics - The batch statistics of response.public String getModelVersion()
public TextDocumentBatchStatistics getStatistics()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.