Interface SupportedLanguageOrBuilder (2.52.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
Type Description
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
Type Description
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, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').

string language_code = 1;

Returns
Type Description
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, ISO-639 codes including language and region identifiers are returned (for example, 'zh-TW' and 'zh-CN').

string language_code = 1;

Returns
Type Description
ByteString

The bytes for languageCode.

getSupportSource()

public abstract boolean getSupportSource()

Can be used as a source language.

bool support_source = 3;

Returns
Type Description
boolean

The supportSource.

getSupportTarget()

public abstract boolean getSupportTarget()

Can be used as a target language.

bool support_target = 4;

Returns
Type Description
boolean

The supportTarget.