public int getDisplayNamesCount() {
      return displayNames_.size();
    }
<pre>
The display names of the AnnotationSpecs that had been identified, order
matches the IDs.
</pre>

<code>repeated string display_names = 2;</code>

@return The count of displayNames.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ImageObjectDetectionPredictionResult.java