Interface RefineTextResponseOrBuilder (2.80.0)

public interface RefineTextResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRefinedTranslations(int index)

public abstract String getRefinedTranslations(int index)

The refined translations obtained from the original translations.

repeated string refined_translations = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The refinedTranslations at the given index.

getRefinedTranslationsBytes(int index)

public abstract ByteString getRefinedTranslationsBytes(int index)

The refined translations obtained from the original translations.

repeated string refined_translations = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the refinedTranslations at the given index.

getRefinedTranslationsCount()

public abstract int getRefinedTranslationsCount()

The refined translations obtained from the original translations.

repeated string refined_translations = 1;

Returns
Type Description
int

The count of refinedTranslations.

getRefinedTranslationsList()

public abstract List<String> getRefinedTranslationsList()

The refined translations obtained from the original translations.

repeated string refined_translations = 1;

Returns
Type Description
List<String>

A list containing the refinedTranslations.