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

    if (hasTemporalPartition() != other.hasTemporalPartition()) return false;
    if (hasTemporalPartition()) {
      if (!getTemporalPartition().equals(other.getTemporalPartition())) return false;
    }
    if (hasSpatialPartition() != other.hasSpatialPartition()) return false;
    if (hasSpatialPartition()) {
      if (!getSpatialPartition().equals(other.getSpatialPartition())) return false;
    }
    if (hasRelativeTemporalPartition() != other.hasRelativeTemporalPartition()) return false;
    if (hasRelativeTemporalPartition()) {
      if (!getRelativeTemporalPartition().equals(other.getRelativeTemporalPartition()))
        return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Partition of asset in time.
</pre>

<code>
.google.cloud.visionai.v1.Partition.RelativeTemporalPartition relative_temporal_partition = 3;
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Partition.java