Interface RomanizationOrBuilder (2.48.0)

public interface RomanizationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDetectedLanguageCode()

public abstract String getDetectedLanguageCode()

The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.

string detected_language_code = 2;

Returns
Type Description
String

The detectedLanguageCode.

getDetectedLanguageCodeBytes()

public abstract ByteString getDetectedLanguageCodeBytes()

The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.

string detected_language_code = 2;

Returns
Type Description
ByteString

The bytes for detectedLanguageCode.

getRomanizedText()

public abstract String getRomanizedText()

Romanized text. If an error occurs during romanization, this field might be excluded from the response.

string romanized_text = 1;

Returns
Type Description
String

The romanizedText.

getRomanizedTextBytes()

public abstract ByteString getRomanizedTextBytes()

Romanized text. If an error occurs during romanization, this field might be excluded from the response.

string romanized_text = 1;

Returns
Type Description
ByteString

The bytes for romanizedText.