public int getIdsCount() {
      return ids_.size();
    }
<pre>
The resource IDs of the AnnotationSpecs that had been identified, ordered
by the confidence score descendingly. It is the id segment instead of full
resource name.
</pre>

<code>repeated int64 ids = 1;</code>

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