@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(glossary_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, glossary_);
      }
      if (ignoreCase_ != false) {
        output.writeBool(2, ignoreCase_);
      }
      if (contextualTranslationEnabled_ != false) {
        output.writeBool(4, contextualTranslationEnabled_);
      }
      getUnknownFields().writeTo(output);
    }
<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