Class BatchTranslateTextRequest (2.9.0)

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

The batch translation request.

Protobuf type google.cloud.translation.v3beta1.BatchTranslateTextRequest

Static Fields

GLOSSARIES_FIELD_NUMBER

public static final int GLOSSARIES_FIELD_NUMBER
Field Value
TypeDescription
int

INPUT_CONFIGS_FIELD_NUMBER

public static final int INPUT_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

MODELS_FIELD_NUMBER

public static final int MODELS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTPUT_CONFIG_FIELD_NUMBER

public static final int OUTPUT_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_LANGUAGE_CODE_FIELD_NUMBER

public static final int SOURCE_LANGUAGE_CODE_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_LANGUAGE_CODES_FIELD_NUMBER

public static final int TARGET_LANGUAGE_CODES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchTranslateTextRequest getDefaultInstance()
Returns
TypeDescription
BatchTranslateTextRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchTranslateTextRequest prototype)

public static BatchTranslateTextRequest.Builder newBuilder(BatchTranslateTextRequest prototype)
Parameter
NameDescription
prototypeBatchTranslateTextRequest
Returns
TypeDescription
BatchTranslateTextRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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