@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getEntity());
    }
    for (int i = 0; i < frames_.size(); i++) {
      output.writeMessage(2, frames_.get(i));
    }
    if (trackInfoCase_ == 3) {
      output.writeMessage(
          3, (com.google.cloud.videointelligence.v1p3beta1.VideoSegment) trackInfo_);
    }
    if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
      output.writeFloat(4, confidence_);
    }
    if (trackInfoCase_ == 5) {
      output.writeInt64(5, (long) ((java.lang.Long) trackInfo_));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Information corresponding to all frames where this object track appears.
Non-streaming batch mode: it may be one or multiple ObjectTrackingFrame
messages in frames.
Streaming mode: it can only be one ObjectTrackingFrame message in frames.
</pre>

<code>repeated .google.cloud.videointelligence.v1p3beta1.ObjectTrackingFrame frames = 2;</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/ObjectTrackingAnnotation.java