code: public static <M extends MessageOrBuilder> M updateTimestamp(final long milliseconds, final M messageOrBuilder) throws CouldNotPerformException {
          return updateTimestamp(milliseconds, messageOrBuilder, TimeUnit.MILLISECONDS);
      }
docs: Method updates the timestamp field of the given message with the given timestamp.
  
  @param <M>              the message type of the message to milliseconds.
  @param milliseconds     the time to update
  @param messageOrBuilder the message
  
  @return the updated message
  
  @throws CouldNotPerformException is thrown in case the copy could not be performed e.g. because of a missing timestamp field.