Class SupportedLanguage (2.30.0)

public final class SupportedLanguage extends GeneratedMessageV3 implements SupportedLanguageOrBuilder

A single supported language response corresponds to information related to one supported language.

Protobuf type google.cloud.translation.v3beta1.SupportedLanguage

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LANGUAGE_CODE_FIELD_NUMBER

public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORT_SOURCE_FIELD_NUMBER

public static final int SUPPORT_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORT_TARGET_FIELD_NUMBER

public static final int SUPPORT_TARGET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SupportedLanguage getDefaultInstance()
Returns
TypeDescription
SupportedLanguage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SupportedLanguage.Builder newBuilder()
Returns
TypeDescription
SupportedLanguage.Builder

newBuilder(SupportedLanguage prototype)

public static SupportedLanguage.Builder newBuilder(SupportedLanguage prototype)
Parameter
NameDescription
prototypeSupportedLanguage
Returns
TypeDescription
SupportedLanguage.Builder

parseDelimitedFrom(InputStream input)

public static SupportedLanguage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SupportedLanguage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SupportedLanguage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SupportedLanguage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SupportedLanguage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SupportedLanguage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SupportedLanguage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription