@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    for (int i = 0; i < languages_.size(); i++) {
      output.writeMessage(1, languages_.get(i));
    }
    getUnknownFields().writeTo(output);
  }
<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