@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.translate.v3.CreateGlossaryRequest)) {
      return super.equals(obj);
    }
    com.google.cloud.translate.v3.CreateGlossaryRequest other =
        (com.google.cloud.translate.v3.CreateGlossaryRequest) obj;

    if (!getParent().equals(other.getParent())) return false;
    if (hasGlossary() != other.hasGlossary()) return false;
    if (hasGlossary()) {
      if (!getGlossary().equals(other.getGlossary())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The glossary to create.
</pre>

<code>
.google.cloud.translation.v3.Glossary glossary = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/CreateGlossaryRequest.java