public static com.google.cloud.translate.v3beta1.DetectLanguageResponse parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }
<pre>
A list of detected languages sorted by detection confidence in descending
order. The most probable language first.
</pre>

<code>repeated .google.cloud.translation.v3beta1.DetectedLanguage languages = 1;</code>
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/DetectLanguageResponse.java