code: func SetRetval(msg reflect.Value, retVal int32) {
  	if field, found := findFieldOfValue(msg, retvalName); found {
  		field.Set(reflect.ValueOf(retVal))
  	}
  }
docs: // SetRetval sets the retval field of provided message to provided value.