public static interface Glossary.LanguageCodePairOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getSourceLanguageCode()
public abstract 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;
| Type | Description |
| String | The sourceLanguageCode. |
getSourceLanguageCodeBytes()
public abstract 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;
| Type | Description |
| ByteString | The bytes for sourceLanguageCode. |
getTargetLanguageCode()
public abstract 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;
| Type | Description |
| String | The targetLanguageCode. |
getTargetLanguageCodeBytes()
public abstract 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;
| Type | Description |
| ByteString | The bytes for targetLanguageCode. |