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

    if (hasLatLng() != other.hasLatLng()) return false;
    if (hasLatLng()) {
      if (!getLatLng().equals(other.getLatLng())) return false;
    }
    if (hasLanguageCode() != other.hasLanguageCode()) return false;
    if (hasLanguageCode()) {
      if (!getLanguageCode().equals(other.getLanguageCode())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The language code of the user.
</pre>

<code>optional string language_code = 2;</code>

@return The bytes for languageCode.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/RetrievalConfig.java