public final class BatchTranslateTextRequest extends com.google.protobuf.GeneratedMessageV3 implements BatchTranslateTextRequestOrBuilder
The batch translation request.Protobuf type
google.cloud.translation.v3.BatchTranslateTextRequest| Modifier and Type | Class and Description |
|---|---|
static class |
BatchTranslateTextRequest.Builder
The batch translation request.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
GLOSSARIES_FIELD_NUMBER |
static int |
INPUT_CONFIGS_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
MODELS_FIELD_NUMBER |
static int |
OUTPUT_CONFIG_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
SOURCE_LANGUAGE_CODE_FIELD_NUMBER |
static int |
TARGET_LANGUAGE_CODES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsGlossaries(String key)
Optional.
|
boolean |
containsLabels(String key)
Optional.
|
boolean |
containsModels(String key)
Optional.
|
boolean |
equals(Object obj) |
static BatchTranslateTextRequest |
getDefaultInstance() |
BatchTranslateTextRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,TranslateTextGlossaryConfig> |
getGlossaries()
Deprecated.
|
int |
getGlossariesCount()
Optional.
|
Map<String,TranslateTextGlossaryConfig> |
getGlossariesMap()
Optional.
|
TranslateTextGlossaryConfig |
getGlossariesOrDefault(String key,
TranslateTextGlossaryConfig defaultValue)
Optional.
|
TranslateTextGlossaryConfig |
getGlossariesOrThrow(String key)
Optional.
|
InputConfig |
getInputConfigs(int index)
Required.
|
int |
getInputConfigsCount()
Required.
|
List<InputConfig> |
getInputConfigsList()
Required.
|
InputConfigOrBuilder |
getInputConfigsOrBuilder(int index)
Required.
|
List<? extends InputConfigOrBuilder> |
getInputConfigsOrBuilderList()
Required.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
Map<String,String> |
getModels()
Deprecated.
|
int |
getModelsCount()
Optional.
|
Map<String,String> |
getModelsMap()
Optional.
|
String |
getModelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getModelsOrThrow(String key)
Optional.
|
OutputConfig |
getOutputConfig()
Required.
|
OutputConfigOrBuilder |
getOutputConfigOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<BatchTranslateTextRequest> |
getParserForType() |
int |
getSerializedSize() |
String |
getSourceLanguageCode()
Required.
|
com.google.protobuf.ByteString |
getSourceLanguageCodeBytes()
Required.
|
String |
getTargetLanguageCodes(int index)
Required.
|
com.google.protobuf.ByteString |
getTargetLanguageCodesBytes(int index)
Required.
|
int |
getTargetLanguageCodesCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getTargetLanguageCodesList()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasOutputConfig()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static BatchTranslateTextRequest.Builder |
newBuilder() |
static BatchTranslateTextRequest.Builder |
newBuilder(BatchTranslateTextRequest prototype) |
BatchTranslateTextRequest.Builder |
newBuilderForType() |
protected BatchTranslateTextRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BatchTranslateTextRequest |
parseDelimitedFrom(InputStream input) |
static BatchTranslateTextRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchTranslateTextRequest |
parseFrom(byte[] data) |
static BatchTranslateTextRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchTranslateTextRequest |
parseFrom(ByteBuffer data) |
static BatchTranslateTextRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchTranslateTextRequest |
parseFrom(com.google.protobuf.ByteString data) |
static BatchTranslateTextRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchTranslateTextRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BatchTranslateTextRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchTranslateTextRequest |
parseFrom(InputStream input) |
static BatchTranslateTextRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BatchTranslateTextRequest> |
parser() |
BatchTranslateTextRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int SOURCE_LANGUAGE_CODE_FIELD_NUMBER
public static final int TARGET_LANGUAGE_CODES_FIELD_NUMBER
public static final int MODELS_FIELD_NUMBER
public static final int INPUT_CONFIGS_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
public static final int GLOSSARIES_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getParent()
Required. Location to make a call. Must refer to a caller's project.
Format: `projects/{project-number-or-id}/locations/{location-id}`.
The `global` location is not supported for batch translation.
Only AutoML Translation models or glossaries within the same region (have
the same location-id) can be used, otherwise an INVALID_ARGUMENT (400)
error is returned.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface BatchTranslateTextRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. Location to make a call. Must refer to a caller's project.
Format: `projects/{project-number-or-id}/locations/{location-id}`.
The `global` location is not supported for batch translation.
Only AutoML Translation models or glossaries within the same region (have
the same location-id) can be used, otherwise an INVALID_ARGUMENT (400)
error is returned.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface BatchTranslateTextRequestOrBuilderpublic String getSourceLanguageCode()
Required. Source language code.
string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED];getSourceLanguageCode in interface BatchTranslateTextRequestOrBuilderpublic com.google.protobuf.ByteString getSourceLanguageCodeBytes()
Required. Source language code.
string source_language_code = 2 [(.google.api.field_behavior) = REQUIRED];getSourceLanguageCodeBytes in interface BatchTranslateTextRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getTargetLanguageCodesList()
Required. Specify up to 10 language codes here.
repeated string target_language_codes = 3 [(.google.api.field_behavior) = REQUIRED];
getTargetLanguageCodesList in interface BatchTranslateTextRequestOrBuilderpublic int getTargetLanguageCodesCount()
Required. Specify up to 10 language codes here.
repeated string target_language_codes = 3 [(.google.api.field_behavior) = REQUIRED];
getTargetLanguageCodesCount in interface BatchTranslateTextRequestOrBuilderpublic String getTargetLanguageCodes(int index)
Required. Specify up to 10 language codes here.
repeated string target_language_codes = 3 [(.google.api.field_behavior) = REQUIRED];
getTargetLanguageCodes in interface BatchTranslateTextRequestOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTargetLanguageCodesBytes(int index)
Required. Specify up to 10 language codes here.
repeated string target_language_codes = 3 [(.google.api.field_behavior) = REQUIRED];
getTargetLanguageCodesBytes in interface BatchTranslateTextRequestOrBuilderindex - The index of the value to return.public int getModelsCount()
BatchTranslateTextRequestOrBuilder
Optional. The models to use for translation. Map's key is target language
code. Map's value is model name. Value can be a built-in general model,
or an AutoML Translation model.
The value format depends on model type:
- AutoML Translation models:
`projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
- General (built-in) models:
`projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
If the map is empty or a specific model is
not requested for a language pair, then default google model (nmt) is used.
map<string, string> models = 4 [(.google.api.field_behavior) = OPTIONAL];getModelsCount in interface BatchTranslateTextRequestOrBuilderpublic boolean containsModels(String key)
Optional. The models to use for translation. Map's key is target language
code. Map's value is model name. Value can be a built-in general model,
or an AutoML Translation model.
The value format depends on model type:
- AutoML Translation models:
`projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
- General (built-in) models:
`projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
If the map is empty or a specific model is
not requested for a language pair, then default google model (nmt) is used.
map<string, string> models = 4 [(.google.api.field_behavior) = OPTIONAL];containsModels in interface BatchTranslateTextRequestOrBuilder@Deprecated public Map<String,String> getModels()
getModelsMap() instead.getModels in interface BatchTranslateTextRequestOrBuilderpublic Map<String,String> getModelsMap()
Optional. The models to use for translation. Map's key is target language
code. Map's value is model name. Value can be a built-in general model,
or an AutoML Translation model.
The value format depends on model type:
- AutoML Translation models:
`projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
- General (built-in) models:
`projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
If the map is empty or a specific model is
not requested for a language pair, then default google model (nmt) is used.
map<string, string> models = 4 [(.google.api.field_behavior) = OPTIONAL];getModelsMap in interface BatchTranslateTextRequestOrBuilderpublic String getModelsOrDefault(String key, String defaultValue)
Optional. The models to use for translation. Map's key is target language
code. Map's value is model name. Value can be a built-in general model,
or an AutoML Translation model.
The value format depends on model type:
- AutoML Translation models:
`projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
- General (built-in) models:
`projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
If the map is empty or a specific model is
not requested for a language pair, then default google model (nmt) is used.
map<string, string> models = 4 [(.google.api.field_behavior) = OPTIONAL];getModelsOrDefault in interface BatchTranslateTextRequestOrBuilderpublic String getModelsOrThrow(String key)
Optional. The models to use for translation. Map's key is target language
code. Map's value is model name. Value can be a built-in general model,
or an AutoML Translation model.
The value format depends on model type:
- AutoML Translation models:
`projects/{project-number-or-id}/locations/{location-id}/models/{model-id}`
- General (built-in) models:
`projects/{project-number-or-id}/locations/{location-id}/models/general/nmt`,
If the map is empty or a specific model is
not requested for a language pair, then default google model (nmt) is used.
map<string, string> models = 4 [(.google.api.field_behavior) = OPTIONAL];getModelsOrThrow in interface BatchTranslateTextRequestOrBuilderpublic List<InputConfig> getInputConfigsList()
Required. Input configurations. The total number of files matched should be <= 100. The total content size should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.
repeated .google.cloud.translation.v3.InputConfig input_configs = 5 [(.google.api.field_behavior) = REQUIRED];
getInputConfigsList in interface BatchTranslateTextRequestOrBuilderpublic List<? extends InputConfigOrBuilder> getInputConfigsOrBuilderList()
Required. Input configurations. The total number of files matched should be <= 100. The total content size should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.
repeated .google.cloud.translation.v3.InputConfig input_configs = 5 [(.google.api.field_behavior) = REQUIRED];
getInputConfigsOrBuilderList in interface BatchTranslateTextRequestOrBuilderpublic int getInputConfigsCount()
Required. Input configurations. The total number of files matched should be <= 100. The total content size should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.
repeated .google.cloud.translation.v3.InputConfig input_configs = 5 [(.google.api.field_behavior) = REQUIRED];
getInputConfigsCount in interface BatchTranslateTextRequestOrBuilderpublic InputConfig getInputConfigs(int index)
Required. Input configurations. The total number of files matched should be <= 100. The total content size should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.
repeated .google.cloud.translation.v3.InputConfig input_configs = 5 [(.google.api.field_behavior) = REQUIRED];
getInputConfigs in interface BatchTranslateTextRequestOrBuilderpublic InputConfigOrBuilder getInputConfigsOrBuilder(int index)
Required. Input configurations. The total number of files matched should be <= 100. The total content size should be <= 100M Unicode codepoints. The files must use UTF-8 encoding.
repeated .google.cloud.translation.v3.InputConfig input_configs = 5 [(.google.api.field_behavior) = REQUIRED];
getInputConfigsOrBuilder in interface BatchTranslateTextRequestOrBuilderpublic boolean hasOutputConfig()
Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs.
.google.cloud.translation.v3.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];
hasOutputConfig in interface BatchTranslateTextRequestOrBuilderpublic OutputConfig getOutputConfig()
Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs.
.google.cloud.translation.v3.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];
getOutputConfig in interface BatchTranslateTextRequestOrBuilderpublic OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. Output configuration. If 2 input configs match to the same file (that is, same input path), we don't generate output for duplicate inputs.
.google.cloud.translation.v3.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED];
getOutputConfigOrBuilder in interface BatchTranslateTextRequestOrBuilderpublic int getGlossariesCount()
BatchTranslateTextRequestOrBuilderOptional. Glossaries to be applied for translation. It's keyed by target language code.
map<string, .google.cloud.translation.v3.TranslateTextGlossaryConfig> glossaries = 7 [(.google.api.field_behavior) = OPTIONAL];
getGlossariesCount in interface BatchTranslateTextRequestOrBuilderpublic boolean containsGlossaries(String key)
Optional. Glossaries to be applied for translation. It's keyed by target language code.
map<string, .google.cloud.translation.v3.TranslateTextGlossaryConfig> glossaries = 7 [(.google.api.field_behavior) = OPTIONAL];
containsGlossaries in interface BatchTranslateTextRequestOrBuilder@Deprecated public Map<String,TranslateTextGlossaryConfig> getGlossaries()
getGlossariesMap() instead.getGlossaries in interface BatchTranslateTextRequestOrBuilderpublic Map<String,TranslateTextGlossaryConfig> getGlossariesMap()
Optional. Glossaries to be applied for translation. It's keyed by target language code.
map<string, .google.cloud.translation.v3.TranslateTextGlossaryConfig> glossaries = 7 [(.google.api.field_behavior) = OPTIONAL];
getGlossariesMap in interface BatchTranslateTextRequestOrBuilderpublic TranslateTextGlossaryConfig getGlossariesOrDefault(String key, TranslateTextGlossaryConfig defaultValue)
Optional. Glossaries to be applied for translation. It's keyed by target language code.
map<string, .google.cloud.translation.v3.TranslateTextGlossaryConfig> glossaries = 7 [(.google.api.field_behavior) = OPTIONAL];
getGlossariesOrDefault in interface BatchTranslateTextRequestOrBuilderpublic TranslateTextGlossaryConfig getGlossariesOrThrow(String key)
Optional. Glossaries to be applied for translation. It's keyed by target language code.
map<string, .google.cloud.translation.v3.TranslateTextGlossaryConfig> glossaries = 7 [(.google.api.field_behavior) = OPTIONAL];
getGlossariesOrThrow in interface BatchTranslateTextRequestOrBuilderpublic int getLabelsCount()
BatchTranslateTextRequestOrBuilderOptional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];getLabelsCount in interface BatchTranslateTextRequestOrBuilderpublic boolean containsLabels(String key)
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];containsLabels in interface BatchTranslateTextRequestOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface BatchTranslateTextRequestOrBuilderpublic Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];getLabelsMap in interface BatchTranslateTextRequestOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrDefault in interface BatchTranslateTextRequestOrBuilderpublic String getLabelsOrThrow(String key)
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/advanced/labels for more information.
map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrThrow in interface BatchTranslateTextRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BatchTranslateTextRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchTranslateTextRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchTranslateTextRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchTranslateTextRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchTranslateTextRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchTranslateTextRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchTranslateTextRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchTranslateTextRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchTranslateTextRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchTranslateTextRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchTranslateTextRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BatchTranslateTextRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchTranslateTextRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BatchTranslateTextRequest.Builder newBuilder()
public static BatchTranslateTextRequest.Builder newBuilder(BatchTranslateTextRequest prototype)
public BatchTranslateTextRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BatchTranslateTextRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BatchTranslateTextRequest getDefaultInstance()
public static com.google.protobuf.Parser<BatchTranslateTextRequest> parser()
public com.google.protobuf.Parser<BatchTranslateTextRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BatchTranslateTextRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.