public int getMetadataCount() {
    return internalGetMetadata().getMap().size();
  }
<pre>
Resource labels to represent user-provided metadata.
</pre>

<code>map&lt;string, string&gt; labels = 24;</code>
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java