Interface SupportedLanguagesOrBuilder (2.24.0)

public interface SupportedLanguagesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLanguages(int index)

public abstract SupportedLanguage getLanguages(int index)

A list of supported language responses. This list contains an entry for each language the Translation API supports.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SupportedLanguage

getLanguagesCount()

public abstract int getLanguagesCount()

A list of supported language responses. This list contains an entry for each language the Translation API supports.

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

Returns
TypeDescription
int

getLanguagesList()

public abstract List<SupportedLanguage> getLanguagesList()

A list of supported language responses. This list contains an entry for each language the Translation API supports.

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

Returns
TypeDescription
List<SupportedLanguage>

getLanguagesOrBuilder(int index)

public abstract SupportedLanguageOrBuilder getLanguagesOrBuilder(int index)

A list of supported language responses. This list contains an entry for each language the Translation API supports.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SupportedLanguageOrBuilder

getLanguagesOrBuilderList()

public abstract List<? extends SupportedLanguageOrBuilder> getLanguagesOrBuilderList()

A list of supported language responses. This list contains an entry for each language the Translation API supports.

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

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