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

    size = 0;
    for (java.util.Map.Entry<java.lang.String, com.google.cloud.visionai.v1.AnnotationValue> entry :
        internalGetElements().getMap().entrySet()) {
      com.google.protobuf.MapEntry<java.lang.String, com.google.cloud.visionai.v1.AnnotationValue>
          elements__ =
              ElementsDefaultEntryHolder.defaultEntry
                  .newBuilderForType()
                  .setKey(entry.getKey())
                  .setValue(entry.getValue())
                  .build();
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, elements__);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
A map from elements' keys to element's annotation value.
</pre>

<code>map&lt;string, .google.cloud.visionai.v1.AnnotationValue&gt; elements = 2;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnnotationCustomizedStruct.java