The parameter descriptions says the value should be a positive integer (or 0). Validate the given value to reject invalid values such as strings or even negative values. Change-Id: Ia6e238f85b7eef5b8f7b65ca37481d77a48c378a