Viewing file: TranslationService.php (12.23 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/translate/v3/translation_service.proto
namespace GPBMetadata\Google\Cloud\Translate\V3;
class TranslationService { public static $is_initialized = false;
public static function initOnce() { $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool();
if (static::$is_initialized == true) { return; } \GPBMetadata\Google\Api\Annotations::initOnce(); \GPBMetadata\Google\Api\Client::initOnce(); \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Longrunning\Operations::initOnce(); \GPBMetadata\Google\Protobuf\GPBEmpty::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); \GPBMetadata\Google\Rpc\Status::initOnce(); $pool->internalAddGeneratedFile( ' âY 3google/cloud/translate/v3/translation_service.protogoogle.cloud.translation.v3google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto#google/longrunning/operations.protogoogle/protobuf/empty.protogoogle/protobuf/timestamp.protogoogle/rpc/status.proto"N TranslateTextGlossaryConfig glossary ( BàA ignore_case (BàA"µ TranslateTextRequest contents ( BàA mime_type ( BàA! source_language_code ( BàA! target_language_code ( BàA9 parent ( B)àAúA# !locations.googleapis.com/Location model ( BàAV glossary_config (28.google.cloud.translation.v3.TranslateTextGlossaryConfigBàAR labels (2=.google.cloud.translation.v3.TranslateTextRequest.LabelsEntryBàA- LabelsEntry key (
value ( :8" TranslateTextResponse> translations (2(.google.cloud.translation.v3.TranslationG glossary_translations (2(.google.cloud.translation.v3.Translation"¨ Translation translated_text (
model ( detected_language_code ( Q glossary_config (28.google.cloud.translation.v3.TranslateTextGlossaryConfig"Ÿ DetectLanguageRequest9 parent ( B)àAúA# !locations.googleapis.com/Location model ( BàA content ( H mime_type ( BàAS labels (2>.google.cloud.translation.v3.DetectLanguageRequest.LabelsEntryBàA- LabelsEntry key (
value ( :8B source"= DetectedLanguage
language_code (
confidence ("Z DetectLanguageResponse@ languages (2-.google.cloud.translation.v3.DetectedLanguage"‘ GetSupportedLanguagesRequest9 parent ( B)àAúA# !locations.googleapis.com/Location" display_language_code ( BàA model ( BàA"W SupportedLanguagesA languages (2..google.cloud.translation.v3.SupportedLanguage"p SupportedLanguage
language_code ( display_name ( support_source ( support_target ("# GcsSource input_uri ( BàA"m InputConfig mime_type ( BàA<
gcs_source (2&.google.cloud.translation.v3.GcsSourceH B source"0 GcsDestination output_uri_prefix ( BàA"e OutputConfigF gcs_destination (2+.google.cloud.translation.v3.GcsDestinationH B
destination"ƒ DocumentInputConfig content (H <
gcs_source (2&.google.cloud.translation.v3.GcsSourceH mime_type ( B source"Š DocumentOutputConfigK gcs_destination (2+.google.cloud.translation.v3.GcsDestinationBàAH mime_type ( BàAB
destination"– TranslateDocumentRequest parent ( BàA! source_language_code ( BàA! target_language_code ( BàAT document_input_config (20.google.cloud.translation.v3.DocumentInputConfigBàAV document_output_config (21.google.cloud.translation.v3.DocumentOutputConfigBàA model ( BàAV glossary_config (28.google.cloud.translation.v3.TranslateTextGlossaryConfigBàAV labels (2A.google.cloud.translation.v3.TranslateDocumentRequest.LabelsEntryBàA- LabelsEntry key (
value ( :8"e DocumentTranslation byte_stream_outputs ( mime_type ( detected_language_code ( "¦ TranslateDocumentResponseN document_translation (20.google.cloud.translation.v3.DocumentTranslationW glossary_document_translation (20.google.cloud.translation.v3.DocumentTranslation
model ( Q glossary_config (28.google.cloud.translation.v3.TranslateTextGlossaryConfig"ˆ BatchTranslateTextRequest9 parent ( B)àAúA# !locations.googleapis.com/Location! source_language_code ( BàA" target_language_codes ( BàAW models (2B.google.cloud.translation.v3.BatchTranslateTextRequest.ModelsEntryBàAD
input_configs (2(.google.cloud.translation.v3.InputConfigBàAE
output_config (2).google.cloud.translation.v3.OutputConfigBàA_
glossaries (2F.google.cloud.translation.v3.BatchTranslateTextRequest.GlossariesEntryBàAW labels (2B.google.cloud.translation.v3.BatchTranslateTextRequest.LabelsEntryBàA- ModelsEntry key (
value ( :8k GlossariesEntry key ( G value (28.google.cloud.translation.v3.TranslateTextGlossaryConfig:8- LabelsEntry key (
value ( :8"Î BatchTranslateMetadataH state (29.google.cloud.translation.v3.BatchTranslateMetadata.State translated_characters ( failed_characters ( total_characters (/ submit_time (2.google.protobuf.Timestamp"e State STATE_UNSPECIFIED RUNNING
SUCCEEDED
FAILED
CANCELLING
CANCELLED"Ë BatchTranslateResponse total_characters ( translated_characters ( failed_characters (/ submit_time (2.google.protobuf.Timestamp, end_time (2.google.protobuf.Timestamp"] GlossaryInputConfig<
gcs_source (2&.google.cloud.translation.v3.GcsSourceH B source"ÿ Glossary name ( BàAO
language_pair (26.google.cloud.translation.v3.Glossary.LanguageCodePairH T language_codes_set (26.google.cloud.translation.v3.Glossary.LanguageCodesSetH F input_config (20.google.cloud.translation.v3.GlossaryInputConfig entry_count (BàA4 submit_time (2.google.protobuf.TimestampBàA1 end_time (2.google.protobuf.TimestampBàAN LanguageCodePair source_language_code ( target_language_code ( * LanguageCodesSet language_codes ( :eêAb !translate.googleapis.com/Glossary=projects/{project}/locations/{location}/glossaries/{glossary}B languages" CreateGlossaryRequest9 parent ( B)àAúA# !locations.googleapis.com/Location< glossary (2%.google.cloud.translation.v3.GlossaryBàA"M GetGlossaryRequest7 name ( B)àAúA# !translate.googleapis.com/Glossary"P DeleteGlossaryRequest7 name ( B)àAúA# !translate.googleapis.com/Glossary"˜ ListGlossariesRequest9 parent ( B)àAúA# !locations.googleapis.com/Location page_size (BàA
page_token ( BàA filter ( BàA"l ListGlossariesResponse9
glossaries (2%.google.cloud.translation.v3.Glossary next_page_token ( "ˆ CreateGlossaryMetadata name ( H state (29.google.cloud.translation.v3.CreateGlossaryMetadata.State/ submit_time (2.google.protobuf.Timestamp"e State STATE_UNSPECIFIED RUNNING
SUCCEEDED
FAILED
CANCELLING
CANCELLED"ˆ DeleteGlossaryMetadata name ( H state (29.google.cloud.translation.v3.DeleteGlossaryMetadata.State/ submit_time (2.google.protobuf.Timestamp"e State STATE_UNSPECIFIED RUNNING
SUCCEEDED
FAILED
CANCELLING
CANCELLED"… DeleteGlossaryResponse name ( / submit_time (2.google.protobuf.Timestamp, end_time (2.google.protobuf.Timestamp"Ô BatchTranslateDocumentRequest9 parent ( B)àAúA# !locations.googleapis.com/Location! source_language_code ( BàA" target_language_codes ( BàAQ
input_configs (25.google.cloud.translation.v3.BatchDocumentInputConfigBàAR
output_config (26.google.cloud.translation.v3.BatchDocumentOutputConfigBàA[ models (2F.google.cloud.translation.v3.BatchTranslateDocumentRequest.ModelsEntryBàAc
glossaries (2J.google.cloud.translation.v3.BatchTranslateDocumentRequest.GlossariesEntryBàAr format_conversions (2Q.google.cloud.translation.v3.BatchTranslateDocumentRequest.FormatConversionsEntryBàA- ModelsEntry key (
value ( :8k GlossariesEntry key ( G value (28.google.cloud.translation.v3.TranslateTextGlossaryConfig:88 FormatConversionsEntry key (
value ( :8"b BatchDocumentInputConfig<
gcs_source (2&.google.cloud.translation.v3.GcsSourceH B source"r BatchDocumentOutputConfigF gcs_destination (2+.google.cloud.translation.v3.GcsDestinationH B
destination"Ù BatchTranslateDocumentResponse total_pages ( translated_pages ( failed_pages ( total_billable_pages ( total_characters ( translated_characters ( failed_characters (! total_billable_characters (/ submit_time (2.google.protobuf.Timestamp, end_time (2.google.protobuf.Timestamp"ä BatchTranslateDocumentMetadataP state (2A.google.cloud.translation.v3.BatchTranslateDocumentMetadata.State total_pages ( translated_pages ( failed_pages ( total_billable_pages ( total_characters ( translated_characters ( failed_characters (! total_billable_characters (/ submit_time (2.google.protobuf.Timestamp"e State STATE_UNSPECIFIED RUNNING
SUCCEEDED
FAILED
CANCELLING
CANCELLED2¦ TranslationServiceÔ
TranslateText1.google.cloud.translation.v3.TranslateTextRequest2.google.cloud.translation.v3.TranslateTextResponse"Û‚Óä“b"1/v3/{parent=projects/*/locations/*}:translateText:*Z*"%/v3/{parent=projects/*}:translateText:*ÚA$parent,target_language_code,contentsÚAIparent,model,mime_type,source_language_code,target_language_code,contents‡ DetectLanguage2.google.cloud.translation.v3.DetectLanguageRequest3.google.cloud.translation.v3.DetectLanguageResponse"‹‚Óä“d"2/v3/{parent=projects/*/locations/*}:detectLanguage:*Z+"&/v3/{parent=projects/*}:detectLanguage:*ÚAparent,model,mime_type,content— GetSupportedLanguages9.google.cloud.translation.v3.GetSupportedLanguagesRequest/.google.cloud.translation.v3.SupportedLanguages"‘‚Óä“f6/v3/{parent=projects/*/locations/*}/supportedLanguagesZ,*/v3/{parent=projects/*}/supportedLanguagesÚA"parent,model,display_language_codeÄ TranslateDocument5.google.cloud.translation.v3.TranslateDocumentRequest6.google.cloud.translation.v3.TranslateDocumentResponse"@‚Óä“:"5/v3/{parent=projects/*/locations/*}:translateDocument:*á BatchTranslateText6.google.cloud.translation.v3.BatchTranslateTextRequest.google.longrunning.Operation"t‚Óä“;"6/v3/{parent=projects/*/locations/*}:batchTranslateText:*ÊA0 BatchTranslateResponseBatchTranslateMetadataÎ BatchTranslateDocument:.google.cloud.translation.v3.BatchTranslateDocumentRequest.google.longrunning.Operation"Ø‚Óä“?":/v3/{parent=projects/*/locations/*}:batchTranslateDocument:*ÚAMparent,source_language_code,target_language_codes,input_configs,output_configÊA@ BatchTranslateDocumentResponseBatchTranslateDocumentMetadataÜ CreateGlossary2.google.cloud.translation.v3.CreateGlossaryRequest.google.longrunning.Operation"w‚Óä“:"./v3/{parent=projects/*/locations/*}/glossaries:glossaryÚAparent,glossaryÊA" GlossaryCreateGlossaryMetadataº ListGlossaries2.google.cloud.translation.v3.ListGlossariesRequest3.google.cloud.translation.v3.ListGlossariesResponse"?‚Óä“0./v3/{parent=projects/*/locations/*}/glossariesÚAparent¤ GetGlossary/.google.cloud.translation.v3.GetGlossaryRequest%.google.cloud.translation.v3.Glossary"=‚Óä“0./v3/{name=projects/*/locations/*/glossaries/*}ÚAnameÕ DeleteGlossary2.google.cloud.translation.v3.DeleteGlossaryRequest.google.longrunning.Operation"p‚Óä“0*./v3/{name=projects/*/locations/*/glossaries/*}ÚAnameÊA0 DeleteGlossaryResponseDeleteGlossaryMetadata~ÊAtranslate.googleapis.comÒA`https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-translationBØ com.google.cloud.translate.v3BTranslationServiceProtoPZBgoogle.golang.org/genproto/googleapis/cloud/translate/v3;translateøªGoogle.Cloud.Translate.V3ÊGoogle\\Cloud\\Translate\\V3êGoogle::Cloud::Translate::V3bproto3' , true);
static::$is_initialized = true; } }
|