@Override
  protected void prepareBuffer() {
    super.prepareBuffer();
    bufferToSend.writeShort(VERSION_V1);
    bufferToSend.writeInt(origins.size());
    for (String origin : origins) {
      Utils.serializeString(bufferToSend, origin, StandardCharsets.UTF_8);
    }
    bufferToSend.writeByte(enable ? (byte) 1 : 0);
  }
@return if replication from {@link #getOrigins()} needs to enabled ({@code true}) or disabled ({@code false}).
ambry-protocol/src/main/java/com/github/ambry/protocol/ReplicationControlAdminRequest.java