Cloud Translation V3 Client - Class FileInputSource (2.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Translation V3 Client class FileInputSource.
An inlined file.
Generated from protobuf message google.cloud.translation.v3.FileInputSource
Namespace
Google \ Cloud \ Translate \ V3
Methods
data
array
Optional. Data for populating the Message object.
↳ mime_type
string
Required. The file's mime type.
↳ content
string
Required. The file's byte contents.
↳ display_name
string
Required. The file's display name.
Required. The file's mime type.
Required. The file's mime type.
getContent
Required. The file's byte contents.
setContent
Required. The file's byte contents.
Required. The file's display name.
Required. The file's display name.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Translation V3 Client - Class FileInputSource (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-translate/latest/V3.FileInputSource)\n- [2.0.2](/php/docs/reference/cloud-translate/2.0.2/V3.FileInputSource)\n- [1.21.0](/php/docs/reference/cloud-translate/1.21.0/V3.FileInputSource)\n- [1.20.2](/php/docs/reference/cloud-translate/1.20.2/V3.FileInputSource)\n- [1.19.0](/php/docs/reference/cloud-translate/1.19.0/V3.FileInputSource)\n- [1.18.1](/php/docs/reference/cloud-translate/1.18.1/V3.FileInputSource)\n- [1.17.7](/php/docs/reference/cloud-translate/1.17.7/V3.FileInputSource)\n- [1.16.0](/php/docs/reference/cloud-translate/1.16.0/V3.FileInputSource)\n- [1.15.4](/php/docs/reference/cloud-translate/1.15.4/V3.FileInputSource)\n- [1.14.3](/php/docs/reference/cloud-translate/1.14.3/V3.FileInputSource)\n- [1.13.3](/php/docs/reference/cloud-translate/1.13.3/V3.FileInputSource)\n- [1.12.12](/php/docs/reference/cloud-translate/1.12.12/V3.FileInputSource) \nReference documentation and code samples for the Cloud Translation V3 Client class FileInputSource.\n\nAn inlined file.\n\nGenerated from protobuf message `google.cloud.translation.v3.FileInputSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Translate \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMimeType\n\nRequired. The file's mime type.\n\n### setMimeType\n\nRequired. The file's mime type.\n\n### getContent\n\nRequired. The file's byte contents.\n\n### setContent\n\nRequired. The file's byte contents.\n\n### getDisplayName\n\nRequired. The file's display name.\n\n### setDisplayName\n\nRequired. The file's display name."]]