@java.lang.Override
  public boolean hasDuration() {
    return ((bitField0_ & 0x00000002) != 0);
  }
<pre>
Total time elapsed for the response.
</pre>

<code>.google.protobuf.Duration duration = 5;</code>

@return Whether the duration field is set.
java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/ResponseMetadata.java