Interface SupportedLanguageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SupportedLanguage,SupportedLanguage.Builder
@Generated
public interface SupportedLanguageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionHuman readable name of the language localized in the display language specified in the request.com.google.protobuf.ByteStringHuman readable name of the language localized in the display language specified in the request.Supported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'.com.google.protobuf.ByteStringSupported language code, generally consisting of its ISO 639-1 identifier, for example, 'en', 'ja'.booleanCan be used as source language.booleanCan be used as target language.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLanguageCode
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:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.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:
- The bytes for languageCode.
-
getDisplayName
String getDisplayName()Human readable name of the language localized in the display language specified in the request.
string display_name = 2;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Human readable name of the language localized in the display language specified in the request.
string display_name = 2;- Returns:
- The bytes for displayName.
-
getSupportSource
boolean getSupportSource()Can be used as source language.
bool support_source = 3;- Returns:
- The supportSource.
-
getSupportTarget
boolean getSupportTarget()Can be used as target language.
bool support_target = 4;- Returns:
- The supportTarget.
-