code: public void setPayloads(java.util.Collection<java.nio.ByteBuffer> payloads) {
          if (payloads == null) {
              this.payloads = null;
              return;
          }
  
          this.payloads = new java.util.ArrayList<java.nio.ByteBuffer>(payloads);
      }
docs: <p>
  The sample message payloads on which the pipeline activity is run.
  </p>
  
  @param payloads
  The sample message payloads on which the pipeline activity is run.