@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.translate.v3.Romanization)) {
      return super.equals(obj);
    }
    com.google.cloud.translate.v3.Romanization other =
        (com.google.cloud.translate.v3.Romanization) obj;

    if (!getRomanizedText().equals(other.getRomanizedText())) return false;
    if (!getDetectedLanguageCode().equals(other.getDetectedLanguageCode())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The ISO-639 language code of source text in the initial request, detected
automatically, if no source language was passed within the initial
request. If the source language was passed, auto-detection of the language
does not occur and this field is empty.
</pre>

<code>string detected_language_code = 2;</code>

@return The bytes for detectedLanguageCode.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/Romanization.java