@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof com.intellij.execution.process.mediator.common.rpc.WriteStreamRequest)) {
      return super.equals(obj);
    }
    com.intellij.execution.process.mediator.common.rpc.WriteStreamRequest other = (com.intellij.execution.process.mediator.common.rpc.WriteStreamRequest) obj;

    if (!getFileHandleOrBufferCase().equals(other.getFileHandleOrBufferCase())) return false;
    switch (fileHandleOrBufferCase_) {
      case 1:
        if (!getHandle()
            .equals(other.getHandle())) return false;
        break;
      case 2:
        if (!getChunk()
            .equals(other.getChunk())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
@java.lang.Override
  public boolean equals(final java.lang.Object obj)