Package com.google.cloud.translate.v3
Interface AdaptiveMtTranslateResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdaptiveMtTranslateResponse,AdaptiveMtTranslateResponse.Builder
@Generated
public interface AdaptiveMtTranslateResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetGlossaryTranslations(int index) Text translation response if a glossary is provided in the request.intText translation response if a glossary is provided in the request.Text translation response if a glossary is provided in the request.getGlossaryTranslationsOrBuilder(int index) Text translation response if a glossary is provided in the request.List<? extends AdaptiveMtTranslationOrBuilder>Text translation response if a glossary is provided in the request.Output only.com.google.protobuf.ByteStringOutput only.getTranslations(int index) Output only.intOutput only.Output only.getTranslationsOrBuilder(int index) Output only.List<? extends AdaptiveMtTranslationOrBuilder>Output only.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
-
getTranslationsList
List<AdaptiveMtTranslation> getTranslationsList()Output only. The translation.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTranslations
Output only. The translation.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTranslationsCount
int getTranslationsCount()Output only. The translation.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTranslationsOrBuilderList
List<? extends AdaptiveMtTranslationOrBuilder> getTranslationsOrBuilderList()Output only. The translation.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTranslationsOrBuilder
Output only. The translation.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation translations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLanguageCode
String getLanguageCode()Output only. The translation's language code.
string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()Output only. The translation's language code.
string language_code = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for languageCode.
-
getGlossaryTranslationsList
List<AdaptiveMtTranslation> getGlossaryTranslationsList()Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4; -
getGlossaryTranslations
Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4; -
getGlossaryTranslationsCount
int getGlossaryTranslationsCount()Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4; -
getGlossaryTranslationsOrBuilderList
List<? extends AdaptiveMtTranslationOrBuilder> getGlossaryTranslationsOrBuilderList()Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4; -
getGlossaryTranslationsOrBuilder
Text translation response if a glossary is provided in the request. This could be the same as 'translation' above if no terms apply.
repeated .google.cloud.translation.v3.AdaptiveMtTranslation glossary_translations = 4;
-