@java.lang.Override
  public com.google.cloud.videointelligence.v1p2beta1.VideoSegment getSegment() {
    if (trackInfoCase_ == 3) {
      return (com.google.cloud.videointelligence.v1p2beta1.VideoSegment) trackInfo_;
    }
    return com.google.cloud.videointelligence.v1p2beta1.VideoSegment.getDefaultInstance();
  }
<pre>
Non-streaming batch mode ONLY.
Each object track corresponds to one video segment where it appears.
</pre>

<code>.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 3;</code>

@return The segment.
java-video-intelligence/proto-google-cloud-video-intelligence-v1p2beta1/src/main/java/com/google/cloud/videointelligence/v1p2beta1/ObjectTrackingAnnotation.java