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
@Generated
public interface DetectLanguageResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLanguages(int index) The most probable language detected by the Translation API.intThe most probable language detected by the Translation API.The most probable language detected by the Translation API.getLanguagesOrBuilder(int index) The most probable language detected by the Translation API.List<? extends DetectedLanguageOrBuilder>The most probable language detected by the Translation API.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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;
-