@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(glossary_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, glossary_);
      }
      if (ignoreCase_ != false) {
        size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, ignoreCase_);
      }
      if (contextualTranslationEnabled_ != false) {
        size +=
            com.google.protobuf.CodedOutputStream.computeBoolSize(4, contextualTranslationEnabled_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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