@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.VideoMetadata)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.VideoMetadata other =
        (com.google.cloud.vertexai.api.VideoMetadata) obj;

    if (hasStartOffset() != other.hasStartOffset()) return false;
    if (hasStartOffset()) {
      if (!getStartOffset().equals(other.getStartOffset())) return false;
    }
    if (hasEndOffset() != other.hasEndOffset()) return false;
    if (hasEndOffset()) {
      if (!getEndOffset().equals(other.getEndOffset())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. The end offset of the video.
</pre>

<code>.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VideoMetadata.java