public boolean hasDuration() {
      return ((bitField0_ & 0x00000010) != 0);
    }
<pre>
Duration of the frame.
</pre>

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

@return Whether the duration field is set.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/GstreamerBufferDescriptor.java