byteStreamOutputs = $byteStreamOutputs; } /** * @return string[] */ public function getByteStreamOutputs() { return $this->byteStreamOutputs; } /** * 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. * * @param string $detectedLanguageCode */ public function setDetectedLanguageCode($detectedLanguageCode) { $this->detectedLanguageCode = $detectedLanguageCode; } /** * @return string */ public function getDetectedLanguageCode() { return $this->detectedLanguageCode; } /** * The translated document's mime type. * * @param string $mimeType */ public function setMimeType($mimeType) { $this->mimeType = $mimeType; } /** * @return string */ public function getMimeType() { return $this->mimeType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DocumentTranslation::class, 'Google_Service_Translate_DocumentTranslation');