@java.lang.Override
    public /* nullable */ com.google.cloud.translate.v3.TranslateTextGlossaryConfig
        getGlossariesOrDefault(
            java.lang.String key,
            /* nullable */
            com.google.cloud.translate.v3.TranslateTextGlossaryConfig defaultValue) {
      if (key == null) {
        throw new NullPointerException("map key");
      }
      java.util.Map<
              java.lang.String, com.google.cloud.translate.v3.TranslateTextGlossaryConfigOrBuilder>
          map = internalGetMutableGlossaries().ensureBuilderMap();
      return map.containsKey(key) ? glossariesConverter.build(map.get(key)) : defaultValue;
    }
<pre>
Optional. Glossaries to be applied for translation.
It's keyed by target language code.
</pre>

<code>
map&lt;string, .google.cloud.translation.v3.TranslateTextGlossaryConfig&gt; glossaries = 7 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/BatchTranslateTextRequest.java