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 Type
    Method
    Description
    getLanguages(int index)
    The most probable language detected by the Translation API.
    int
    The most probable language detected by the Translation API.
    The most probable language detected by the Translation API.
    The most probable language detected by the Translation API.
    The most probable language detected by the Translation API.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      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;