@java.lang.Override
  public java.lang.String getGlossary() {
    java.lang.Object ref = glossary_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      glossary_ = s;
      return s;
    }
  }
<pre>
Required. The `glossary` to be applied for this translation.

The format depends on the glossary:

- User-provided custom glossary:
  `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`
</pre>

<code>
string glossary = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
</code>

@return The glossary.
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslateTextGlossaryConfig.java