public static interface Glossary.LanguageCodePairOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getSourceLanguageCode()
Required.
|
ByteString |
getSourceLanguageCodeBytes()
Required.
|
String |
getTargetLanguageCode()
Required.
|
ByteString |
getTargetLanguageCodeBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getSourceLanguageCode()
Required. The BCP-47 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
string source_language_code = 1;
ByteString getSourceLanguageCodeBytes()
Required. The BCP-47 language code of the input text, for example, "en-US". Expected to be an exact match for GlossaryTerm.language_code.
string source_language_code = 1;
String getTargetLanguageCode()
Required. The BCP-47 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
string target_language_code = 2;
ByteString getTargetLanguageCodeBytes()
Required. The BCP-47 language code for translation output, for example, "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
string target_language_code = 2;
Copyright © 2022 Google LLC. All rights reserved.