@java.lang.Override
    public boolean hasGopDuration() {
      return gopModeCase_ == 10;
    }
<pre>
Select the GOP size based on the specified duration. The default is
`3s`. Note that `gopDuration` must be less than or equal to
[`segmentDuration`](#SegmentSettings), and
[`segmentDuration`](#SegmentSettings) must be divisible by
`gopDuration`.
</pre>

<code>.google.protobuf.Duration gop_duration = 10;</code>

@return Whether the gopDuration field is set.
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java