Interface DetectLanguageResponseOrBuilder (2.44.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.translate.v3beta1.DetectedLanguageOrBuilder>