public Builder removeCategoryEntities(int index) {
      if (categoryEntitiesBuilder_ == null) {
        ensureCategoryEntitiesIsMutable();
        categoryEntities_.remove(index);
        onChanged();
      } else {
        categoryEntitiesBuilder_.remove(index);
      }
      return this;
    }
<pre>
Common categories for the detected entity.
For example, when the label is `Terrier`, the category is likely `dog`. And
in some cases there might be more than one categories e.g., `Terrier` could
also be a `pet`.
</pre>

<code>repeated .google.cloud.videointelligence.v1.Entity category_entities = 2;</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/LabelAnnotation.java