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

    if (!getResponseCase().equals(other.getResponseCase())) return false;
    switch (responseCase_) {
      case 1:
        if (!getEventUpdate().equals(other.getEventUpdate())) return false;
        break;
      case 2:
        if (!getControl().equals(other.getControl())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
A control message from the server.
</pre>

<code>.google.cloud.visionai.v1.ReceiveEventsControlResponse control = 2;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ReceiveEventsResponse.java