Interface SupportedLanguageOrBuilder (2.31.0)

public interface SupportedLanguageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Human readable name of the language localized in the display language specified in the request.

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Human readable name of the language localized in the display language specified in the request.

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLanguageCode()

public abstract String getLanguageCode()

Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN')

string language_code = 1;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN')

string language_code = 1;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getSupportSource()

public abstract boolean getSupportSource()

Can be used as source language.

bool support_source = 3;

Returns
TypeDescription
boolean

The supportSource.

getSupportTarget()

public abstract boolean getSupportTarget()

Can be used as target language.

bool support_target = 4;

Returns
TypeDescription
boolean

The supportTarget.