Reference documentation and code samples for the Cloud Translation V3 Client class BatchTranslateMetadata.
State metadata for the batch translation operation.
Generated from protobuf messagegoogle.cloud.translation.v3.BatchTranslateMetadata
Namespace
Google \ Cloud \ Translate \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ state
int
The state of the operation.
↳ translated_characters
int|string
Number of successfully translated characters so far (Unicode codepoints).
↳ failed_characters
int|string
Number of characters that have failed to process so far (Unicode codepoints).
↳ total_characters
int|string
Total number of characters (Unicode codepoints). This is the total number of codepoints from input files times the number of target languages and appears here shortly after the call is submitted.
[[["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 BatchTranslateMetadata (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-translate/latest/V3.BatchTranslateMetadata)\n- [2.0.2](/php/docs/reference/cloud-translate/2.0.2/V3.BatchTranslateMetadata)\n- [1.21.0](/php/docs/reference/cloud-translate/1.21.0/V3.BatchTranslateMetadata)\n- [1.20.2](/php/docs/reference/cloud-translate/1.20.2/V3.BatchTranslateMetadata)\n- [1.19.0](/php/docs/reference/cloud-translate/1.19.0/V3.BatchTranslateMetadata)\n- [1.18.1](/php/docs/reference/cloud-translate/1.18.1/V3.BatchTranslateMetadata)\n- [1.17.7](/php/docs/reference/cloud-translate/1.17.7/V3.BatchTranslateMetadata)\n- [1.16.0](/php/docs/reference/cloud-translate/1.16.0/V3.BatchTranslateMetadata)\n- [1.15.4](/php/docs/reference/cloud-translate/1.15.4/V3.BatchTranslateMetadata)\n- [1.14.3](/php/docs/reference/cloud-translate/1.14.3/V3.BatchTranslateMetadata)\n- [1.13.3](/php/docs/reference/cloud-translate/1.13.3/V3.BatchTranslateMetadata)\n- [1.12.12](/php/docs/reference/cloud-translate/1.12.12/V3.BatchTranslateMetadata) \nReference documentation and code samples for the Cloud Translation V3 Client class BatchTranslateMetadata.\n\nState metadata for the batch translation operation.\n\nGenerated from protobuf message `google.cloud.translation.v3.BatchTranslateMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Translate \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getState\n\nThe state of the operation.\n\n### setState\n\nThe state of the operation.\n\n### getTranslatedCharacters\n\nNumber of successfully translated characters so far (Unicode codepoints).\n\n### setTranslatedCharacters\n\nNumber of successfully translated characters so far (Unicode codepoints).\n\n### getFailedCharacters\n\nNumber of characters that have failed to process so far (Unicode\ncodepoints).\n\n### setFailedCharacters\n\nNumber of characters that have failed to process so far (Unicode\ncodepoints).\n\n### getTotalCharacters\n\nTotal number of characters (Unicode codepoints).\n\nThis is the total number of codepoints from input files times the number of\ntarget languages and appears here shortly after the call is submitted.\n\n### setTotalCharacters\n\nTotal number of characters (Unicode codepoints).\n\nThis is the total number of codepoints from input files times the number of\ntarget languages and appears here shortly after the call is submitted.\n\n### getSubmitTime\n\nTime when the operation was submitted.\n\n### hasSubmitTime\n\n### clearSubmitTime\n\n### setSubmitTime\n\nTime when the operation was submitted."]]