public interface TranslateTextResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getGlossaryTranslations(int index)
public abstract Translation getGlossaryTranslations(int index)
Text translation responses if a glossary is provided in the request.
This can be the same as
translations
if no terms apply. This field has the same length as
contents
.
repeated .google.cloud.translation.v3.Translation glossary_translations = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Translation |
getGlossaryTranslationsCount()
public abstract int getGlossaryTranslationsCount()
Text translation responses if a glossary is provided in the request.
This can be the same as
translations
if no terms apply. This field has the same length as
contents
.
repeated .google.cloud.translation.v3.Translation glossary_translations = 3;
Returns | |
---|---|
Type | Description |
int |
getGlossaryTranslationsList()
public abstract List<Translation> getGlossaryTranslationsList()
Text translation responses if a glossary is provided in the request.
This can be the same as
translations
if no terms apply. This field has the same length as
contents
.
repeated .google.cloud.translation.v3.Translation glossary_translations = 3;
Returns | |
---|---|
Type | Description |
List<Translation> |
getGlossaryTranslationsOrBuilder(int index)
public abstract TranslationOrBuilder getGlossaryTranslationsOrBuilder(int index)
Text translation responses if a glossary is provided in the request.
This can be the same as
translations
if no terms apply. This field has the same length as
contents
.
repeated .google.cloud.translation.v3.Translation glossary_translations = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TranslationOrBuilder |
getGlossaryTranslationsOrBuilderList()
public abstract List<? extends TranslationOrBuilder> getGlossaryTranslationsOrBuilderList()
Text translation responses if a glossary is provided in the request.
This can be the same as
translations
if no terms apply. This field has the same length as
contents
.
repeated .google.cloud.translation.v3.Translation glossary_translations = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.translate.v3.TranslationOrBuilder> |