public com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfig.Builder
        putGlossariesBuilderIfAbsent(java.lang.String key) {
      java.util.Map<
              java.lang.String,
              com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfigOrBuilder>
          builderMap = internalGetMutableGlossaries().ensureBuilderMap();
      com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfigOrBuilder entry =
          builderMap.get(key);
      if (entry == null) {
        entry = com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfig.newBuilder();
        builderMap.put(key, entry);
      }
      if (entry instanceof com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfig) {
        entry =
            ((com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfig) entry).toBuilder();
        builderMap.put(key, entry);
      }
      return (com.google.cloud.translate.v3beta1.TranslateTextGlossaryConfig.Builder) entry;
    }
<pre>
Optional. Glossaries to be applied. It's keyed by target language code.
</pre>

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