public class TranslationProtosUtil extends Object
| Constructor and Description |
|---|
TranslationProtosUtil() |
| Modifier and Type | Method and Description |
|---|---|
static TranslationProtos.TranslateRequest |
buildTranslateRequest(List<CommonProtos.Header> headers,
String sourceLang,
String targetLang,
String source) |
public static TranslationProtos.TranslateRequest buildTranslateRequest(List<CommonProtos.Header> headers, String sourceLang, String targetLang, String source)