@java.lang.Override
      public com.google.protobuf.Duration getGopDuration() {
        if (gopDurationBuilder_ == null) {
          if (gopModeCase_ == 10) {
            return (com.google.protobuf.Duration) gopMode_;
          }
          return com.google.protobuf.Duration.getDefaultInstance();
        } else {
          if (gopModeCase_ == 10) {
            return gopDurationBuilder_.getMessage();
          }
          return com.google.protobuf.Duration.getDefaultInstance();
        }
      }
<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 The gopDuration.
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java