@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.SpatialPartition)) {
        return super.equals(obj);
      }
      com.google.cloud.visionai.v1.Partition.SpatialPartition other =
          (com.google.cloud.visionai.v1.Partition.SpatialPartition) obj;

      if (hasXMin() != other.hasXMin()) return false;
      if (hasXMin()) {
        if (getXMin() != other.getXMin()) return false;
      }
      if (hasYMin() != other.hasYMin()) return false;
      if (hasYMin()) {
        if (getYMin() != other.getYMin()) return false;
      }
      if (hasXMax() != other.hasXMax()) return false;
      if (hasXMax()) {
        if (getXMax() != other.getXMax()) return false;
      }
      if (hasYMax() != other.hasYMax()) return false;
      if (hasYMax()) {
        if (getYMax() != other.getYMax()) return false;
      }
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
The maximum y coordinate value.
</pre>

<code>optional int64 y_max = 4;</code>

@return The yMax.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Partition.java