@java.lang.Override
    public /* nullable */ com.google.cloud.visionai.v1.AnnotationValue getElementsOrDefault(
        java.lang.String key,
        /* nullable */
        com.google.cloud.visionai.v1.AnnotationValue defaultValue) {
      if (key == null) {
        throw new NullPointerException("map key");
      }
      java.util.Map<java.lang.String, com.google.cloud.visionai.v1.AnnotationValueOrBuilder> map =
          internalGetMutableElements().ensureBuilderMap();
      return map.containsKey(key) ? elementsConverter.build(map.get(key)) : defaultValue;
    }
<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