public interface TranslateTextResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
Copyright © 2022 Google LLC. All rights reserved.