code: func NewAttemptWaiting(numWaiting uint32) *Attempt {
  	return &Attempt{
  		Data: &Attempt_Data{
  			AttemptType: &Attempt_Data_Waiting_{
  				&Attempt_Data_Waiting{NumWaiting: numWaiting}}}}
  }
docs: // NewAttemptWaiting creates an Attempt in the WAITING state.