Interface DetectLanguageResponseOrBuilder (2.18.0)

public interface DetectLanguageResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguages(int index)

public abstract DetectedLanguage getLanguages(int index)

A list of detected languages sorted by detection confidence in descending order. The most probable language first.

repeated .google.cloud.translation.v3beta1.DetectedLanguage languages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedLanguage

getLanguagesCount()

public abstract int getLanguagesCount()

A list of detected languages sorted by detection confidence in descending order. The most probable language first.

repeated .google.cloud.translation.v3beta1.DetectedLanguage languages = 1;

Returns
TypeDescription
int

getLanguagesList()

public abstract List<DetectedLanguage> getLanguagesList()

A list of detected languages sorted by detection confidence in descending order. The most probable language first.

repeated .google.cloud.translation.v3beta1.DetectedLanguage languages = 1;

Returns
TypeDescription
List<DetectedLanguage>

getLanguagesOrBuilder(int index)

public abstract DetectedLanguageOrBuilder getLanguagesOrBuilder(int index)

A list of detected languages sorted by detection confidence in descending order. The most probable language first.

repeated .google.cloud.translation.v3beta1.DetectedLanguage languages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DetectedLanguageOrBuilder

getLanguagesOrBuilderList()

public abstract List<? extends DetectedLanguageOrBuilder> getLanguagesOrBuilderList()

A list of detected languages sorted by detection confidence in descending order. The most probable language first.

repeated .google.cloud.translation.v3beta1.DetectedLanguage languages = 1;

Returns
TypeDescription
List<? extends com.google.cloud.translate.v3beta1.DetectedLanguageOrBuilder>