@Override
  public String toString() {
    return "AdminResponse[ClientId=" + clientId + ", CorrelationId=" + correlationId + ", Type=" + type
        + ", ServerError=" + getError() + "]";
  }
Reads from a stream and constructs an {@link AdminResponse}.
@param stream  the {@link DataInputStream} to read from.
@return {@link AdminResponse} that is deserialized from the {@code stream}.
@throws IOException if there is an I/O error reading from {@code stream}
ambry-protocol/src/main/java/com/github/ambry/protocol/AdminResponse.java