Interface LanguageInfoOrBuilder (0.43.0)

public interface LanguageInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguage()

public abstract String getLanguage()

Output only. Language part of normalized_language_code. E.g.: en-US -> en, zh-Hans-HK -> zh, en -> en.

string language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The language.

getLanguageBytes()

public abstract ByteString getLanguageBytes()

Output only. Language part of normalized_language_code. E.g.: en-US -> en, zh-Hans-HK -> zh, en -> en.

string language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for language.

getLanguageCode()

public abstract String getLanguageCode()

The language code for the DataStore.

string language_code = 1;

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

The language code for the DataStore.

string language_code = 1;

Returns
Type Description
ByteString

The bytes for languageCode.

getNormalizedLanguageCode()

public abstract String getNormalizedLanguageCode()

Output only. This is the normalized form of language_code. E.g.: language_code of en-GB, en_GB, en-UK or en-gb will have normalized_language_code of en-GB.

string normalized_language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The normalizedLanguageCode.

getNormalizedLanguageCodeBytes()

public abstract ByteString getNormalizedLanguageCodeBytes()

Output only. This is the normalized form of language_code. E.g.: language_code of en-GB, en_GB, en-UK or en-gb will have normalized_language_code of en-GB.

string normalized_language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for normalizedLanguageCode.

getRegion()

public abstract String getRegion()

Output only. Region part of normalized_language_code, if present. E.g.: en-US -> US, zh-Hans-HK -> HK, en -> ``.

string region = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

Output only. Region part of normalized_language_code, if present. E.g.: en-US -> US, zh-Hans-HK -> HK, en -> ``.

string region = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for region.