Package com.google.cloud.translate.v3
Interface RomanizationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Romanization,Romanization.Builder
@Generated
public interface RomanizationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request.com.google.protobuf.ByteStringThe ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request.Romanized text.com.google.protobuf.ByteStringRomanized text.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRomanizedText
String getRomanizedText()Romanized text. If an error occurs during romanization, this field might be excluded from the response.
string romanized_text = 1;- Returns:
- The romanizedText.
-
getRomanizedTextBytes
com.google.protobuf.ByteString getRomanizedTextBytes()Romanized text. If an error occurs during romanization, this field might be excluded from the response.
string romanized_text = 1;- Returns:
- The bytes for romanizedText.
-
getDetectedLanguageCode
String getDetectedLanguageCode()The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.
string detected_language_code = 2;- Returns:
- The detectedLanguageCode.
-
getDetectedLanguageCodeBytes
com.google.protobuf.ByteString getDetectedLanguageCodeBytes()The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty.
string detected_language_code = 2;- Returns:
- The bytes for detectedLanguageCode.
-