@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + CAPS_STRING_FIELD_NUMBER;
    hash = (53 * hash) + getCapsString().hashCode();
    hash = (37 * hash) + IS_KEY_FRAME_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsKeyFrame());
    if (hasPtsTime()) {
      hash = (37 * hash) + PTS_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getPtsTime().hashCode();
    }
    if (hasDtsTime()) {
      hash = (37 * hash) + DTS_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getDtsTime().hashCode();
    }
    if (hasDuration()) {
      hash = (37 * hash) + DURATION_FIELD_NUMBER;
      hash = (53 * hash) + getDuration().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
Duration of the frame.
</pre>

<code>.google.protobuf.Duration duration = 5;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/GstreamerBufferDescriptor.java