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

    if (hasSegment() != other.hasSegment()) return false;
    if (hasSegment()) {
      if (!getSegment().equals(other.getSegment())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Video segment where a face was detected.
</pre>

<code>.google.cloud.videointelligence.v1beta2.VideoSegment segment = 1;</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/FaceSegment.java