@Override
  public String getRequestOrResponseType() {
    return type.name();
  }
Request Response for serialization and de-serialization
ambry-protocol/src/main/java/com/github/ambry/protocol/RequestOrResponse.java