All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.translate.v3beta1.model.DocumentTranslation.html Maven / Gradle / Ivy







DocumentTranslation (Cloud Translation API v3beta1-rev20230210-2.0.0)












com.google.api.services.translate.v3beta1.model

Class DocumentTranslation

    • Constructor Detail

      • DocumentTranslation

        public DocumentTranslation()
    • Method Detail

      • getByteStreamOutputs

        public List<String> getByteStreamOutputs()
        The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.
        Returns:
        value or null for none
      • setByteStreamOutputs

        public DocumentTranslation setByteStreamOutputs(List<String> byteStreamOutputs)
        The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.
        Parameters:
        byteStreamOutputs - byteStreamOutputs or null for none
      • getDetectedLanguageCode

        public String getDetectedLanguageCode()
        The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.
        Returns:
        value or null for none
      • setDetectedLanguageCode

        public DocumentTranslation setDetectedLanguageCode(String detectedLanguageCode)
        The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.
        Parameters:
        detectedLanguageCode - detectedLanguageCode or null for none
      • getMimeType

        public String getMimeType()
        The translated document's mime type.
        Returns:
        value or null for none
      • setMimeType

        public DocumentTranslation setMimeType(String mimeType)
        The translated document's mime type.
        Parameters:
        mimeType - mimeType or null for none
      • clone

        public DocumentTranslation clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy