public int getTagsCount() {
    return tags_.size();
  }
<pre>
Tags to apply to the TPU Node. Tags are used to identify valid sources or
targets for network firewalls.
</pre>

<code>repeated string tags = 40;</code>

@return The count of tags.
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java