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

    if (hasStartTime() != other.hasStartTime()) return false;
    if (hasStartTime()) {
      if (!getStartTime().equals(other.getStartTime())) return false;
    }
    if (hasEndTime() != other.hasEndTime()) return false;
    if (hasEndTime()) {
      if (!getEndTime().equals(other.getEndTime())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. The end time of the interval.
</pre>

<code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TimeInterval.java