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

    if (!getStream().equals(other.getStream())) return false;
    if (!getEvent().equals(other.getEvent())) return false;
    if (!getSeries().equals(other.getSeries())) return false;
    if (!getLeaseId().equals(other.getLeaseId())) return false;
    if (!getOwner().equals(other.getOwner())) return false;
    if (hasLeaseTerm() != other.hasLeaseTerm()) return false;
    if (hasLeaseTerm()) {
      if (!getLeaseTerm().equals(other.getLeaseTerm())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Lease term specifies how long the client wants the session to be maintained
by the server after the client leaves. If the lease term is not set, the
server will release the session immediately and the client cannot reconnect
to the same session later.
</pre>

<code>.google.protobuf.Duration lease_term = 6;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/RequestMetadata.java