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
public interface TranslateTextResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TranslationgetGlossaryTranslations(int index)Text translation responses if a glossary is provided in the request.intgetGlossaryTranslationsCount()Text translation responses if a glossary is provided in the request.List<Translation>getGlossaryTranslationsList()Text translation responses if a glossary is provided in the request.TranslationOrBuildergetGlossaryTranslationsOrBuilder(int index)Text translation responses if a glossary is provided in the request.List<? extends TranslationOrBuilder>getGlossaryTranslationsOrBuilderList()Text translation responses if a glossary is provided in the request.TranslationgetTranslations(int index)Text translation responses with no glossary applied.intgetTranslationsCount()Text translation responses with no glossary applied.List<Translation>getTranslationsList()Text translation responses with no glossary applied.TranslationOrBuildergetTranslationsOrBuilder(int index)Text translation responses with no glossary applied.List<? extends TranslationOrBuilder>getTranslationsOrBuilderList()Text translation responses with no glossary applied.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
Translation getTranslations(int index)
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
TranslationOrBuilder getTranslationsOrBuilder(int index)
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
Translation getGlossaryTranslations(int index)
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
TranslationOrBuilder getGlossaryTranslationsOrBuilder(int index)
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;
-
-