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

    size = 0;
    for (int i = 0; i < translations_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, translations_.get(i));
    }
    for (int i = 0; i < glossaryTranslations_.size(); i++) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(3, glossaryTranslations_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Text translation responses if a glossary is provided in the request.
This can be the same as
[`translations`][google.cloud.translation.v3beta1.TranslateTextResponse.translations]
if no terms apply. This field has the same length as
[`contents`][google.cloud.translation.v3beta1.TranslateTextRequest.contents].
</pre>

<code>repeated .google.cloud.translation.v3beta1.Translation glossary_translations = 3;</code>
java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslateTextResponse.java