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

    if (!getRequestCase().equals(other.getRequestCase())) return false;
    switch (requestCase_) {
      case 1:
        if (!getPacket().equals(other.getPacket())) return false;
        break;
      case 2:
        if (!getMetadata().equals(other.getMetadata())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The first message of the streaming rpc including the request metadata.
</pre>

<code>.google.cloud.visionai.v1.RequestMetadata metadata = 2;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SendPacketsRequest.java