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

      if (!getGlossary().equals(other.getGlossary())) return false;
      if (getIgnoreCase() != other.getIgnoreCase()) return false;
      if (getContextualTranslationEnabled() != other.getContextualTranslationEnabled())
        return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Optional. If set to true, the glossary will be used for contextual
translation.
</pre>

<code>bool contextual_translation_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];
</code>

@return The contextualTranslationEnabled.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/AdaptiveMtTranslateRequest.java