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

    if (!getTargetLanguage().equals(other.getTargetLanguage())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The language code to translate to.
</pre>

<code>string target_language = 1 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for targetLanguage.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/TranslationConfig.java