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