Class GetSupportedLanguagesRequest (2.9.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class GetSupportedLanguagesRequest extends GeneratedMessageV3 implements GetSupportedLanguagesRequestOrBuilder

The request message for discovering supported languages.

Protobuf type google.cloud.translation.v3beta1.GetSupportedLanguagesRequest

Static Fields

DISPLAY_LANGUAGE_CODE_FIELD_NUMBER

public static final int DISPLAY_LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GetSupportedLanguagesRequest getDefaultInstance()
Returns
TypeDescription
GetSupportedLanguagesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(GetSupportedLanguagesRequest prototype)

public static GetSupportedLanguagesRequest.Builder newBuilder(GetSupportedLanguagesRequest prototype)
Parameter
NameDescription
prototypeGetSupportedLanguagesRequest
Returns
TypeDescription
GetSupportedLanguagesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static GetSupportedLanguagesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GetSupportedLanguagesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GetSupportedLanguagesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns