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 Translation
getGlossaryTranslations(int index)
Text translation responses if a glossary is provided in the request.int
getGlossaryTranslationsCount()
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.TranslationOrBuilder
getGlossaryTranslationsOrBuilder(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.Translation
getTranslations(int index)
Text translation responses with no glossary applied.int
getTranslationsCount()
Text translation responses with no glossary applied.List<Translation>
getTranslationsList()
Text translation responses with no glossary applied.TranslationOrBuilder
getTranslationsOrBuilder(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.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.Translation translations = 1;
-
getTranslationsCount
int getTranslationsCount()
Text translation responses with no glossary applied. This field has the same length as [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.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.v3beta1.TranslateTextResponse.translations] if no terms apply. This field has the same length as [`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
repeated .google.cloud.translation.v3beta1.Translation glossary_translations = 3;
-
-