@java.lang.Override
    public boolean hasSegment() {
      return trackInfoCase_ == 3;
    }
<pre>
Non-streaming batch mode ONLY.
Each object track corresponds to one video segment where it appears.
</pre>

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

@return Whether the segment field is set.
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/ObjectTrackingAnnotation.java