Package com.google.cloud.translate.v3
Interface TranslateTextResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TranslateTextResponse,TranslateTextResponse.Builder
@Generated
public interface TranslateTextResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetGlossaryTranslations(int index) Text translation responses if a glossary is provided in the request.intText translation responses if a glossary is provided in the request.Text translation responses if a glossary is provided in the request.getGlossaryTranslationsOrBuilder(int index) Text translation responses if a glossary is provided in the request.List<? extends TranslationOrBuilder>Text translation responses if a glossary is provided in the request.getTranslations(int index) Text translation responses with no glossary applied.intText translation responses with no glossary applied.Text translation responses with no glossary applied.getTranslationsOrBuilder(int index) Text translation responses with no glossary applied.List<? extends TranslationOrBuilder>Text translation responses with no glossary applied.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<Translation> getTranslationsList()Text translation responses with no glossary applied. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation translations = 1; -
getTranslations
Text translation responses with no glossary applied. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation translations = 1; -
getTranslationsCount
int getTranslationsCount()Text translation responses with no glossary applied. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation translations = 1; -
getTranslationsOrBuilderList
List<? extends TranslationOrBuilder> getTranslationsOrBuilderList()Text translation responses with no glossary applied. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation translations = 1; -
getTranslationsOrBuilder
Text translation responses with no glossary applied. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation translations = 1; -
getGlossaryTranslationsList
List<Translation> getGlossaryTranslationsList()Text translation responses if a glossary is provided in the request. This can be the same as [`translations`][google.cloud.translation.v3.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation glossary_translations = 3; -
getGlossaryTranslations
Text translation responses if a glossary is provided in the request. This can be the same as [`translations`][google.cloud.translation.v3.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation glossary_translations = 3; -
getGlossaryTranslationsCount
int getGlossaryTranslationsCount()Text translation responses if a glossary is provided in the request. This can be the same as [`translations`][google.cloud.translation.v3.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation glossary_translations = 3; -
getGlossaryTranslationsOrBuilderList
List<? extends TranslationOrBuilder> getGlossaryTranslationsOrBuilderList()Text translation responses if a glossary is provided in the request. This can be the same as [`translations`][google.cloud.translation.v3.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation glossary_translations = 3; -
getGlossaryTranslationsOrBuilder
Text translation responses if a glossary is provided in the request. This can be the same as [`translations`][google.cloud.translation.v3.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3.Translation glossary_translations = 3;
-