Package com.google.cloud.translate.v3
Interface DetectLanguageResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DetectLanguageResponse
,DetectLanguageResponse.Builder
public interface DetectLanguageResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectedLanguage
getLanguages(int index)
The most probable language detected by the Translation API.int
getLanguagesCount()
The most probable language detected by the Translation API.List<DetectedLanguage>
getLanguagesList()
The most probable language detected by the Translation API.DetectedLanguageOrBuilder
getLanguagesOrBuilder(int index)
The most probable language detected by the Translation API.List<? extends DetectedLanguageOrBuilder>
getLanguagesOrBuilderList()
The most probable language detected by the Translation API.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLanguagesList
List<DetectedLanguage> getLanguagesList()
The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.
repeated .google.cloud.translation.v3.DetectedLanguage languages = 1;
-
getLanguages
DetectedLanguage getLanguages(int index)
The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.
repeated .google.cloud.translation.v3.DetectedLanguage languages = 1;
-
getLanguagesCount
int getLanguagesCount()
The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.
repeated .google.cloud.translation.v3.DetectedLanguage languages = 1;
-
getLanguagesOrBuilderList
List<? extends DetectedLanguageOrBuilder> getLanguagesOrBuilderList()
The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.
repeated .google.cloud.translation.v3.DetectedLanguage languages = 1;
-
getLanguagesOrBuilder
DetectedLanguageOrBuilder getLanguagesOrBuilder(int index)
The most probable language detected by the Translation API. For each request, the Translation API will always return only one result.
repeated .google.cloud.translation.v3.DetectedLanguage languages = 1;
-
-